EcsDeploymentConfigProps
- class aws_cdk.aws_codedeploy.EcsDeploymentConfigProps(*, deployment_config_name=None, traffic_routing=None)
Bases:
BaseDeploymentConfigOptions
Construction properties of
EcsDeploymentConfig
.- Parameters:
deployment_config_name (
Optional
[str
]) – The physical, human-readable name of the Deployment Configuration. Default: - automatically generated nametraffic_routing (
Optional
[TrafficRouting
]) – The configuration that specifies how traffic is shifted from the ‘blue’ target group to the ‘green’ target group during a deployment. Default: AllAtOnce
- ExampleMetadata:
infused
Example:
codedeploy.EcsDeploymentConfig(self, "CustomConfig", traffic_routing=codedeploy.TimeBasedCanaryTrafficRouting( interval=Duration.minutes(15), percentage=5 ) )
Attributes
- deployment_config_name
The physical, human-readable name of the Deployment Configuration.
- Default:
automatically generated name
- traffic_routing
The configuration that specifies how traffic is shifted from the ‘blue’ target group to the ‘green’ target group during a deployment.
- Default:
AllAtOnce