Interface CfnApiKey.IStageKeyProperty
- Namespace
- Amazon.CDK.AWS.APIGateway
- Assembly
- Amazon.CDK.AWS.APIGateway.dll
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.
public interface CfnApiKey.IStageKeyProperty
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGateway;
var stageKeyProperty = new StageKeyProperty {
RestApiId = "restApiId",
StageName = "stageName"
};
Remarks
ExampleMetadata: fixture=_generated
Properties
RestApiId
The string identifier of the associated RestApi.
string? RestApiId { get; }
Property Value
Remarks
StageName
The stage name associated with the stage key.
string? StageName { get; }