@Stability(value=Stable) @Internal public static final class CloudFrontWebDistributionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudFrontWebDistributionProps
CloudFrontWebDistributionPropssoftware.amazon.jsii.JsiiObject.InitializationModeCloudFrontWebDistributionProps.Builder, CloudFrontWebDistributionProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CloudFrontWebDistributionProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CloudFrontWebDistributionProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getComment()
A comment for this distribution in the CloudFront console.
|
String |
getDefaultRootObject()
The default object to serve.
|
Boolean |
getEnabled()
Enable or disable the distribution.
|
Boolean |
getEnableIpV6()
If your distribution should have IPv6 enabled.
|
List<CfnDistribution.CustomErrorResponseProperty> |
getErrorConfigurations()
How CloudFront should handle requests that are not successful (eg PageNotFound).
|
GeoRestriction |
getGeoRestriction()
Controls the countries in which your content is distributed.
|
HttpVersion |
getHttpVersion()
The max supported HTTP Versions.
|
LoggingConfiguration |
getLoggingConfig()
Optional - if we should enable logging.
|
List<SourceConfiguration> |
getOriginConfigs()
The origin configurations for this distribution.
|
PriceClass |
getPriceClass()
The price class for the distribution (this impacts how many locations CloudFront uses for your distribution, and billing).
|
ViewerCertificate |
getViewerCertificate()
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.
|
ViewerProtocolPolicy |
getViewerProtocolPolicy()
The default viewer policy for incoming clients.
|
String |
getWebACLId()
Unique identifier that specifies the AWS WAF web ACL to associate with this CloudFront distribution.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CloudFrontWebDistributionProps.Builder builder)
CloudFrontWebDistributionProps.Builder.public final List<SourceConfiguration> getOriginConfigs()
CloudFrontWebDistributionPropsBehaviors are a part of the origin.
getOriginConfigs in interface CloudFrontWebDistributionPropspublic final String getComment()
CloudFrontWebDistributionPropsDefault: - No comment is added to distribution.
getComment in interface CloudFrontWebDistributionPropspublic final String getDefaultRootObject()
CloudFrontWebDistributionPropsDefault: - "index.html" is served.
getDefaultRootObject in interface CloudFrontWebDistributionPropspublic final Boolean getEnabled()
CloudFrontWebDistributionPropsDefault: true
getEnabled in interface CloudFrontWebDistributionPropspublic final Boolean getEnableIpV6()
CloudFrontWebDistributionPropsDefault: true
getEnableIpV6 in interface CloudFrontWebDistributionPropspublic final List<CfnDistribution.CustomErrorResponseProperty> getErrorConfigurations()
CloudFrontWebDistributionPropsBy 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.
getErrorConfigurations in interface CloudFrontWebDistributionPropspublic final GeoRestriction getGeoRestriction()
CloudFrontWebDistributionPropsDefault: No geo restriction
getGeoRestriction in interface CloudFrontWebDistributionPropspublic final HttpVersion getHttpVersion()
CloudFrontWebDistributionPropsDefault: HttpVersion.HTTP2
getHttpVersion in interface CloudFrontWebDistributionPropspublic final LoggingConfiguration getLoggingConfig()
CloudFrontWebDistributionPropsYou 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.
getLoggingConfig in interface CloudFrontWebDistributionPropspublic final PriceClass getPriceClass()
CloudFrontWebDistributionPropsDefault: PriceClass.PRICE_CLASS_100 the cheapest option for CloudFront is picked by default.
getPriceClass in interface CloudFrontWebDistributionPropspublic final ViewerCertificate getViewerCertificate()
CloudFrontWebDistributionPropsDefault: ViewerCertificate.fromCloudFrontDefaultCertificate()
getViewerCertificate in interface CloudFrontWebDistributionPropspublic final ViewerProtocolPolicy getViewerProtocolPolicy()
CloudFrontWebDistributionPropsDefault: RedirectToHTTPs
getViewerProtocolPolicy in interface CloudFrontWebDistributionPropspublic final String getWebACLId()
CloudFrontWebDistributionProps
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).
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.