@Stability(value=Stable)
public static interface CfnDistribution.RestrictionsProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
RestrictionsProperty restrictionsProperty = RestrictionsProperty.builder()
.geoRestriction(GeoRestrictionProperty.builder()
.restrictionType("restrictionType")
// the properties below are optional
.locations(List.of("locations"))
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDistribution.RestrictionsProperty.Builder
A builder for
CfnDistribution.RestrictionsProperty |
static class |
CfnDistribution.RestrictionsProperty.Jsii$Proxy
An implementation for
CfnDistribution.RestrictionsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDistribution.RestrictionsProperty.Builder |
builder() |
Object |
getGeoRestriction()
`CfnDistribution.RestrictionsProperty.GeoRestriction`.
|
@Stability(value=Stable) @NotNull Object getGeoRestriction()
@Stability(value=Stable) static CfnDistribution.RestrictionsProperty.Builder builder()
Copyright © 2021. All rights reserved.