@Stability(value=Stable) public static final class CfnDistribution.RestrictionsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDistribution.RestrictionsProperty>
CfnDistribution.RestrictionsProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDistribution.RestrictionsProperty |
build()
Builds the configured instance.
|
CfnDistribution.RestrictionsProperty.Builder |
geoRestriction(CfnDistribution.GeoRestrictionProperty geoRestriction)
Sets the value of
CfnDistribution.RestrictionsProperty.getGeoRestriction() |
CfnDistribution.RestrictionsProperty.Builder |
geoRestriction(IResolvable geoRestriction)
Sets the value of
CfnDistribution.RestrictionsProperty.getGeoRestriction() |
@Stability(value=Stable) public CfnDistribution.RestrictionsProperty.Builder geoRestriction(IResolvable geoRestriction)
CfnDistribution.RestrictionsProperty.getGeoRestriction()geoRestriction - A complex type that controls the countries in which your content is distributed. This parameter is required.
CloudFront determines the location of your users using MaxMind GeoIP databases. To disable geo restriction, remove the Restrictions property from your stack template.this@Stability(value=Stable) public CfnDistribution.RestrictionsProperty.Builder geoRestriction(CfnDistribution.GeoRestrictionProperty geoRestriction)
CfnDistribution.RestrictionsProperty.getGeoRestriction()geoRestriction - A complex type that controls the countries in which your content is distributed. This parameter is required.
CloudFront determines the location of your users using MaxMind GeoIP databases. To disable geo restriction, remove the Restrictions property from your stack template.this@Stability(value=Stable) public CfnDistribution.RestrictionsProperty build()
build in interface software.amazon.jsii.Builder<CfnDistribution.RestrictionsProperty>CfnDistribution.RestrictionsPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.