EcsDeploymentGroupAttributes

class aws_cdk.aws_codedeploy.EcsDeploymentGroupAttributes(*, application, deployment_group_name, deployment_config=None)

Bases: object

Properties of a reference to a CodeDeploy ECS Deployment Group.

Parameters:
  • application (IEcsApplication) – The reference to the CodeDeploy ECS Application that this Deployment Group belongs to.

  • deployment_group_name (str) – The physical, human-readable name of the CodeDeploy ECS Deployment Group that we are referencing.

  • deployment_config (Optional[IEcsDeploymentConfig]) – The Deployment Configuration this Deployment Group uses. Default: EcsDeploymentConfig.ALL_AT_ONCE

See:

EcsDeploymentGroup#fromEcsDeploymentGroupAttributes

ExampleMetadata:

infused

Example:

# application: codedeploy.EcsApplication

deployment_group = codedeploy.EcsDeploymentGroup.from_ecs_deployment_group_attributes(self, "ExistingCodeDeployDeploymentGroup",
    application=application,
    deployment_group_name="MyExistingDeploymentGroup"
)

Attributes

application

The reference to the CodeDeploy ECS Application that this Deployment Group belongs to.

deployment_config

The Deployment Configuration this Deployment Group uses.

Default:

EcsDeploymentConfig.ALL_AT_ONCE

deployment_group_name

The physical, human-readable name of the CodeDeploy ECS Deployment Group that we are referencing.