class Aws::Lightsail::Types::LightsailDistribution

Describes an Amazon Lightsail content delivery network (CDN) distribution.

@!attribute [rw] name

The name of the distribution.
@return [String]

@!attribute [rw] arn

The Amazon Resource Name (ARN) of the distribution.
@return [String]

@!attribute [rw] support_code

The support code. Include this code in your email to support when
you have questions about your Lightsail distribution. This code
enables our support team to look up your Lightsail information more
easily.
@return [String]

@!attribute [rw] created_at

The timestamp when the distribution was created.
@return [Time]

@!attribute [rw] location

An object that describes the location of the distribution, such as
the AWS Region and Availability Zone.

<note markdown="1"> Lightsail distributions are global resources that can reference an
origin in any AWS Region, and distribute its content globally.
However, all distributions are located in the `us-east-1` Region.

 </note>
@return [Types::ResourceLocation]

@!attribute [rw] resource_type

The Lightsail resource type (e.g., `Distribution`).
@return [String]

@!attribute [rw] alternative_domain_names

The alternate domain names of the distribution.
@return [Array<String>]

@!attribute [rw] status

The status of the distribution.
@return [String]

@!attribute [rw] is_enabled

Indicates whether the distribution is enabled.
@return [Boolean]

@!attribute [rw] domain_name

The domain name of the distribution.
@return [String]

@!attribute [rw] bundle_id

The ID of the bundle currently applied to the distribution.
@return [String]

@!attribute [rw] certificate_name

The name of the SSL/TLS certificate attached to the distribution, if
any.
@return [String]

@!attribute [rw] origin

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

The distribution pulls, caches, and serves content from the origin.
@return [Types::Origin]

@!attribute [rw] origin_public_dns

The public DNS of the origin.
@return [String]

@!attribute [rw] default_cache_behavior

An object that describes the default cache behavior of the
distribution.
@return [Types::CacheBehavior]

@!attribute [rw] cache_behavior_settings

An object that describes the cache behavior settings of the
distribution.
@return [Types::CacheSettings]

@!attribute [rw] cache_behaviors

An array of objects that describe the per-path cache behavior of the
distribution.
@return [Array<Types::CacheBehaviorPerPath>]

@!attribute [rw] able_to_update_bundle

Indicates whether the bundle that is currently applied to your
distribution, specified using the `distributionName` parameter, can
be changed to another bundle.

Use the `UpdateDistributionBundle` action to change your
distribution's bundle.
@return [Boolean]

@!attribute [rw] ip_address_type

The IP address type of the distribution.

The possible values are `ipv4` for IPv4 only, and `dualstack` for
IPv4 and IPv6.
@return [String]

@!attribute [rw] tags

The tag keys and optional values for the resource. For more
information about tags in Lightsail, see the [Amazon Lightsail
Developer Guide][1].

[1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
@return [Array<Types::Tag>]

@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LightsailDistribution AWS API Documentation

Constants

SENSITIVE