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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDistribution.OriginGroupsProperty
static final class
An implementation forCfnDistribution.OriginGroupsProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getQuantity
The number of origin groups.- See Also:
-
getItems
The items (origin groups) in a distribution.- See Also:
-
builder
-