DistributionConfig
A distribution configuration.
Types
Properties
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.
To use this field for a multi-tenant distribution, use a connection group instead. For more information, see ConnectionGroup.
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.
This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants(tenant-only).
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.
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.
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.
(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.
To use this field for a multi-tenant distribution, use a connection group instead. For more information, see ConnectionGroup.
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.
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.
A complex type that identifies ways in which you want to restrict distribution of your content.
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.
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.
A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.