Builder

class Builder

Properties

Link copied to clipboard

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

Link copied to clipboard

Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.

Link copied to clipboard

ID of the Anycast static IP list that is associated with the distribution.

Link copied to clipboard
var arn: String?

The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your Amazon Web Services account ID.

Link copied to clipboard

A complex type that contains zero or more CacheBehavior elements.

Link copied to clipboard

The comment originally specified when this distribution was created.

Link copied to clipboard

This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants(tenant-only).

Link copied to clipboard

A complex type that contains zero or more CustomErrorResponses elements.

Link copied to clipboard

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.

Link copied to clipboard

The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net.

Link copied to clipboard

Whether the distribution is enabled to accept user requests for content.

Link copied to clipboard
var eTag: String?

The current version of the distribution.

Link copied to clipboard

Specify the maximum HTTP version 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 will automatically use an earlier version.

Link copied to clipboard
var id: String?

The identifier for the distribution. For example: EDFDVBD632BHDS5.

Link copied to clipboard

Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.

Link copied to clipboard

The date and time the distribution was last modified.

Link copied to clipboard

A complex type that contains information about origin groups for this distribution.

Link copied to clipboard

A complex type that contains information about origins for this distribution.

Link copied to clipboard

This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see Unsupported features for SaaS Manager for Amazon CloudFront in the Amazon CloudFront Developer Guide.

Link copied to clipboard

A complex type that identifies ways in which you want to restrict distribution of your content.

Link copied to clipboard

A Boolean that indicates whether this is a staging distribution. When this value is true, this is a staging distribution. When this value is false, this is not a staging distribution.

Link copied to clipboard

The current status of the distribution. When the status is Deployed, the distribution's information is propagated to all CloudFront edge locations.

Link copied to clipboard

A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.

Link copied to clipboard

The Web ACL Id (if any) associated with the distribution.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard