| Package | Description |
|---|---|
| software.amazon.awscdk.services.cloudfront |
Amazon CloudFront Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
static GeoRestriction |
GeoRestriction.allowlist(String... locations)
(experimental) Allow specific countries which you want CloudFront to distribute your content.
|
static GeoRestriction |
GeoRestriction.denylist(String... locations)
(experimental) Deny specific countries which you don't want CloudFront to distribute your content.
|
default GeoRestriction |
CloudFrontWebDistributionProps.getGeoRestriction()
(experimental) Controls the countries in which your content is distributed.
|
GeoRestriction |
CloudFrontWebDistributionProps.Jsii$Proxy.getGeoRestriction() |
default GeoRestriction |
DistributionProps.getGeoRestriction()
(experimental) Controls the countries in which your content is distributed.
|
GeoRestriction |
DistributionProps.Jsii$Proxy.getGeoRestriction() |
| Modifier and Type | Method and Description |
|---|---|
CloudFrontWebDistributionProps.Builder |
CloudFrontWebDistributionProps.Builder.geoRestriction(GeoRestriction geoRestriction)
Sets the value of
CloudFrontWebDistributionProps.getGeoRestriction() |
Distribution.Builder |
Distribution.Builder.geoRestriction(GeoRestriction geoRestriction)
(experimental) Controls the countries in which your content is distributed.
|
CloudFrontWebDistribution.Builder |
CloudFrontWebDistribution.Builder.geoRestriction(GeoRestriction geoRestriction)
(experimental) Controls the countries in which your content is distributed.
|
DistributionProps.Builder |
DistributionProps.Builder.geoRestriction(GeoRestriction geoRestriction)
Sets the value of
DistributionProps.getGeoRestriction() |
| Constructor and Description |
|---|
Jsii$Proxy(BehaviorOptions defaultBehavior,
Map<String,? extends BehaviorOptions> additionalBehaviors,
ICertificate certificate,
String comment,
String defaultRootObject,
List<String> domainNames,
Boolean enabled,
Boolean enableIpv6,
Boolean enableLogging,
List<? extends ErrorResponse> errorResponses,
GeoRestriction geoRestriction,
HttpVersion httpVersion,
IBucket logBucket,
String logFilePrefix,
Boolean logIncludesCookies,
SecurityPolicyProtocol minimumProtocolVersion,
PriceClass priceClass,
String webAclId)
Constructor that initializes the object based on literal property values passed by the
DistributionProps.Builder. |
Jsii$Proxy(List<? extends SourceConfiguration> originConfigs,
String comment,
String defaultRootObject,
Boolean enableIpV6,
List<? extends CfnDistribution.CustomErrorResponseProperty> errorConfigurations,
GeoRestriction geoRestriction,
HttpVersion httpVersion,
LoggingConfiguration loggingConfig,
PriceClass priceClass,
ViewerCertificate viewerCertificate,
ViewerProtocolPolicy viewerProtocolPolicy,
String webAclId)
Constructor that initializes the object based on literal property values passed by the
CloudFrontWebDistributionProps.Builder. |
Copyright © 2021. All rights reserved.