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 Distribution = Distribution' {
- activeTrustedKeyGroups :: Maybe ActiveTrustedKeyGroups
- activeTrustedSigners :: Maybe ActiveTrustedSigners
- aliasICPRecordals :: Maybe [AliasICPRecordal]
- id :: Text
- arn :: Text
- status :: Text
- lastModifiedTime :: ISO8601
- inProgressInvalidationBatches :: Int
- domainName :: Text
- distributionConfig :: DistributionConfig
- newDistribution :: Text -> Text -> Text -> UTCTime -> Int -> Text -> DistributionConfig -> Distribution
- distribution_activeTrustedKeyGroups :: Lens' Distribution (Maybe ActiveTrustedKeyGroups)
- distribution_activeTrustedSigners :: Lens' Distribution (Maybe ActiveTrustedSigners)
- distribution_aliasICPRecordals :: Lens' Distribution (Maybe [AliasICPRecordal])
- distribution_id :: Lens' Distribution Text
- distribution_arn :: Lens' Distribution Text
- distribution_status :: Lens' Distribution Text
- distribution_lastModifiedTime :: Lens' Distribution UTCTime
- distribution_inProgressInvalidationBatches :: Lens' Distribution Int
- distribution_domainName :: Lens' Distribution Text
- distribution_distributionConfig :: Lens' Distribution DistributionConfig
Documentation
data Distribution Source #
A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery.
See: newDistribution
smart constructor.
Distribution' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> Int | |
-> Text | |
-> DistributionConfig | |
-> Distribution |
Create a value of Distribution
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:activeTrustedKeyGroups:Distribution'
, distribution_activeTrustedKeyGroups
- This field contains a list of key groups and the public keys in each key
group that CloudFront can use to verify the signatures of signed URLs or
signed cookies.
$sel:activeTrustedSigners:Distribution'
, distribution_activeTrustedSigners
- We recommend using TrustedKeyGroups
instead of TrustedSigners
.
This field contains a list of Amazon Web Services account IDs and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs or signed cookies.
$sel:aliasICPRecordals:Distribution'
, distribution_aliasICPRecordals
- Amazon Web Services services in China customers must file for an
Internet Content Provider (ICP) recordal if they want to serve content
publicly on an alternate domain name, also known as a CNAME, that
they've added to CloudFront. AliasICPRecordal provides the ICP recordal
status for CNAMEs associated with distributions.
For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.
$sel:id:Distribution'
, distribution_id
- The distribution's identifier. For example: E1U5RQF7T870K0
.
$sel:arn:Distribution'
, distribution_arn
- The distribution's Amazon Resource Name (ARN).
$sel:status:Distribution'
, distribution_status
- The distribution's status. When the status is Deployed
, the
distribution's information is fully propagated to all CloudFront edge
locations.
$sel:lastModifiedTime:Distribution'
, distribution_lastModifiedTime
- The date and time when the distribution was last modified.
$sel:inProgressInvalidationBatches:Distribution'
, distribution_inProgressInvalidationBatches
- The number of invalidation batches currently in progress.
$sel:domainName:Distribution'
, distribution_domainName
- The distribution's CloudFront domain name. For example:
d111111abcdef8.cloudfront.net
.
$sel:distributionConfig:Distribution'
, distribution_distributionConfig
- The distribution's configuration.
distribution_activeTrustedKeyGroups :: Lens' Distribution (Maybe ActiveTrustedKeyGroups) Source #
This field contains a list of key groups and the public keys in each key group that CloudFront can use to verify the signatures of signed URLs or signed cookies.
distribution_activeTrustedSigners :: Lens' Distribution (Maybe ActiveTrustedSigners) Source #
We recommend using TrustedKeyGroups
instead of TrustedSigners
.
This field contains a list of Amazon Web Services account IDs and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs or signed cookies.
distribution_aliasICPRecordals :: Lens' Distribution (Maybe [AliasICPRecordal]) Source #
Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.
For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.
distribution_id :: Lens' Distribution Text Source #
The distribution's identifier. For example: E1U5RQF7T870K0
.
distribution_arn :: Lens' Distribution Text Source #
The distribution's Amazon Resource Name (ARN).
distribution_status :: Lens' Distribution Text Source #
The distribution's status. When the status is Deployed
, the
distribution's information is fully propagated to all CloudFront edge
locations.
distribution_lastModifiedTime :: Lens' Distribution UTCTime Source #
The date and time when the distribution was last modified.
distribution_inProgressInvalidationBatches :: Lens' Distribution Int Source #
The number of invalidation batches currently in progress.
distribution_domainName :: Lens' Distribution Text Source #
The distribution's CloudFront domain name. For example:
d111111abcdef8.cloudfront.net
.
distribution_distributionConfig :: Lens' Distribution DistributionConfig Source #
The distribution's configuration.