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:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_codedeploy as codedeploy # ecs_application: codedeploy.EcsApplication # ecs_deployment_config: codedeploy.IEcsDeploymentConfig ecs_deployment_group_attributes = codedeploy.EcsDeploymentGroupAttributes( application=ecs_application, deployment_group_name="deploymentGroupName", # the properties below are optional deployment_config=ecs_deployment_config )
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.