amazonka-cloudfront-2.0: Amazon CloudFront SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFront.Types.Distribution

Description

 
Synopsis

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.

Constructors

Distribution' 

Fields

  • activeTrustedKeyGroups :: Maybe 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.

  • activeTrustedSigners :: Maybe 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.

  • aliasICPRecordals :: Maybe [AliasICPRecordal]

    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.

  • id :: Text

    The distribution's identifier. For example: E1U5RQF7T870K0.

  • arn :: Text

    The distribution's Amazon Resource Name (ARN).

  • status :: Text

    The distribution's status. When the status is Deployed, the distribution's information is fully propagated to all CloudFront edge locations.

  • lastModifiedTime :: ISO8601

    The date and time when the distribution was last modified.

  • inProgressInvalidationBatches :: Int

    The number of invalidation batches currently in progress.

  • domainName :: Text

    The distribution's CloudFront domain name. For example: d111111abcdef8.cloudfront.net.

  • distributionConfig :: DistributionConfig

    The distribution's configuration.

Instances

Instances details
FromXML Distribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Distribution

Generic Distribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Distribution

Associated Types

type Rep Distribution :: Type -> Type #

Show Distribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Distribution

NFData Distribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Distribution

Methods

rnf :: Distribution -> () #

Eq Distribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Distribution

Hashable Distribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Distribution

type Rep Distribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Distribution

newDistribution Source #

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.