Builder

class Builder

Properties

Link copied to clipboard

An array of objects that describe the per-path cache behavior for the distribution.

Link copied to clipboard

An object that describes the cache behavior settings for the distribution.

Link copied to clipboard

The name of the SSL/TLS certificate that you want to attach to the distribution.

Link copied to clipboard

An array of objects that describe the custom error responses for the distribution. With a custom error response, you can specify the page to return when the origin responds with a given HTTP error code. You can also specify the HTTP status code to send to the viewer.

Link copied to clipboard

An object that describes the default cache behavior for the distribution.

Link copied to clipboard

The object (for example, index.html) that the distribution returns when a viewer requests the root URL of the distribution (/) instead of a specific object. The object that you specify must be available from the origin.

Link copied to clipboard

The name of the distribution to update.

Link copied to clipboard

Specifies whether to enable private origin access for the distribution. With private origin access, the distribution can serve objects that aren't publicly accessible from a Lightsail bucket.

Link copied to clipboard

Indicates whether to enable the distribution.

Link copied to clipboard

An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or load balancer.

Link copied to clipboard

Indicates whether the default SSL/TLS certificate is attached to the distribution. The default value is true. When true, the distribution uses the default domain name such as d111111abcdef8.cloudfront.net.

Link copied to clipboard

Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached to the distribution.

Functions

Link copied to clipboard