DistributionOriginGroupArgs

data class DistributionOriginGroupArgs(val failoverCriteria: Output<DistributionOriginGroupFailoverCriteriaArgs>, val id: Output<String>, val members: Output<DistributionOriginGroupMembersArgs>) : ConvertibleToJava<DistributionOriginGroupArgs>

An origin group includes two origins (a primary origin and a second 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 second origin under the failover conditions that you've chosen.

Constructors

Link copied to clipboard
constructor(failoverCriteria: Output<DistributionOriginGroupFailoverCriteriaArgs>, id: Output<String>, members: Output<DistributionOriginGroupMembersArgs>)

Properties

Link copied to clipboard

A complex type that contains information about the failover criteria for an origin group.

Link copied to clipboard
val id: Output<String>

The origin group's ID.

Link copied to clipboard

A complex type that contains information about the origins in an origin group.

Functions

Link copied to clipboard
open override fun toJava(): DistributionOriginGroupArgs