You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Lightsail::Types::Origin
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::Origin
- Defined in:
- (unknown)
Overview
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.
Returned by:
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the origin resource.
-
#protocol_policy ⇒ String
The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
-
#region_name ⇒ String
The AWS Region name of the origin resource.
-
#resource_type ⇒ String
The resource type of the origin resource (e.g., Instance).
Instance Attribute Details
#name ⇒ String
The name of the origin resource.
#protocol_policy ⇒ String
The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
Possible values:
- http-only
- https-only
#region_name ⇒ String
The AWS Region name of the origin resource.
Possible 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
#resource_type ⇒ String
The resource type of the origin resource (e.g., Instance).
Possible values:
- ContainerService
- Instance
- StaticIp
- KeyPair
- InstanceSnapshot
- Domain
- PeeredVpc
- LoadBalancer
- LoadBalancerTlsCertificate
- Disk
- DiskSnapshot
- RelationalDatabase
- RelationalDatabaseSnapshot
- ExportSnapshotRecord
- CloudFormationStackRecord
- Alarm
- ContactMethod
- Distribution
- Certificate