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.LightsailDistribution

Description

 
Synopsis

Documentation

data LightsailDistribution Source #

Describes an Amazon Lightsail content delivery network (CDN) distribution.

See: newLightsailDistribution smart constructor.

Constructors

LightsailDistribution' 

Fields

Instances

Instances details
Eq LightsailDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LightsailDistribution

Read LightsailDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LightsailDistribution

Show LightsailDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LightsailDistribution

Generic LightsailDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LightsailDistribution

Associated Types

type Rep LightsailDistribution :: Type -> Type #

NFData LightsailDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LightsailDistribution

Methods

rnf :: LightsailDistribution -> () #

Hashable LightsailDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LightsailDistribution

FromJSON LightsailDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LightsailDistribution

type Rep LightsailDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.Types.LightsailDistribution

type Rep LightsailDistribution = D1 ('MetaData "LightsailDistribution" "Amazonka.Lightsail.Types.LightsailDistribution" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "LightsailDistribution'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "origin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Origin))) :*: (S1 ('MetaSel ('Just "certificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceType)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceLocation))) :*: (S1 ('MetaSel ('Just "cacheBehaviorSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheSettings)) :*: (S1 ('MetaSel ('Just "alternativeDomainNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "bundleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "ableToUpdateBundle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "originPublicDNS") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ipAddressType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IpAddressType))))) :*: ((S1 ('MetaSel ('Just "isEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "supportCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "defaultCacheBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheBehavior)) :*: (S1 ('MetaSel ('Just "cacheBehaviors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CacheBehaviorPerPath])) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))))))))

newLightsailDistribution :: LightsailDistribution Source #

Create a value of LightsailDistribution 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:status:LightsailDistribution', lightsailDistribution_status - The status of the distribution.

$sel:origin:LightsailDistribution', lightsailDistribution_origin - An object that describes the origin resource of the distribution, such as a Lightsail instance or load balancer.

The distribution pulls, caches, and serves content from the origin.

$sel:certificateName:LightsailDistribution', lightsailDistribution_certificateName - The name of the SSL/TLS certificate attached to the distribution, if any.

$sel:resourceType:LightsailDistribution', lightsailDistribution_resourceType - The Lightsail resource type (e.g., Distribution).

$sel:arn:LightsailDistribution', lightsailDistribution_arn - The Amazon Resource Name (ARN) of the distribution.

$sel:createdAt:LightsailDistribution', lightsailDistribution_createdAt - The timestamp when the distribution was created.

$sel:location:LightsailDistribution', lightsailDistribution_location - An object that describes the location of the distribution, such as the AWS Region and Availability Zone.

Lightsail distributions are global resources that can reference an origin in any AWS Region, and distribute its content globally. However, all distributions are located in the us-east-1 Region.

$sel:cacheBehaviorSettings:LightsailDistribution', lightsailDistribution_cacheBehaviorSettings - An object that describes the cache behavior settings of the distribution.

$sel:alternativeDomainNames:LightsailDistribution', lightsailDistribution_alternativeDomainNames - The alternate domain names of the distribution.

$sel:bundleId:LightsailDistribution', lightsailDistribution_bundleId - The ID of the bundle currently applied to the distribution.

$sel:ableToUpdateBundle:LightsailDistribution', lightsailDistribution_ableToUpdateBundle - Indicates whether the bundle that is currently applied to your distribution, specified using the distributionName parameter, can be changed to another bundle.

Use the UpdateDistributionBundle action to change your distribution's bundle.

$sel:originPublicDNS:LightsailDistribution', lightsailDistribution_originPublicDNS - The public DNS of the origin.

$sel:domainName:LightsailDistribution', lightsailDistribution_domainName - The domain name of the distribution.

$sel:name:LightsailDistribution', lightsailDistribution_name - The name of the distribution.

$sel:ipAddressType:LightsailDistribution', lightsailDistribution_ipAddressType - The IP address type of the distribution.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

$sel:isEnabled:LightsailDistribution', lightsailDistribution_isEnabled - Indicates whether the distribution is enabled.

$sel:supportCode:LightsailDistribution', lightsailDistribution_supportCode - The support code. Include this code in your email to support when you have questions about your Lightsail distribution. This code enables our support team to look up your Lightsail information more easily.

$sel:defaultCacheBehavior:LightsailDistribution', lightsailDistribution_defaultCacheBehavior - An object that describes the default cache behavior of the distribution.

$sel:cacheBehaviors:LightsailDistribution', lightsailDistribution_cacheBehaviors - An array of objects that describe the per-path cache behavior of the distribution.

$sel:tags:LightsailDistribution', lightsailDistribution_tags - The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

lightsailDistribution_origin :: Lens' LightsailDistribution (Maybe Origin) Source #

An object that describes the origin resource of the distribution, such as a Lightsail instance or load balancer.

The distribution pulls, caches, and serves content from the origin.

lightsailDistribution_certificateName :: Lens' LightsailDistribution (Maybe Text) Source #

The name of the SSL/TLS certificate attached to the distribution, if any.

lightsailDistribution_resourceType :: Lens' LightsailDistribution (Maybe ResourceType) Source #

The Lightsail resource type (e.g., Distribution).

lightsailDistribution_arn :: Lens' LightsailDistribution (Maybe Text) Source #

The Amazon Resource Name (ARN) of the distribution.

lightsailDistribution_createdAt :: Lens' LightsailDistribution (Maybe UTCTime) Source #

The timestamp when the distribution was created.

lightsailDistribution_location :: Lens' LightsailDistribution (Maybe ResourceLocation) Source #

An object that describes the location of the distribution, such as the AWS Region and Availability Zone.

Lightsail distributions are global resources that can reference an origin in any AWS Region, and distribute its content globally. However, all distributions are located in the us-east-1 Region.

lightsailDistribution_cacheBehaviorSettings :: Lens' LightsailDistribution (Maybe CacheSettings) Source #

An object that describes the cache behavior settings of the distribution.

lightsailDistribution_alternativeDomainNames :: Lens' LightsailDistribution (Maybe [Text]) Source #

The alternate domain names of the distribution.

lightsailDistribution_bundleId :: Lens' LightsailDistribution (Maybe Text) Source #

The ID of the bundle currently applied to the distribution.

lightsailDistribution_ableToUpdateBundle :: Lens' LightsailDistribution (Maybe Bool) Source #

Indicates whether the bundle that is currently applied to your distribution, specified using the distributionName parameter, can be changed to another bundle.

Use the UpdateDistributionBundle action to change your distribution's bundle.

lightsailDistribution_ipAddressType :: Lens' LightsailDistribution (Maybe IpAddressType) Source #

The IP address type of the distribution.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

lightsailDistribution_isEnabled :: Lens' LightsailDistribution (Maybe Bool) Source #

Indicates whether the distribution is enabled.

lightsailDistribution_supportCode :: Lens' LightsailDistribution (Maybe Text) Source #

The support code. Include this code in your email to support when you have questions about your Lightsail distribution. This code enables our support team to look up your Lightsail information more easily.

lightsailDistribution_defaultCacheBehavior :: Lens' LightsailDistribution (Maybe CacheBehavior) Source #

An object that describes the default cache behavior of the distribution.

lightsailDistribution_cacheBehaviors :: Lens' LightsailDistribution (Maybe [CacheBehaviorPerPath]) Source #

An array of objects that describe the per-path cache behavior of the distribution.

lightsailDistribution_tags :: Lens' LightsailDistribution (Maybe [Tag]) Source #

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.