Show / Hide Table of Contents

Class StageAttributes

The attributes of an imported Stage.

Inheritance
System.Object
StageAttributes
Implements
IStageAttributes
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

IRestApi

StageName

The name of the stage.

public string StageName { get; set; }
Property Value

System.String

Implements

IStageAttributes
Back to top Generated by DocFX