Show / Hide Table of Contents

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
CfnApiKey.IStageKeyProperty
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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-apikey-stagekey.html

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-apikey-stagekey.html#cfn-apigateway-apikey-stagekey-restapiid

StageName

The stage name associated with the stage key.

public string StageName { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-apikey-stagekey.html#cfn-apigateway-apikey-stagekey-stagename

Implements

CfnApiKey.IStageKeyProperty
Back to top Generated by DocFX