class aws_cdk.aws_codedeploy.EcsDeploymentConfig

Bases: object

A custom Deployment Configuration for an ECS Deployment Group.

Note: This class currently stands as namespaced container of the default configurations until CloudFormation supports custom ECS Deployment Configs. Until then it is closed (private constructor) and does not extend {@link cdk.Construct}

resource: :resource:: AWS::CodeDeploy::DeploymentConfig


ALL_AT_ONCE = <jsii._reference_map.InterfaceDynamicProxy object>

Static Methods

classmethod from_ecs_deployment_config_name(_scope, _id, ecs_deployment_config_name)

Import a custom Deployment Configuration for an ECS Deployment Group defined outside the CDK.

  • _scope (Construct) – the parent Construct for this new Construct.

  • _id (str) – the logical ID of this new Construct.

  • ecs_deployment_config_name (str) – the name of the referenced custom Deployment Configuration.

return :rtype: IEcsDeploymentConfig :return: a Construct representing a reference to an existing custom Deployment Configuration