Origin - Amazon Lightsail

Origin

Describes the origin resource of an Amazon Lightsail content delivery network (CDN) distribution.

An origin can be a Lightsail instance or load balancer. A distribution pulls content from an origin, caches it, and serves it to viewers via a worldwide network of edge servers.

Contents

name

The name of the origin resource.

Type: String

Pattern: \w[\w\-]*\w

Required: No

protocolPolicy

The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.

Type: String

Valid Values: http-only | https-only

Required: No

regionName

The AWS Region name of the origin resource.

Type: String

Valid Values: us-east-1 | us-east-2 | us-west-1 | us-west-2 | eu-west-1 | eu-west-2 | eu-west-3 | eu-central-1 | ca-central-1 | ap-south-1 | ap-southeast-1 | ap-southeast-2 | ap-northeast-1 | ap-northeast-2

Required: No

resourceType

The resource type of the origin resource (e.g., Instance).

Type: String

Valid Values: ContainerService | Instance | StaticIp | KeyPair | InstanceSnapshot | Domain | PeeredVpc | LoadBalancer | LoadBalancerTlsCertificate | Disk | DiskSnapshot | RelationalDatabase | RelationalDatabaseSnapshot | ExportSnapshotRecord | CloudFormationStackRecord | Alarm | ContactMethod | Distribution | Certificate

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: