libZSservicesZSamazonka-lightsailZSamazonka-lightsail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lightsail.Types.Origin

Description

 
Synopsis

Documentation

data Origin Source #

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.

See: newOrigin smart constructor.

Constructors

Origin' 

Fields

Instances

Instances details
Eq Origin Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Origin

Methods

(==) :: Origin -> Origin -> Bool #

(/=) :: Origin -> Origin -> Bool #

Read Origin Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Origin

Show Origin Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Origin

Generic Origin Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Origin

Associated Types

type Rep Origin :: Type -> Type #

Methods

from :: Origin -> Rep Origin x #

to :: Rep Origin x -> Origin #

NFData Origin Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Origin

Methods

rnf :: Origin -> () #

Hashable Origin Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Origin

Methods

hashWithSalt :: Int -> Origin -> Int #

hash :: Origin -> Int #

FromJSON Origin Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Origin

type Rep Origin Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Origin

type Rep Origin = D1 ('MetaData "Origin" "Amazonka.Lightsail.Types.Origin" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "Origin'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "regionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RegionName)) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceType))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "protocolPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginProtocolPolicyEnum)))))

newOrigin :: Origin Source #

Create a value of Origin with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:regionName:Origin', origin_regionName - The AWS Region name of the origin resource.

$sel:resourceType:Origin', origin_resourceType - The resource type of the origin resource (e.g., Instance).

$sel:name:Origin', origin_name - The name of the origin resource.

$sel:protocolPolicy:Origin', origin_protocolPolicy - The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.

origin_regionName :: Lens' Origin (Maybe RegionName) Source #

The AWS Region name of the origin resource.

origin_resourceType :: Lens' Origin (Maybe ResourceType) Source #

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

origin_name :: Lens' Origin (Maybe Text) Source #

The name of the origin resource.

origin_protocolPolicy :: Lens' Origin (Maybe OriginProtocolPolicyEnum) Source #

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