@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:50.288Z") @Stability(value=Experimental) public interface CloudFrontWebDistributionProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
CloudFrontWebDistributionProps.Builder
A builder for
CloudFrontWebDistributionProps |
static class |
CloudFrontWebDistributionProps.Jsii$Proxy
An implementation for
CloudFrontWebDistributionProps |
| Modifier and Type | Method and Description |
|---|---|
static CloudFrontWebDistributionProps.Builder |
builder() |
default String |
getComment()
(experimental) A comment for this distribution in the CloudFront console.
|
default String |
getDefaultRootObject()
(experimental) The default object to serve.
|
default Boolean |
getEnableIpV6()
(experimental) If your distribution should have IPv6 enabled.
|
default List<CfnDistribution.CustomErrorResponseProperty> |
getErrorConfigurations()
(experimental) How CloudFront should handle requests that are not successful (eg PageNotFound).
|
default GeoRestriction |
getGeoRestriction()
(experimental) Controls the countries in which your content is distributed.
|
default HttpVersion |
getHttpVersion()
(experimental) The max supported HTTP Versions.
|
default LoggingConfiguration |
getLoggingConfig()
(experimental) Optional - if we should enable logging.
|
List<SourceConfiguration> |
getOriginConfigs()
(experimental) The origin configurations for this distribution.
|
default PriceClass |
getPriceClass()
(experimental) The price class for the distribution (this impacts how many locations CloudFront uses for your distribution, and billing).
|
default ViewerCertificate |
getViewerCertificate()
(experimental) Specifies whether you want viewers to use HTTP or HTTPS to request your objects, whether you're using an alternate domain name with HTTPS, and if so, if you're using AWS Certificate Manager (ACM) or a third-party certificate authority.
|
default ViewerProtocolPolicy |
getViewerProtocolPolicy()
(experimental) The default viewer policy for incoming clients.
|
default String |
getWebACLId()
(experimental) Unique identifier that specifies the AWS WAF web ACL to associate with this CloudFront distribution.
|
@Stability(value=Experimental) @NotNull List<SourceConfiguration> getOriginConfigs()
Behaviors are a part of the origin.
@Stability(value=Experimental) @Nullable default String getComment()
Default: - No comment is added to distribution.
@Stability(value=Experimental) @Nullable default String getDefaultRootObject()
Default: - "index.html" is served.
@Stability(value=Experimental) @Nullable default Boolean getEnableIpV6()
Default: true
@Stability(value=Experimental) @Nullable default List<CfnDistribution.CustomErrorResponseProperty> getErrorConfigurations()
By default, CloudFront does not replace HTTP status codes in the 4xx and 5xx range with custom error messages. CloudFront does not cache HTTP status codes.
Default: - No custom error configuration.
@Stability(value=Experimental) @Nullable default GeoRestriction getGeoRestriction()
Default: No geo restriction
@Stability(value=Experimental) @Nullable default HttpVersion getHttpVersion()
Default: HttpVersion.HTTP2
@Stability(value=Experimental) @Nullable default LoggingConfiguration getLoggingConfig()
You can pass an empty object ({}) to have us auto create a bucket for logging. Omission of this property indicates no logging is to be enabled.
Default: - no logging is enabled by default.
@Stability(value=Experimental) @Nullable default PriceClass getPriceClass()
Default: PriceClass.PRICE_CLASS_100 the cheapest option for CloudFront is picked by default.
@Stability(value=Experimental) @Nullable default ViewerCertificate getViewerCertificate()
Default: ViewerCertificate.fromCloudFrontDefaultCertificate()
https://aws.amazon.com/premiumsupport/knowledge-center/custom-ssl-certificate-cloudfront/@Stability(value=Experimental) @Nullable default ViewerProtocolPolicy getViewerProtocolPolicy()
Default: RedirectToHTTPs
@Stability(value=Experimental) @Nullable default String getWebACLId()
To specify a web ACL created using the latest version of AWS WAF, use the ACL ARN, for example
arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a.
To specify a web ACL created using AWS WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a.
Default: - No AWS Web Application Firewall web access control list (web ACL).
https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CreateDistribution.html#API_CreateDistribution_RequestParameters.@Stability(value=Experimental) static CloudFrontWebDistributionProps.Builder builder()
Copyright © 2021. All rights reserved.