Interface CfnDistribution.StatusCodesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDistribution.StatusCodesProperty.Jsii$Proxy
- Enclosing class:
CfnDistribution
@Stability(Stable)
public static interface CfnDistribution.StatusCodesProperty
extends software.amazon.jsii.JsiiSerializable
A complex data type for the status codes that you specify that, when returned by a primary origin, trigger CloudFront to failover to a second origin.
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.*; StatusCodesProperty statusCodesProperty = StatusCodesProperty.builder() .items(List.of(123)) .quantity(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDistribution.StatusCodesProperty
static final class
An implementation forCfnDistribution.StatusCodesProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getItems
The items (status codes) for an origin group.- See Also:
-
getQuantity
The number of status codes.- See Also:
-
builder
-