StageAttributes Struct
The attributes used to import existing Stage.
| Source | aws-apigatewayv2/lib/common/stage.ts |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as apigatewayv2 } from 'aws-cdk-lib';
const stageAttributes: apigatewayv2.StageAttributes = {
stageName: 'stageName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_apigatewayv2 as apigatewayv2
stage_attributes = apigatewayv2.StageAttributes(
stage_name="stageName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigatewayv2.*;
StageAttributes stageAttributes = StageAttributes.builder()
.stageName("stageName")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Apigatewayv2;
var stageAttributes = new StageAttributes {
StageName = "stageName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
stageAttributes := &StageAttributes{
StageName: jsii.String("stageName"),
}
Properties
The name of the stage.