Class: Aws::CloudFront::Types::OriginGroups

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

Overview

Note:

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

{
  quantity: 1, # required
  items: [
    {
      id: "string", # required
      failover_criteria: { # required
        status_codes: { # required
          quantity: 1, # required
          items: [1], # required
        },
      },
      members: { # required
        quantity: 1, # required
        items: [ # required
          {
            origin_id: "string", # required
          },
        ],
      },
    },
  ],
}

A complex data type for the origin groups specified for a distribution.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<Types::OriginGroup>

The items (origin groups) in a distribution.

Returns:



6704
6705
6706
6707
6708
6709
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 6704

class OriginGroups < Struct.new(
  :quantity,
  :items)
  SENSITIVE = []
  include Aws::Structure
end

#quantityInteger

The number of origin groups.

Returns:

  • (Integer)


6704
6705
6706
6707
6708
6709
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 6704

class OriginGroups < Struct.new(
  :quantity,
  :items)
  SENSITIVE = []
  include Aws::Structure
end