EcsDeploymentConfig

class aws_cdk.aws_codedeploy.EcsDeploymentConfig(*args: Any, **kwargs)

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:

AWS::CodeDeploy::DeploymentConfig

Attributes

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.

Parameters:
  • _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 type:

IEcsDeploymentConfig

Returns:

a Construct representing a reference to an existing custom Deployment Configuration