aws-cdk-lib.aws_codedeploy.CanaryTrafficRoutingConfig

interface CanaryTrafficRoutingConfig

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

Represents the configuration specific to canary traffic shifting.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codedeploy as codedeploy } from 'aws-cdk-lib';
const canaryTrafficRoutingConfig: codedeploy.CanaryTrafficRoutingConfig = {
  canaryInterval: 123,
  canaryPercentage: 123,
};

Properties

NameTypeDescription
canaryIntervalnumberThe number of minutes between the first and second traffic shifts of a TimeBasedCanary deployment.
canaryPercentagenumberThe percentage of traffic to shift in the first increment of a TimeBasedCanary deployment.

canaryInterval

Type: number

The number of minutes between the first and second traffic shifts of a TimeBasedCanary deployment.


canaryPercentage

Type: number

The percentage of traffic to shift in the first increment of a TimeBasedCanary deployment.