You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeDeploy::Types::TimeBasedCanary
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeDeploy::Types::TimeBasedCanary
- Defined in:
- (unknown)
Overview
When passing TimeBasedCanary as input to an Aws::Client method, you can use a vanilla Hash:
{
canary_percentage: 1,
canary_interval: 1,
}
A configuration that shifts traffic from one version of a Lambda function or 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.
Returned by:
Instance Attribute Summary collapse
-
#canary_interval ⇒ Integer
The number of minutes between the first and second traffic shifts of a
TimeBasedCanary
deployment. -
#canary_percentage ⇒ Integer
The percentage of traffic to shift in the first increment of a
TimeBasedCanary
deployment.
Instance Attribute Details
#canary_interval ⇒ Integer
The number of minutes between the first and second traffic shifts of a
TimeBasedCanary
deployment.
#canary_percentage ⇒ Integer
The percentage of traffic to shift in the first increment of a
TimeBasedCanary
deployment.