You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodeDeploy::Types::TimeBasedCanary

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb

Overview

Note:

When making an API call, you may pass TimeBasedCanary data as a hash:

{
  canary_percentage: 1,
  canary_interval: 1,
}

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.

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)


3700
3701
3702
3703
3704
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3700

class TimeBasedCanary < Struct.new(
  :canary_percentage,
  :canary_interval)
  include Aws::Structure
end

#canary_percentageInteger

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

Returns:

  • (Integer)


3700
3701
3702
3703
3704
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3700

class TimeBasedCanary < Struct.new(
  :canary_percentage,
  :canary_interval)
  include Aws::Structure
end