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
- data LightsailDistribution = LightsailDistribution' {
- status :: Maybe Text
- origin :: Maybe Origin
- certificateName :: Maybe Text
- resourceType :: Maybe ResourceType
- arn :: Maybe Text
- createdAt :: Maybe POSIX
- location :: Maybe ResourceLocation
- cacheBehaviorSettings :: Maybe CacheSettings
- alternativeDomainNames :: Maybe [Text]
- bundleId :: Maybe Text
- ableToUpdateBundle :: Maybe Bool
- originPublicDNS :: Maybe Text
- domainName :: Maybe Text
- name :: Maybe Text
- ipAddressType :: Maybe IpAddressType
- isEnabled :: Maybe Bool
- supportCode :: Maybe Text
- defaultCacheBehavior :: Maybe CacheBehavior
- cacheBehaviors :: Maybe [CacheBehaviorPerPath]
- tags :: Maybe [Tag]
- newLightsailDistribution :: LightsailDistribution
- lightsailDistribution_status :: Lens' LightsailDistribution (Maybe Text)
- lightsailDistribution_origin :: Lens' LightsailDistribution (Maybe Origin)
- lightsailDistribution_certificateName :: Lens' LightsailDistribution (Maybe Text)
- lightsailDistribution_resourceType :: Lens' LightsailDistribution (Maybe ResourceType)
- lightsailDistribution_arn :: Lens' LightsailDistribution (Maybe Text)
- lightsailDistribution_createdAt :: Lens' LightsailDistribution (Maybe UTCTime)
- lightsailDistribution_location :: Lens' LightsailDistribution (Maybe ResourceLocation)
- lightsailDistribution_cacheBehaviorSettings :: Lens' LightsailDistribution (Maybe CacheSettings)
- lightsailDistribution_alternativeDomainNames :: Lens' LightsailDistribution (Maybe [Text])
- lightsailDistribution_bundleId :: Lens' LightsailDistribution (Maybe Text)
- lightsailDistribution_ableToUpdateBundle :: Lens' LightsailDistribution (Maybe Bool)
- lightsailDistribution_originPublicDNS :: Lens' LightsailDistribution (Maybe Text)
- lightsailDistribution_domainName :: Lens' LightsailDistribution (Maybe Text)
- lightsailDistribution_name :: Lens' LightsailDistribution (Maybe Text)
- lightsailDistribution_ipAddressType :: Lens' LightsailDistribution (Maybe IpAddressType)
- lightsailDistribution_isEnabled :: Lens' LightsailDistribution (Maybe Bool)
- lightsailDistribution_supportCode :: Lens' LightsailDistribution (Maybe Text)
- lightsailDistribution_defaultCacheBehavior :: Lens' LightsailDistribution (Maybe CacheBehavior)
- lightsailDistribution_cacheBehaviors :: Lens' LightsailDistribution (Maybe [CacheBehaviorPerPath])
- lightsailDistribution_tags :: Lens' LightsailDistribution (Maybe [Tag])
Documentation
data LightsailDistribution Source #
Describes an Amazon Lightsail content delivery network (CDN) distribution.
See: newLightsailDistribution
smart constructor.
LightsailDistribution' | |
|
Instances
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_status :: Lens' LightsailDistribution (Maybe Text) Source #
The status of the distribution.
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_originPublicDNS :: Lens' LightsailDistribution (Maybe Text) Source #
The public DNS of the origin.
lightsailDistribution_domainName :: Lens' LightsailDistribution (Maybe Text) Source #
The domain name of the distribution.
lightsailDistribution_name :: Lens' LightsailDistribution (Maybe Text) Source #
The name of the distribution.
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.