getApi

suspend fun getApi(argument: GetApiPlainArgs): GetApiResult

The `AWS::ApiGatewayV2::Api` resource creates an API. WebSocket APIs and HTTP APIs are supported. For more information about WebSocket APIs, see About WebSocket APIs in API Gateway in the API Gateway Developer Guide. For more information about HTTP APIs, see HTTP APIs in the API Gateway Developer Guide.

Return

null

Parameters

argument

null


suspend fun getApi(apiId: String): GetApiResult

Return

null

Parameters

apiId

The API identifier.

See also


suspend fun getApi(argument: suspend GetApiPlainArgsBuilder.() -> Unit): GetApiResult

Return

null

Parameters

argument

Builder for com.pulumi.awsnative.apigatewayv2.kotlin.inputs.GetApiPlainArgs.

See also