@Stability(value=Stable)
public static interface CfnDistribution.GeoRestrictionProperty
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.*;
GeoRestrictionProperty geoRestrictionProperty = GeoRestrictionProperty.builder()
.restrictionType("restrictionType")
// the properties below are optional
.locations(List.of("locations"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDistribution.GeoRestrictionProperty.Builder
A builder for
CfnDistribution.GeoRestrictionProperty |
static class |
CfnDistribution.GeoRestrictionProperty.Jsii$Proxy
An implementation for
CfnDistribution.GeoRestrictionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDistribution.GeoRestrictionProperty.Builder |
builder() |
default List<String> |
getLocations()
`CfnDistribution.GeoRestrictionProperty.Locations`.
|
String |
getRestrictionType()
`CfnDistribution.GeoRestrictionProperty.RestrictionType`.
|
@Stability(value=Stable) @Nullable default List<String> getLocations()
@Stability(value=Stable) @NotNull String getRestrictionType()
@Stability(value=Stable) static CfnDistribution.GeoRestrictionProperty.Builder builder()
Copyright © 2021. All rights reserved.