You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudFront::Types::OriginGroups
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::OriginGroups
- Defined in:
- (unknown)
Overview
Note:
When passing OriginGroups as input to an Aws::Client method, you can use a vanilla 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.
Returned by:
Instance Attribute Summary collapse
-
#items ⇒ Array<Types::OriginGroup>
The items (origin groups) in a distribution.
-
#quantity ⇒ Integer
The number of origin groups.
Instance Attribute Details
#items ⇒ Array<Types::OriginGroup>
The items (origin groups) in a distribution.
#quantity ⇒ Integer
The number of origin groups.