interface TimeBasedCanaryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeDeploy.Mixins.CfnDeploymentConfigPropsMixin.TimeBasedCanaryProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodedeploy/mixins#CfnDeploymentConfigPropsMixin_TimeBasedCanaryProperty |
Java | software.amazon.awscdk.mixins.preview.services.codedeploy.mixins.CfnDeploymentConfigPropsMixin.TimeBasedCanaryProperty |
Python | aws_cdk.mixins_preview.aws_codedeploy.mixins.CfnDeploymentConfigPropsMixin.TimeBasedCanaryProperty |
TypeScript | @aws-cdk/mixins-preview » aws_codedeploy » mixins » CfnDeploymentConfigPropsMixin » TimeBasedCanaryProperty |
A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in two increments.
The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as codedeploy_mixins } from '@aws-cdk/mixins-preview/aws-codedeploy';
const timeBasedCanaryProperty: codedeploy_mixins.CfnDeploymentConfigPropsMixin.TimeBasedCanaryProperty = {
canaryInterval: 123,
canaryPercentage: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| canary | number | The number of minutes between the first and second traffic shifts of a TimeBasedCanary deployment. |
| canary | number | The percentage of traffic to shift in the first increment of a TimeBasedCanary deployment. |
canaryInterval?
Type:
number
(optional)
The number of minutes between the first and second traffic shifts of a TimeBasedCanary deployment.
canaryPercentage?
Type:
number
(optional)
The percentage of traffic to shift in the first increment of a TimeBasedCanary deployment.

.NET
Go
Java
Python
TypeScript