Class: Aws::CloudFront::Types::StatusCodes

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 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<Integer>

The items (status codes) for an origin group.

Returns:

  • (Array<Integer>)

11186
11187
11188
11189
11190
11191
# File 'lib/aws-sdk-cloudfront/types.rb', line 11186

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

#quantityInteger

The number of status codes.

Returns:

  • (Integer)

11186
11187
11188
11189
11190
11191
# File 'lib/aws-sdk-cloudfront/types.rb', line 11186

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