Class CloudFrontWebDistributionProps.Jsii$Proxy
- All Implemented Interfaces:
CloudFrontWebDistributionProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CloudFrontWebDistributionProps
CloudFrontWebDistributionProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.CloudFrontWebDistributionProps
CloudFrontWebDistributionProps.Builder, CloudFrontWebDistributionProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCloudFrontWebDistributionProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringA comment for this distribution in the CloudFront console.final StringThe default object to serve.final BooleanEnable or disable the distribution.final BooleanIf your distribution should have IPv6 enabled.How CloudFront should handle requests that are not successful (eg PageNotFound).final GeoRestrictionControls the countries in which your content is distributed.final HttpVersionThe max supported HTTP Versions.final LoggingConfigurationOptional - if we should enable logging.final List<SourceConfiguration> The origin configurations for this distribution.final PriceClassThe price class for the distribution (this impacts how many locations CloudFront uses for your distribution, and billing).final ViewerCertificateSpecifies 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.final ViewerProtocolPolicyThe default viewer policy for incoming clients.final StringUnique identifier that specifies the AWS WAF web ACL to associate with this CloudFront distribution.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCloudFrontWebDistributionProps.Builder.
-
-
Method Details
-
getOriginConfigs
Description copied from interface:CloudFrontWebDistributionPropsThe origin configurations for this distribution.Behaviors are a part of the origin.
- Specified by:
getOriginConfigsin interfaceCloudFrontWebDistributionProps
-
getComment
Description copied from interface:CloudFrontWebDistributionPropsA comment for this distribution in the CloudFront console.Default: - No comment is added to distribution.
- Specified by:
getCommentin interfaceCloudFrontWebDistributionProps
-
getDefaultRootObject
Description copied from interface:CloudFrontWebDistributionPropsThe default object to serve.Default: - "index.html" is served.
- Specified by:
getDefaultRootObjectin interfaceCloudFrontWebDistributionProps
-
getEnabled
Description copied from interface:CloudFrontWebDistributionPropsEnable or disable the distribution.Default: true
- Specified by:
getEnabledin interfaceCloudFrontWebDistributionProps
-
getEnableIpV6
Description copied from interface:CloudFrontWebDistributionPropsIf your distribution should have IPv6 enabled.Default: true
- Specified by:
getEnableIpV6in interfaceCloudFrontWebDistributionProps
-
getErrorConfigurations
Description copied from interface:CloudFrontWebDistributionPropsHow CloudFront should handle requests that are not successful (eg PageNotFound).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.
- Specified by:
getErrorConfigurationsin interfaceCloudFrontWebDistributionProps
-
getGeoRestriction
Description copied from interface:CloudFrontWebDistributionPropsControls the countries in which your content is distributed.Default: No geo restriction
- Specified by:
getGeoRestrictionin interfaceCloudFrontWebDistributionProps
-
getHttpVersion
Description copied from interface:CloudFrontWebDistributionPropsThe max supported HTTP Versions.Default: HttpVersion.HTTP2
- Specified by:
getHttpVersionin interfaceCloudFrontWebDistributionProps
-
getLoggingConfig
Description copied from interface:CloudFrontWebDistributionPropsOptional - if we should enable logging.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.
- Specified by:
getLoggingConfigin interfaceCloudFrontWebDistributionProps
-
getPriceClass
Description copied from interface:CloudFrontWebDistributionPropsThe price class for the distribution (this impacts how many locations CloudFront uses for your distribution, and billing).Default: PriceClass.PRICE_CLASS_100 the cheapest option for CloudFront is picked by default.
- Specified by:
getPriceClassin interfaceCloudFrontWebDistributionProps
-
getViewerCertificate
Description copied from interface:CloudFrontWebDistributionPropsSpecifies 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: ViewerCertificate.fromCloudFrontDefaultCertificate()
- Specified by:
getViewerCertificatein interfaceCloudFrontWebDistributionProps- See Also:
-
getViewerProtocolPolicy
Description copied from interface:CloudFrontWebDistributionPropsThe default viewer policy for incoming clients.Default: RedirectToHTTPs
- Specified by:
getViewerProtocolPolicyin interfaceCloudFrontWebDistributionProps
-
getWebACLId
Description copied from interface:CloudFrontWebDistributionPropsUnique identifier that specifies the AWS WAF web ACL to associate with this CloudFront distribution.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).
- Specified by:
getWebACLIdin interfaceCloudFrontWebDistributionProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-