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.

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:



9473
9474
9475
9476
9477
# File 'lib/aws-sdk-cloudfront/types.rb', line 9473

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