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

CreateDistributionRequest

import type { CreateDistributionRequest } from "https://aws-api.deno.dev/v0.3/services/lightsail.ts?docs=full";
interface CreateDistributionRequest {
bundleId: string;
cacheBehaviors?: CacheBehaviorPerPath[] | null;
cacheBehaviorSettings?: CacheSettings | null;
defaultCacheBehavior: CacheBehavior;
distributionName: string;
ipAddressType?: IpAddressType | null;
origin: InputOrigin;
tags?: Tag[] | null;
}

§Properties

§
bundleId: string
[src]

The bundle ID to use for the distribution.

A distribution bundle describes the specifications of your distribution, such as the monthly cost and monthly network transfer quota.

Use the GetDistributionBundles action to get a list of distribution bundle IDs that you can specify.

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

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

§
cacheBehaviorSettings?: CacheSettings | null
[src]

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

§
defaultCacheBehavior: CacheBehavior
[src]

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

§
distributionName: string
[src]

The name for the distribution.

§
ipAddressType?: IpAddressType | null
[src]

The IP address type for the distribution.

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

The default value is dualstack.

§

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

The distribution pulls, caches, and serves content from the origin.

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

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

Use the TagResource action to tag a resource after it's created.