public static final class CloudFrontWebDistributionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudFrontWebDistributionProps
CloudFrontWebDistributionProps
CloudFrontWebDistributionProps.Builder, CloudFrontWebDistributionProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
AliasConfiguration |
getAliasConfiguration()
(deprecated) AliasConfiguration is used to configured CloudFront to respond to requests on custom domain names.
|
java.lang.String |
getComment()
A comment for this distribution in the CloudFront console.
|
java.lang.String |
getDefaultRootObject()
The default object to serve.
|
java.lang.Boolean |
getEnabled()
Enable or disable the distribution.
|
java.lang.Boolean |
getEnableIpV6()
If your distribution should have IPv6 enabled.
|
java.util.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.
|
java.util.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.
|
java.lang.String |
getWebACLId()
Unique identifier that specifies the AWS WAF web ACL to associate with this CloudFront distribution.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.util.List<SourceConfiguration> getOriginConfigs()
CloudFrontWebDistributionProps
Behaviors are a part of the origin.
getOriginConfigs
in interface CloudFrontWebDistributionProps
public final AliasConfiguration getAliasConfiguration()
CloudFrontWebDistributionProps
Default: - None.
getAliasConfiguration
in interface CloudFrontWebDistributionProps
public final java.lang.String getComment()
CloudFrontWebDistributionProps
Default: - No comment is added to distribution.
getComment
in interface CloudFrontWebDistributionProps
public final java.lang.String getDefaultRootObject()
CloudFrontWebDistributionProps
Default: - "index.html" is served.
getDefaultRootObject
in interface CloudFrontWebDistributionProps
public final java.lang.Boolean getEnabled()
CloudFrontWebDistributionProps
Default: true
getEnabled
in interface CloudFrontWebDistributionProps
public final java.lang.Boolean getEnableIpV6()
CloudFrontWebDistributionProps
Default: true
getEnableIpV6
in interface CloudFrontWebDistributionProps
public final java.util.List<CfnDistribution.CustomErrorResponseProperty> getErrorConfigurations()
CloudFrontWebDistributionProps
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.
getErrorConfigurations
in interface CloudFrontWebDistributionProps
public final GeoRestriction getGeoRestriction()
CloudFrontWebDistributionProps
Default: No geo restriction
getGeoRestriction
in interface CloudFrontWebDistributionProps
public final HttpVersion getHttpVersion()
CloudFrontWebDistributionProps
Default: HttpVersion.HTTP2
getHttpVersion
in interface CloudFrontWebDistributionProps
public final LoggingConfiguration getLoggingConfig()
CloudFrontWebDistributionProps
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.
getLoggingConfig
in interface CloudFrontWebDistributionProps
public final PriceClass getPriceClass()
CloudFrontWebDistributionProps
Default: PriceClass.PRICE_CLASS_100 the cheapest option for CloudFront is picked by default.
getPriceClass
in interface CloudFrontWebDistributionProps
public final ViewerCertificate getViewerCertificate()
CloudFrontWebDistributionProps
Default: ViewerCertificate.fromCloudFrontDefaultCertificate()
getViewerCertificate
in interface CloudFrontWebDistributionProps
public final ViewerProtocolPolicy getViewerProtocolPolicy()
CloudFrontWebDistributionProps
Default: RedirectToHTTPs
getViewerProtocolPolicy
in interface CloudFrontWebDistributionProps
public final java.lang.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).
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()