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

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

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

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)


4790
4791
4792
4793
4794
4795
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 4790

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

#canary_percentageInteger

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

Returns:

  • (Integer)


4790
4791
4792
4793
4794
4795
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 4790

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