CfnDeploymentV2Props

class aws_cdk.aws_apigateway.CfnDeploymentV2Props(*, api_id, description=None, stage_name=None)

Bases: object

(deprecated) Properties for defining a AWS::ApiGatewayV2::Deployment.

Parameters
  • api_id (str) – (deprecated) AWS::ApiGatewayV2::Deployment.ApiId.

  • description (Optional[str]) – (deprecated) AWS::ApiGatewayV2::Deployment.Description.

  • stage_name (Optional[str]) – (deprecated) AWS::ApiGatewayV2::Deployment.StageName.

Deprecated

moved to package aws-apigatewayv2

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html

Stability

deprecated

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_apigateway as apigateway

cfn_deployment_v2_props = apigateway.CfnDeploymentV2Props(
    api_id="apiId",

    # the properties below are optional
    description="description",
    stage_name="stageName"
)

Attributes

api_id

(deprecated) AWS::ApiGatewayV2::Deployment.ApiId.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-apiid

Stability

deprecated

Return type

str

description

(deprecated) AWS::ApiGatewayV2::Deployment.Description.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-description

Stability

deprecated

Return type

Optional[str]

stage_name

(deprecated) AWS::ApiGatewayV2::Deployment.StageName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-stagename

Stability

deprecated

Return type

Optional[str]