CfnDeploymentMixinProps

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

Bases: object

Properties for CfnDeploymentPropsMixin.

Parameters:
  • api_id (Optional[str]) – 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.mixins_preview.aws_apigatewayv2 import mixins as apigatewayv2_mixins

cfn_deployment_mixin_props = apigatewayv2_mixins.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