interface CfnStageV2Props
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.APIGateway.CfnStageV2Props |
Java | software.amazon.awscdk.services.apigateway.CfnStageV2Props |
Python | aws_cdk.aws_apigateway.CfnStageV2Props |
TypeScript (source) | @aws-cdk/aws-apigateway » CfnStageV2Props |
⚠️ Deprecated: moved to package aws-apigatewayv2
Properties for defining a AWS::ApiGatewayV2::Stage.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apigateway from '@aws-cdk/aws-apigateway';
declare const routeSettings: any;
declare const stageVariables: any;
declare const tags: any;
const cfnStageV2Props: apigateway.CfnStageV2Props = {
apiId: 'apiId',
stageName: 'stageName',
// the properties below are optional
accessLogSettings: {
destinationArn: 'destinationArn',
format: 'format',
},
autoDeploy: false,
clientCertificateId: 'clientCertificateId',
defaultRouteSettings: {
dataTraceEnabled: false,
detailedMetricsEnabled: false,
loggingLevel: 'loggingLevel',
throttlingBurstLimit: 123,
throttlingRateLimit: 123,
},
deploymentId: 'deploymentId',
description: 'description',
routeSettings: routeSettings,
stageVariables: stageVariables,
tags: tags,
};
Properties
| Name | Type | Description |
|---|---|---|
| api | string | AWS::ApiGatewayV2::Stage.ApiId. |
| stage | string | AWS::ApiGatewayV2::Stage.StageName. |
| access | IResolvable | Access | AWS::ApiGatewayV2::Stage.AccessLogSettings. |
| auto | boolean | IResolvable | AWS::ApiGatewayV2::Stage.AutoDeploy. |
| client | string | AWS::ApiGatewayV2::Stage.ClientCertificateId. |
| default | IResolvable | Route | AWS::ApiGatewayV2::Stage.DefaultRouteSettings. |
| deployment | string | AWS::ApiGatewayV2::Stage.DeploymentId. |
| description? | string | AWS::ApiGatewayV2::Stage.Description. |
| route | any | AWS::ApiGatewayV2::Stage.RouteSettings. |
| stage | any | AWS::ApiGatewayV2::Stage.StageVariables. |
| tags? | any | AWS::ApiGatewayV2::Stage.Tags. |
apiId
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
AWS::ApiGatewayV2::Stage.ApiId.
stageName
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
AWS::ApiGatewayV2::Stage.StageName.
accessLogSettings?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
IResolvable | Access
(optional)
AWS::ApiGatewayV2::Stage.AccessLogSettings.
autoDeploy?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
boolean | IResolvable
(optional)
AWS::ApiGatewayV2::Stage.AutoDeploy.
clientCertificateId?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::Stage.ClientCertificateId.
defaultRouteSettings?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
IResolvable | Route
(optional)
AWS::ApiGatewayV2::Stage.DefaultRouteSettings.
deploymentId?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::Stage.DeploymentId.
description?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::Stage.Description.
routeSettings?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
any
(optional)
AWS::ApiGatewayV2::Stage.RouteSettings.
stageVariables?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
any
(optional)
AWS::ApiGatewayV2::Stage.StageVariables.
tags?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
any
(optional)
AWS::ApiGatewayV2::Stage.Tags.

.NET
Java
Python
TypeScript (