DistributionConfig

A distribution configuration.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

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

To use this field for a multi-tenant distribution, use a connection group instead. For more information, see ConnectionGroup.

Link copied to clipboard

A complex type that contains zero or more CacheBehavior elements.

Link copied to clipboard

A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

Link copied to clipboard

A comment to describe the distribution. The comment cannot be longer than 128 characters.

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

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 controls the following:

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

When a viewer requests the root URL for your distribution, the default root object is the object that you want CloudFront to request from your origin. For example, if your root URL is https://www.example.com, you can specify CloudFront to return the index.html file as the default root object. You can specify a default root object so that viewers see a specific file or object, instead of another object in your distribution (for example, https://www.example.com/product-description.html). A default root object avoids exposing the contents of your distribution.

Link copied to clipboard

From this field, you can enable or disable the selected distribution.

Link copied to clipboard

(Optional) Specify the 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.

Link copied to clipboard

To use this field for a multi-tenant distribution, use a connection group instead. For more information, see ConnectionGroup.

Link copied to clipboard

A complex type that controls whether access logs are written for the distribution.

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

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

This field only supports multi-tenant distributions. You can't specify this field for standard 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 determines the distribution's SSL/TLS configuration for communicating with viewers.

Link copied to clipboard

Multi-tenant distributions only support WAF V2 web ACLs.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String