Class: Aws::CloudFront::Types::StatusCodes
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::StatusCodes
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
Overview
Note:
When making an API call, you may pass StatusCodes data as a 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.
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.
7107 7108 7109 7110 7111 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 7107 class StatusCodes < Struct.new( :quantity, :items) include Aws::Structure end |
#quantity ⇒ Integer
The number of status codes.
7107 7108 7109 7110 7111 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 7107 class StatusCodes < Struct.new( :quantity, :items) include Aws::Structure end |