getApiKey

The `AWS::ApiGateway::ApiKey` resource creates a unique key that you can distribute to clients who are executing API Gateway `Method` resources that require an API key. To specify which API key clients must use, map the API key with the `RestApi` and `Stage` resources that include the methods that require a key.

Return

null

Parameters

argument

null


suspend fun getApiKey(apiKeyId: String): GetApiKeyResult

Return

null

Parameters

apiKeyId

The ID for the API key. For example: abc123 .

See also


suspend fun getApiKey(argument: suspend GetApiKeyPlainArgsBuilder.() -> Unit): GetApiKeyResult

Return

null

Parameters

argument

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

See also