aws-cdk-lib.aws_codedeploy.EcsDeploymentConfigProps

interface EcsDeploymentConfigProps

LanguageType name
.NETAmazon.CDK.AWS.CodeDeploy.EcsDeploymentConfigProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodedeploy#EcsDeploymentConfigProps
Javasoftware.amazon.awscdk.services.codedeploy.EcsDeploymentConfigProps
Pythonaws_cdk.aws_codedeploy.EcsDeploymentConfigProps
TypeScript (source)aws-cdk-lib » aws_codedeploy » EcsDeploymentConfigProps

Construction properties of EcsDeploymentConfig.

Example

new codedeploy.EcsDeploymentConfig(this, 'CustomConfig', {
  trafficRouting: new codedeploy.TimeBasedCanaryTrafficRouting({
    interval: Duration.minutes(15),
    percentage: 5,
  }),
});

Properties

NameTypeDescription
deploymentConfigName?stringThe physical, human-readable name of the Deployment Configuration.
trafficRouting?TrafficRoutingThe configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment.

deploymentConfigName?

Type: string (optional, default: automatically generated name)

The physical, human-readable name of the Deployment Configuration.


trafficRouting?

Type: TrafficRouting (optional, default: AllAtOnce)

The configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment.