Interface CfnDistribution.OriginGroupMembersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDistribution.OriginGroupMembersProperty.Jsii$Proxy
- Enclosing class:
CfnDistribution
@Stability(Stable)
public static interface CfnDistribution.OriginGroupMembersProperty
extends software.amazon.jsii.JsiiSerializable
A complex data type for the origins included in an origin group.
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.*;
OriginGroupMembersProperty originGroupMembersProperty = OriginGroupMembersProperty.builder()
.items(List.of(OriginGroupMemberProperty.builder()
.originId("originId")
.build()))
.quantity(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDistribution.OriginGroupMembersPropertystatic final classAn implementation forCfnDistribution.OriginGroupMembersProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getItems
Items (origins) in an origin group.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDistribution.OriginGroupMemberProperty>- See Also:
-
getQuantity
The number of origins in an origin group.- See Also:
-
builder
-