Class: Aws::CloudFront::Types::TrafficConfig

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

Overview

The traffic configuration of your continuous deployment.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#single_header_config ⇒ Types::ContinuousDeploymentSingleHeaderConfig

Determines which HTTP requests are sent to the staging distribution.



15709
15710
15711
15712
15713
15714
15715
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 15709

class TrafficConfig < Struct.new(
  :single_weight_config,
  :single_header_config,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#single_weight_config ⇒ Types::ContinuousDeploymentSingleWeightConfig

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



15709
15710
15711
15712
15713
15714
15715
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 15709

class TrafficConfig < Struct.new(
  :single_weight_config,
  :single_header_config,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#type ⇒ String

The type of traffic configuration.

Returns:

  • (String)


15709
15710
15711
15712
15713
15714
15715
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 15709

class TrafficConfig < Struct.new(
  :single_weight_config,
  :single_header_config,
  :type)
  SENSITIVE = []
  include Aws::Structure
end