AWS::ApiGateway::ApiKey StageKey - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::ApiGateway::ApiKey StageKey

StageKey is a property of the AWS::ApiGateway::ApiKey resource that specifies the stage to associate with the API key. This association allows only clients with the key to make requests to methods in that stage.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "RestApiId" : String, "StageName" : String }

YAML

RestApiId: String StageName: String

Properties

RestApiId

The string identifier of the associated RestApi.

Required: No

Type: String

Update requires: No interruption

StageName

The stage name associated with the stage key.

Required: No

Type: String

Update requires: No interruption

See also

  • stageKeys in the Amazon API Gateway REST API Reference