aws-cdk-lib.aws_codedeploy.LinearTrafficRoutingConfig

interface LinearTrafficRoutingConfig

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

Represents the configuration specific to linear 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 linearTrafficRoutingConfig: codedeploy.LinearTrafficRoutingConfig = {
  linearInterval: 123,
  linearPercentage: 123,
};

Properties

NameTypeDescription
linearIntervalnumberThe number of minutes between each incremental traffic shift of a TimeBasedLinear deployment.
linearPercentagenumberThe percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear deployment.

linearInterval

Type: number

The number of minutes between each incremental traffic shift of a TimeBasedLinear deployment.


linearPercentage

Type: number

The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear deployment.