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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDistribution.StatusCodesPropertystatic final classAn 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.Returns union: either Listinvalid input: '<'
Number> orIResolvable- See Also:
-
getQuantity
The number of status codes.- See Also:
-
builder
-