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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<Types::OriginGroup>

The items (origin groups) in a distribution.

Returns:



6494
6495
6496
6497
6498
# File 'lib/aws-sdk-cloudfront/types.rb', line 6494

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

#quantityInteger

The number of origin groups.

Returns:

  • (Integer)


6494
6495
6496
6497
6498
# File 'lib/aws-sdk-cloudfront/types.rb', line 6494

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