Class: Aws::CloudFront::Types::OriginGroup
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::OriginGroup
- Defined in:
- gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb
Overview
An origin group includes two origins (a primary origin and a secondary origin to failover to) and a failover criteria that you specify. You create an origin group to support origin failover in CloudFront. When you create or update a distribution, you can specify the origin group instead of a single origin, and CloudFront will failover from the primary origin to the secondary origin under the failover conditions that you've chosen.
Optionally, you can choose selection criteria for your origin group to specify how your origins are selected when your distribution routes viewer requests.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#failover_criteria ⇒ Types::OriginGroupFailoverCriteria
A complex type that contains information about the failover criteria for an origin group.
-
#id ⇒ String
The origin group's ID.
-
#members ⇒ Types::OriginGroupMembers
A complex type that contains information about the origins in an origin group.
-
#selection_criteria ⇒ String
The selection criteria for the origin group.
Instance Attribute Details
#failover_criteria ⇒ Types::OriginGroupFailoverCriteria
A complex type that contains information about the failover criteria for an origin group.
9101 9102 9103 9104 9105 9106 9107 9108 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9101 class OriginGroup < Struct.new( :id, :failover_criteria, :members, :selection_criteria) SENSITIVE = [] include Aws::Structure end |
#id ⇒ String
The origin group's ID.
9101 9102 9103 9104 9105 9106 9107 9108 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9101 class OriginGroup < Struct.new( :id, :failover_criteria, :members, :selection_criteria) SENSITIVE = [] include Aws::Structure end |
#members ⇒ Types::OriginGroupMembers
A complex type that contains information about the origins in an origin group.
9101 9102 9103 9104 9105 9106 9107 9108 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9101 class OriginGroup < Struct.new( :id, :failover_criteria, :members, :selection_criteria) SENSITIVE = [] include Aws::Structure end |
#selection_criteria ⇒ String
The selection criteria for the origin group. For more information, see Create an origin group in the Amazon CloudFront Developer Guide.
9101 9102 9103 9104 9105 9106 9107 9108 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9101 class OriginGroup < Struct.new( :id, :failover_criteria, :members, :selection_criteria) SENSITIVE = [] include Aws::Structure end |