CreateDistributionRequest

Types

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

Properties

Link copied to clipboard

The bundle ID to use for the distribution.

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 for the distribution.

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

The IP address type for 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
val tags: List<Tag>?

The tag keys and optional values to add to the distribution during create.

Link copied to clipboard

The minimum TLS protocol version for the SSL/TLS certificate.

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