Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
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.
Origin' | |
|
Instances
Eq Origin Source # | |
Read Origin Source # | |
Show Origin Source # | |
Generic Origin Source # | |
NFData Origin Source # | |
Defined in Amazonka.Lightsail.Types.Origin | |
Hashable Origin Source # | |
Defined in Amazonka.Lightsail.Types.Origin | |
FromJSON Origin Source # | |
type Rep Origin Source # | |
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))))) |
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_protocolPolicy :: Lens' Origin (Maybe OriginProtocolPolicyEnum) Source #
The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.