Builder
Properties
A complex type that contains zero or more CacheBehavior
elements.
A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.
The identifier of a continuous deployment policy. For more information, see CreateContinuousDeploymentPolicy
.
A complex type that controls the following:
A complex type that describes the default cache behavior if you don't specify a CacheBehavior
element or if files don't match any of the values of PathPattern
in CacheBehavior
elements. You must create exactly one default cache behavior.
The object that you want CloudFront to request from your origin (for example, index.html
) when a viewer requests the root URL for your distribution (https://www.example.com
) instead of an object in your distribution (https://www.example.com/product-description.html
). Specifying a default root object avoids exposing the contents of your distribution.
(Optional) Specify the maximum HTTP version(s) that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2
. Viewers that don't support HTTP/2 automatically use an earlier HTTP version.
If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specify true
. If you specify false
, CloudFront responds to IPv6 DNS requests with the DNS response code NOERROR
and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution.
A complex type that controls whether access logs are written for the distribution.
A complex type that contains information about origin groups for this distribution.
The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specify PriceClass_All
, CloudFront responds to requests for your objects from all CloudFront edge locations.
A complex type that identifies ways in which you want to restrict distribution of your content.
A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.
A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of 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 WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a
.
Functions
construct an aws.sdk.kotlin.services.cloudfront.model.Aliases inside the given block
construct an aws.sdk.kotlin.services.cloudfront.model.CacheBehaviors inside the given block
construct an aws.sdk.kotlin.services.cloudfront.model.CustomErrorResponses inside the given block
construct an aws.sdk.kotlin.services.cloudfront.model.DefaultCacheBehavior inside the given block
construct an aws.sdk.kotlin.services.cloudfront.model.LoggingConfig inside the given block
construct an aws.sdk.kotlin.services.cloudfront.model.OriginGroups inside the given block
construct an aws.sdk.kotlin.services.cloudfront.model.Origins inside the given block
construct an aws.sdk.kotlin.services.cloudfront.model.Restrictions inside the given block
construct an aws.sdk.kotlin.services.cloudfront.model.ViewerCertificate inside the given block