AWS CodeDeploy
API Reference (API Version 2014-10-06)

TrafficRoutingConfig

The configuration that specifies how traffic is shifted from one version of a Lambda function to another version during an AWS Lambda deployment.

Contents

timeBasedCanary

A configuration that shifts traffic from one version of a Lambda function to another in two increments. The original and target Lambda function versions are specified in the deployment's AppSpec file.

Type: TimeBasedCanary object

Required: No

timeBasedLinear

A configuration that shifts traffic from one version of a Lambda function to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions are specified in the deployment's AppSpec file.

Type: TimeBasedLinear object

Required: No

type

The type of traffic shifting (TimeBasedCanary or TimeBasedLinear) used by a deployment configuration .

Type: String

Valid Values: TimeBasedCanary | TimeBasedLinear | AllAtOnce

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: