Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

LightsailDistribution

import type { LightsailDistribution } from "https://aws-api.deno.dev/v0.3/services/lightsail.ts?docs=full";

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

interface LightsailDistribution {
ableToUpdateBundle?: boolean | null;
alternativeDomainNames?: string[] | null;
arn?: string | null;
bundleId?: string | null;
cacheBehaviors?: CacheBehaviorPerPath[] | null;
cacheBehaviorSettings?: CacheSettings | null;
certificateName?: string | null;
createdAt?: Date | number | null;
defaultCacheBehavior?: CacheBehavior | null;
domainName?: string | null;
ipAddressType?: IpAddressType | null;
isEnabled?: boolean | null;
location?: ResourceLocation | null;
name?: string | null;
origin?: Origin | null;
originPublicDNS?: string | null;
resourceType?: ResourceType | null;
status?: string | null;
supportCode?: string | null;
tags?: Tag[] | null;
}

§Properties

§
ableToUpdateBundle?: boolean | null
[src]

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.

§
alternativeDomainNames?: string[] | null
[src]

The alternate domain names of the distribution.

§
arn?: string | null
[src]

The Amazon Resource Name (ARN) of the distribution.

§
bundleId?: string | null
[src]

The ID of the bundle currently applied to the distribution.

§
cacheBehaviors?: CacheBehaviorPerPath[] | null
[src]

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

§
cacheBehaviorSettings?: CacheSettings | null
[src]

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

§
certificateName?: string | null
[src]

The name of the SSL/TLS certificate attached to the distribution, if any.

§
createdAt?: Date | number | null
[src]

The timestamp when the distribution was created.

§
defaultCacheBehavior?: CacheBehavior | null
[src]

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

§
domainName?: string | null
[src]

The domain name of the distribution.

§
ipAddressType?: IpAddressType | null
[src]

The IP address type of the distribution.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

§
isEnabled?: boolean | null
[src]

Indicates whether the distribution is enabled.

§
location?: ResourceLocation | null
[src]

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

Note: 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.

§
name?: string | null
[src]

The name of the distribution.

§
origin?: Origin | null
[src]

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.

§
originPublicDNS?: string | null
[src]

The public DNS of the origin.

§
resourceType?: ResourceType | null
[src]

The Lightsail resource type (e.g., Distribution).

§
status?: string | null
[src]

The status of the distribution.

§
supportCode?: string | null
[src]

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.

§
tags?: Tag[] | null
[src]

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