You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing OriginGroupFailoverCriteria as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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:

  • (Types::StatusCodes)

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