Class StageAttributes
The attributes of an imported Stage.
Inheritance
System.Object
StageAttributes
Implements
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class StageAttributes : Object, IStageAttributes
Syntax (vb)
Public Class StageAttributes
Inherits Object
Implements IStageAttributes
Remarks
ExampleMetadata: infused
Examples
IRestApi restApi;
var importedStage = Stage.FromStageAttributes(this, "imported-stage", new StageAttributes {
StageName = "myStageName",
RestApi = restApi
});
importedStage.AddApiKey("MyApiKey");
Synopsis
Constructors
StageAttributes() |
Properties
RestApi | The RestApi that the stage belongs to. |
StageName | The name of the stage. |
Constructors
StageAttributes()
public StageAttributes()
Properties
RestApi
The RestApi that the stage belongs to.
public IRestApi RestApi { get; set; }
Property Value
StageName
The name of the stage.
public string StageName { get; set; }
Property Value
System.String