| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Lightsail.Types.Origin
Description
Synopsis
Documentation
Describes the origin resource of an Amazon Lightsail content delivery network (CDN) distribution.
An origin can be a Lightsail instance, bucket, 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
| FromJSON Origin Source # | |
| Generic Origin Source # | |
| Read Origin Source # | |
| Show Origin Source # | |
| NFData Origin Source # | |
Defined in Amazonka.Lightsail.Types.Origin | |
| Eq Origin Source # | |
| Hashable Origin Source # | |
Defined in Amazonka.Lightsail.Types.Origin | |
| type Rep Origin Source # | |
Defined in Amazonka.Lightsail.Types.Origin type Rep Origin = D1 ('MetaData "Origin" "Amazonka.Lightsail.Types.Origin" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "Origin'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "protocolPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginProtocolPolicyEnum))) :*: (S1 ('MetaSel ('Just "regionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RegionName)) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceType))))) | |
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: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.
$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).
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.
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).