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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/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.

Constant Summary collapse

SENSITIVE =
[]

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:



6617
6618
6619
6620
6621
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 6617

class OriginGroupFailoverCriteria < Struct.new(
  :status_codes)
  SENSITIVE = []
  include Aws::Structure
end