CfnDeploymentMixinProps

class aws_cdk.cfn_property_mixins.aws_apigatewayv2.CfnDeploymentMixinProps(*, api_id=None, description=None, stage_name=None)

Bases: object

Properties for CfnDeploymentPropsMixin.

Parameters:
  • api_id (Union[str, IApiRef, None]) – The API identifier.

  • description (Optional[str]) – The description for the deployment resource.

  • stage_name (Optional[str]) – The name of an existing stage to associate with the deployment.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_apigatewayv2 as apigatewayv2

cfn_deployment_mixin_props = apigatewayv2.CfnDeploymentMixinProps(
    api_id="apiId",
    description="description",
    stage_name="stageName"
)

Attributes

api_id

The API identifier.

See:

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

description

The description for the deployment resource.

See:

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

stage_name

The name of an existing stage to associate with the deployment.

See:

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