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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#canary_intervalInteger

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

Returns:

  • (Integer)

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

#canary_percentageInteger

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

Returns:

  • (Integer)

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