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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<Types::OriginGroup>

The items (origin groups) in a distribution.

Returns:



9570
9571
9572
9573
9574
9575
# File 'lib/aws-sdk-cloudfront/types.rb', line 9570

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

#quantityInteger

The number of origin groups.

Returns:

  • (Integer)


9570
9571
9572
9573
9574
9575
# File 'lib/aws-sdk-cloudfront/types.rb', line 9570

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