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 |
Synopsis
- data LightsailDistribution = LightsailDistribution' {
- ableToUpdateBundle :: Maybe Bool
- alternativeDomainNames :: Maybe [Text]
- arn :: Maybe Text
- bundleId :: Maybe Text
- cacheBehaviorSettings :: Maybe CacheSettings
- cacheBehaviors :: Maybe [CacheBehaviorPerPath]
- certificateName :: Maybe Text
- createdAt :: Maybe POSIX
- defaultCacheBehavior :: Maybe CacheBehavior
- domainName :: Maybe Text
- ipAddressType :: Maybe IpAddressType
- isEnabled :: Maybe Bool
- location :: Maybe ResourceLocation
- name :: Maybe Text
- origin :: Maybe Origin
- originPublicDNS :: Maybe Text
- resourceType :: Maybe ResourceType
- status :: Maybe Text
- supportCode :: Maybe Text
- tags :: Maybe [Tag]
- newLightsailDistribution :: LightsailDistribution
- lightsailDistribution_ableToUpdateBundle :: Lens' LightsailDistribution (Maybe Bool)
- lightsailDistribution_alternativeDomainNames :: Lens' LightsailDistribution (Maybe [Text])
- lightsailDistribution_arn :: Lens' LightsailDistribution (Maybe Text)
- lightsailDistribution_bundleId :: Lens' LightsailDistribution (Maybe Text)
- lightsailDistribution_cacheBehaviorSettings :: Lens' LightsailDistribution (Maybe CacheSettings)
- lightsailDistribution_cacheBehaviors :: Lens' LightsailDistribution (Maybe [CacheBehaviorPerPath])
- lightsailDistribution_certificateName :: Lens' LightsailDistribution (Maybe Text)
- lightsailDistribution_createdAt :: Lens' LightsailDistribution (Maybe UTCTime)
- lightsailDistribution_defaultCacheBehavior :: Lens' LightsailDistribution (Maybe CacheBehavior)
- lightsailDistribution_domainName :: Lens' LightsailDistribution (Maybe Text)
- lightsailDistribution_ipAddressType :: Lens' LightsailDistribution (Maybe IpAddressType)
- lightsailDistribution_isEnabled :: Lens' LightsailDistribution (Maybe Bool)
- lightsailDistribution_location :: Lens' LightsailDistribution (Maybe ResourceLocation)
- lightsailDistribution_name :: Lens' LightsailDistribution (Maybe Text)
- lightsailDistribution_origin :: Lens' LightsailDistribution (Maybe Origin)
- lightsailDistribution_originPublicDNS :: Lens' LightsailDistribution (Maybe Text)
- lightsailDistribution_resourceType :: Lens' LightsailDistribution (Maybe ResourceType)
- lightsailDistribution_status :: Lens' LightsailDistribution (Maybe Text)
- lightsailDistribution_supportCode :: Lens' LightsailDistribution (Maybe Text)
- 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: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:alternativeDomainNames:LightsailDistribution'
, lightsailDistribution_alternativeDomainNames
- The alternate domain names of the distribution.
$sel:arn:LightsailDistribution'
, lightsailDistribution_arn
- The Amazon Resource Name (ARN) of the distribution.
$sel:bundleId:LightsailDistribution'
, lightsailDistribution_bundleId
- The ID of the bundle currently applied to the distribution.
$sel:cacheBehaviorSettings:LightsailDistribution'
, lightsailDistribution_cacheBehaviorSettings
- An object that describes the cache behavior settings of the
distribution.
$sel:cacheBehaviors:LightsailDistribution'
, lightsailDistribution_cacheBehaviors
- An array of objects that describe the per-path cache behavior of the
distribution.
$sel:certificateName:LightsailDistribution'
, lightsailDistribution_certificateName
- The name of the SSL/TLS certificate attached to the distribution, if
any.
$sel:createdAt:LightsailDistribution'
, lightsailDistribution_createdAt
- The timestamp when the distribution was created.
$sel:defaultCacheBehavior:LightsailDistribution'
, lightsailDistribution_defaultCacheBehavior
- An object that describes the default cache behavior of the distribution.
$sel:domainName:LightsailDistribution'
, lightsailDistribution_domainName
- The domain 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:location:LightsailDistribution'
, lightsailDistribution_location
- An object that describes the location of the distribution, such as the
Amazon Web Services Region and Availability Zone.
Lightsail distributions are global resources that can reference an
origin in any Amazon Web Services Region, and distribute its content
globally. However, all distributions are located in the us-east-1
Region.
LightsailDistribution
, lightsailDistribution_name
- The name of the distribution.
$sel:origin:LightsailDistribution'
, lightsailDistribution_origin
- An object that describes the origin resource of the distribution, such
as a Lightsail instance, bucket, or load balancer.
The distribution pulls, caches, and serves content from the origin.
$sel:originPublicDNS:LightsailDistribution'
, lightsailDistribution_originPublicDNS
- The public DNS of the origin.
LightsailDistribution
, lightsailDistribution_resourceType
- The Lightsail resource type (e.g., Distribution
).
$sel:status:LightsailDistribution'
, lightsailDistribution_status
- The status of the distribution.
$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: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_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_alternativeDomainNames :: Lens' LightsailDistribution (Maybe [Text]) Source #
The alternate domain names of the distribution.
lightsailDistribution_arn :: Lens' LightsailDistribution (Maybe Text) Source #
The Amazon Resource Name (ARN) of the distribution.
lightsailDistribution_bundleId :: Lens' LightsailDistribution (Maybe Text) Source #
The ID of the bundle currently applied to the distribution.
lightsailDistribution_cacheBehaviorSettings :: Lens' LightsailDistribution (Maybe CacheSettings) Source #
An object that describes the cache behavior settings 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_certificateName :: Lens' LightsailDistribution (Maybe Text) Source #
The name of the SSL/TLS certificate attached to the distribution, if any.
lightsailDistribution_createdAt :: Lens' LightsailDistribution (Maybe UTCTime) Source #
The timestamp when the distribution was created.
lightsailDistribution_defaultCacheBehavior :: Lens' LightsailDistribution (Maybe CacheBehavior) Source #
An object that describes the default cache behavior of the distribution.
lightsailDistribution_domainName :: Lens' LightsailDistribution (Maybe Text) Source #
The domain 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_location :: Lens' LightsailDistribution (Maybe ResourceLocation) Source #
An object that describes the location of the distribution, such as the Amazon Web Services Region and Availability Zone.
Lightsail distributions are global resources that can reference an
origin in any Amazon Web Services Region, and distribute its content
globally. However, all distributions are located in the us-east-1
Region.
lightsailDistribution_name :: Lens' LightsailDistribution (Maybe Text) Source #
The name 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, bucket, or load balancer.
The distribution pulls, caches, and serves content from the origin.
lightsailDistribution_originPublicDNS :: Lens' LightsailDistribution (Maybe Text) Source #
The public DNS of the origin.
lightsailDistribution_resourceType :: Lens' LightsailDistribution (Maybe ResourceType) Source #
The Lightsail resource type (e.g., Distribution
).
lightsailDistribution_status :: Lens' LightsailDistribution (Maybe Text) Source #
The status of the distribution.
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_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.