Class CfnApiKey.StageKeyProperty
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.
Inheritance
System.Object
CfnApiKey.StageKeyProperty
Implements
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class StageKeyProperty : Object, CfnApiKey.IStageKeyProperty
Syntax (vb)
Public Class StageKeyProperty
Inherits Object
Implements CfnApiKey.IStageKeyProperty
Remarks
ExampleMetadata: fixture=_generated
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"
};
Synopsis
Constructors
StageKeyProperty() |
Properties
RestApiId | The string identifier of the associated RestApi. |
StageName | The stage name associated with the stage key. |
Constructors
StageKeyProperty()
public StageKeyProperty()
Properties
RestApiId
The string identifier of the associated RestApi.
public string RestApiId { get; set; }
Property Value
System.String
Remarks
StageName
The stage name associated with the stage key.
public string StageName { get; set; }
Property Value
System.String