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:



8949
8950
8951
8952
8953
8954
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 8949

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

#quantityInteger

The number of origin groups.

Returns:

  • (Integer)


8949
8950
8951
8952
8953
8954
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 8949

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