You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudFront::Types::StatusCodes
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::StatusCodes
- Defined in:
- (unknown)
Overview
Note:
When passing StatusCodes as input to an Aws::Client method, you can use a vanilla Hash:
{
quantity: 1, # required
items: [1], # required
}
A complex data type for the status codes that you specify that, when returned by a primary origin, trigger CloudFront to failover to a second origin.
Returned by:
Instance Attribute Summary collapse
-
#items ⇒ Array<Integer>
The items (status codes) for an origin group.
-
#quantity ⇒ Integer
The number of status codes.
Instance Attribute Details
#items ⇒ Array<Integer>
The items (status codes) for an origin group.
#quantity ⇒ Integer
The number of status codes.