getResource

The `AWS::ApiGateway::Resource` resource creates a resource in an API.

Return

null

Parameters

argument

null


suspend fun getResource(resourceId: String, restApiId: String): GetResourceResult

Return

null

Parameters

resourceId

The ID for the resource. For example: abc123 .

restApiId

The string identifier of the associated RestApi.

See also


suspend fun getResource(argument: suspend GetResourcePlainArgsBuilder.() -> Unit): GetResourceResult

Return

null

Parameters

argument

Builder for com.pulumi.awsnative.apigateway.kotlin.inputs.GetResourcePlainArgs.

See also