Class: Aws::CloudFront::Types::ContinuousDeploymentSingleWeightConfig

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

Overview

Contains the percentage of traffic to send to a staging distribution.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#session_stickiness_configTypes::SessionStickinessConfig

Session stickiness provides the ability to define multiple requests from a single viewer as a single session. This prevents the potentially inconsistent experience of sending some of a given user's requests to your staging distribution, while others are sent to your primary distribution. Define the session duration using TTL values.



1529
1530
1531
1532
1533
1534
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 1529

class ContinuousDeploymentSingleWeightConfig < Struct.new(
  :weight,
  :session_stickiness_config)
  SENSITIVE = []
  include Aws::Structure
end

#weightFloat

The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and .15.

Returns:

  • (Float)


1529
1530
1531
1532
1533
1534
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 1529

class ContinuousDeploymentSingleWeightConfig < Struct.new(
  :weight,
  :session_stickiness_config)
  SENSITIVE = []
  include Aws::Structure
end