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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb

Overview

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


10805
10806
10807
10808
10809
10810
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 10805

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

#quantityInteger

The number of status codes.

Returns:

  • (Integer)


10805
10806
10807
10808
10809
10810
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 10805

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