Origin class

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.

Constructors

Origin({String? name, OriginProtocolPolicyEnum? protocolPolicy, RegionName? regionName, ResourceType? resourceType})
Origin.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String?
The name of the origin resource.
final
protocolPolicy OriginProtocolPolicyEnum?
The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
final
regionName RegionName?
The AWS Region name of the origin resource.
final
resourceType ResourceType?
The resource type of the origin resource (e.g., Instance).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited