Class: Aws::CloudFront::Types::OriginGroupFailoverCriteria

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 OriginGroupFailoverCriteria data as a hash:

{
  status_codes: { # required
    quantity: 1, # required
    items: [1], # required
  },
}

A complex data type that includes information about the failover criteria for an origin group, including the status codes for which CloudFront will failover from the primary origin to the second origin.

Instance Attribute Summary collapse

Instance Attribute Details

#status_codesTypes::StatusCodes

The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.

Returns:



6400
6401
6402
6403
# File 'lib/aws-sdk-cloudfront/types.rb', line 6400

class OriginGroupFailoverCriteria < Struct.new(
  :status_codes)
  include Aws::Structure
end