Interface CfnDistribution.OriginGroupsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDistribution.OriginGroupsProperty.Jsii$Proxy
Enclosing class:
CfnDistribution

@Stability(Stable) public static interface CfnDistribution.OriginGroupsProperty extends software.amazon.jsii.JsiiSerializable
A complex data type for the origin groups specified for a distribution.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.cloudfront.*;
 OriginGroupsProperty originGroupsProperty = OriginGroupsProperty.builder()
         .quantity(123)
         // the properties below are optional
         .items(List.of(OriginGroupProperty.builder()
                 .failoverCriteria(OriginGroupFailoverCriteriaProperty.builder()
                         .statusCodes(StatusCodesProperty.builder()
                                 .items(List.of(123))
                                 .quantity(123)
                                 .build())
                         .build())
                 .id("id")
                 .members(OriginGroupMembersProperty.builder()
                         .items(List.of(OriginGroupMemberProperty.builder()
                                 .originId("originId")
                                 .build()))
                         .quantity(123)
                         .build())
                 .build()))
         .build();
 

See Also: