libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront
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.CloudFront.Types

Contents

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2020-05-31 of the Amazon CloudFront SDK configuration.

Errors

_RealtimeLogConfigOwnerMismatch :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified real-time log configuration belongs to a different account.

_TooManyOriginCustomHeaders :: AsError a => Getting (First ServiceError) a ServiceError Source #

Your request contains too many origin custom headers.

_InvalidTagging :: AsError a => Getting (First ServiceError) a ServiceError Source #

The tagging specified is not valid.

_InvalidErrorCode :: AsError a => Getting (First ServiceError) a ServiceError Source #

An invalid error code was specified.

_NoSuchFieldLevelEncryptionProfile :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified profile for field-level encryption doesn't exist.

_FieldLevelEncryptionProfileInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified profile for field-level encryption is in use.

_TooManyDistributionsWithFunctionAssociations :: AsError a => Getting (First ServiceError) a ServiceError Source #

You have reached the maximum number of distributions that are associated with a CloudFront function. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_InvalidOriginReadTimeout :: AsError a => Getting (First ServiceError) a ServiceError Source #

The read timeout specified for the origin is not valid.

_TooManyFieldLevelEncryptionProfiles :: AsError a => Getting (First ServiceError) a ServiceError Source #

The maximum number of profiles for field-level encryption have been created.

_TooManyCacheBehaviors :: AsError a => Getting (First ServiceError) a ServiceError Source #

You cannot create more cache behaviors for the distribution.

_TooManyCloudFrontOriginAccessIdentities :: AsError a => Getting (First ServiceError) a ServiceError Source #

Processing your request would cause you to exceed the maximum number of origin access identities allowed.

_RealtimeLogConfigAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #

A real-time log configuration with this name already exists. You must provide a unique name. To modify an existing real-time log configuration, use UpdateRealtimeLogConfig.

_TestFunctionFailed :: AsError a => Getting (First ServiceError) a ServiceError Source #

The CloudFront function failed.

_InvalidOriginAccessIdentity :: AsError a => Getting (First ServiceError) a ServiceError Source #

The origin access identity is not valid or doesn't exist.

_TooManyFunctionAssociations :: AsError a => Getting (First ServiceError) a ServiceError Source #

You have reached the maximum number of CloudFront function associations for this distribution. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_DistributionNotDisabled :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified CloudFront distribution is not disabled. You must disable the distribution before you can delete it.

_NoSuchStreamingDistribution :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified streaming distribution does not exist.

_InconsistentQuantities :: AsError a => Getting (First ServiceError) a ServiceError Source #

The value of Quantity and the size of Items don't match.

_InvalidOriginKeepaliveTimeout :: AsError a => Getting (First ServiceError) a ServiceError Source #

The keep alive timeout specified for the origin is not valid.

_TooManyInvalidationsInProgress :: AsError a => Getting (First ServiceError) a ServiceError Source #

You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.

_InvalidWebACLId :: AsError a => Getting (First ServiceError) a ServiceError Source #

A web ACL ID specified is not valid. To specify a web ACL created using the latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a.

_TooManyQueryStringParameters :: AsError a => Getting (First ServiceError) a ServiceError Source #

Your request contains too many query string parameters.

_TooManyFieldLevelEncryptionQueryArgProfiles :: AsError a => Getting (First ServiceError) a ServiceError Source #

The maximum number of query arg profiles for field-level encryption have been created.

_TooManyDistributionCNAMEs :: AsError a => Getting (First ServiceError) a ServiceError Source #

Your request contains more CNAMEs than are allowed per distribution.

_NoSuchCloudFrontOriginAccessIdentity :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified origin access identity does not exist.

_CloudFrontOriginAccessIdentityInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #

The Origin Access Identity specified is already in use.

_InvalidFunctionAssociation :: AsError a => Getting (First ServiceError) a ServiceError Source #

A CloudFront function association is invalid.

_TooManyStreamingDistributions :: AsError a => Getting (First ServiceError) a ServiceError Source #

Processing your request would cause you to exceed the maximum number of streaming distributions allowed.

_CannotChangeImmutablePublicKeyFields :: AsError a => Getting (First ServiceError) a ServiceError Source #

You can't change the value of a public key.

_BatchTooLarge :: AsError a => Getting (First ServiceError) a ServiceError Source #

Invalidation batch specified is too large.

_TooManyCookieNamesInWhiteList :: AsError a => Getting (First ServiceError) a ServiceError Source #

Your request contains more cookie names in the whitelist than are allowed per cache behavior.

_TooManyPublicKeysInKeyGroup :: AsError a => Getting (First ServiceError) a ServiceError Source #

The number of public keys in this key group is more than the maximum allowed. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_InvalidLambdaFunctionAssociation :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified Lambda@Edge function association is invalid.

_TooManyKeyGroupsAssociatedToDistribution :: AsError a => Getting (First ServiceError) a ServiceError Source #

The number of key groups referenced by this distribution is more than the maximum allowed. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_NoSuchRealtimeLogConfig :: AsError a => Getting (First ServiceError) a ServiceError Source #

The real-time log configuration does not exist.

_InvalidForwardCookies :: AsError a => Getting (First ServiceError) a ServiceError Source #

Your request contains forward cookies option which doesn't match with the expectation for the whitelisted list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.

_FieldLevelEncryptionConfigInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified configuration for field-level encryption is in use.

_TooManyTrustedSigners :: AsError a => Getting (First ServiceError) a ServiceError Source #

Your request contains more trusted signers than are allowed per distribution.

_TooManyDistributionsAssociatedToKeyGroup :: AsError a => Getting (First ServiceError) a ServiceError Source #

The number of distributions that reference this key group is more than the maximum allowed. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_InvalidOrigin :: AsError a => Getting (First ServiceError) a ServiceError Source #

The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.

_CachePolicyInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #

Cannot delete the cache policy because it is attached to one or more cache behaviors.

_NoSuchInvalidation :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified invalidation does not exist.

_PublicKeyAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified public key already exists.

_UnsupportedOperation :: AsError a => Getting (First ServiceError) a ServiceError Source #

This operation is not supported in this region.

_NoSuchOrigin :: AsError a => Getting (First ServiceError) a ServiceError Source #

No origin exists with the specified Origin Id.

_TooManyHeadersInCachePolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #

The number of headers in the cache policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_NoSuchCachePolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #

The cache policy does not exist.

_InvalidTTLOrder :: AsError a => Getting (First ServiceError) a ServiceError Source #

The TTL order specified is not valid.

_StreamingDistributionNotDisabled :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified CloudFront distribution is not disabled. You must disable the distribution before you can delete it.

_OriginRequestPolicyAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #

An origin request policy with this name already exists. You must provide a unique name. To modify an existing origin request policy, use UpdateOriginRequestPolicy.

_TooManyHeadersInForwardedValues :: AsError a => Getting (First ServiceError) a ServiceError Source #

Your request contains too many headers in forwarded values.

_NoSuchResource :: AsError a => Getting (First ServiceError) a ServiceError Source #

A resource that was specified is not valid.

_TooManyFieldLevelEncryptionEncryptionEntities :: AsError a => Getting (First ServiceError) a ServiceError Source #

The maximum number of encryption entities for field-level encryption have been created.

_TooManyFunctions :: AsError a => Getting (First ServiceError) a ServiceError Source #

You have reached the maximum number of CloudFront functions for this account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_TooManyStreamingDistributionCNAMEs :: AsError a => Getting (First ServiceError) a ServiceError Source #

Your request contains more CNAMEs than are allowed per distribution.

_FieldLevelEncryptionProfileAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified profile for field-level encryption already exists.

_KeyGroupAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #

A key group with this name already exists. You must provide a unique name. To modify an existing key group, use UpdateKeyGroup.

_TrustedKeyGroupDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified key group does not exist.

_ResourceInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #

Cannot delete this resource because it is in use.

_InvalidRequiredProtocol :: AsError a => Getting (First ServiceError) a ServiceError Source #

This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the RequiredProtocols element from your distribution configuration.

_TooManyDistributions :: AsError a => Getting (First ServiceError) a ServiceError Source #

Processing your request would cause you to exceed the maximum number of distributions allowed.

_TooManyDistributionsWithSingleFunctionARN :: AsError a => Getting (First ServiceError) a ServiceError Source #

The maximum number of distributions have been associated with the specified Lambda@Edge function.

_TooManyHeadersInOriginRequestPolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #

The number of headers in the origin request policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_TooManyCertificates :: AsError a => Getting (First ServiceError) a ServiceError Source #

You cannot create anymore custom SSL/TLS certificates.

_FunctionSizeLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #

The function is too large. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_NoSuchOriginRequestPolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #

The origin request policy does not exist.

_DistributionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #

The caller reference you attempted to create the distribution with is associated with another distribution.

_TooManyDistributionsAssociatedToFieldLevelEncryptionConfig :: AsError a => Getting (First ServiceError) a ServiceError Source #

The maximum number of distributions have been associated with the specified configuration for field-level encryption.

_TooManyKeyGroups :: AsError a => Getting (First ServiceError) a ServiceError Source #

You have reached the maximum number of key groups for this account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_InvalidQueryStringParameters :: AsError a => Getting (First ServiceError) a ServiceError Source #

The query string parameters specified are not valid.

_MissingBody :: AsError a => Getting (First ServiceError) a ServiceError Source #

This operation requires a body. Ensure that the body is present and the Content-Type header is set.

_FunctionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #

A function with the same name already exists in this account. To create a function, you must provide a unique name. To update an existing function, use UpdateFunction.

_IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified configuration for field-level encryption can't be associated with the specified cache behavior.

_TooManyOriginRequestPolicies :: AsError a => Getting (First ServiceError) a ServiceError Source #

You have reached the maximum number of origin request policies for this account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_IllegalDelete :: AsError a => Getting (First ServiceError) a ServiceError Source #

You cannot delete a managed policy.

_IllegalUpdate :: AsError a => Getting (First ServiceError) a ServiceError Source #

The update contains modifications that are not allowed.

_InvalidIfMatchVersion :: AsError a => Getting (First ServiceError) a ServiceError Source #

The If-Match version is missing or not valid.

_FieldLevelEncryptionConfigAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified configuration for field-level encryption already exists.

_PreconditionFailed :: AsError a => Getting (First ServiceError) a ServiceError Source #

The precondition in one or more of the request fields evaluated to false.

_InvalidResponseCode :: AsError a => Getting (First ServiceError) a ServiceError Source #

A response code is not valid.

_InvalidHeadersForS3Origin :: AsError a => Getting (First ServiceError) a ServiceError Source #

The headers specified are not valid for an Amazon S3 origin.

_CNAMEAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #

The CNAME specified is already defined for CloudFront.

_NoSuchPublicKey :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified public key doesn't exist.

_PublicKeyInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified public key is in use.

_TrustedSignerDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError Source #

One or more of your trusted signers don't exist.

_InvalidProtocolSettings :: AsError a => Getting (First ServiceError) a ServiceError Source #

You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that support Server Name Indication (SNI).

_CachePolicyAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #

A cache policy with this name already exists. You must provide a unique name. To modify an existing cache policy, use UpdateCachePolicy.

_TooManyCookiesInOriginRequestPolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #

The number of cookies in the origin request policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_TooManyOriginGroupsPerDistribution :: AsError a => Getting (First ServiceError) a ServiceError Source #

Processing your request would cause you to exceed the maximum number of origin groups allowed.

_TooManyPublicKeys :: AsError a => Getting (First ServiceError) a ServiceError Source #

The maximum number of public keys for field-level encryption have been created. To create a new public key, delete one of the existing keys.

_NoSuchFieldLevelEncryptionConfig :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified configuration for field-level encryption doesn't exist.

_TooManyRealtimeLogConfigs :: AsError a => Getting (First ServiceError) a ServiceError Source #

You have reached the maximum number of real-time log configurations for this account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_RealtimeLogConfigInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #

Cannot delete the real-time log configuration because it is attached to one or more cache behaviors.

_TooManyCachePolicies :: AsError a => Getting (First ServiceError) a ServiceError Source #

You have reached the maximum number of cache policies for this account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_TooManyFieldLevelEncryptionContentTypeProfiles :: AsError a => Getting (First ServiceError) a ServiceError Source #

The maximum number of content type profiles for field-level encryption have been created.

_TooManyFieldLevelEncryptionFieldPatterns :: AsError a => Getting (First ServiceError) a ServiceError Source #

The maximum number of field patterns for field-level encryption have been created.

_TooManyFieldLevelEncryptionConfigs :: AsError a => Getting (First ServiceError) a ServiceError Source #

The maximum number of configurations for field-level encryption have been created.

_TooManyLambdaFunctionAssociations :: AsError a => Getting (First ServiceError) a ServiceError Source #

Your request contains more Lambda@Edge function associations than are allowed per distribution.

_CloudFrontOriginAccessIdentityAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #

If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.

_TooManyQueryStringsInCachePolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #

The number of query strings in the cache policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_TooManyOrigins :: AsError a => Getting (First ServiceError) a ServiceError Source #

You cannot create more origins for the distribution.

_InvalidRelativePath :: AsError a => Getting (First ServiceError) a ServiceError Source #

The relative path is too big, is not URL-encoded, or does not begin with a slash (/).

_StreamingDistributionAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #

The caller reference you attempted to create the streaming distribution with is associated with another distribution

_TooManyDistributionsAssociatedToOriginRequestPolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #

The maximum number of distributions have been associated with the specified origin request policy. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_QueryArgProfileEmpty :: AsError a => Getting (First ServiceError) a ServiceError Source #

No profile specified for the field-level encryption query argument.

_TooManyCookiesInCachePolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #

The number of cookies in the cache policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_InvalidMinimumProtocolVersion :: AsError a => Getting (First ServiceError) a ServiceError Source #

The minimum protocol version specified is not valid.

_InvalidViewerCertificate :: AsError a => Getting (First ServiceError) a ServiceError Source #

A viewer certificate specified is not valid.

_NoSuchDistribution :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified distribution does not exist.

_FunctionInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #

Cannot delete the function because it’s attached to one or more cache behaviors.

_FieldLevelEncryptionProfileSizeExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #

The maximum size of a profile for field-level encryption was exceeded.

_TooManyQueryStringsInOriginRequestPolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #

The number of query strings in the origin request policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_InvalidDefaultRootObject :: AsError a => Getting (First ServiceError) a ServiceError Source #

The default root object file name is too big or contains an invalid character.

_TooManyDistributionsWithLambdaAssociations :: AsError a => Getting (First ServiceError) a ServiceError Source #

Processing your request would cause the maximum number of distributions with Lambda@Edge function associations per owner to be exceeded.

_TooManyDistributionsAssociatedToCachePolicy :: AsError a => Getting (First ServiceError) a ServiceError Source #

The maximum number of distributions have been associated with the specified cache policy. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

_InvalidGeoRestrictionParameter :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified geo restriction parameter is not valid.

_OriginRequestPolicyInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #

Cannot delete the origin request policy because it is attached to one or more cache behaviors.

_InvalidLocationCode :: AsError a => Getting (First ServiceError) a ServiceError Source #

The location code specified is not valid.

CachePolicyCookieBehavior

newtype CachePolicyCookieBehavior Source #

Instances

Instances details
Eq CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

Ord CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

Read CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

Show CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

Generic CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

Associated Types

type Rep CachePolicyCookieBehavior :: Type -> Type #

NFData CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

Hashable CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

ToJSON CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

ToJSONKey CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

FromJSON CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

FromJSONKey CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

ToLog CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

ToHeader CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

ToQuery CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

FromXML CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

ToXML CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

ToByteString CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

FromText CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

ToText CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

type Rep CachePolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookieBehavior

type Rep CachePolicyCookieBehavior = D1 ('MetaData "CachePolicyCookieBehavior" "Amazonka.CloudFront.Types.CachePolicyCookieBehavior" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "CachePolicyCookieBehavior'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCachePolicyCookieBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CachePolicyHeaderBehavior

newtype CachePolicyHeaderBehavior Source #

Instances

Instances details
Eq CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

Ord CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

Read CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

Show CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

Generic CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

Associated Types

type Rep CachePolicyHeaderBehavior :: Type -> Type #

NFData CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

Hashable CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

ToJSON CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

ToJSONKey CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

FromJSON CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

FromJSONKey CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

ToLog CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

ToHeader CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

ToQuery CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

FromXML CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

ToXML CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

ToByteString CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

FromText CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

ToText CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

type Rep CachePolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeaderBehavior

type Rep CachePolicyHeaderBehavior = D1 ('MetaData "CachePolicyHeaderBehavior" "Amazonka.CloudFront.Types.CachePolicyHeaderBehavior" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "CachePolicyHeaderBehavior'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCachePolicyHeaderBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CachePolicyQueryStringBehavior

newtype CachePolicyQueryStringBehavior Source #

Instances

Instances details
Eq CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

Ord CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

Read CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

Show CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

Generic CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

Associated Types

type Rep CachePolicyQueryStringBehavior :: Type -> Type #

NFData CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

Hashable CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

ToJSON CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

ToJSONKey CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

FromJSON CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

FromJSONKey CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

ToLog CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

ToHeader CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

ToQuery CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

FromXML CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

ToXML CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

ToByteString CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

FromText CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

ToText CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

type Rep CachePolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior

type Rep CachePolicyQueryStringBehavior = D1 ('MetaData "CachePolicyQueryStringBehavior" "Amazonka.CloudFront.Types.CachePolicyQueryStringBehavior" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "CachePolicyQueryStringBehavior'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCachePolicyQueryStringBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CachePolicyType

newtype CachePolicyType Source #

Constructors

CachePolicyType' 

Instances

Instances details
Eq CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

Ord CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

Read CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

Show CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

Generic CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

Associated Types

type Rep CachePolicyType :: Type -> Type #

NFData CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

Methods

rnf :: CachePolicyType -> () #

Hashable CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

ToJSON CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

ToJSONKey CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

FromJSON CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

FromJSONKey CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

ToLog CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

ToHeader CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

ToQuery CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

FromXML CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

ToXML CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

Methods

toXML :: CachePolicyType -> XML #

ToByteString CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

FromText CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

ToText CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

type Rep CachePolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyType

type Rep CachePolicyType = D1 ('MetaData "CachePolicyType" "Amazonka.CloudFront.Types.CachePolicyType" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "CachePolicyType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCachePolicyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CertificateSource

newtype CertificateSource Source #

Instances

Instances details
Eq CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

Ord CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

Read CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

Show CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

Generic CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

Associated Types

type Rep CertificateSource :: Type -> Type #

NFData CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

Methods

rnf :: CertificateSource -> () #

Hashable CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

ToJSON CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

ToJSONKey CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

FromJSON CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

FromJSONKey CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

ToLog CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

ToHeader CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

ToQuery CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

FromXML CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

ToXML CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

ToByteString CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

FromText CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

ToText CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

type Rep CertificateSource Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CertificateSource

type Rep CertificateSource = D1 ('MetaData "CertificateSource" "Amazonka.CloudFront.Types.CertificateSource" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "CertificateSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCertificateSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EventType

newtype EventType Source #

Constructors

EventType' 

Fields

Instances

Instances details
Eq EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

Ord EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

Read EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

Show EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

Generic EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

Associated Types

type Rep EventType :: Type -> Type #

NFData EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

Methods

rnf :: EventType -> () #

Hashable EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

ToJSON EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

ToJSONKey EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

FromJSON EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

FromJSONKey EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

ToLog EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

ToHeader EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

ToQuery EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

FromXML EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

ToXML EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

Methods

toXML :: EventType -> XML #

ToByteString EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

Methods

toBS :: EventType -> ByteString #

FromText EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

ToText EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

Methods

toText :: EventType -> Text #

type Rep EventType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EventType

type Rep EventType = D1 ('MetaData "EventType" "Amazonka.CloudFront.Types.EventType" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "EventType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Format

newtype Format Source #

Constructors

Format' 

Fields

Bundled Patterns

pattern Format_URLEncoded :: Format 

Instances

Instances details
Eq Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Methods

(==) :: Format -> Format -> Bool #

(/=) :: Format -> Format -> Bool #

Ord Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Read Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Show Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Generic Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Associated Types

type Rep Format :: Type -> Type #

Methods

from :: Format -> Rep Format x #

to :: Rep Format x -> Format #

NFData Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Methods

rnf :: Format -> () #

Hashable Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Methods

hashWithSalt :: Int -> Format -> Int #

hash :: Format -> Int #

ToJSON Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

ToJSONKey Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

FromJSON Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

FromJSONKey Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

ToLog Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

ToHeader Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Methods

toHeader :: HeaderName -> Format -> [Header] #

ToQuery Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

FromXML Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

ToXML Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Methods

toXML :: Format -> XML #

ToByteString Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Methods

toBS :: Format -> ByteString #

FromText Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

ToText Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

Methods

toText :: Format -> Text #

type Rep Format Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Format

type Rep Format = D1 ('MetaData "Format" "Amazonka.CloudFront.Types.Format" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "Format'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

FunctionRuntime

newtype FunctionRuntime Source #

Constructors

FunctionRuntime' 

Instances

Instances details
Eq FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

Ord FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

Read FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

Show FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

Generic FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

Associated Types

type Rep FunctionRuntime :: Type -> Type #

NFData FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

Methods

rnf :: FunctionRuntime -> () #

Hashable FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

ToJSON FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

ToJSONKey FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

FromJSON FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

FromJSONKey FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

ToLog FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

ToHeader FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

ToQuery FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

FromXML FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

ToXML FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

Methods

toXML :: FunctionRuntime -> XML #

ToByteString FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

FromText FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

ToText FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

type Rep FunctionRuntime Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionRuntime

type Rep FunctionRuntime = D1 ('MetaData "FunctionRuntime" "Amazonka.CloudFront.Types.FunctionRuntime" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "FunctionRuntime'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromFunctionRuntime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

FunctionStage

newtype FunctionStage Source #

Constructors

FunctionStage' 

Instances

Instances details
Eq FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

Ord FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

Read FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

Show FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

Generic FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

Associated Types

type Rep FunctionStage :: Type -> Type #

NFData FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

Methods

rnf :: FunctionStage -> () #

Hashable FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

ToJSON FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

ToJSONKey FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

FromJSON FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

FromJSONKey FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

ToLog FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

ToHeader FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

ToQuery FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

FromXML FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

ToXML FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

Methods

toXML :: FunctionStage -> XML #

ToByteString FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

FromText FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

ToText FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

Methods

toText :: FunctionStage -> Text #

type Rep FunctionStage Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionStage

type Rep FunctionStage = D1 ('MetaData "FunctionStage" "Amazonka.CloudFront.Types.FunctionStage" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "FunctionStage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromFunctionStage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

GeoRestrictionType

newtype GeoRestrictionType Source #

Instances

Instances details
Eq GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

Ord GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

Read GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

Show GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

Generic GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

Associated Types

type Rep GeoRestrictionType :: Type -> Type #

NFData GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

Methods

rnf :: GeoRestrictionType -> () #

Hashable GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

ToJSON GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

ToJSONKey GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

FromJSON GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

FromJSONKey GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

ToLog GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

ToHeader GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

ToQuery GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

FromXML GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

ToXML GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

ToByteString GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

FromText GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

ToText GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

type Rep GeoRestrictionType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestrictionType

type Rep GeoRestrictionType = D1 ('MetaData "GeoRestrictionType" "Amazonka.CloudFront.Types.GeoRestrictionType" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "GeoRestrictionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromGeoRestrictionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

HttpVersion

newtype HttpVersion Source #

Constructors

HttpVersion' 

Bundled Patterns

pattern HttpVersion_Http1_1 :: HttpVersion 
pattern HttpVersion_Http2 :: HttpVersion 

Instances

Instances details
Eq HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

Ord HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

Read HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

Show HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

Generic HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

Associated Types

type Rep HttpVersion :: Type -> Type #

NFData HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

Methods

rnf :: HttpVersion -> () #

Hashable HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

ToJSON HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

ToJSONKey HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

FromJSON HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

FromJSONKey HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

ToLog HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

ToHeader HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

ToQuery HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

FromXML HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

ToXML HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

Methods

toXML :: HttpVersion -> XML #

ToByteString HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

FromText HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

ToText HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

Methods

toText :: HttpVersion -> Text #

type Rep HttpVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.HttpVersion

type Rep HttpVersion = D1 ('MetaData "HttpVersion" "Amazonka.CloudFront.Types.HttpVersion" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "HttpVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromHttpVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ICPRecordalStatus

newtype ICPRecordalStatus Source #

Instances

Instances details
Eq ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

Ord ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

Read ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

Show ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

Generic ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

Associated Types

type Rep ICPRecordalStatus :: Type -> Type #

NFData ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

Methods

rnf :: ICPRecordalStatus -> () #

Hashable ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

ToJSON ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

ToJSONKey ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

FromJSON ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

FromJSONKey ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

ToLog ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

ToHeader ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

ToQuery ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

FromXML ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

ToXML ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

ToByteString ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

FromText ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

ToText ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

type Rep ICPRecordalStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ICPRecordalStatus

type Rep ICPRecordalStatus = D1 ('MetaData "ICPRecordalStatus" "Amazonka.CloudFront.Types.ICPRecordalStatus" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "ICPRecordalStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromICPRecordalStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ItemSelection

newtype ItemSelection Source #

Constructors

ItemSelection' 

Instances

Instances details
Eq ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

Ord ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

Read ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

Show ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

Generic ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

Associated Types

type Rep ItemSelection :: Type -> Type #

NFData ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

Methods

rnf :: ItemSelection -> () #

Hashable ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

ToJSON ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

ToJSONKey ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

FromJSON ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

FromJSONKey ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

ToLog ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

ToHeader ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

ToQuery ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

FromXML ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

ToXML ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

Methods

toXML :: ItemSelection -> XML #

ToByteString ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

FromText ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

ToText ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

Methods

toText :: ItemSelection -> Text #

type Rep ItemSelection Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ItemSelection

type Rep ItemSelection = D1 ('MetaData "ItemSelection" "Amazonka.CloudFront.Types.ItemSelection" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "ItemSelection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromItemSelection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Method

newtype Method Source #

Constructors

Method' 

Fields

Bundled Patterns

pattern Method_DELETE :: Method 
pattern Method_GET :: Method 
pattern Method_HEAD :: Method 
pattern Method_OPTIONS :: Method 
pattern Method_PATCH :: Method 
pattern Method_POST :: Method 
pattern Method_PUT :: Method 

Instances

Instances details
Eq Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Methods

(==) :: Method -> Method -> Bool #

(/=) :: Method -> Method -> Bool #

Ord Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Read Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Show Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Generic Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Associated Types

type Rep Method :: Type -> Type #

Methods

from :: Method -> Rep Method x #

to :: Rep Method x -> Method #

NFData Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Methods

rnf :: Method -> () #

Hashable Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Methods

hashWithSalt :: Int -> Method -> Int #

hash :: Method -> Int #

ToJSON Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

ToJSONKey Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

FromJSON Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

FromJSONKey Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

ToLog Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

ToHeader Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Methods

toHeader :: HeaderName -> Method -> [Header] #

ToQuery Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

FromXML Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

ToXML Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Methods

toXML :: Method -> XML #

ToByteString Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Methods

toBS :: Method -> ByteString #

FromText Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

ToText Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

Methods

toText :: Method -> Text #

type Rep Method Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Method

type Rep Method = D1 ('MetaData "Method" "Amazonka.CloudFront.Types.Method" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "Method'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

MinimumProtocolVersion

newtype MinimumProtocolVersion Source #

Instances

Instances details
Eq MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

Ord MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

Read MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

Show MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

Generic MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

Associated Types

type Rep MinimumProtocolVersion :: Type -> Type #

NFData MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

Methods

rnf :: MinimumProtocolVersion -> () #

Hashable MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

ToJSON MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

ToJSONKey MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

FromJSON MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

FromJSONKey MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

ToLog MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

ToHeader MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

ToQuery MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

FromXML MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

ToXML MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

ToByteString MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

FromText MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

ToText MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

type Rep MinimumProtocolVersion Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MinimumProtocolVersion

type Rep MinimumProtocolVersion = D1 ('MetaData "MinimumProtocolVersion" "Amazonka.CloudFront.Types.MinimumProtocolVersion" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "MinimumProtocolVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMinimumProtocolVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OriginProtocolPolicy

newtype OriginProtocolPolicy Source #

Instances

Instances details
Eq OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

Ord OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

Read OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

Show OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

Generic OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

Associated Types

type Rep OriginProtocolPolicy :: Type -> Type #

NFData OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

Methods

rnf :: OriginProtocolPolicy -> () #

Hashable OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

ToJSON OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

ToJSONKey OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

FromJSON OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

FromJSONKey OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

ToLog OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

ToHeader OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

ToQuery OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

FromXML OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

ToXML OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

ToByteString OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

FromText OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

ToText OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

type Rep OriginProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginProtocolPolicy

type Rep OriginProtocolPolicy = D1 ('MetaData "OriginProtocolPolicy" "Amazonka.CloudFront.Types.OriginProtocolPolicy" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "OriginProtocolPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOriginProtocolPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OriginRequestPolicyCookieBehavior

newtype OriginRequestPolicyCookieBehavior Source #

Instances

Instances details
Eq OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

Ord OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

Read OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

Show OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

Generic OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

Associated Types

type Rep OriginRequestPolicyCookieBehavior :: Type -> Type #

NFData OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

Hashable OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

ToJSON OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

ToJSONKey OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

FromJSON OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

FromJSONKey OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

ToLog OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

ToHeader OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

ToQuery OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

FromXML OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

ToXML OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

ToByteString OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

FromText OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

ToText OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

type Rep OriginRequestPolicyCookieBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior

type Rep OriginRequestPolicyCookieBehavior = D1 ('MetaData "OriginRequestPolicyCookieBehavior" "Amazonka.CloudFront.Types.OriginRequestPolicyCookieBehavior" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "OriginRequestPolicyCookieBehavior'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOriginRequestPolicyCookieBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OriginRequestPolicyHeaderBehavior

newtype OriginRequestPolicyHeaderBehavior Source #

Instances

Instances details
Eq OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

Ord OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

Read OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

Show OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

Generic OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

Associated Types

type Rep OriginRequestPolicyHeaderBehavior :: Type -> Type #

NFData OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

Hashable OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

ToJSON OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

ToJSONKey OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

FromJSON OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

FromJSONKey OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

ToLog OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

ToHeader OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

ToQuery OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

FromXML OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

ToXML OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

ToByteString OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

FromText OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

ToText OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

type Rep OriginRequestPolicyHeaderBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior

type Rep OriginRequestPolicyHeaderBehavior = D1 ('MetaData "OriginRequestPolicyHeaderBehavior" "Amazonka.CloudFront.Types.OriginRequestPolicyHeaderBehavior" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "OriginRequestPolicyHeaderBehavior'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOriginRequestPolicyHeaderBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OriginRequestPolicyQueryStringBehavior

newtype OriginRequestPolicyQueryStringBehavior Source #

Instances

Instances details
Eq OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

Ord OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

Read OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

Show OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

Generic OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

NFData OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

Hashable OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

ToJSON OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

ToJSONKey OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

FromJSON OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

FromJSONKey OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

ToLog OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

ToHeader OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

ToQuery OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

FromXML OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

ToXML OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

ToByteString OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

FromText OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

ToText OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

type Rep OriginRequestPolicyQueryStringBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior

type Rep OriginRequestPolicyQueryStringBehavior = D1 ('MetaData "OriginRequestPolicyQueryStringBehavior" "Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringBehavior" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "OriginRequestPolicyQueryStringBehavior'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOriginRequestPolicyQueryStringBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OriginRequestPolicyType

newtype OriginRequestPolicyType Source #

Instances

Instances details
Eq OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

Ord OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

Read OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

Show OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

Generic OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

Associated Types

type Rep OriginRequestPolicyType :: Type -> Type #

NFData OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

Methods

rnf :: OriginRequestPolicyType -> () #

Hashable OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

ToJSON OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

ToJSONKey OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

FromJSON OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

FromJSONKey OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

ToLog OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

ToHeader OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

ToQuery OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

FromXML OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

ToXML OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

ToByteString OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

FromText OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

ToText OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

type Rep OriginRequestPolicyType Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyType

type Rep OriginRequestPolicyType = D1 ('MetaData "OriginRequestPolicyType" "Amazonka.CloudFront.Types.OriginRequestPolicyType" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "OriginRequestPolicyType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOriginRequestPolicyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PriceClass

newtype PriceClass Source #

Constructors

PriceClass' 

Fields

Instances

Instances details
Eq PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

Ord PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

Read PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

Show PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

Generic PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

Associated Types

type Rep PriceClass :: Type -> Type #

NFData PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

Methods

rnf :: PriceClass -> () #

Hashable PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

ToJSON PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

ToJSONKey PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

FromJSON PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

FromJSONKey PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

ToLog PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

ToHeader PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

ToQuery PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

FromXML PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

ToXML PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

Methods

toXML :: PriceClass -> XML #

ToByteString PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

FromText PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

ToText PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

Methods

toText :: PriceClass -> Text #

type Rep PriceClass Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PriceClass

type Rep PriceClass = D1 ('MetaData "PriceClass" "Amazonka.CloudFront.Types.PriceClass" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "PriceClass'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPriceClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RealtimeMetricsSubscriptionStatus

newtype RealtimeMetricsSubscriptionStatus Source #

Instances

Instances details
Eq RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

Ord RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

Read RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

Show RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

Generic RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

Associated Types

type Rep RealtimeMetricsSubscriptionStatus :: Type -> Type #

NFData RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

Hashable RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

ToJSON RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

ToJSONKey RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

FromJSON RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

FromJSONKey RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

ToLog RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

ToHeader RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

ToQuery RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

FromXML RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

ToXML RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

ToByteString RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

FromText RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

ToText RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

type Rep RealtimeMetricsSubscriptionStatus Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus

type Rep RealtimeMetricsSubscriptionStatus = D1 ('MetaData "RealtimeMetricsSubscriptionStatus" "Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionStatus" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "RealtimeMetricsSubscriptionStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRealtimeMetricsSubscriptionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SSLSupportMethod

newtype SSLSupportMethod Source #

Instances

Instances details
Eq SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

Ord SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

Read SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

Show SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

Generic SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

Associated Types

type Rep SSLSupportMethod :: Type -> Type #

NFData SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

Methods

rnf :: SSLSupportMethod -> () #

Hashable SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

ToJSON SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

ToJSONKey SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

FromJSON SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

FromJSONKey SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

ToLog SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

ToHeader SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

ToQuery SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

FromXML SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

ToXML SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

ToByteString SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

FromText SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

ToText SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

type Rep SSLSupportMethod Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SSLSupportMethod

type Rep SSLSupportMethod = D1 ('MetaData "SSLSupportMethod" "Amazonka.CloudFront.Types.SSLSupportMethod" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "SSLSupportMethod'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSSLSupportMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SslProtocol

newtype SslProtocol Source #

Constructors

SslProtocol' 

Instances

Instances details
Eq SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

Ord SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

Read SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

Show SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

Generic SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

Associated Types

type Rep SslProtocol :: Type -> Type #

NFData SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

Methods

rnf :: SslProtocol -> () #

Hashable SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

ToJSON SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

ToJSONKey SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

FromJSON SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

FromJSONKey SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

ToLog SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

ToHeader SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

ToQuery SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

FromXML SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

ToXML SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

Methods

toXML :: SslProtocol -> XML #

ToByteString SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

FromText SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

ToText SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

Methods

toText :: SslProtocol -> Text #

type Rep SslProtocol Source # 
Instance details

Defined in Amazonka.CloudFront.Types.SslProtocol

type Rep SslProtocol = D1 ('MetaData "SslProtocol" "Amazonka.CloudFront.Types.SslProtocol" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "SslProtocol'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSslProtocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ViewerProtocolPolicy

newtype ViewerProtocolPolicy Source #

Instances

Instances details
Eq ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

Ord ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

Read ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

Show ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

Generic ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

Associated Types

type Rep ViewerProtocolPolicy :: Type -> Type #

NFData ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

Methods

rnf :: ViewerProtocolPolicy -> () #

Hashable ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

ToJSON ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

ToJSONKey ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

FromJSON ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

FromJSONKey ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

ToLog ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

ToHeader ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

ToQuery ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

FromXML ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

ToXML ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

ToByteString ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

FromText ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

ToText ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

type Rep ViewerProtocolPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerProtocolPolicy

type Rep ViewerProtocolPolicy = D1 ('MetaData "ViewerProtocolPolicy" "Amazonka.CloudFront.Types.ViewerProtocolPolicy" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'True) (C1 ('MetaCons "ViewerProtocolPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromViewerProtocolPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ActiveTrustedKeyGroups

data ActiveTrustedKeyGroups Source #

A list of key groups, and the public keys in each key group, that CloudFront can use to verify the signatures of signed URLs and signed cookies.

See: newActiveTrustedKeyGroups smart constructor.

Constructors

ActiveTrustedKeyGroups' 

Fields

  • items :: Maybe [KGKeyPairIds]

    A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.

  • enabled :: Bool

    This field is true if any of the key groups have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

  • quantity :: Int

    The number of key groups in the list.

Instances

Instances details
Eq ActiveTrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedKeyGroups

Read ActiveTrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedKeyGroups

Show ActiveTrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedKeyGroups

Generic ActiveTrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedKeyGroups

Associated Types

type Rep ActiveTrustedKeyGroups :: Type -> Type #

NFData ActiveTrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedKeyGroups

Methods

rnf :: ActiveTrustedKeyGroups -> () #

Hashable ActiveTrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedKeyGroups

FromXML ActiveTrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedKeyGroups

type Rep ActiveTrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedKeyGroups

type Rep ActiveTrustedKeyGroups = D1 ('MetaData "ActiveTrustedKeyGroups" "Amazonka.CloudFront.Types.ActiveTrustedKeyGroups" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ActiveTrustedKeyGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [KGKeyPairIds])) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newActiveTrustedKeyGroups Source #

Create a value of ActiveTrustedKeyGroups 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:items:ActiveTrustedKeyGroups', activeTrustedKeyGroups_items - A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.

$sel:enabled:ActiveTrustedKeyGroups', activeTrustedKeyGroups_enabled - This field is true if any of the key groups have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

$sel:quantity:ActiveTrustedKeyGroups', activeTrustedKeyGroups_quantity - The number of key groups in the list.

activeTrustedKeyGroups_items :: Lens' ActiveTrustedKeyGroups (Maybe [KGKeyPairIds]) Source #

A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.

activeTrustedKeyGroups_enabled :: Lens' ActiveTrustedKeyGroups Bool Source #

This field is true if any of the key groups have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

ActiveTrustedSigners

data ActiveTrustedSigners Source #

A list of accounts and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.

See: newActiveTrustedSigners smart constructor.

Constructors

ActiveTrustedSigners' 

Fields

  • items :: Maybe [Signer]

    A list of accounts and the identifiers of active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.

  • enabled :: Bool

    This field is true if any of the accounts in the list have active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

  • quantity :: Int

    The number of accounts in the list.

Instances

Instances details
Eq ActiveTrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedSigners

Read ActiveTrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedSigners

Show ActiveTrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedSigners

Generic ActiveTrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedSigners

Associated Types

type Rep ActiveTrustedSigners :: Type -> Type #

NFData ActiveTrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedSigners

Methods

rnf :: ActiveTrustedSigners -> () #

Hashable ActiveTrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedSigners

FromXML ActiveTrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedSigners

type Rep ActiveTrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ActiveTrustedSigners

type Rep ActiveTrustedSigners = D1 ('MetaData "ActiveTrustedSigners" "Amazonka.CloudFront.Types.ActiveTrustedSigners" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ActiveTrustedSigners'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Signer])) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newActiveTrustedSigners Source #

Create a value of ActiveTrustedSigners 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:items:ActiveTrustedSigners', activeTrustedSigners_items - A list of accounts and the identifiers of active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.

$sel:enabled:ActiveTrustedSigners', activeTrustedSigners_enabled - This field is true if any of the accounts in the list have active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

$sel:quantity:ActiveTrustedSigners', activeTrustedSigners_quantity - The number of accounts in the list.

activeTrustedSigners_items :: Lens' ActiveTrustedSigners (Maybe [Signer]) Source #

A list of accounts and the identifiers of active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.

activeTrustedSigners_enabled :: Lens' ActiveTrustedSigners Bool Source #

This field is true if any of the accounts in the list have active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

activeTrustedSigners_quantity :: Lens' ActiveTrustedSigners Int Source #

The number of accounts in the list.

AliasICPRecordal

data 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. The status is returned in the CloudFront response; you can't configure it yourself.

For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.

See: newAliasICPRecordal smart constructor.

Constructors

AliasICPRecordal' 

Fields

  • cname :: Maybe Text

    A domain name associated with a distribution.

  • iCPRecordalStatus :: Maybe ICPRecordalStatus

    The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in regions outside of China.

    The status values returned are the following:

    • APPROVED indicates that the associated CNAME has a valid ICP recordal number. Multiple CNAMEs can be associated with a distribution, and CNAMEs can correspond to different ICP recordals. To be marked as APPROVED, that is, valid to use with China region, a CNAME must have one ICP recordal number associated with it.
    • SUSPENDED indicates that the associated CNAME does not have a valid ICP recordal number.
    • PENDING indicates that CloudFront can't determine the ICP recordal status of the CNAME associated with the distribution because there was an error in trying to determine the status. You can try again to see if the error is resolved in which case CloudFront returns an APPROVED or SUSPENDED status.

Instances

Instances details
Eq AliasICPRecordal Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AliasICPRecordal

Read AliasICPRecordal Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AliasICPRecordal

Show AliasICPRecordal Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AliasICPRecordal

Generic AliasICPRecordal Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AliasICPRecordal

Associated Types

type Rep AliasICPRecordal :: Type -> Type #

NFData AliasICPRecordal Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AliasICPRecordal

Methods

rnf :: AliasICPRecordal -> () #

Hashable AliasICPRecordal Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AliasICPRecordal

FromXML AliasICPRecordal Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AliasICPRecordal

type Rep AliasICPRecordal Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AliasICPRecordal

type Rep AliasICPRecordal = D1 ('MetaData "AliasICPRecordal" "Amazonka.CloudFront.Types.AliasICPRecordal" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "AliasICPRecordal'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "iCPRecordalStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ICPRecordalStatus))))

newAliasICPRecordal :: AliasICPRecordal Source #

Create a value of AliasICPRecordal 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:cname:AliasICPRecordal', aliasICPRecordal_cname - A domain name associated with a distribution.

$sel:iCPRecordalStatus:AliasICPRecordal', aliasICPRecordal_iCPRecordalStatus - The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in regions outside of China.

The status values returned are the following:

  • APPROVED indicates that the associated CNAME has a valid ICP recordal number. Multiple CNAMEs can be associated with a distribution, and CNAMEs can correspond to different ICP recordals. To be marked as APPROVED, that is, valid to use with China region, a CNAME must have one ICP recordal number associated with it.
  • SUSPENDED indicates that the associated CNAME does not have a valid ICP recordal number.
  • PENDING indicates that CloudFront can't determine the ICP recordal status of the CNAME associated with the distribution because there was an error in trying to determine the status. You can try again to see if the error is resolved in which case CloudFront returns an APPROVED or SUSPENDED status.

aliasICPRecordal_cname :: Lens' AliasICPRecordal (Maybe Text) Source #

A domain name associated with a distribution.

aliasICPRecordal_iCPRecordalStatus :: Lens' AliasICPRecordal (Maybe ICPRecordalStatus) Source #

The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in regions outside of China.

The status values returned are the following:

  • APPROVED indicates that the associated CNAME has a valid ICP recordal number. Multiple CNAMEs can be associated with a distribution, and CNAMEs can correspond to different ICP recordals. To be marked as APPROVED, that is, valid to use with China region, a CNAME must have one ICP recordal number associated with it.
  • SUSPENDED indicates that the associated CNAME does not have a valid ICP recordal number.
  • PENDING indicates that CloudFront can't determine the ICP recordal status of the CNAME associated with the distribution because there was an error in trying to determine the status. You can try again to see if the error is resolved in which case CloudFront returns an APPROVED or SUSPENDED status.

Aliases

data Aliases Source #

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

See: newAliases smart constructor.

Constructors

Aliases' 

Fields

  • items :: Maybe [Text]

    A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.

  • quantity :: Int

    The number of CNAME aliases, if any, that you want to associate with this distribution.

Instances

Instances details
Eq Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Methods

(==) :: Aliases -> Aliases -> Bool #

(/=) :: Aliases -> Aliases -> Bool #

Read Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Show Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Generic Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Associated Types

type Rep Aliases :: Type -> Type #

Methods

from :: Aliases -> Rep Aliases x #

to :: Rep Aliases x -> Aliases #

NFData Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Methods

rnf :: Aliases -> () #

Hashable Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Methods

hashWithSalt :: Int -> Aliases -> Int #

hash :: Aliases -> Int #

FromXML Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

ToXML Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

Methods

toXML :: Aliases -> XML #

type Rep Aliases Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Aliases

type Rep Aliases = D1 ('MetaData "Aliases" "Amazonka.CloudFront.Types.Aliases" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "Aliases'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAliases Source #

Create a value of Aliases 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:items:Aliases', aliases_items - A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.

$sel:quantity:Aliases', aliases_quantity - The number of CNAME aliases, if any, that you want to associate with this distribution.

aliases_items :: Lens' Aliases (Maybe [Text]) Source #

A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.

aliases_quantity :: Lens' Aliases Int Source #

The number of CNAME aliases, if any, that you want to associate with this distribution.

AllowedMethods

data AllowedMethods Source #

A complex type that controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin. There are three choices:

  • CloudFront forwards only GET and HEAD requests.
  • CloudFront forwards only GET, HEAD, and OPTIONS requests.
  • CloudFront forwards GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE requests.

If you pick the third choice, you may need to restrict access to your Amazon S3 bucket or to your custom origin so users can't perform operations that you don't want them to. For example, you might not want users to have permissions to delete objects from your origin.

See: newAllowedMethods smart constructor.

Constructors

AllowedMethods' 

Fields

  • cachedMethods :: Maybe CachedMethods
     
  • quantity :: Int

    The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for GET and HEAD requests), 3 (for GET, HEAD, and OPTIONS requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE requests).

  • items :: [Method]

    A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.

Instances

Instances details
Eq AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

Read AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

Show AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

Generic AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

Associated Types

type Rep AllowedMethods :: Type -> Type #

NFData AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

Methods

rnf :: AllowedMethods -> () #

Hashable AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

FromXML AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

ToXML AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

Methods

toXML :: AllowedMethods -> XML #

type Rep AllowedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.AllowedMethods

type Rep AllowedMethods = D1 ('MetaData "AllowedMethods" "Amazonka.CloudFront.Types.AllowedMethods" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "AllowedMethods'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cachedMethods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CachedMethods)) :*: (S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Method]))))

newAllowedMethods Source #

Create a value of AllowedMethods 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:cachedMethods:AllowedMethods', allowedMethods_cachedMethods - Undocumented member.

$sel:quantity:AllowedMethods', allowedMethods_quantity - The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for GET and HEAD requests), 3 (for GET, HEAD, and OPTIONS requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE requests).

$sel:items:AllowedMethods', allowedMethods_items - A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.

allowedMethods_quantity :: Lens' AllowedMethods Int Source #

The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for GET and HEAD requests), 3 (for GET, HEAD, and OPTIONS requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE requests).

allowedMethods_items :: Lens' AllowedMethods [Method] Source #

A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.

CacheBehavior

data CacheBehavior Source #

A complex type that describes how CloudFront processes requests.

You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to serve objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin is never used.

For the current quota (formerly known as limit) on the number of cache behaviors that you can add to a distribution, see Quotas in the Amazon CloudFront Developer Guide.

If you don’t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don’t include an empty CacheBehavior element because this is invalid.

To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element.

To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.

For more information about cache behaviors, see Cache Behavior Settings in the Amazon CloudFront Developer Guide.

See: newCacheBehavior smart constructor.

Constructors

CacheBehavior' 

Fields

  • allowedMethods :: Maybe AllowedMethods
     
  • lambdaFunctionAssociations :: Maybe LambdaFunctionAssociations

    A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.

  • maxTTL :: Maybe Integer

    This field is deprecated. We recommend that you use the MaxTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

    The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

  • minTTL :: Maybe Integer

    This field is deprecated. We recommend that you use the MinTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

    The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

    You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers, if you specify 1 for Quantity and * for Name).

  • compress :: Maybe Bool

    Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide.

  • smoothStreaming :: Maybe Bool

    Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true; if not, specify false. If you specify true for SmoothStreaming, you can still distribute other content using this cache behavior if the content matches the value of PathPattern.

  • trustedKeyGroups :: Maybe TrustedKeyGroups

    A list of key groups that CloudFront can use to validate signed URLs or signed cookies.

    When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

  • realtimeLogConfigArn :: Maybe Text

    The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see Real-time logs in the Amazon CloudFront Developer Guide.

  • defaultTTL :: Maybe Integer

    This field is deprecated. We recommend that you use the DefaultTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

    The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

  • forwardedValues :: Maybe ForwardedValues

    This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see Working with policies in the Amazon CloudFront Developer Guide.

    If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

    If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

    A CacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

    A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.

  • trustedSigners :: Maybe TrustedSigners

    We recommend using TrustedKeyGroups instead of TrustedSigners.

    A list of account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.

    When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in the trusted signer’s account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

  • functionAssociations :: Maybe FunctionAssociations

    A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

  • originRequestPolicyId :: Maybe Text

    The unique identifier of the origin request policy that is attached to this cache behavior. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

  • fieldLevelEncryptionId :: Maybe Text

    The value of ID for the field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data for this cache behavior.

  • cachePolicyId :: Maybe Text

    The unique identifier of the cache policy that is attached to this cache behavior. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

    A CacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

  • pathPattern :: Text

    The pattern (for example, images/*.jpg) that specifies which requests to apply the behavior to. When CloudFront receives a viewer request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution.

    You can optionally include a slash (/) at the beginning of the path pattern. For example, /images/*.jpg. CloudFront behavior is the same with or without the leading /.

    The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.

    For more information, see Path Pattern in the Amazon CloudFront Developer Guide.

  • targetOriginId :: Text

    The value of ID for the origin that you want CloudFront to route requests to when they match this cache behavior.

  • viewerProtocolPolicy :: ViewerProtocolPolicy

    The protocol that viewers can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. You can specify the following options:

    • allow-all: Viewers can use HTTP or HTTPS.
    • redirect-to-https: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL.
    • https-only: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden).

    For more information about requiring the HTTPS protocol, see Requiring HTTPS Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.

    The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects’ cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see Managing Cache Expiration in the Amazon CloudFront Developer Guide.

Instances

Instances details
Eq CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

Read CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

Show CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

Generic CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

Associated Types

type Rep CacheBehavior :: Type -> Type #

NFData CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

Methods

rnf :: CacheBehavior -> () #

Hashable CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

FromXML CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

ToXML CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

Methods

toXML :: CacheBehavior -> XML #

type Rep CacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehavior

type Rep CacheBehavior = D1 ('MetaData "CacheBehavior" "Amazonka.CloudFront.Types.CacheBehavior" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CacheBehavior'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "allowedMethods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AllowedMethods)) :*: S1 ('MetaSel ('Just "lambdaFunctionAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LambdaFunctionAssociations))) :*: (S1 ('MetaSel ('Just "maxTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "minTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "compress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "smoothStreaming") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "trustedKeyGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrustedKeyGroups)) :*: (S1 ('MetaSel ('Just "realtimeLogConfigArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "defaultTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))) :*: (((S1 ('MetaSel ('Just "forwardedValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ForwardedValues)) :*: S1 ('MetaSel ('Just "trustedSigners") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrustedSigners))) :*: (S1 ('MetaSel ('Just "functionAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionAssociations)) :*: S1 ('MetaSel ('Just "originRequestPolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "fieldLevelEncryptionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cachePolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "pathPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "targetOriginId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "viewerProtocolPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ViewerProtocolPolicy)))))))

newCacheBehavior Source #

Create a value of CacheBehavior 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:allowedMethods:CacheBehavior', cacheBehavior_allowedMethods - Undocumented member.

$sel:lambdaFunctionAssociations:CacheBehavior', cacheBehavior_lambdaFunctionAssociations - A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.

$sel:maxTTL:CacheBehavior', cacheBehavior_maxTTL - This field is deprecated. We recommend that you use the MaxTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

$sel:minTTL:CacheBehavior', cacheBehavior_minTTL - This field is deprecated. We recommend that you use the MinTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers, if you specify 1 for Quantity and * for Name).

$sel:compress:CacheBehavior', cacheBehavior_compress - Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide.

$sel:smoothStreaming:CacheBehavior', cacheBehavior_smoothStreaming - Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true; if not, specify false. If you specify true for SmoothStreaming, you can still distribute other content using this cache behavior if the content matches the value of PathPattern.

$sel:trustedKeyGroups:CacheBehavior', cacheBehavior_trustedKeyGroups - A list of key groups that CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

$sel:realtimeLogConfigArn:CacheBehavior', cacheBehavior_realtimeLogConfigArn - The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see Real-time logs in the Amazon CloudFront Developer Guide.

$sel:defaultTTL:CacheBehavior', cacheBehavior_defaultTTL - This field is deprecated. We recommend that you use the DefaultTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

$sel:forwardedValues:CacheBehavior', cacheBehavior_forwardedValues - This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see Working with policies in the Amazon CloudFront Developer Guide.

If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

A CacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.

$sel:trustedSigners:CacheBehavior', cacheBehavior_trustedSigners - We recommend using TrustedKeyGroups instead of TrustedSigners.

A list of account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in the trusted signer’s account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

$sel:functionAssociations:CacheBehavior', cacheBehavior_functionAssociations - A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

$sel:originRequestPolicyId:CacheBehavior', cacheBehavior_originRequestPolicyId - The unique identifier of the origin request policy that is attached to this cache behavior. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

$sel:fieldLevelEncryptionId:CacheBehavior', cacheBehavior_fieldLevelEncryptionId - The value of ID for the field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data for this cache behavior.

$sel:cachePolicyId:CacheBehavior', cacheBehavior_cachePolicyId - The unique identifier of the cache policy that is attached to this cache behavior. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

A CacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

$sel:pathPattern:CacheBehavior', cacheBehavior_pathPattern - The pattern (for example, images/*.jpg) that specifies which requests to apply the behavior to. When CloudFront receives a viewer request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution.

You can optionally include a slash (/) at the beginning of the path pattern. For example, /images/*.jpg. CloudFront behavior is the same with or without the leading /.

The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.

For more information, see Path Pattern in the Amazon CloudFront Developer Guide.

$sel:targetOriginId:CacheBehavior', cacheBehavior_targetOriginId - The value of ID for the origin that you want CloudFront to route requests to when they match this cache behavior.

$sel:viewerProtocolPolicy:CacheBehavior', cacheBehavior_viewerProtocolPolicy - The protocol that viewers can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. You can specify the following options:

  • allow-all: Viewers can use HTTP or HTTPS.
  • redirect-to-https: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL.
  • https-only: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden).

For more information about requiring the HTTPS protocol, see Requiring HTTPS Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.

The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects’ cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see Managing Cache Expiration in the Amazon CloudFront Developer Guide.

cacheBehavior_lambdaFunctionAssociations :: Lens' CacheBehavior (Maybe LambdaFunctionAssociations) Source #

A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.

cacheBehavior_maxTTL :: Lens' CacheBehavior (Maybe Integer) Source #

This field is deprecated. We recommend that you use the MaxTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

cacheBehavior_minTTL :: Lens' CacheBehavior (Maybe Integer) Source #

This field is deprecated. We recommend that you use the MinTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers, if you specify 1 for Quantity and * for Name).

cacheBehavior_compress :: Lens' CacheBehavior (Maybe Bool) Source #

Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide.

cacheBehavior_smoothStreaming :: Lens' CacheBehavior (Maybe Bool) Source #

Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true; if not, specify false. If you specify true for SmoothStreaming, you can still distribute other content using this cache behavior if the content matches the value of PathPattern.

cacheBehavior_trustedKeyGroups :: Lens' CacheBehavior (Maybe TrustedKeyGroups) Source #

A list of key groups that CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

cacheBehavior_realtimeLogConfigArn :: Lens' CacheBehavior (Maybe Text) Source #

The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see Real-time logs in the Amazon CloudFront Developer Guide.

cacheBehavior_defaultTTL :: Lens' CacheBehavior (Maybe Integer) Source #

This field is deprecated. We recommend that you use the DefaultTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

cacheBehavior_forwardedValues :: Lens' CacheBehavior (Maybe ForwardedValues) Source #

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see Working with policies in the Amazon CloudFront Developer Guide.

If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

A CacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.

cacheBehavior_trustedSigners :: Lens' CacheBehavior (Maybe TrustedSigners) Source #

We recommend using TrustedKeyGroups instead of TrustedSigners.

A list of account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in the trusted signer’s account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

cacheBehavior_functionAssociations :: Lens' CacheBehavior (Maybe FunctionAssociations) Source #

A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

cacheBehavior_originRequestPolicyId :: Lens' CacheBehavior (Maybe Text) Source #

The unique identifier of the origin request policy that is attached to this cache behavior. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

cacheBehavior_fieldLevelEncryptionId :: Lens' CacheBehavior (Maybe Text) Source #

The value of ID for the field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data for this cache behavior.

cacheBehavior_cachePolicyId :: Lens' CacheBehavior (Maybe Text) Source #

The unique identifier of the cache policy that is attached to this cache behavior. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

A CacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

cacheBehavior_pathPattern :: Lens' CacheBehavior Text Source #

The pattern (for example, images/*.jpg) that specifies which requests to apply the behavior to. When CloudFront receives a viewer request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution.

You can optionally include a slash (/) at the beginning of the path pattern. For example, /images/*.jpg. CloudFront behavior is the same with or without the leading /.

The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.

For more information, see Path Pattern in the Amazon CloudFront Developer Guide.

cacheBehavior_targetOriginId :: Lens' CacheBehavior Text Source #

The value of ID for the origin that you want CloudFront to route requests to when they match this cache behavior.

cacheBehavior_viewerProtocolPolicy :: Lens' CacheBehavior ViewerProtocolPolicy Source #

The protocol that viewers can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. You can specify the following options:

  • allow-all: Viewers can use HTTP or HTTPS.
  • redirect-to-https: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL.
  • https-only: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden).

For more information about requiring the HTTPS protocol, see Requiring HTTPS Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.

The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects’ cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see Managing Cache Expiration in the Amazon CloudFront Developer Guide.

CacheBehaviors

data CacheBehaviors Source #

A complex type that contains zero or more CacheBehavior elements.

See: newCacheBehaviors smart constructor.

Constructors

CacheBehaviors' 

Fields

  • items :: Maybe [CacheBehavior]

    Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.

  • quantity :: Int

    The number of cache behaviors for this distribution.

Instances

Instances details
Eq CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

Read CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

Show CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

Generic CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

Associated Types

type Rep CacheBehaviors :: Type -> Type #

NFData CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

Methods

rnf :: CacheBehaviors -> () #

Hashable CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

FromXML CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

ToXML CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

Methods

toXML :: CacheBehaviors -> XML #

type Rep CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

type Rep CacheBehaviors = D1 ('MetaData "CacheBehaviors" "Amazonka.CloudFront.Types.CacheBehaviors" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CacheBehaviors'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CacheBehavior])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCacheBehaviors Source #

Create a value of CacheBehaviors 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:items:CacheBehaviors', cacheBehaviors_items - Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.

$sel:quantity:CacheBehaviors', cacheBehaviors_quantity - The number of cache behaviors for this distribution.

cacheBehaviors_items :: Lens' CacheBehaviors (Maybe [CacheBehavior]) Source #

Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.

cacheBehaviors_quantity :: Lens' CacheBehaviors Int Source #

The number of cache behaviors for this distribution.

CachePolicy

data CachePolicy Source #

A cache policy.

When it’s attached to a cache behavior, the cache policy determines the following:

  • The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.
  • The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.

The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can’t find a valid object in its cache that matches the request’s cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

See: newCachePolicy smart constructor.

Constructors

CachePolicy' 

Fields

Instances

Instances details
Eq CachePolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicy

Read CachePolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicy

Show CachePolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicy

Generic CachePolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicy

Associated Types

type Rep CachePolicy :: Type -> Type #

NFData CachePolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicy

Methods

rnf :: CachePolicy -> () #

Hashable CachePolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicy

FromXML CachePolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicy

type Rep CachePolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicy

type Rep CachePolicy = D1 ('MetaData "CachePolicy" "Amazonka.CloudFront.Types.CachePolicy" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CachePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "cachePolicyConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicyConfig))))

newCachePolicy Source #

Create a value of CachePolicy 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:id:CachePolicy', cachePolicy_id - The unique identifier for the cache policy.

$sel:lastModifiedTime:CachePolicy', cachePolicy_lastModifiedTime - The date and time when the cache policy was last modified.

$sel:cachePolicyConfig:CachePolicy', cachePolicy_cachePolicyConfig - The cache policy configuration.

cachePolicy_id :: Lens' CachePolicy Text Source #

The unique identifier for the cache policy.

cachePolicy_lastModifiedTime :: Lens' CachePolicy UTCTime Source #

The date and time when the cache policy was last modified.

CachePolicyConfig

data CachePolicyConfig Source #

A cache policy configuration.

This configuration determines the following:

  • The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.
  • The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.

The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can’t find a valid object in its cache that matches the request’s cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

See: newCachePolicyConfig smart constructor.

Constructors

CachePolicyConfig' 

Fields

  • maxTTL :: Maybe Integer

    The maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value only when the origin sends Cache-Control or Expires headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

    The default value for this field is 31536000 seconds (one year). If the value of MinTTL or DefaultTTL is more than 31536000 seconds, then the default value for this field is the same as the value of DefaultTTL.

  • parametersInCacheKeyAndForwardedToOrigin :: Maybe ParametersInCacheKeyAndForwardedToOrigin

    The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are automatically included in requests that CloudFront sends to the origin.

  • defaultTTL :: Maybe Integer

    The default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value as the object’s time to live (TTL) only when the origin does not send Cache-Control or Expires headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

    The default value for this field is 86400 seconds (one day). If the value of MinTTL is more than 86400 seconds, then the default value for this field is the same as the value of MinTTL.

  • comment :: Maybe Text

    A comment to describe the cache policy. The comment cannot be longer than 128 characters.

  • name :: Text

    A unique name to identify the cache policy.

  • minTTL :: Integer

    The minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

Instances

Instances details
Eq CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

Read CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

Show CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

Generic CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

Associated Types

type Rep CachePolicyConfig :: Type -> Type #

NFData CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

Methods

rnf :: CachePolicyConfig -> () #

Hashable CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

FromXML CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

ToXML CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

type Rep CachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyConfig

type Rep CachePolicyConfig = D1 ('MetaData "CachePolicyConfig" "Amazonka.CloudFront.Types.CachePolicyConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CachePolicyConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "parametersInCacheKeyAndForwardedToOrigin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParametersInCacheKeyAndForwardedToOrigin)) :*: S1 ('MetaSel ('Just "defaultTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "minTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)))))

newCachePolicyConfig Source #

Create a value of CachePolicyConfig 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:maxTTL:CachePolicyConfig', cachePolicyConfig_maxTTL - The maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value only when the origin sends Cache-Control or Expires headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

The default value for this field is 31536000 seconds (one year). If the value of MinTTL or DefaultTTL is more than 31536000 seconds, then the default value for this field is the same as the value of DefaultTTL.

$sel:parametersInCacheKeyAndForwardedToOrigin:CachePolicyConfig', cachePolicyConfig_parametersInCacheKeyAndForwardedToOrigin - The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are automatically included in requests that CloudFront sends to the origin.

$sel:defaultTTL:CachePolicyConfig', cachePolicyConfig_defaultTTL - The default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value as the object’s time to live (TTL) only when the origin does not send Cache-Control or Expires headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

The default value for this field is 86400 seconds (one day). If the value of MinTTL is more than 86400 seconds, then the default value for this field is the same as the value of MinTTL.

$sel:comment:CachePolicyConfig', cachePolicyConfig_comment - A comment to describe the cache policy. The comment cannot be longer than 128 characters.

$sel:name:CachePolicyConfig', cachePolicyConfig_name - A unique name to identify the cache policy.

$sel:minTTL:CachePolicyConfig', cachePolicyConfig_minTTL - The minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

cachePolicyConfig_maxTTL :: Lens' CachePolicyConfig (Maybe Integer) Source #

The maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value only when the origin sends Cache-Control or Expires headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

The default value for this field is 31536000 seconds (one year). If the value of MinTTL or DefaultTTL is more than 31536000 seconds, then the default value for this field is the same as the value of DefaultTTL.

cachePolicyConfig_parametersInCacheKeyAndForwardedToOrigin :: Lens' CachePolicyConfig (Maybe ParametersInCacheKeyAndForwardedToOrigin) Source #

The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are automatically included in requests that CloudFront sends to the origin.

cachePolicyConfig_defaultTTL :: Lens' CachePolicyConfig (Maybe Integer) Source #

The default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value as the object’s time to live (TTL) only when the origin does not send Cache-Control or Expires headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

The default value for this field is 86400 seconds (one day). If the value of MinTTL is more than 86400 seconds, then the default value for this field is the same as the value of MinTTL.

cachePolicyConfig_comment :: Lens' CachePolicyConfig (Maybe Text) Source #

A comment to describe the cache policy. The comment cannot be longer than 128 characters.

cachePolicyConfig_name :: Lens' CachePolicyConfig Text Source #

A unique name to identify the cache policy.

cachePolicyConfig_minTTL :: Lens' CachePolicyConfig Integer Source #

The minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

CachePolicyCookiesConfig

data CachePolicyCookiesConfig Source #

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

See: newCachePolicyCookiesConfig smart constructor.

Constructors

CachePolicyCookiesConfig' 

Fields

  • cookies :: Maybe CookieNames
     
  • cookieBehavior :: CachePolicyCookieBehavior

    Determines whether any cookies in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

    • none – Cookies in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any cookies that are listed in an OriginRequestPolicy are included in origin requests.
    • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
    • allExcept – All cookies in viewer requests that are not listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
    • all – All cookies in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Instances

Instances details
Eq CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

Read CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

Show CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

Generic CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

Associated Types

type Rep CachePolicyCookiesConfig :: Type -> Type #

NFData CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

Hashable CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

FromXML CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

ToXML CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

type Rep CachePolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyCookiesConfig

type Rep CachePolicyCookiesConfig = D1 ('MetaData "CachePolicyCookiesConfig" "Amazonka.CloudFront.Types.CachePolicyCookiesConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CachePolicyCookiesConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CookieNames)) :*: S1 ('MetaSel ('Just "cookieBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicyCookieBehavior)))

newCachePolicyCookiesConfig Source #

Create a value of CachePolicyCookiesConfig 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:cookies:CachePolicyCookiesConfig', cachePolicyCookiesConfig_cookies - Undocumented member.

$sel:cookieBehavior:CachePolicyCookiesConfig', cachePolicyCookiesConfig_cookieBehavior - Determines whether any cookies in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

  • none – Cookies in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any cookies that are listed in an OriginRequestPolicy are included in origin requests.
  • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • allExcept – All cookies in viewer requests that are not listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • all – All cookies in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

cachePolicyCookiesConfig_cookieBehavior :: Lens' CachePolicyCookiesConfig CachePolicyCookieBehavior Source #

Determines whether any cookies in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

  • none – Cookies in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any cookies that are listed in an OriginRequestPolicy are included in origin requests.
  • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • allExcept – All cookies in viewer requests that are not listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • all – All cookies in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

CachePolicyHeadersConfig

data CachePolicyHeadersConfig Source #

An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

See: newCachePolicyHeadersConfig smart constructor.

Constructors

CachePolicyHeadersConfig' 

Fields

  • headers :: Maybe Headers
     
  • headerBehavior :: CachePolicyHeaderBehavior

    Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

    • none – HTTP headers are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in an OriginRequestPolicy are included in origin requests.
    • whitelist – The HTTP headers that are listed in the Headers type are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Instances

Instances details
Eq CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

Read CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

Show CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

Generic CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

Associated Types

type Rep CachePolicyHeadersConfig :: Type -> Type #

NFData CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

Hashable CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

FromXML CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

ToXML CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

type Rep CachePolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyHeadersConfig

type Rep CachePolicyHeadersConfig = D1 ('MetaData "CachePolicyHeadersConfig" "Amazonka.CloudFront.Types.CachePolicyHeadersConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CachePolicyHeadersConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "headers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Headers)) :*: S1 ('MetaSel ('Just "headerBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicyHeaderBehavior)))

newCachePolicyHeadersConfig Source #

Create a value of CachePolicyHeadersConfig 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:headers:CachePolicyHeadersConfig', cachePolicyHeadersConfig_headers - Undocumented member.

$sel:headerBehavior:CachePolicyHeadersConfig', cachePolicyHeadersConfig_headerBehavior - Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

  • none – HTTP headers are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in an OriginRequestPolicy are included in origin requests.
  • whitelist – The HTTP headers that are listed in the Headers type are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

cachePolicyHeadersConfig_headerBehavior :: Lens' CachePolicyHeadersConfig CachePolicyHeaderBehavior Source #

Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

  • none – HTTP headers are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in an OriginRequestPolicy are included in origin requests.
  • whitelist – The HTTP headers that are listed in the Headers type are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

CachePolicyList

data CachePolicyList Source #

A list of cache policies.

See: newCachePolicyList smart constructor.

Constructors

CachePolicyList' 

Fields

  • items :: Maybe [CachePolicySummary]

    Contains the cache policies in the list.

  • nextMarker :: Maybe Text

    If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing cache policies where you left off.

  • maxItems :: Int

    The maximum number of cache policies requested.

  • quantity :: Int

    The total number of cache policies returned in the response.

Instances

Instances details
Eq CachePolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyList

Read CachePolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyList

Show CachePolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyList

Generic CachePolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyList

Associated Types

type Rep CachePolicyList :: Type -> Type #

NFData CachePolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyList

Methods

rnf :: CachePolicyList -> () #

Hashable CachePolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyList

FromXML CachePolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyList

type Rep CachePolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyList

type Rep CachePolicyList = D1 ('MetaData "CachePolicyList" "Amazonka.CloudFront.Types.CachePolicyList" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CachePolicyList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CachePolicySummary])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCachePolicyList Source #

Create a value of CachePolicyList 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:items:CachePolicyList', cachePolicyList_items - Contains the cache policies in the list.

$sel:nextMarker:CachePolicyList', cachePolicyList_nextMarker - If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing cache policies where you left off.

$sel:maxItems:CachePolicyList', cachePolicyList_maxItems - The maximum number of cache policies requested.

$sel:quantity:CachePolicyList', cachePolicyList_quantity - The total number of cache policies returned in the response.

cachePolicyList_items :: Lens' CachePolicyList (Maybe [CachePolicySummary]) Source #

Contains the cache policies in the list.

cachePolicyList_nextMarker :: Lens' CachePolicyList (Maybe Text) Source #

If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing cache policies where you left off.

cachePolicyList_maxItems :: Lens' CachePolicyList Int Source #

The maximum number of cache policies requested.

cachePolicyList_quantity :: Lens' CachePolicyList Int Source #

The total number of cache policies returned in the response.

CachePolicyQueryStringsConfig

data CachePolicyQueryStringsConfig Source #

An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

See: newCachePolicyQueryStringsConfig smart constructor.

Constructors

CachePolicyQueryStringsConfig' 

Fields

  • queryStrings :: Maybe QueryStringNames

    Contains the specific query strings in viewer requests that either are or are not included in the cache key and automatically included in requests that CloudFront sends to the origin. The behavior depends on whether the QueryStringBehavior field in the CachePolicyQueryStringsConfig type is set to whitelist (the listed query strings are included) or allExcept (the listed query strings are not included, but all other query strings are).

  • queryStringBehavior :: CachePolicyQueryStringBehavior

    Determines whether any URL query strings in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

    • none – Query strings in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any query strings that are listed in an OriginRequestPolicy are included in origin requests.
    • whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
    • allExcept – All query strings in viewer requests that are not listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
    • all – All query strings in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Instances

Instances details
Eq CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

Read CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

Show CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

Generic CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

Associated Types

type Rep CachePolicyQueryStringsConfig :: Type -> Type #

NFData CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

Hashable CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

FromXML CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

ToXML CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

type Rep CachePolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig

type Rep CachePolicyQueryStringsConfig = D1 ('MetaData "CachePolicyQueryStringsConfig" "Amazonka.CloudFront.Types.CachePolicyQueryStringsConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CachePolicyQueryStringsConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryStrings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryStringNames)) :*: S1 ('MetaSel ('Just "queryStringBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicyQueryStringBehavior)))

newCachePolicyQueryStringsConfig Source #

Create a value of CachePolicyQueryStringsConfig 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:queryStrings:CachePolicyQueryStringsConfig', cachePolicyQueryStringsConfig_queryStrings - Contains the specific query strings in viewer requests that either are or are not included in the cache key and automatically included in requests that CloudFront sends to the origin. The behavior depends on whether the QueryStringBehavior field in the CachePolicyQueryStringsConfig type is set to whitelist (the listed query strings are included) or allExcept (the listed query strings are not included, but all other query strings are).

$sel:queryStringBehavior:CachePolicyQueryStringsConfig', cachePolicyQueryStringsConfig_queryStringBehavior - Determines whether any URL query strings in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

  • none – Query strings in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any query strings that are listed in an OriginRequestPolicy are included in origin requests.
  • whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • allExcept – All query strings in viewer requests that are not listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • all – All query strings in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

cachePolicyQueryStringsConfig_queryStrings :: Lens' CachePolicyQueryStringsConfig (Maybe QueryStringNames) Source #

Contains the specific query strings in viewer requests that either are or are not included in the cache key and automatically included in requests that CloudFront sends to the origin. The behavior depends on whether the QueryStringBehavior field in the CachePolicyQueryStringsConfig type is set to whitelist (the listed query strings are included) or allExcept (the listed query strings are not included, but all other query strings are).

cachePolicyQueryStringsConfig_queryStringBehavior :: Lens' CachePolicyQueryStringsConfig CachePolicyQueryStringBehavior Source #

Determines whether any URL query strings in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

  • none – Query strings in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any query strings that are listed in an OriginRequestPolicy are included in origin requests.
  • whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • allExcept – All query strings in viewer requests that are not listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.
  • all – All query strings in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

CachePolicySummary

data CachePolicySummary Source #

Contains a cache policy.

See: newCachePolicySummary smart constructor.

Constructors

CachePolicySummary' 

Fields

Instances

Instances details
Eq CachePolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicySummary

Read CachePolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicySummary

Show CachePolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicySummary

Generic CachePolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicySummary

Associated Types

type Rep CachePolicySummary :: Type -> Type #

NFData CachePolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicySummary

Methods

rnf :: CachePolicySummary -> () #

Hashable CachePolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicySummary

FromXML CachePolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicySummary

type Rep CachePolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachePolicySummary

type Rep CachePolicySummary = D1 ('MetaData "CachePolicySummary" "Amazonka.CloudFront.Types.CachePolicySummary" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CachePolicySummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicyType) :*: S1 ('MetaSel ('Just "cachePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicy)))

newCachePolicySummary Source #

Create a value of CachePolicySummary 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:type':CachePolicySummary', cachePolicySummary_type - The type of cache policy, either managed (created by Amazon Web Services) or custom (created in this account).

$sel:cachePolicy:CachePolicySummary', cachePolicySummary_cachePolicy - The cache policy.

cachePolicySummary_type :: Lens' CachePolicySummary CachePolicyType Source #

The type of cache policy, either managed (created by Amazon Web Services) or custom (created in this account).

CachedMethods

data CachedMethods Source #

A complex type that controls whether CloudFront caches the response to requests using the specified HTTP methods. There are two choices:

  • CloudFront caches responses to GET and HEAD requests.
  • CloudFront caches responses to GET, HEAD, and OPTIONS requests.

If you pick the second choice for your Amazon S3 Origin, you may need to forward Access-Control-Request-Method, Access-Control-Request-Headers, and Origin headers for the responses to be cached correctly.

See: newCachedMethods smart constructor.

Constructors

CachedMethods' 

Fields

  • quantity :: Int

    The number of HTTP methods for which you want CloudFront to cache responses. Valid values are 2 (for caching responses to GET and HEAD requests) and 3 (for caching responses to GET, HEAD, and OPTIONS requests).

  • items :: [Method]

    A complex type that contains the HTTP methods that you want CloudFront to cache responses to.

Instances

Instances details
Eq CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

Read CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

Show CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

Generic CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

Associated Types

type Rep CachedMethods :: Type -> Type #

NFData CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

Methods

rnf :: CachedMethods -> () #

Hashable CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

FromXML CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

ToXML CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

Methods

toXML :: CachedMethods -> XML #

type Rep CachedMethods Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CachedMethods

type Rep CachedMethods = D1 ('MetaData "CachedMethods" "Amazonka.CloudFront.Types.CachedMethods" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CachedMethods'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Method])))

newCachedMethods Source #

Create a value of CachedMethods 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:quantity:CachedMethods', cachedMethods_quantity - The number of HTTP methods for which you want CloudFront to cache responses. Valid values are 2 (for caching responses to GET and HEAD requests) and 3 (for caching responses to GET, HEAD, and OPTIONS requests).

$sel:items:CachedMethods', cachedMethods_items - A complex type that contains the HTTP methods that you want CloudFront to cache responses to.

cachedMethods_quantity :: Lens' CachedMethods Int Source #

The number of HTTP methods for which you want CloudFront to cache responses. Valid values are 2 (for caching responses to GET and HEAD requests) and 3 (for caching responses to GET, HEAD, and OPTIONS requests).

cachedMethods_items :: Lens' CachedMethods [Method] Source #

A complex type that contains the HTTP methods that you want CloudFront to cache responses to.

CloudFrontOriginAccessIdentity

data CloudFrontOriginAccessIdentity Source #

CloudFront origin access identity.

See: newCloudFrontOriginAccessIdentity smart constructor.

Constructors

CloudFrontOriginAccessIdentity' 

Fields

Instances

Instances details
Eq CloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity

Read CloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity

Show CloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity

Generic CloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity

Associated Types

type Rep CloudFrontOriginAccessIdentity :: Type -> Type #

NFData CloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity

Hashable CloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity

FromXML CloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity

type Rep CloudFrontOriginAccessIdentity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity

type Rep CloudFrontOriginAccessIdentity = D1 ('MetaData "CloudFrontOriginAccessIdentity" "Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentity" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CloudFrontOriginAccessIdentity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cloudFrontOriginAccessIdentityConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CloudFrontOriginAccessIdentityConfig)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "s3CanonicalUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCloudFrontOriginAccessIdentity Source #

Create a value of CloudFrontOriginAccessIdentity 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:cloudFrontOriginAccessIdentityConfig:CloudFrontOriginAccessIdentity', cloudFrontOriginAccessIdentity_cloudFrontOriginAccessIdentityConfig - The current configuration information for the identity.

$sel:id:CloudFrontOriginAccessIdentity', cloudFrontOriginAccessIdentity_id - The ID for the origin access identity, for example, E74FTE3AJFJ256A.

$sel:s3CanonicalUserId:CloudFrontOriginAccessIdentity', cloudFrontOriginAccessIdentity_s3CanonicalUserId - The Amazon S3 canonical user ID for the origin access identity, used when giving the origin access identity read permission to an object in Amazon S3.

cloudFrontOriginAccessIdentity_id :: Lens' CloudFrontOriginAccessIdentity Text Source #

The ID for the origin access identity, for example, E74FTE3AJFJ256A.

cloudFrontOriginAccessIdentity_s3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentity Text Source #

The Amazon S3 canonical user ID for the origin access identity, used when giving the origin access identity read permission to an object in Amazon S3.

CloudFrontOriginAccessIdentityConfig

data CloudFrontOriginAccessIdentityConfig Source #

Origin access identity configuration. Send a GET request to the /CloudFront API version/CloudFront/identity ID/config resource.

See: newCloudFrontOriginAccessIdentityConfig smart constructor.

Constructors

CloudFrontOriginAccessIdentityConfig' 

Fields

  • callerReference :: Text

    A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

    If the value of CallerReference is new (regardless of the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created.

    If the CallerReference is a value already sent in a previous identity request, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request.

    If the CallerReference is a value you already sent in a previous request to create an identity, but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.

  • comment :: Text

    A comment to describe the origin access identity. The comment cannot be longer than 128 characters.

Instances

Instances details
Eq CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

Read CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

Show CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

Generic CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

NFData CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

Hashable CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

FromXML CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

ToXML CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

type Rep CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

type Rep CloudFrontOriginAccessIdentityConfig = D1 ('MetaData "CloudFrontOriginAccessIdentityConfig" "Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CloudFrontOriginAccessIdentityConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCloudFrontOriginAccessIdentityConfig Source #

Create a value of CloudFrontOriginAccessIdentityConfig 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:callerReference:CloudFrontOriginAccessIdentityConfig', cloudFrontOriginAccessIdentityConfig_callerReference - A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

If the value of CallerReference is new (regardless of the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created.

If the CallerReference is a value already sent in a previous identity request, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request.

If the CallerReference is a value you already sent in a previous request to create an identity, but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.

$sel:comment:CloudFrontOriginAccessIdentityConfig', cloudFrontOriginAccessIdentityConfig_comment - A comment to describe the origin access identity. The comment cannot be longer than 128 characters.

cloudFrontOriginAccessIdentityConfig_callerReference :: Lens' CloudFrontOriginAccessIdentityConfig Text Source #

A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

If the value of CallerReference is new (regardless of the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created.

If the CallerReference is a value already sent in a previous identity request, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request.

If the CallerReference is a value you already sent in a previous request to create an identity, but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.

cloudFrontOriginAccessIdentityConfig_comment :: Lens' CloudFrontOriginAccessIdentityConfig Text Source #

A comment to describe the origin access identity. The comment cannot be longer than 128 characters.

CloudFrontOriginAccessIdentityList

data CloudFrontOriginAccessIdentityList Source #

Lists the origin access identities for CloudFront.Send a GET request to the /CloudFront API version/origin-access-identity/cloudfront resource. The response includes a CloudFrontOriginAccessIdentityList element with zero or more CloudFrontOriginAccessIdentitySummary child elements. By default, your entire list of origin access identities is returned in one single page. If the list is long, you can paginate it using the MaxItems and Marker parameters.

See: newCloudFrontOriginAccessIdentityList smart constructor.

Constructors

CloudFrontOriginAccessIdentityList' 

Fields

  • items :: Maybe [CloudFrontOriginAccessIdentitySummary]

    A complex type that contains one CloudFrontOriginAccessIdentitySummary element for each origin access identity that was created by the current account.

  • nextMarker :: Maybe Text

    If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your origin access identities where they left off.

  • marker :: Text

    Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last identity on that page).

  • maxItems :: Int

    The maximum number of origin access identities you want in the response body.

  • isTruncated :: Bool

    A flag that indicates whether more origin access identities remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more items in the list.

  • quantity :: Int

    The number of CloudFront origin access identities that were created by the current account.

Instances

Instances details
Eq CloudFrontOriginAccessIdentityList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList

Read CloudFrontOriginAccessIdentityList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList

Show CloudFrontOriginAccessIdentityList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList

Generic CloudFrontOriginAccessIdentityList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList

Associated Types

type Rep CloudFrontOriginAccessIdentityList :: Type -> Type #

NFData CloudFrontOriginAccessIdentityList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList

Hashable CloudFrontOriginAccessIdentityList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList

FromXML CloudFrontOriginAccessIdentityList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList

type Rep CloudFrontOriginAccessIdentityList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList

type Rep CloudFrontOriginAccessIdentityList = D1 ('MetaData "CloudFrontOriginAccessIdentityList" "Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityList" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CloudFrontOriginAccessIdentityList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CloudFrontOriginAccessIdentitySummary])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "isTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCloudFrontOriginAccessIdentityList Source #

Create a value of CloudFrontOriginAccessIdentityList 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:items:CloudFrontOriginAccessIdentityList', cloudFrontOriginAccessIdentityList_items - A complex type that contains one CloudFrontOriginAccessIdentitySummary element for each origin access identity that was created by the current account.

$sel:nextMarker:CloudFrontOriginAccessIdentityList', cloudFrontOriginAccessIdentityList_nextMarker - If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your origin access identities where they left off.

$sel:marker:CloudFrontOriginAccessIdentityList', cloudFrontOriginAccessIdentityList_marker - Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last identity on that page).

$sel:maxItems:CloudFrontOriginAccessIdentityList', cloudFrontOriginAccessIdentityList_maxItems - The maximum number of origin access identities you want in the response body.

$sel:isTruncated:CloudFrontOriginAccessIdentityList', cloudFrontOriginAccessIdentityList_isTruncated - A flag that indicates whether more origin access identities remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more items in the list.

$sel:quantity:CloudFrontOriginAccessIdentityList', cloudFrontOriginAccessIdentityList_quantity - The number of CloudFront origin access identities that were created by the current account.

cloudFrontOriginAccessIdentityList_items :: Lens' CloudFrontOriginAccessIdentityList (Maybe [CloudFrontOriginAccessIdentitySummary]) Source #

A complex type that contains one CloudFrontOriginAccessIdentitySummary element for each origin access identity that was created by the current account.

cloudFrontOriginAccessIdentityList_nextMarker :: Lens' CloudFrontOriginAccessIdentityList (Maybe Text) Source #

If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your origin access identities where they left off.

cloudFrontOriginAccessIdentityList_marker :: Lens' CloudFrontOriginAccessIdentityList Text Source #

Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last identity on that page).

cloudFrontOriginAccessIdentityList_maxItems :: Lens' CloudFrontOriginAccessIdentityList Int Source #

The maximum number of origin access identities you want in the response body.

cloudFrontOriginAccessIdentityList_isTruncated :: Lens' CloudFrontOriginAccessIdentityList Bool Source #

A flag that indicates whether more origin access identities remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more items in the list.

cloudFrontOriginAccessIdentityList_quantity :: Lens' CloudFrontOriginAccessIdentityList Int Source #

The number of CloudFront origin access identities that were created by the current account.

CloudFrontOriginAccessIdentitySummary

data CloudFrontOriginAccessIdentitySummary Source #

Summary of the information about a CloudFront origin access identity.

See: newCloudFrontOriginAccessIdentitySummary smart constructor.

Constructors

CloudFrontOriginAccessIdentitySummary' 

Fields

  • id :: Text

    The ID for the origin access identity. For example: E74FTE3AJFJ256A.

  • s3CanonicalUserId :: Text

    The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

  • comment :: Text

    The comment for this origin access identity, as originally specified when created.

Instances

Instances details
Eq CloudFrontOriginAccessIdentitySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary

Read CloudFrontOriginAccessIdentitySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary

Show CloudFrontOriginAccessIdentitySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary

Generic CloudFrontOriginAccessIdentitySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary

NFData CloudFrontOriginAccessIdentitySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary

Hashable CloudFrontOriginAccessIdentitySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary

FromXML CloudFrontOriginAccessIdentitySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary

type Rep CloudFrontOriginAccessIdentitySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary

type Rep CloudFrontOriginAccessIdentitySummary = D1 ('MetaData "CloudFrontOriginAccessIdentitySummary" "Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentitySummary" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CloudFrontOriginAccessIdentitySummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "s3CanonicalUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCloudFrontOriginAccessIdentitySummary Source #

Create a value of CloudFrontOriginAccessIdentitySummary 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:id:CloudFrontOriginAccessIdentitySummary', cloudFrontOriginAccessIdentitySummary_id - The ID for the origin access identity. For example: E74FTE3AJFJ256A.

$sel:s3CanonicalUserId:CloudFrontOriginAccessIdentitySummary', cloudFrontOriginAccessIdentitySummary_s3CanonicalUserId - The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

$sel:comment:CloudFrontOriginAccessIdentitySummary', cloudFrontOriginAccessIdentitySummary_comment - The comment for this origin access identity, as originally specified when created.

cloudFrontOriginAccessIdentitySummary_id :: Lens' CloudFrontOriginAccessIdentitySummary Text Source #

The ID for the origin access identity. For example: E74FTE3AJFJ256A.

cloudFrontOriginAccessIdentitySummary_s3CanonicalUserId :: Lens' CloudFrontOriginAccessIdentitySummary Text Source #

The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

cloudFrontOriginAccessIdentitySummary_comment :: Lens' CloudFrontOriginAccessIdentitySummary Text Source #

The comment for this origin access identity, as originally specified when created.

ConflictingAlias

data ConflictingAlias Source #

An alias (also called a CNAME) and the CloudFront distribution and Amazon Web Services account ID that it’s associated with. The distribution and account IDs are partially hidden, which allows you to identify the distributions and accounts that you own, but helps to protect the information of ones that you don’t own.

See: newConflictingAlias smart constructor.

Constructors

ConflictingAlias' 

Fields

  • alias :: Maybe Text

    An alias (also called a CNAME).

  • accountId :: Maybe Text

    The (partially hidden) ID of the Amazon Web Services account that owns the distribution that’s associated with the alias.

  • distributionId :: Maybe Text

    The (partially hidden) ID of the CloudFront distribution associated with the alias.

Instances

Instances details
Eq ConflictingAlias Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAlias

Read ConflictingAlias Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAlias

Show ConflictingAlias Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAlias

Generic ConflictingAlias Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAlias

Associated Types

type Rep ConflictingAlias :: Type -> Type #

NFData ConflictingAlias Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAlias

Methods

rnf :: ConflictingAlias -> () #

Hashable ConflictingAlias Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAlias

FromXML ConflictingAlias Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAlias

type Rep ConflictingAlias Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAlias

type Rep ConflictingAlias = D1 ('MetaData "ConflictingAlias" "Amazonka.CloudFront.Types.ConflictingAlias" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ConflictingAlias'" 'PrefixI 'True) (S1 ('MetaSel ('Just "alias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "distributionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newConflictingAlias :: ConflictingAlias Source #

Create a value of ConflictingAlias 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:alias:ConflictingAlias', conflictingAlias_alias - An alias (also called a CNAME).

$sel:accountId:ConflictingAlias', conflictingAlias_accountId - The (partially hidden) ID of the Amazon Web Services account that owns the distribution that’s associated with the alias.

$sel:distributionId:ConflictingAlias', conflictingAlias_distributionId - The (partially hidden) ID of the CloudFront distribution associated with the alias.

conflictingAlias_alias :: Lens' ConflictingAlias (Maybe Text) Source #

An alias (also called a CNAME).

conflictingAlias_accountId :: Lens' ConflictingAlias (Maybe Text) Source #

The (partially hidden) ID of the Amazon Web Services account that owns the distribution that’s associated with the alias.

conflictingAlias_distributionId :: Lens' ConflictingAlias (Maybe Text) Source #

The (partially hidden) ID of the CloudFront distribution associated with the alias.

ConflictingAliasesList

data ConflictingAliasesList Source #

A list of aliases (also called CNAMEs) and the CloudFront distributions and Amazon Web Services accounts that they are associated with. In the list, the distribution and account IDs are partially hidden, which allows you to identify the distributions and accounts that you own, but helps to protect the information of ones that you don’t own.

See: newConflictingAliasesList smart constructor.

Constructors

ConflictingAliasesList' 

Fields

  • quantity :: Maybe Int

    The number of conflicting aliases returned in the response.

  • items :: Maybe [ConflictingAlias]

    Contains the conflicting aliases in the list.

  • maxItems :: Maybe Int

    The maximum number of conflicting aliases requested.

  • nextMarker :: Maybe Text

    If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing conflicting aliases where you left off.

Instances

Instances details
Eq ConflictingAliasesList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAliasesList

Read ConflictingAliasesList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAliasesList

Show ConflictingAliasesList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAliasesList

Generic ConflictingAliasesList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAliasesList

Associated Types

type Rep ConflictingAliasesList :: Type -> Type #

NFData ConflictingAliasesList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAliasesList

Methods

rnf :: ConflictingAliasesList -> () #

Hashable ConflictingAliasesList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAliasesList

FromXML ConflictingAliasesList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAliasesList

type Rep ConflictingAliasesList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ConflictingAliasesList

type Rep ConflictingAliasesList = D1 ('MetaData "ConflictingAliasesList" "Amazonka.CloudFront.Types.ConflictingAliasesList" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ConflictingAliasesList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ConflictingAlias]))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newConflictingAliasesList :: ConflictingAliasesList Source #

Create a value of ConflictingAliasesList 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:quantity:ConflictingAliasesList', conflictingAliasesList_quantity - The number of conflicting aliases returned in the response.

$sel:items:ConflictingAliasesList', conflictingAliasesList_items - Contains the conflicting aliases in the list.

$sel:maxItems:ConflictingAliasesList', conflictingAliasesList_maxItems - The maximum number of conflicting aliases requested.

$sel:nextMarker:ConflictingAliasesList', conflictingAliasesList_nextMarker - If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing conflicting aliases where you left off.

conflictingAliasesList_quantity :: Lens' ConflictingAliasesList (Maybe Int) Source #

The number of conflicting aliases returned in the response.

conflictingAliasesList_items :: Lens' ConflictingAliasesList (Maybe [ConflictingAlias]) Source #

Contains the conflicting aliases in the list.

conflictingAliasesList_maxItems :: Lens' ConflictingAliasesList (Maybe Int) Source #

The maximum number of conflicting aliases requested.

conflictingAliasesList_nextMarker :: Lens' ConflictingAliasesList (Maybe Text) Source #

If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing conflicting aliases where you left off.

ContentTypeProfile

data ContentTypeProfile Source #

A field-level encryption content type profile.

See: newContentTypeProfile smart constructor.

Constructors

ContentTypeProfile' 

Fields

  • profileId :: Maybe Text

    The profile ID for a field-level encryption content type-profile mapping.

  • format :: Format

    The format for a field-level encryption content type-profile mapping.

  • contentType :: Text

    The content type for a field-level encryption content type-profile mapping.

Instances

Instances details
Eq ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

Read ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

Show ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

Generic ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

Associated Types

type Rep ContentTypeProfile :: Type -> Type #

NFData ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

Methods

rnf :: ContentTypeProfile -> () #

Hashable ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

FromXML ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

ToXML ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

type Rep ContentTypeProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfile

type Rep ContentTypeProfile = D1 ('MetaData "ContentTypeProfile" "Amazonka.CloudFront.Types.ContentTypeProfile" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ContentTypeProfile'" 'PrefixI 'True) (S1 ('MetaSel ('Just "profileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Format) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newContentTypeProfile Source #

Create a value of ContentTypeProfile 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:profileId:ContentTypeProfile', contentTypeProfile_profileId - The profile ID for a field-level encryption content type-profile mapping.

$sel:format:ContentTypeProfile', contentTypeProfile_format - The format for a field-level encryption content type-profile mapping.

$sel:contentType:ContentTypeProfile', contentTypeProfile_contentType - The content type for a field-level encryption content type-profile mapping.

contentTypeProfile_profileId :: Lens' ContentTypeProfile (Maybe Text) Source #

The profile ID for a field-level encryption content type-profile mapping.

contentTypeProfile_format :: Lens' ContentTypeProfile Format Source #

The format for a field-level encryption content type-profile mapping.

contentTypeProfile_contentType :: Lens' ContentTypeProfile Text Source #

The content type for a field-level encryption content type-profile mapping.

ContentTypeProfileConfig

data ContentTypeProfileConfig Source #

The configuration for a field-level encryption content type-profile mapping.

See: newContentTypeProfileConfig smart constructor.

Constructors

ContentTypeProfileConfig' 

Fields

  • contentTypeProfiles :: Maybe ContentTypeProfiles

    The configuration for a field-level encryption content type-profile.

  • forwardWhenContentTypeIsUnknown :: Bool

    The setting in a field-level encryption content type-profile mapping that specifies what to do when an unknown content type is provided for the profile. If true, content is forwarded without being encrypted when the content type is unknown. If false (the default), an error is returned when the content type is unknown.

Instances

Instances details
Eq ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

Read ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

Show ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

Generic ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

Associated Types

type Rep ContentTypeProfileConfig :: Type -> Type #

NFData ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

Hashable ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

FromXML ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

ToXML ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

type Rep ContentTypeProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfileConfig

type Rep ContentTypeProfileConfig = D1 ('MetaData "ContentTypeProfileConfig" "Amazonka.CloudFront.Types.ContentTypeProfileConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ContentTypeProfileConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contentTypeProfiles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentTypeProfiles)) :*: S1 ('MetaSel ('Just "forwardWhenContentTypeIsUnknown") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newContentTypeProfileConfig Source #

Create a value of ContentTypeProfileConfig 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:contentTypeProfiles:ContentTypeProfileConfig', contentTypeProfileConfig_contentTypeProfiles - The configuration for a field-level encryption content type-profile.

$sel:forwardWhenContentTypeIsUnknown:ContentTypeProfileConfig', contentTypeProfileConfig_forwardWhenContentTypeIsUnknown - The setting in a field-level encryption content type-profile mapping that specifies what to do when an unknown content type is provided for the profile. If true, content is forwarded without being encrypted when the content type is unknown. If false (the default), an error is returned when the content type is unknown.

contentTypeProfileConfig_contentTypeProfiles :: Lens' ContentTypeProfileConfig (Maybe ContentTypeProfiles) Source #

The configuration for a field-level encryption content type-profile.

contentTypeProfileConfig_forwardWhenContentTypeIsUnknown :: Lens' ContentTypeProfileConfig Bool Source #

The setting in a field-level encryption content type-profile mapping that specifies what to do when an unknown content type is provided for the profile. If true, content is forwarded without being encrypted when the content type is unknown. If false (the default), an error is returned when the content type is unknown.

ContentTypeProfiles

data ContentTypeProfiles Source #

Field-level encryption content type-profile.

See: newContentTypeProfiles smart constructor.

Constructors

ContentTypeProfiles' 

Fields

Instances

Instances details
Eq ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

Read ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

Show ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

Generic ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

Associated Types

type Rep ContentTypeProfiles :: Type -> Type #

NFData ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

Methods

rnf :: ContentTypeProfiles -> () #

Hashable ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

FromXML ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

ToXML ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

type Rep ContentTypeProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ContentTypeProfiles

type Rep ContentTypeProfiles = D1 ('MetaData "ContentTypeProfiles" "Amazonka.CloudFront.Types.ContentTypeProfiles" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ContentTypeProfiles'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ContentTypeProfile])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newContentTypeProfiles Source #

Create a value of ContentTypeProfiles 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:items:ContentTypeProfiles', contentTypeProfiles_items - Items in a field-level encryption content type-profile mapping.

$sel:quantity:ContentTypeProfiles', contentTypeProfiles_quantity - The number of field-level encryption content type-profile mappings.

contentTypeProfiles_items :: Lens' ContentTypeProfiles (Maybe [ContentTypeProfile]) Source #

Items in a field-level encryption content type-profile mapping.

contentTypeProfiles_quantity :: Lens' ContentTypeProfiles Int Source #

The number of field-level encryption content type-profile mappings.

CookieNames

data CookieNames Source #

Contains a list of cookie names.

See: newCookieNames smart constructor.

Constructors

CookieNames' 

Fields

Instances

Instances details
Eq CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

Read CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

Show CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

Generic CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

Associated Types

type Rep CookieNames :: Type -> Type #

NFData CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

Methods

rnf :: CookieNames -> () #

Hashable CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

FromXML CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

ToXML CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

Methods

toXML :: CookieNames -> XML #

type Rep CookieNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookieNames

type Rep CookieNames = D1 ('MetaData "CookieNames" "Amazonka.CloudFront.Types.CookieNames" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CookieNames'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCookieNames Source #

Create a value of CookieNames 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:items:CookieNames', cookieNames_items - A list of cookie names.

$sel:quantity:CookieNames', cookieNames_quantity - The number of cookie names in the Items list.

cookieNames_items :: Lens' CookieNames (Maybe [Text]) Source #

A list of cookie names.

cookieNames_quantity :: Lens' CookieNames Int Source #

The number of cookie names in the Items list.

CookiePreference

data CookiePreference Source #

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include cookies in the cache key, use CookiesConfig in a cache policy. See CachePolicy.

If you want to send cookies to the origin but not include them in the cache key, use CookiesConfig in an origin request policy. See OriginRequestPolicy.

A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see Caching Content Based on Cookies in the Amazon CloudFront Developer Guide.

See: newCookiePreference smart constructor.

Constructors

CookiePreference' 

Fields

  • whitelistedNames :: Maybe CookieNames

    This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

    If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

    If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

    Required if you specify whitelist for the value of Forward. A complex type that specifies how many different cookies you want CloudFront to forward to the origin for this cache behavior and, if you want to forward selected cookies, the names of those cookies.

    If you specify all or none for the value of Forward, omit WhitelistedNames. If you change the value of Forward from whitelist to all or none and you don't delete the WhitelistedNames element and its child elements, CloudFront deletes them automatically.

    For the current limit on the number of cookie names that you can whitelist for each cache behavior, see CloudFront Limits in the Amazon Web Services General Reference.

  • forward :: ItemSelection

    This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

    If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

    If you want to send cookies to the origin but not include them in the cache key, use origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

    Specifies which cookies to forward to the origin for this cache behavior: all, none, or the list of cookies specified in the WhitelistedNames complex type.

    Amazon S3 doesn't process cookies. When the cache behavior is forwarding requests to an Amazon S3 origin, specify none for the Forward element.

Instances

Instances details
Eq CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

Read CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

Show CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

Generic CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

Associated Types

type Rep CookiePreference :: Type -> Type #

NFData CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

Methods

rnf :: CookiePreference -> () #

Hashable CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

FromXML CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

ToXML CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

type Rep CookiePreference Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CookiePreference

type Rep CookiePreference = D1 ('MetaData "CookiePreference" "Amazonka.CloudFront.Types.CookiePreference" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CookiePreference'" 'PrefixI 'True) (S1 ('MetaSel ('Just "whitelistedNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CookieNames)) :*: S1 ('MetaSel ('Just "forward") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ItemSelection)))

newCookiePreference Source #

Create a value of CookiePreference 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:whitelistedNames:CookiePreference', cookiePreference_whitelistedNames - This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

Required if you specify whitelist for the value of Forward. A complex type that specifies how many different cookies you want CloudFront to forward to the origin for this cache behavior and, if you want to forward selected cookies, the names of those cookies.

If you specify all or none for the value of Forward, omit WhitelistedNames. If you change the value of Forward from whitelist to all or none and you don't delete the WhitelistedNames element and its child elements, CloudFront deletes them automatically.

For the current limit on the number of cookie names that you can whitelist for each cache behavior, see CloudFront Limits in the Amazon Web Services General Reference.

$sel:forward:CookiePreference', cookiePreference_forward - This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send cookies to the origin but not include them in the cache key, use origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

Specifies which cookies to forward to the origin for this cache behavior: all, none, or the list of cookies specified in the WhitelistedNames complex type.

Amazon S3 doesn't process cookies. When the cache behavior is forwarding requests to an Amazon S3 origin, specify none for the Forward element.

cookiePreference_whitelistedNames :: Lens' CookiePreference (Maybe CookieNames) Source #

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

Required if you specify whitelist for the value of Forward. A complex type that specifies how many different cookies you want CloudFront to forward to the origin for this cache behavior and, if you want to forward selected cookies, the names of those cookies.

If you specify all or none for the value of Forward, omit WhitelistedNames. If you change the value of Forward from whitelist to all or none and you don't delete the WhitelistedNames element and its child elements, CloudFront deletes them automatically.

For the current limit on the number of cookie names that you can whitelist for each cache behavior, see CloudFront Limits in the Amazon Web Services General Reference.

cookiePreference_forward :: Lens' CookiePreference ItemSelection Source #

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send cookies to the origin but not include them in the cache key, use origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

Specifies which cookies to forward to the origin for this cache behavior: all, none, or the list of cookies specified in the WhitelistedNames complex type.

Amazon S3 doesn't process cookies. When the cache behavior is forwarding requests to an Amazon S3 origin, specify none for the Forward element.

CustomErrorResponse

data CustomErrorResponse Source #

A complex type that controls:

  • Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
  • How long CloudFront caches HTTP status codes in the 4xx and 5xx range.

For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

See: newCustomErrorResponse smart constructor.

Constructors

CustomErrorResponse' 

Fields

  • responsePagePath :: Maybe Text

    The path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode, for example, /4xx-errors/403-forbidden.html. If you want to store your objects and your custom error pages in different locations, your distribution must include a cache behavior for which the following is true:

    • The value of PathPattern matches the path to your custom error messages. For example, suppose you saved custom error pages for 4xx errors in an Amazon S3 bucket in a directory named /4xx-errors. Your distribution must include a cache behavior for which the path pattern routes requests for your custom error pages to that location, for example, /4xx-errors/*.
    • The value of TargetOriginId specifies the value of the ID element for the origin that contains your custom error pages.

    If you specify a value for ResponsePagePath, you must also specify a value for ResponseCode.

    We recommend that you store custom error pages in an Amazon S3 bucket. If you store custom error pages on an HTTP server and the server starts to return 5xx errors, CloudFront can't get the files that you want to return to viewers because the origin server is unavailable.

  • responseCode :: Maybe Text

    The HTTP status code that you want CloudFront to return to the viewer along with the custom error page. There are a variety of reasons that you might want CloudFront to return a status code different from the status code that your origin returned to CloudFront, for example:

    • Some Internet devices (some firewalls and corporate proxies, for example) intercept HTTP 4xx and 5xx and prevent the response from being returned to the viewer. If you substitute 200, the response typically won't be intercepted.
    • If you don't care about distinguishing among different client errors or server errors, you can specify 400 or 500 as the ResponseCode for all 4xx or 5xx errors.
    • You might want to return a 200 status code (OK) and static website so your customers don't know that your website is down.

    If you specify a value for ResponseCode, you must also specify a value for ResponsePagePath.

  • errorCachingMinTTL :: Maybe Integer

    The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status code specified in ErrorCode. When this time period has elapsed, CloudFront queries your origin to see whether the problem that caused the error has been resolved and the requested object is now available.

    For more information, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

  • errorCode :: Int

    The HTTP status code for which you want to specify a custom error page and/or a caching duration.

Instances

Instances details
Eq CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

Read CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

Show CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

Generic CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

Associated Types

type Rep CustomErrorResponse :: Type -> Type #

NFData CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

Methods

rnf :: CustomErrorResponse -> () #

Hashable CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

FromXML CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

ToXML CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

type Rep CustomErrorResponse Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponse

type Rep CustomErrorResponse = D1 ('MetaData "CustomErrorResponse" "Amazonka.CloudFront.Types.CustomErrorResponse" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CustomErrorResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "responsePagePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "responseCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "errorCachingMinTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCustomErrorResponse Source #

Create a value of CustomErrorResponse 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:responsePagePath:CustomErrorResponse', customErrorResponse_responsePagePath - The path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode, for example, /4xx-errors/403-forbidden.html. If you want to store your objects and your custom error pages in different locations, your distribution must include a cache behavior for which the following is true:

  • The value of PathPattern matches the path to your custom error messages. For example, suppose you saved custom error pages for 4xx errors in an Amazon S3 bucket in a directory named /4xx-errors. Your distribution must include a cache behavior for which the path pattern routes requests for your custom error pages to that location, for example, /4xx-errors/*.
  • The value of TargetOriginId specifies the value of the ID element for the origin that contains your custom error pages.

If you specify a value for ResponsePagePath, you must also specify a value for ResponseCode.

We recommend that you store custom error pages in an Amazon S3 bucket. If you store custom error pages on an HTTP server and the server starts to return 5xx errors, CloudFront can't get the files that you want to return to viewers because the origin server is unavailable.

$sel:responseCode:CustomErrorResponse', customErrorResponse_responseCode - The HTTP status code that you want CloudFront to return to the viewer along with the custom error page. There are a variety of reasons that you might want CloudFront to return a status code different from the status code that your origin returned to CloudFront, for example:

  • Some Internet devices (some firewalls and corporate proxies, for example) intercept HTTP 4xx and 5xx and prevent the response from being returned to the viewer. If you substitute 200, the response typically won't be intercepted.
  • If you don't care about distinguishing among different client errors or server errors, you can specify 400 or 500 as the ResponseCode for all 4xx or 5xx errors.
  • You might want to return a 200 status code (OK) and static website so your customers don't know that your website is down.

If you specify a value for ResponseCode, you must also specify a value for ResponsePagePath.

$sel:errorCachingMinTTL:CustomErrorResponse', customErrorResponse_errorCachingMinTTL - The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status code specified in ErrorCode. When this time period has elapsed, CloudFront queries your origin to see whether the problem that caused the error has been resolved and the requested object is now available.

For more information, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

$sel:errorCode:CustomErrorResponse', customErrorResponse_errorCode - The HTTP status code for which you want to specify a custom error page and/or a caching duration.

customErrorResponse_responsePagePath :: Lens' CustomErrorResponse (Maybe Text) Source #

The path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ErrorCode, for example, /4xx-errors/403-forbidden.html. If you want to store your objects and your custom error pages in different locations, your distribution must include a cache behavior for which the following is true:

  • The value of PathPattern matches the path to your custom error messages. For example, suppose you saved custom error pages for 4xx errors in an Amazon S3 bucket in a directory named /4xx-errors. Your distribution must include a cache behavior for which the path pattern routes requests for your custom error pages to that location, for example, /4xx-errors/*.
  • The value of TargetOriginId specifies the value of the ID element for the origin that contains your custom error pages.

If you specify a value for ResponsePagePath, you must also specify a value for ResponseCode.

We recommend that you store custom error pages in an Amazon S3 bucket. If you store custom error pages on an HTTP server and the server starts to return 5xx errors, CloudFront can't get the files that you want to return to viewers because the origin server is unavailable.

customErrorResponse_responseCode :: Lens' CustomErrorResponse (Maybe Text) Source #

The HTTP status code that you want CloudFront to return to the viewer along with the custom error page. There are a variety of reasons that you might want CloudFront to return a status code different from the status code that your origin returned to CloudFront, for example:

  • Some Internet devices (some firewalls and corporate proxies, for example) intercept HTTP 4xx and 5xx and prevent the response from being returned to the viewer. If you substitute 200, the response typically won't be intercepted.
  • If you don't care about distinguishing among different client errors or server errors, you can specify 400 or 500 as the ResponseCode for all 4xx or 5xx errors.
  • You might want to return a 200 status code (OK) and static website so your customers don't know that your website is down.

If you specify a value for ResponseCode, you must also specify a value for ResponsePagePath.

customErrorResponse_errorCachingMinTTL :: Lens' CustomErrorResponse (Maybe Integer) Source #

The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status code specified in ErrorCode. When this time period has elapsed, CloudFront queries your origin to see whether the problem that caused the error has been resolved and the requested object is now available.

For more information, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

customErrorResponse_errorCode :: Lens' CustomErrorResponse Int Source #

The HTTP status code for which you want to specify a custom error page and/or a caching duration.

CustomErrorResponses

data CustomErrorResponses Source #

A complex type that controls:

  • Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
  • How long CloudFront caches HTTP status codes in the 4xx and 5xx range.

For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

See: newCustomErrorResponses smart constructor.

Constructors

CustomErrorResponses' 

Fields

  • items :: Maybe [CustomErrorResponse]

    A complex type that contains a CustomErrorResponse element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.

  • quantity :: Int

    The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If Quantity is 0, you can omit Items.

Instances

Instances details
Eq CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

Read CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

Show CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

Generic CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

Associated Types

type Rep CustomErrorResponses :: Type -> Type #

NFData CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

Methods

rnf :: CustomErrorResponses -> () #

Hashable CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

FromXML CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

ToXML CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

type Rep CustomErrorResponses Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomErrorResponses

type Rep CustomErrorResponses = D1 ('MetaData "CustomErrorResponses" "Amazonka.CloudFront.Types.CustomErrorResponses" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CustomErrorResponses'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CustomErrorResponse])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCustomErrorResponses Source #

Create a value of CustomErrorResponses 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:items:CustomErrorResponses', customErrorResponses_items - A complex type that contains a CustomErrorResponse element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.

$sel:quantity:CustomErrorResponses', customErrorResponses_quantity - The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If Quantity is 0, you can omit Items.

customErrorResponses_items :: Lens' CustomErrorResponses (Maybe [CustomErrorResponse]) Source #

A complex type that contains a CustomErrorResponse element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.

customErrorResponses_quantity :: Lens' CustomErrorResponses Int Source #

The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If Quantity is 0, you can omit Items.

CustomHeaders

data CustomHeaders Source #

A complex type that contains the list of Custom Headers for each origin.

See: newCustomHeaders smart constructor.

Constructors

CustomHeaders' 

Fields

  • items :: Maybe [OriginCustomHeader]

    Optional: A list that contains one OriginCustomHeader element for each custom header that you want CloudFront to forward to the origin. If Quantity is 0, omit Items.

  • quantity :: Int

    The number of custom headers, if any, for this distribution.

Instances

Instances details
Eq CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

Read CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

Show CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

Generic CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

Associated Types

type Rep CustomHeaders :: Type -> Type #

NFData CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

Methods

rnf :: CustomHeaders -> () #

Hashable CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

FromXML CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

ToXML CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

Methods

toXML :: CustomHeaders -> XML #

type Rep CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

type Rep CustomHeaders = D1 ('MetaData "CustomHeaders" "Amazonka.CloudFront.Types.CustomHeaders" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CustomHeaders'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OriginCustomHeader])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCustomHeaders Source #

Create a value of CustomHeaders 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:items:CustomHeaders', customHeaders_items - Optional: A list that contains one OriginCustomHeader element for each custom header that you want CloudFront to forward to the origin. If Quantity is 0, omit Items.

$sel:quantity:CustomHeaders', customHeaders_quantity - The number of custom headers, if any, for this distribution.

customHeaders_items :: Lens' CustomHeaders (Maybe [OriginCustomHeader]) Source #

Optional: A list that contains one OriginCustomHeader element for each custom header that you want CloudFront to forward to the origin. If Quantity is 0, omit Items.

customHeaders_quantity :: Lens' CustomHeaders Int Source #

The number of custom headers, if any, for this distribution.

CustomOriginConfig

data CustomOriginConfig Source #

A custom origin. A custom origin is any origin that is not an Amazon S3 bucket, with one exception. An Amazon S3 bucket that is configured with static website hosting is a custom origin.

See: newCustomOriginConfig smart constructor.

Constructors

CustomOriginConfig' 

Fields

  • originKeepaliveTimeout :: Maybe Int

    Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don’t specify otherwise) is 5 seconds.

    For more information, see Origin Keep-alive Timeout in the Amazon CloudFront Developer Guide.

  • originReadTimeout :: Maybe Int

    Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don’t specify otherwise) is 30 seconds.

    For more information, see Origin Response Timeout in the Amazon CloudFront Developer Guide.

  • originSslProtocols :: Maybe OriginSslProtocols

    Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS. Valid values include SSLv3, TLSv1, TLSv1.1, and TLSv1.2.

    For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide.

  • hTTPPort :: Int

    The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on.

  • hTTPSPort :: Int

    The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on.

  • originProtocolPolicy :: OriginProtocolPolicy

    Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid values are:

    • http-only – CloudFront always uses HTTP to connect to the origin.
    • match-viewer – CloudFront connects to the origin using the same protocol that the viewer used to connect to CloudFront.
    • https-only – CloudFront always uses HTTPS to connect to the origin.

Instances

Instances details
Eq CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

Read CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

Show CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

Generic CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

Associated Types

type Rep CustomOriginConfig :: Type -> Type #

NFData CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

Methods

rnf :: CustomOriginConfig -> () #

Hashable CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

FromXML CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

ToXML CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

type Rep CustomOriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomOriginConfig

type Rep CustomOriginConfig = D1 ('MetaData "CustomOriginConfig" "Amazonka.CloudFront.Types.CustomOriginConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CustomOriginConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "originKeepaliveTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "originReadTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "originSslProtocols") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginSslProtocols)))) :*: (S1 ('MetaSel ('Just "hTTPPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "hTTPSPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "originProtocolPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginProtocolPolicy)))))

newCustomOriginConfig Source #

Create a value of CustomOriginConfig 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:originKeepaliveTimeout:CustomOriginConfig', customOriginConfig_originKeepaliveTimeout - Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don’t specify otherwise) is 5 seconds.

For more information, see Origin Keep-alive Timeout in the Amazon CloudFront Developer Guide.

$sel:originReadTimeout:CustomOriginConfig', customOriginConfig_originReadTimeout - Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don’t specify otherwise) is 30 seconds.

For more information, see Origin Response Timeout in the Amazon CloudFront Developer Guide.

$sel:originSslProtocols:CustomOriginConfig', customOriginConfig_originSslProtocols - Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS. Valid values include SSLv3, TLSv1, TLSv1.1, and TLSv1.2.

For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide.

$sel:hTTPPort:CustomOriginConfig', customOriginConfig_hTTPPort - The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on.

$sel:hTTPSPort:CustomOriginConfig', customOriginConfig_hTTPSPort - The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on.

$sel:originProtocolPolicy:CustomOriginConfig', customOriginConfig_originProtocolPolicy - Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid values are:

  • http-only – CloudFront always uses HTTP to connect to the origin.
  • match-viewer – CloudFront connects to the origin using the same protocol that the viewer used to connect to CloudFront.
  • https-only – CloudFront always uses HTTPS to connect to the origin.

customOriginConfig_originKeepaliveTimeout :: Lens' CustomOriginConfig (Maybe Int) Source #

Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don’t specify otherwise) is 5 seconds.

For more information, see Origin Keep-alive Timeout in the Amazon CloudFront Developer Guide.

customOriginConfig_originReadTimeout :: Lens' CustomOriginConfig (Maybe Int) Source #

Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don’t specify otherwise) is 30 seconds.

For more information, see Origin Response Timeout in the Amazon CloudFront Developer Guide.

customOriginConfig_originSslProtocols :: Lens' CustomOriginConfig (Maybe OriginSslProtocols) Source #

Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS. Valid values include SSLv3, TLSv1, TLSv1.1, and TLSv1.2.

For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide.

customOriginConfig_hTTPPort :: Lens' CustomOriginConfig Int Source #

The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on.

customOriginConfig_hTTPSPort :: Lens' CustomOriginConfig Int Source #

The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on.

customOriginConfig_originProtocolPolicy :: Lens' CustomOriginConfig OriginProtocolPolicy Source #

Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid values are:

  • http-only – CloudFront always uses HTTP to connect to the origin.
  • match-viewer – CloudFront connects to the origin using the same protocol that the viewer used to connect to CloudFront.
  • https-only – CloudFront always uses HTTPS to connect to the origin.

DefaultCacheBehavior

data DefaultCacheBehavior Source #

A complex type that describes the default cache behavior if you don’t specify a CacheBehavior element or if request URLs don’t match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

See: newDefaultCacheBehavior smart constructor.

Constructors

DefaultCacheBehavior' 

Fields

  • allowedMethods :: Maybe AllowedMethods
     
  • lambdaFunctionAssociations :: Maybe LambdaFunctionAssociations

    A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.

  • maxTTL :: Maybe Integer

    This field is deprecated. We recommend that you use the MaxTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

    The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

  • minTTL :: Maybe Integer

    This field is deprecated. We recommend that you use the MinTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

    The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

    You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers, if you specify 1 for Quantity and * for Name).

  • compress :: Maybe Bool

    Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide.

  • smoothStreaming :: Maybe Bool

    Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true; if not, specify false. If you specify true for SmoothStreaming, you can still distribute other content using this cache behavior if the content matches the value of PathPattern.

  • trustedKeyGroups :: Maybe TrustedKeyGroups

    A list of key groups that CloudFront can use to validate signed URLs or signed cookies.

    When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

  • realtimeLogConfigArn :: Maybe Text

    The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see Real-time logs in the Amazon CloudFront Developer Guide.

  • defaultTTL :: Maybe Integer

    This field is deprecated. We recommend that you use the DefaultTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

    The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

  • forwardedValues :: Maybe ForwardedValues

    This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see Working with policies in the Amazon CloudFront Developer Guide.

    If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

    If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

    A DefaultCacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

    A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.

  • trustedSigners :: Maybe TrustedSigners

    We recommend using TrustedKeyGroups instead of TrustedSigners.

    A list of account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.

    When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in a trusted signer’s account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

  • functionAssociations :: Maybe FunctionAssociations

    A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

  • originRequestPolicyId :: Maybe Text

    The unique identifier of the origin request policy that is attached to the default cache behavior. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

  • fieldLevelEncryptionId :: Maybe Text

    The value of ID for the field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data for the default cache behavior.

  • cachePolicyId :: Maybe Text

    The unique identifier of the cache policy that is attached to the default cache behavior. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

    A DefaultCacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

  • targetOriginId :: Text

    The value of ID for the origin that you want CloudFront to route requests to when they use the default cache behavior.

  • viewerProtocolPolicy :: ViewerProtocolPolicy

    The protocol that viewers can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. You can specify the following options:

    • allow-all: Viewers can use HTTP or HTTPS.
    • redirect-to-https: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL.
    • https-only: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden).

    For more information about requiring the HTTPS protocol, see Requiring HTTPS Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.

    The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects’ cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see Managing Cache Expiration in the Amazon CloudFront Developer Guide.

Instances

Instances details
Eq DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

Read DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

Show DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

Generic DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

Associated Types

type Rep DefaultCacheBehavior :: Type -> Type #

NFData DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

Methods

rnf :: DefaultCacheBehavior -> () #

Hashable DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

FromXML DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

ToXML DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

type Rep DefaultCacheBehavior Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DefaultCacheBehavior

type Rep DefaultCacheBehavior = D1 ('MetaData "DefaultCacheBehavior" "Amazonka.CloudFront.Types.DefaultCacheBehavior" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "DefaultCacheBehavior'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "allowedMethods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AllowedMethods)) :*: S1 ('MetaSel ('Just "lambdaFunctionAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LambdaFunctionAssociations))) :*: (S1 ('MetaSel ('Just "maxTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "minTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "compress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "smoothStreaming") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "trustedKeyGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrustedKeyGroups)) :*: S1 ('MetaSel ('Just "realtimeLogConfigArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "defaultTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "forwardedValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ForwardedValues))) :*: (S1 ('MetaSel ('Just "trustedSigners") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrustedSigners)) :*: S1 ('MetaSel ('Just "functionAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionAssociations)))) :*: ((S1 ('MetaSel ('Just "originRequestPolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fieldLevelEncryptionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "cachePolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "targetOriginId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "viewerProtocolPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ViewerProtocolPolicy)))))))

newDefaultCacheBehavior Source #

Create a value of DefaultCacheBehavior 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:allowedMethods:DefaultCacheBehavior', defaultCacheBehavior_allowedMethods - Undocumented member.

$sel:lambdaFunctionAssociations:DefaultCacheBehavior', defaultCacheBehavior_lambdaFunctionAssociations - A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.

$sel:maxTTL:DefaultCacheBehavior', defaultCacheBehavior_maxTTL - This field is deprecated. We recommend that you use the MaxTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

$sel:minTTL:DefaultCacheBehavior', defaultCacheBehavior_minTTL - This field is deprecated. We recommend that you use the MinTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers, if you specify 1 for Quantity and * for Name).

$sel:compress:DefaultCacheBehavior', defaultCacheBehavior_compress - Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide.

$sel:smoothStreaming:DefaultCacheBehavior', defaultCacheBehavior_smoothStreaming - Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true; if not, specify false. If you specify true for SmoothStreaming, you can still distribute other content using this cache behavior if the content matches the value of PathPattern.

$sel:trustedKeyGroups:DefaultCacheBehavior', defaultCacheBehavior_trustedKeyGroups - A list of key groups that CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

$sel:realtimeLogConfigArn:DefaultCacheBehavior', defaultCacheBehavior_realtimeLogConfigArn - The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see Real-time logs in the Amazon CloudFront Developer Guide.

$sel:defaultTTL:DefaultCacheBehavior', defaultCacheBehavior_defaultTTL - This field is deprecated. We recommend that you use the DefaultTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

$sel:forwardedValues:DefaultCacheBehavior', defaultCacheBehavior_forwardedValues - This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see Working with policies in the Amazon CloudFront Developer Guide.

If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

A DefaultCacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.

$sel:trustedSigners:DefaultCacheBehavior', defaultCacheBehavior_trustedSigners - We recommend using TrustedKeyGroups instead of TrustedSigners.

A list of account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in a trusted signer’s account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

$sel:functionAssociations:DefaultCacheBehavior', defaultCacheBehavior_functionAssociations - A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

$sel:originRequestPolicyId:DefaultCacheBehavior', defaultCacheBehavior_originRequestPolicyId - The unique identifier of the origin request policy that is attached to the default cache behavior. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

$sel:fieldLevelEncryptionId:DefaultCacheBehavior', defaultCacheBehavior_fieldLevelEncryptionId - The value of ID for the field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data for the default cache behavior.

$sel:cachePolicyId:DefaultCacheBehavior', defaultCacheBehavior_cachePolicyId - The unique identifier of the cache policy that is attached to the default cache behavior. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

A DefaultCacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

$sel:targetOriginId:DefaultCacheBehavior', defaultCacheBehavior_targetOriginId - The value of ID for the origin that you want CloudFront to route requests to when they use the default cache behavior.

$sel:viewerProtocolPolicy:DefaultCacheBehavior', defaultCacheBehavior_viewerProtocolPolicy - The protocol that viewers can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. You can specify the following options:

  • allow-all: Viewers can use HTTP or HTTPS.
  • redirect-to-https: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL.
  • https-only: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden).

For more information about requiring the HTTPS protocol, see Requiring HTTPS Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.

The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects’ cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see Managing Cache Expiration in the Amazon CloudFront Developer Guide.

defaultCacheBehavior_lambdaFunctionAssociations :: Lens' DefaultCacheBehavior (Maybe LambdaFunctionAssociations) Source #

A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.

defaultCacheBehavior_maxTTL :: Lens' DefaultCacheBehavior (Maybe Integer) Source #

This field is deprecated. We recommend that you use the MaxTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

defaultCacheBehavior_minTTL :: Lens' DefaultCacheBehavior (Maybe Integer) Source #

This field is deprecated. We recommend that you use the MinTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers, if you specify 1 for Quantity and * for Name).

defaultCacheBehavior_compress :: Lens' DefaultCacheBehavior (Maybe Bool) Source #

Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see Serving Compressed Files in the Amazon CloudFront Developer Guide.

defaultCacheBehavior_smoothStreaming :: Lens' DefaultCacheBehavior (Maybe Bool) Source #

Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify true; if not, specify false. If you specify true for SmoothStreaming, you can still distribute other content using this cache behavior if the content matches the value of PathPattern.

defaultCacheBehavior_trustedKeyGroups :: Lens' DefaultCacheBehavior (Maybe TrustedKeyGroups) Source #

A list of key groups that CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

defaultCacheBehavior_realtimeLogConfigArn :: Lens' DefaultCacheBehavior (Maybe Text) Source #

The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see Real-time logs in the Amazon CloudFront Developer Guide.

defaultCacheBehavior_defaultTTL :: Lens' DefaultCacheBehavior (Maybe Integer) Source #

This field is deprecated. We recommend that you use the DefaultTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

defaultCacheBehavior_forwardedValues :: Lens' DefaultCacheBehavior (Maybe ForwardedValues) Source #

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see Working with policies in the Amazon CloudFront Developer Guide.

If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

A DefaultCacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.

defaultCacheBehavior_trustedSigners :: Lens' DefaultCacheBehavior (Maybe TrustedSigners) Source #

We recommend using TrustedKeyGroups instead of TrustedSigners.

A list of account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.

When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in a trusted signer’s account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

defaultCacheBehavior_functionAssociations :: Lens' DefaultCacheBehavior (Maybe FunctionAssociations) Source #

A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

defaultCacheBehavior_originRequestPolicyId :: Lens' DefaultCacheBehavior (Maybe Text) Source #

The unique identifier of the origin request policy that is attached to the default cache behavior. For more information, see Creating origin request policies or Using the managed origin request policies in the Amazon CloudFront Developer Guide.

defaultCacheBehavior_fieldLevelEncryptionId :: Lens' DefaultCacheBehavior (Maybe Text) Source #

The value of ID for the field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data for the default cache behavior.

defaultCacheBehavior_cachePolicyId :: Lens' DefaultCacheBehavior (Maybe Text) Source #

The unique identifier of the cache policy that is attached to the default cache behavior. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

A DefaultCacheBehavior must include either a CachePolicyId or ForwardedValues. We recommend that you use a CachePolicyId.

defaultCacheBehavior_targetOriginId :: Lens' DefaultCacheBehavior Text Source #

The value of ID for the origin that you want CloudFront to route requests to when they use the default cache behavior.

defaultCacheBehavior_viewerProtocolPolicy :: Lens' DefaultCacheBehavior ViewerProtocolPolicy Source #

The protocol that viewers can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. You can specify the following options:

  • allow-all: Viewers can use HTTP or HTTPS.
  • redirect-to-https: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL.
  • https-only: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden).

For more information about requiring the HTTPS protocol, see Requiring HTTPS Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.

The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects’ cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see Managing Cache Expiration in the Amazon CloudFront Developer Guide.

Distribution

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

    CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this distribution to serve private content using key groups. 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.

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

  • activeTrustedSigners :: Maybe ActiveTrustedSigners

    We recommend using TrustedKeyGroups instead of TrustedSigners.

    CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this distribution to serve private content using trusted signers. This field contains a list of 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.

  • id :: Text

    The identifier for the distribution. For example: EDFDVBD632BHDS5.

  • arn :: Text

    The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your account ID.

  • status :: Text

    This response element indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated to all CloudFront edge locations.

  • lastModifiedTime :: ISO8601

    The date and time the distribution was last modified.

  • inProgressInvalidationBatches :: Int

    The number of invalidation batches currently in progress.

  • domainName :: Text

    The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net.

  • distributionConfig :: DistributionConfig

    The current configuration information for the distribution. Send a GET request to the /CloudFront API version/distribution ID/config resource.

Instances

Instances details
Eq Distribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Distribution

Show 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 #

NFData Distribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Distribution

Methods

rnf :: Distribution -> () #

Hashable Distribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Distribution

FromXML 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 - CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this distribution to serve private content using key groups. 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: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:activeTrustedSigners:Distribution', distribution_activeTrustedSigners - We recommend using TrustedKeyGroups instead of TrustedSigners.

CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this distribution to serve private content using trusted signers. This field contains a list of 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:id:Distribution', distribution_id - The identifier for the distribution. For example: EDFDVBD632BHDS5.

$sel:arn:Distribution', distribution_arn - The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your account ID.

$sel:status:Distribution', distribution_status - This response element indicates the current status of the distribution. 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 the distribution was last modified.

$sel:inProgressInvalidationBatches:Distribution', distribution_inProgressInvalidationBatches - The number of invalidation batches currently in progress.

$sel:domainName:Distribution', distribution_domainName - The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net.

$sel:distributionConfig:Distribution', distribution_distributionConfig - The current configuration information for the distribution. Send a GET request to the /CloudFront API version/distribution ID/config resource.

distribution_activeTrustedKeyGroups :: Lens' Distribution (Maybe ActiveTrustedKeyGroups) Source #

CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this distribution to serve private content using key groups. 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_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_activeTrustedSigners :: Lens' Distribution (Maybe ActiveTrustedSigners) Source #

We recommend using TrustedKeyGroups instead of TrustedSigners.

CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this distribution to serve private content using trusted signers. This field contains a list of 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_id :: Lens' Distribution Text Source #

The identifier for the distribution. For example: EDFDVBD632BHDS5.

distribution_arn :: Lens' Distribution Text Source #

The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your account ID.

distribution_status :: Lens' Distribution Text Source #

This response element indicates the current status of the distribution. 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 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 domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net.

distribution_distributionConfig :: Lens' Distribution DistributionConfig Source #

The current configuration information for the distribution. Send a GET request to the /CloudFront API version/distribution ID/config resource.

DistributionConfig

data DistributionConfig Source #

A distribution configuration.

See: newDistributionConfig smart constructor.

Constructors

DistributionConfig' 

Fields

  • httpVersion :: Maybe HttpVersion

    (Optional) Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 automatically use an earlier HTTP version.

    For viewers and CloudFront to use HTTP/2, viewers must support TLS 1.2 or later, and must support Server Name Identification (SNI).

    In general, configuring CloudFront to communicate with viewers using HTTP/2 reduces latency. You can improve performance by optimizing for HTTP/2. For more information, do an Internet search for "http/2 optimization."

  • originGroups :: Maybe OriginGroups

    A complex type that contains information about origin groups for this distribution.

  • aliases :: Maybe Aliases

    A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

  • defaultRootObject :: Maybe Text

    The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html). Specifying a default root object avoids exposing the contents of your distribution.

    Specify only the object name, for example, index.html. Don't add a / before the object name.

    If you don't want to specify a default root object when you create a distribution, include an empty DefaultRootObject element.

    To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element.

    To replace the default root object, update the distribution configuration and specify the new object.

    For more information about the default root object, see Creating a Default Root Object in the Amazon CloudFront Developer Guide.

  • priceClass :: Maybe PriceClass

    The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specify PriceClass_All, CloudFront responds to requests for your objects from all CloudFront edge locations.

    If you specify a price class other than PriceClass_All, CloudFront serves your objects from the CloudFront edge location that has the lowest latency among the edge locations in your price class. Viewers who are in or near regions that are excluded from your specified price class may encounter slower performance.

    For more information about price classes, see Choosing the Price Class for a CloudFront Distribution in the Amazon CloudFront Developer Guide. For information about CloudFront pricing, including how price classes (such as Price Class 100) map to CloudFront regions, see Amazon CloudFront Pricing.

  • customErrorResponses :: Maybe CustomErrorResponses

    A complex type that controls the following:

    • Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
    • How long CloudFront caches HTTP status codes in the 4xx and 5xx range.

    For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

  • webACLId :: Maybe Text

    A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a.

    WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about WAF, see the WAF Developer Guide.

  • viewerCertificate :: Maybe ViewerCertificate

    A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.

  • restrictions :: Maybe Restrictions

    A complex type that identifies ways in which you want to restrict distribution of your content.

  • logging :: Maybe LoggingConfig

    A complex type that controls whether access logs are written for the distribution.

    For more information about logging, see Access Logs in the Amazon CloudFront Developer Guide.

  • cacheBehaviors :: Maybe CacheBehaviors

    A complex type that contains zero or more CacheBehavior elements.

  • isIPV6Enabled :: Maybe Bool

    If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specify true. If you specify false, CloudFront responds to IPv6 DNS requests with the DNS response code NOERROR and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution.

    In general, you should enable IPv6 if you have users on IPv6 networks who want to access your content. However, if you're using signed URLs or signed cookies to restrict access to your content, and if you're using a custom policy that includes the IpAddress parameter to restrict the IP addresses that can access your content, don't enable IPv6. If you want to restrict access to some content by IP address and not restrict access to other content (or restrict access but not by IP address), you can create two distributions. For more information, see Creating a Signed URL Using a Custom Policy in the Amazon CloudFront Developer Guide.

    If you're using an Route 53 Amazon Web Services Integration alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true:

    • You enable IPv6 for the distribution
    • You're using alternate domain names in the URLs for your objects

    For more information, see Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name in the Route 53 Amazon Web Services Integration Developer Guide.

    If you created a CNAME resource record set, either with Route 53 Amazon Web Services Integration or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.

  • callerReference :: Text

    A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

    If the value of CallerReference is new (regardless of the content of the DistributionConfig object), CloudFront creates a new distribution.

    If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

  • origins :: Origins

    A complex type that contains information about origins for this distribution.

  • defaultCacheBehavior :: DefaultCacheBehavior

    A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

  • comment :: Sensitive Text

    An optional comment to describe the distribution. The comment cannot be longer than 128 characters.

  • enabled :: Bool

    From this field, you can enable or disable the selected distribution.

Instances

Instances details
Eq DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

Show DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

Generic DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

Associated Types

type Rep DistributionConfig :: Type -> Type #

NFData DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

Methods

rnf :: DistributionConfig -> () #

Hashable DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

FromXML DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

ToXML DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

type Rep DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

type Rep DistributionConfig = D1 ('MetaData "DistributionConfig" "Amazonka.CloudFront.Types.DistributionConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "DistributionConfig'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "httpVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HttpVersion)) :*: S1 ('MetaSel ('Just "originGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginGroups))) :*: (S1 ('MetaSel ('Just "aliases") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Aliases)) :*: S1 ('MetaSel ('Just "defaultRootObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "priceClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PriceClass)) :*: S1 ('MetaSel ('Just "customErrorResponses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomErrorResponses))) :*: (S1 ('MetaSel ('Just "webACLId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "viewerCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ViewerCertificate))))) :*: (((S1 ('MetaSel ('Just "restrictions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Restrictions)) :*: S1 ('MetaSel ('Just "logging") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoggingConfig))) :*: (S1 ('MetaSel ('Just "cacheBehaviors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheBehaviors)) :*: S1 ('MetaSel ('Just "isIPV6Enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "origins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Origins)) :*: (S1 ('MetaSel ('Just "defaultCacheBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DefaultCacheBehavior) :*: (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))))

newDistributionConfig Source #

Create a value of DistributionConfig 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:httpVersion:DistributionConfig', distributionConfig_httpVersion - (Optional) Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 automatically use an earlier HTTP version.

For viewers and CloudFront to use HTTP/2, viewers must support TLS 1.2 or later, and must support Server Name Identification (SNI).

In general, configuring CloudFront to communicate with viewers using HTTP/2 reduces latency. You can improve performance by optimizing for HTTP/2. For more information, do an Internet search for "http/2 optimization."

$sel:originGroups:DistributionConfig', distributionConfig_originGroups - A complex type that contains information about origin groups for this distribution.

$sel:aliases:DistributionConfig', distributionConfig_aliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

$sel:defaultRootObject:DistributionConfig', distributionConfig_defaultRootObject - The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html). Specifying a default root object avoids exposing the contents of your distribution.

Specify only the object name, for example, index.html. Don't add a / before the object name.

If you don't want to specify a default root object when you create a distribution, include an empty DefaultRootObject element.

To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element.

To replace the default root object, update the distribution configuration and specify the new object.

For more information about the default root object, see Creating a Default Root Object in the Amazon CloudFront Developer Guide.

$sel:priceClass:DistributionConfig', distributionConfig_priceClass - The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specify PriceClass_All, CloudFront responds to requests for your objects from all CloudFront edge locations.

If you specify a price class other than PriceClass_All, CloudFront serves your objects from the CloudFront edge location that has the lowest latency among the edge locations in your price class. Viewers who are in or near regions that are excluded from your specified price class may encounter slower performance.

For more information about price classes, see Choosing the Price Class for a CloudFront Distribution in the Amazon CloudFront Developer Guide. For information about CloudFront pricing, including how price classes (such as Price Class 100) map to CloudFront regions, see Amazon CloudFront Pricing.

$sel:customErrorResponses:DistributionConfig', distributionConfig_customErrorResponses - A complex type that controls the following:

  • Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
  • How long CloudFront caches HTTP status codes in the 4xx and 5xx range.

For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

$sel:webACLId:DistributionConfig', distributionConfig_webACLId - A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a.

WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about WAF, see the WAF Developer Guide.

$sel:viewerCertificate:DistributionConfig', distributionConfig_viewerCertificate - A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.

$sel:restrictions:DistributionConfig', distributionConfig_restrictions - A complex type that identifies ways in which you want to restrict distribution of your content.

$sel:logging:DistributionConfig', distributionConfig_logging - A complex type that controls whether access logs are written for the distribution.

For more information about logging, see Access Logs in the Amazon CloudFront Developer Guide.

$sel:cacheBehaviors:DistributionConfig', distributionConfig_cacheBehaviors - A complex type that contains zero or more CacheBehavior elements.

$sel:isIPV6Enabled:DistributionConfig', distributionConfig_isIPV6Enabled - If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specify true. If you specify false, CloudFront responds to IPv6 DNS requests with the DNS response code NOERROR and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution.

In general, you should enable IPv6 if you have users on IPv6 networks who want to access your content. However, if you're using signed URLs or signed cookies to restrict access to your content, and if you're using a custom policy that includes the IpAddress parameter to restrict the IP addresses that can access your content, don't enable IPv6. If you want to restrict access to some content by IP address and not restrict access to other content (or restrict access but not by IP address), you can create two distributions. For more information, see Creating a Signed URL Using a Custom Policy in the Amazon CloudFront Developer Guide.

If you're using an Route 53 Amazon Web Services Integration alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true:

  • You enable IPv6 for the distribution
  • You're using alternate domain names in the URLs for your objects

For more information, see Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name in the Route 53 Amazon Web Services Integration Developer Guide.

If you created a CNAME resource record set, either with Route 53 Amazon Web Services Integration or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.

$sel:callerReference:DistributionConfig', distributionConfig_callerReference - A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

If the value of CallerReference is new (regardless of the content of the DistributionConfig object), CloudFront creates a new distribution.

If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

$sel:origins:DistributionConfig', distributionConfig_origins - A complex type that contains information about origins for this distribution.

$sel:defaultCacheBehavior:DistributionConfig', distributionConfig_defaultCacheBehavior - A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

$sel:comment:DistributionConfig', distributionConfig_comment - An optional comment to describe the distribution. The comment cannot be longer than 128 characters.

$sel:enabled:DistributionConfig', distributionConfig_enabled - From this field, you can enable or disable the selected distribution.

distributionConfig_httpVersion :: Lens' DistributionConfig (Maybe HttpVersion) Source #

(Optional) Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 automatically use an earlier HTTP version.

For viewers and CloudFront to use HTTP/2, viewers must support TLS 1.2 or later, and must support Server Name Identification (SNI).

In general, configuring CloudFront to communicate with viewers using HTTP/2 reduces latency. You can improve performance by optimizing for HTTP/2. For more information, do an Internet search for "http/2 optimization."

distributionConfig_originGroups :: Lens' DistributionConfig (Maybe OriginGroups) Source #

A complex type that contains information about origin groups for this distribution.

distributionConfig_aliases :: Lens' DistributionConfig (Maybe Aliases) Source #

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

distributionConfig_defaultRootObject :: Lens' DistributionConfig (Maybe Text) Source #

The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html). Specifying a default root object avoids exposing the contents of your distribution.

Specify only the object name, for example, index.html. Don't add a / before the object name.

If you don't want to specify a default root object when you create a distribution, include an empty DefaultRootObject element.

To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element.

To replace the default root object, update the distribution configuration and specify the new object.

For more information about the default root object, see Creating a Default Root Object in the Amazon CloudFront Developer Guide.

distributionConfig_priceClass :: Lens' DistributionConfig (Maybe PriceClass) Source #

The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specify PriceClass_All, CloudFront responds to requests for your objects from all CloudFront edge locations.

If you specify a price class other than PriceClass_All, CloudFront serves your objects from the CloudFront edge location that has the lowest latency among the edge locations in your price class. Viewers who are in or near regions that are excluded from your specified price class may encounter slower performance.

For more information about price classes, see Choosing the Price Class for a CloudFront Distribution in the Amazon CloudFront Developer Guide. For information about CloudFront pricing, including how price classes (such as Price Class 100) map to CloudFront regions, see Amazon CloudFront Pricing.

distributionConfig_customErrorResponses :: Lens' DistributionConfig (Maybe CustomErrorResponses) Source #

A complex type that controls the following:

  • Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
  • How long CloudFront caches HTTP status codes in the 4xx and 5xx range.

For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

distributionConfig_webACLId :: Lens' DistributionConfig (Maybe Text) Source #

A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a.

WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about WAF, see the WAF Developer Guide.

distributionConfig_viewerCertificate :: Lens' DistributionConfig (Maybe ViewerCertificate) Source #

A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.

distributionConfig_restrictions :: Lens' DistributionConfig (Maybe Restrictions) Source #

A complex type that identifies ways in which you want to restrict distribution of your content.

distributionConfig_logging :: Lens' DistributionConfig (Maybe LoggingConfig) Source #

A complex type that controls whether access logs are written for the distribution.

For more information about logging, see Access Logs in the Amazon CloudFront Developer Guide.

distributionConfig_cacheBehaviors :: Lens' DistributionConfig (Maybe CacheBehaviors) Source #

A complex type that contains zero or more CacheBehavior elements.

distributionConfig_isIPV6Enabled :: Lens' DistributionConfig (Maybe Bool) Source #

If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specify true. If you specify false, CloudFront responds to IPv6 DNS requests with the DNS response code NOERROR and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution.

In general, you should enable IPv6 if you have users on IPv6 networks who want to access your content. However, if you're using signed URLs or signed cookies to restrict access to your content, and if you're using a custom policy that includes the IpAddress parameter to restrict the IP addresses that can access your content, don't enable IPv6. If you want to restrict access to some content by IP address and not restrict access to other content (or restrict access but not by IP address), you can create two distributions. For more information, see Creating a Signed URL Using a Custom Policy in the Amazon CloudFront Developer Guide.

If you're using an Route 53 Amazon Web Services Integration alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true:

  • You enable IPv6 for the distribution
  • You're using alternate domain names in the URLs for your objects

For more information, see Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name in the Route 53 Amazon Web Services Integration Developer Guide.

If you created a CNAME resource record set, either with Route 53 Amazon Web Services Integration or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.

distributionConfig_callerReference :: Lens' DistributionConfig Text Source #

A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

If the value of CallerReference is new (regardless of the content of the DistributionConfig object), CloudFront creates a new distribution.

If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

distributionConfig_origins :: Lens' DistributionConfig Origins Source #

A complex type that contains information about origins for this distribution.

distributionConfig_defaultCacheBehavior :: Lens' DistributionConfig DefaultCacheBehavior Source #

A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

distributionConfig_comment :: Lens' DistributionConfig Text Source #

An optional comment to describe the distribution. The comment cannot be longer than 128 characters.

distributionConfig_enabled :: Lens' DistributionConfig Bool Source #

From this field, you can enable or disable the selected distribution.

DistributionConfigWithTags

data DistributionConfigWithTags Source #

A distribution Configuration and a list of tags to be associated with the distribution.

See: newDistributionConfigWithTags smart constructor.

Constructors

DistributionConfigWithTags' 

Fields

Instances

Instances details
Eq DistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfigWithTags

Show DistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfigWithTags

Generic DistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfigWithTags

Associated Types

type Rep DistributionConfigWithTags :: Type -> Type #

NFData DistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfigWithTags

Hashable DistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfigWithTags

ToXML DistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfigWithTags

type Rep DistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfigWithTags

type Rep DistributionConfigWithTags = D1 ('MetaData "DistributionConfigWithTags" "Amazonka.CloudFront.Types.DistributionConfigWithTags" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "DistributionConfigWithTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "distributionConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DistributionConfig) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Tags)))

newDistributionConfigWithTags Source #

Create a value of DistributionConfigWithTags 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:distributionConfig:DistributionConfigWithTags', distributionConfigWithTags_distributionConfig - A distribution configuration.

$sel:tags:DistributionConfigWithTags', distributionConfigWithTags_tags - A complex type that contains zero or more Tag elements.

distributionConfigWithTags_tags :: Lens' DistributionConfigWithTags Tags Source #

A complex type that contains zero or more Tag elements.

DistributionIdList

data DistributionIdList Source #

A list of distribution IDs.

See: newDistributionIdList smart constructor.

Constructors

DistributionIdList' 

Fields

  • items :: Maybe [Text]

    Contains the distribution IDs in the list.

  • nextMarker :: Maybe Text

    Contains the value that you should use in the Marker field of a subsequent request to continue listing distribution IDs where you left off.

  • marker :: Text

    The value provided in the Marker request field.

  • maxItems :: Int

    The maximum number of distribution IDs requested.

  • isTruncated :: Bool

    A flag that indicates whether more distribution IDs remain to be listed. If your results were truncated, you can make a subsequent request using the Marker request field to retrieve more distribution IDs in the list.

  • quantity :: Int

    The total number of distribution IDs returned in the response.

Instances

Instances details
Eq DistributionIdList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionIdList

Read DistributionIdList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionIdList

Show DistributionIdList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionIdList

Generic DistributionIdList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionIdList

Associated Types

type Rep DistributionIdList :: Type -> Type #

NFData DistributionIdList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionIdList

Methods

rnf :: DistributionIdList -> () #

Hashable DistributionIdList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionIdList

FromXML DistributionIdList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionIdList

type Rep DistributionIdList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionIdList

type Rep DistributionIdList = D1 ('MetaData "DistributionIdList" "Amazonka.CloudFront.Types.DistributionIdList" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "DistributionIdList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "isTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDistributionIdList Source #

Create a value of DistributionIdList 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:items:DistributionIdList', distributionIdList_items - Contains the distribution IDs in the list.

$sel:nextMarker:DistributionIdList', distributionIdList_nextMarker - Contains the value that you should use in the Marker field of a subsequent request to continue listing distribution IDs where you left off.

$sel:marker:DistributionIdList', distributionIdList_marker - The value provided in the Marker request field.

$sel:maxItems:DistributionIdList', distributionIdList_maxItems - The maximum number of distribution IDs requested.

$sel:isTruncated:DistributionIdList', distributionIdList_isTruncated - A flag that indicates whether more distribution IDs remain to be listed. If your results were truncated, you can make a subsequent request using the Marker request field to retrieve more distribution IDs in the list.

$sel:quantity:DistributionIdList', distributionIdList_quantity - The total number of distribution IDs returned in the response.

distributionIdList_items :: Lens' DistributionIdList (Maybe [Text]) Source #

Contains the distribution IDs in the list.

distributionIdList_nextMarker :: Lens' DistributionIdList (Maybe Text) Source #

Contains the value that you should use in the Marker field of a subsequent request to continue listing distribution IDs where you left off.

distributionIdList_marker :: Lens' DistributionIdList Text Source #

The value provided in the Marker request field.

distributionIdList_maxItems :: Lens' DistributionIdList Int Source #

The maximum number of distribution IDs requested.

distributionIdList_isTruncated :: Lens' DistributionIdList Bool Source #

A flag that indicates whether more distribution IDs remain to be listed. If your results were truncated, you can make a subsequent request using the Marker request field to retrieve more distribution IDs in the list.

distributionIdList_quantity :: Lens' DistributionIdList Int Source #

The total number of distribution IDs returned in the response.

DistributionList

data DistributionList Source #

A distribution list.

See: newDistributionList smart constructor.

Constructors

DistributionList' 

Fields

  • items :: Maybe [DistributionSummary]

    A complex type that contains one DistributionSummary element for each distribution that was created by the current account.

  • nextMarker :: Maybe Text

    If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.

  • marker :: Text

    The value you provided for the Marker request parameter.

  • maxItems :: Int

    The value you provided for the MaxItems request parameter.

  • isTruncated :: Bool

    A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

  • quantity :: Int

    The number of distributions that were created by the current account.

Instances

Instances details
Eq DistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionList

Read DistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionList

Show DistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionList

Generic DistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionList

Associated Types

type Rep DistributionList :: Type -> Type #

NFData DistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionList

Methods

rnf :: DistributionList -> () #

Hashable DistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionList

FromXML DistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionList

type Rep DistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionList

type Rep DistributionList = D1 ('MetaData "DistributionList" "Amazonka.CloudFront.Types.DistributionList" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "DistributionList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DistributionSummary])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "isTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDistributionList Source #

Create a value of DistributionList 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:items:DistributionList', distributionList_items - A complex type that contains one DistributionSummary element for each distribution that was created by the current account.

$sel:nextMarker:DistributionList', distributionList_nextMarker - If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.

$sel:marker:DistributionList', distributionList_marker - The value you provided for the Marker request parameter.

$sel:maxItems:DistributionList', distributionList_maxItems - The value you provided for the MaxItems request parameter.

$sel:isTruncated:DistributionList', distributionList_isTruncated - A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

$sel:quantity:DistributionList', distributionList_quantity - The number of distributions that were created by the current account.

distributionList_items :: Lens' DistributionList (Maybe [DistributionSummary]) Source #

A complex type that contains one DistributionSummary element for each distribution that was created by the current account.

distributionList_nextMarker :: Lens' DistributionList (Maybe Text) Source #

If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.

distributionList_marker :: Lens' DistributionList Text Source #

The value you provided for the Marker request parameter.

distributionList_maxItems :: Lens' DistributionList Int Source #

The value you provided for the MaxItems request parameter.

distributionList_isTruncated :: Lens' DistributionList Bool Source #

A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

distributionList_quantity :: Lens' DistributionList Int Source #

The number of distributions that were created by the current account.

DistributionSummary

data DistributionSummary Source #

A summary of the information about a CloudFront distribution.

See: newDistributionSummary smart constructor.

Constructors

DistributionSummary' 

Fields

  • originGroups :: Maybe OriginGroups

    A complex type that contains information about origin groups for this distribution.

  • 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 identifier for the distribution. For example: EDFDVBD632BHDS5.

  • arn :: Text

    The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your account ID.

  • status :: Text

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

  • lastModifiedTime :: ISO8601

    The date and time the distribution was last modified.

  • domainName :: Text

    The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net.

  • aliases :: Aliases

    A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

  • origins :: Origins

    A complex type that contains information about origins for this distribution.

  • defaultCacheBehavior :: DefaultCacheBehavior

    A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

  • cacheBehaviors :: CacheBehaviors

    A complex type that contains zero or more CacheBehavior elements.

  • customErrorResponses :: CustomErrorResponses

    A complex type that contains zero or more CustomErrorResponses elements.

  • comment :: Text

    The comment originally specified when this distribution was created.

  • priceClass :: PriceClass

    A complex type that contains information about price class for this streaming distribution.

  • enabled :: Bool

    Whether the distribution is enabled to accept user requests for content.

  • viewerCertificate :: ViewerCertificate

    A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.

  • restrictions :: Restrictions

    A complex type that identifies ways in which you want to restrict distribution of your content.

  • webACLId :: Text

    The Web ACL Id (if any) associated with the distribution.

  • httpVersion :: HttpVersion

    Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 will automatically use an earlier version.

  • isIPV6Enabled :: Bool

    Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.

Instances

Instances details
Eq DistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionSummary

Read DistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionSummary

Show DistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionSummary

Generic DistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionSummary

Associated Types

type Rep DistributionSummary :: Type -> Type #

NFData DistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionSummary

Methods

rnf :: DistributionSummary -> () #

Hashable DistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionSummary

FromXML DistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionSummary

type Rep DistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionSummary

type Rep DistributionSummary = D1 ('MetaData "DistributionSummary" "Amazonka.CloudFront.Types.DistributionSummary" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "DistributionSummary'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "originGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginGroups)) :*: S1 ('MetaSel ('Just "aliasICPRecordals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AliasICPRecordal]))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "aliases") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Aliases) :*: (S1 ('MetaSel ('Just "origins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Origins) :*: S1 ('MetaSel ('Just "defaultCacheBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DefaultCacheBehavior))))) :*: (((S1 ('MetaSel ('Just "cacheBehaviors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CacheBehaviors) :*: S1 ('MetaSel ('Just "customErrorResponses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CustomErrorResponses)) :*: (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "priceClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PriceClass) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "viewerCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ViewerCertificate) :*: S1 ('MetaSel ('Just "restrictions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Restrictions)) :*: (S1 ('MetaSel ('Just "webACLId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "httpVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HttpVersion) :*: S1 ('MetaSel ('Just "isIPV6Enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))))

newDistributionSummary Source #

Create a value of DistributionSummary 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:originGroups:DistributionSummary', distributionSummary_originGroups - A complex type that contains information about origin groups for this distribution.

$sel:aliasICPRecordals:DistributionSummary', distributionSummary_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:DistributionSummary', distributionSummary_id - The identifier for the distribution. For example: EDFDVBD632BHDS5.

$sel:arn:DistributionSummary', distributionSummary_arn - The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your account ID.

$sel:status:DistributionSummary', distributionSummary_status - The current status of the distribution. When the status is Deployed, the distribution's information is propagated to all CloudFront edge locations.

$sel:lastModifiedTime:DistributionSummary', distributionSummary_lastModifiedTime - The date and time the distribution was last modified.

$sel:domainName:DistributionSummary', distributionSummary_domainName - The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net.

$sel:aliases:DistributionSummary', distributionSummary_aliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

$sel:origins:DistributionSummary', distributionSummary_origins - A complex type that contains information about origins for this distribution.

$sel:defaultCacheBehavior:DistributionSummary', distributionSummary_defaultCacheBehavior - A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

$sel:cacheBehaviors:DistributionSummary', distributionSummary_cacheBehaviors - A complex type that contains zero or more CacheBehavior elements.

$sel:customErrorResponses:DistributionSummary', distributionSummary_customErrorResponses - A complex type that contains zero or more CustomErrorResponses elements.

$sel:comment:DistributionSummary', distributionSummary_comment - The comment originally specified when this distribution was created.

$sel:priceClass:DistributionSummary', distributionSummary_priceClass - A complex type that contains information about price class for this streaming distribution.

$sel:enabled:DistributionSummary', distributionSummary_enabled - Whether the distribution is enabled to accept user requests for content.

$sel:viewerCertificate:DistributionSummary', distributionSummary_viewerCertificate - A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.

$sel:restrictions:DistributionSummary', distributionSummary_restrictions - A complex type that identifies ways in which you want to restrict distribution of your content.

$sel:webACLId:DistributionSummary', distributionSummary_webACLId - The Web ACL Id (if any) associated with the distribution.

$sel:httpVersion:DistributionSummary', distributionSummary_httpVersion - Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 will automatically use an earlier version.

$sel:isIPV6Enabled:DistributionSummary', distributionSummary_isIPV6Enabled - Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.

distributionSummary_originGroups :: Lens' DistributionSummary (Maybe OriginGroups) Source #

A complex type that contains information about origin groups for this distribution.

distributionSummary_aliasICPRecordals :: Lens' DistributionSummary (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.

distributionSummary_id :: Lens' DistributionSummary Text Source #

The identifier for the distribution. For example: EDFDVBD632BHDS5.

distributionSummary_arn :: Lens' DistributionSummary Text Source #

The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your account ID.

distributionSummary_status :: Lens' DistributionSummary Text Source #

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

distributionSummary_lastModifiedTime :: Lens' DistributionSummary UTCTime Source #

The date and time the distribution was last modified.

distributionSummary_domainName :: Lens' DistributionSummary Text Source #

The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net.

distributionSummary_aliases :: Lens' DistributionSummary Aliases Source #

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

distributionSummary_origins :: Lens' DistributionSummary Origins Source #

A complex type that contains information about origins for this distribution.

distributionSummary_defaultCacheBehavior :: Lens' DistributionSummary DefaultCacheBehavior Source #

A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

distributionSummary_cacheBehaviors :: Lens' DistributionSummary CacheBehaviors Source #

A complex type that contains zero or more CacheBehavior elements.

distributionSummary_customErrorResponses :: Lens' DistributionSummary CustomErrorResponses Source #

A complex type that contains zero or more CustomErrorResponses elements.

distributionSummary_comment :: Lens' DistributionSummary Text Source #

The comment originally specified when this distribution was created.

distributionSummary_priceClass :: Lens' DistributionSummary PriceClass Source #

A complex type that contains information about price class for this streaming distribution.

distributionSummary_enabled :: Lens' DistributionSummary Bool Source #

Whether the distribution is enabled to accept user requests for content.

distributionSummary_viewerCertificate :: Lens' DistributionSummary ViewerCertificate Source #

A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.

distributionSummary_restrictions :: Lens' DistributionSummary Restrictions Source #

A complex type that identifies ways in which you want to restrict distribution of your content.

distributionSummary_webACLId :: Lens' DistributionSummary Text Source #

The Web ACL Id (if any) associated with the distribution.

distributionSummary_httpVersion :: Lens' DistributionSummary HttpVersion Source #

Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 will automatically use an earlier version.

distributionSummary_isIPV6Enabled :: Lens' DistributionSummary Bool Source #

Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.

EncryptionEntities

data EncryptionEntities Source #

Complex data type for field-level encryption profiles that includes all of the encryption entities.

See: newEncryptionEntities smart constructor.

Constructors

EncryptionEntities' 

Fields

  • items :: Maybe [EncryptionEntity]

    An array of field patterns in a field-level encryption content type-profile mapping.

  • quantity :: Int

    Number of field pattern items in a field-level encryption content type-profile mapping.

Instances

Instances details
Eq EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

Read EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

Show EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

Generic EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

Associated Types

type Rep EncryptionEntities :: Type -> Type #

NFData EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

Methods

rnf :: EncryptionEntities -> () #

Hashable EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

FromXML EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

ToXML EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

type Rep EncryptionEntities Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntities

type Rep EncryptionEntities = D1 ('MetaData "EncryptionEntities" "Amazonka.CloudFront.Types.EncryptionEntities" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "EncryptionEntities'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EncryptionEntity])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newEncryptionEntities Source #

Create a value of EncryptionEntities 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:items:EncryptionEntities', encryptionEntities_items - An array of field patterns in a field-level encryption content type-profile mapping.

$sel:quantity:EncryptionEntities', encryptionEntities_quantity - Number of field pattern items in a field-level encryption content type-profile mapping.

encryptionEntities_items :: Lens' EncryptionEntities (Maybe [EncryptionEntity]) Source #

An array of field patterns in a field-level encryption content type-profile mapping.

encryptionEntities_quantity :: Lens' EncryptionEntities Int Source #

Number of field pattern items in a field-level encryption content type-profile mapping.

EncryptionEntity

data EncryptionEntity Source #

Complex data type for field-level encryption profiles that includes the encryption key and field pattern specifications.

See: newEncryptionEntity smart constructor.

Constructors

EncryptionEntity' 

Fields

  • publicKeyId :: Text

    The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.

  • providerId :: Text

    The provider associated with the public key being used for encryption. This value must also be provided with the private key for applications to be able to decrypt data.

  • fieldPatterns :: FieldPatterns

    Field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted. You can provide the full field name, or any beginning characters followed by a wildcard (*). You can't overlap field patterns. For example, you can't have both ABC* and AB*. Note that field patterns are case-sensitive.

Instances

Instances details
Eq EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

Read EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

Show EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

Generic EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

Associated Types

type Rep EncryptionEntity :: Type -> Type #

NFData EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

Methods

rnf :: EncryptionEntity -> () #

Hashable EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

FromXML EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

ToXML EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

type Rep EncryptionEntity Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EncryptionEntity

type Rep EncryptionEntity = D1 ('MetaData "EncryptionEntity" "Amazonka.CloudFront.Types.EncryptionEntity" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "EncryptionEntity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "publicKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "providerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "fieldPatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FieldPatterns))))

newEncryptionEntity Source #

Create a value of EncryptionEntity 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:publicKeyId:EncryptionEntity', encryptionEntity_publicKeyId - The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.

$sel:providerId:EncryptionEntity', encryptionEntity_providerId - The provider associated with the public key being used for encryption. This value must also be provided with the private key for applications to be able to decrypt data.

$sel:fieldPatterns:EncryptionEntity', encryptionEntity_fieldPatterns - Field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted. You can provide the full field name, or any beginning characters followed by a wildcard (*). You can't overlap field patterns. For example, you can't have both ABC* and AB*. Note that field patterns are case-sensitive.

encryptionEntity_publicKeyId :: Lens' EncryptionEntity Text Source #

The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.

encryptionEntity_providerId :: Lens' EncryptionEntity Text Source #

The provider associated with the public key being used for encryption. This value must also be provided with the private key for applications to be able to decrypt data.

encryptionEntity_fieldPatterns :: Lens' EncryptionEntity FieldPatterns Source #

Field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted. You can provide the full field name, or any beginning characters followed by a wildcard (*). You can't overlap field patterns. For example, you can't have both ABC* and AB*. Note that field patterns are case-sensitive.

EndPoint

data EndPoint Source #

Contains information about the Amazon Kinesis data stream where you are sending real-time log data in a real-time log configuration.

See: newEndPoint smart constructor.

Constructors

EndPoint' 

Fields

Instances

Instances details
Eq EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

Read EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

Show EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

Generic EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

Associated Types

type Rep EndPoint :: Type -> Type #

Methods

from :: EndPoint -> Rep EndPoint x #

to :: Rep EndPoint x -> EndPoint #

NFData EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

Methods

rnf :: EndPoint -> () #

Hashable EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

Methods

hashWithSalt :: Int -> EndPoint -> Int #

hash :: EndPoint -> Int #

FromXML EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

ToXML EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

Methods

toXML :: EndPoint -> XML #

type Rep EndPoint Source # 
Instance details

Defined in Amazonka.CloudFront.Types.EndPoint

type Rep EndPoint = D1 ('MetaData "EndPoint" "Amazonka.CloudFront.Types.EndPoint" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "EndPoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "kinesisStreamConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KinesisStreamConfig)) :*: S1 ('MetaSel ('Just "streamType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newEndPoint Source #

Create a value of EndPoint 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:kinesisStreamConfig:EndPoint', endPoint_kinesisStreamConfig - Contains information about the Amazon Kinesis data stream where you are sending real-time log data.

$sel:streamType:EndPoint', endPoint_streamType - The type of data stream where you are sending real-time log data. The only valid value is Kinesis.

endPoint_kinesisStreamConfig :: Lens' EndPoint (Maybe KinesisStreamConfig) Source #

Contains information about the Amazon Kinesis data stream where you are sending real-time log data.

endPoint_streamType :: Lens' EndPoint Text Source #

The type of data stream where you are sending real-time log data. The only valid value is Kinesis.

FieldLevelEncryption

data FieldLevelEncryption Source #

A complex data type that includes the profile configurations and other options specified for field-level encryption.

See: newFieldLevelEncryption smart constructor.

Constructors

FieldLevelEncryption' 

Fields

  • id :: Text

    The configuration ID for a field-level encryption configuration which includes a set of profiles that specify certain selected data fields to be encrypted by specific public keys.

  • lastModifiedTime :: ISO8601

    The last time the field-level encryption configuration was changed.

  • fieldLevelEncryptionConfig :: FieldLevelEncryptionConfig

    A complex data type that includes the profile configurations specified for field-level encryption.

Instances

Instances details
Eq FieldLevelEncryption Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryption

Read FieldLevelEncryption Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryption

Show FieldLevelEncryption Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryption

Generic FieldLevelEncryption Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryption

Associated Types

type Rep FieldLevelEncryption :: Type -> Type #

NFData FieldLevelEncryption Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryption

Methods

rnf :: FieldLevelEncryption -> () #

Hashable FieldLevelEncryption Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryption

FromXML FieldLevelEncryption Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryption

type Rep FieldLevelEncryption Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryption

type Rep FieldLevelEncryption = D1 ('MetaData "FieldLevelEncryption" "Amazonka.CloudFront.Types.FieldLevelEncryption" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "FieldLevelEncryption'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "fieldLevelEncryptionConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FieldLevelEncryptionConfig))))

newFieldLevelEncryption Source #

Create a value of FieldLevelEncryption 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:id:FieldLevelEncryption', fieldLevelEncryption_id - The configuration ID for a field-level encryption configuration which includes a set of profiles that specify certain selected data fields to be encrypted by specific public keys.

$sel:lastModifiedTime:FieldLevelEncryption', fieldLevelEncryption_lastModifiedTime - The last time the field-level encryption configuration was changed.

$sel:fieldLevelEncryptionConfig:FieldLevelEncryption', fieldLevelEncryption_fieldLevelEncryptionConfig - A complex data type that includes the profile configurations specified for field-level encryption.

fieldLevelEncryption_id :: Lens' FieldLevelEncryption Text Source #

The configuration ID for a field-level encryption configuration which includes a set of profiles that specify certain selected data fields to be encrypted by specific public keys.

fieldLevelEncryption_lastModifiedTime :: Lens' FieldLevelEncryption UTCTime Source #

The last time the field-level encryption configuration was changed.

fieldLevelEncryption_fieldLevelEncryptionConfig :: Lens' FieldLevelEncryption FieldLevelEncryptionConfig Source #

A complex data type that includes the profile configurations specified for field-level encryption.

FieldLevelEncryptionConfig

data FieldLevelEncryptionConfig Source #

A complex data type that includes the profile configurations specified for field-level encryption.

See: newFieldLevelEncryptionConfig smart constructor.

Constructors

FieldLevelEncryptionConfig' 

Fields

Instances

Instances details
Eq FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

Read FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

Show FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

Generic FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

Associated Types

type Rep FieldLevelEncryptionConfig :: Type -> Type #

NFData FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

Hashable FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

FromXML FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

ToXML FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

type Rep FieldLevelEncryptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionConfig

type Rep FieldLevelEncryptionConfig = D1 ('MetaData "FieldLevelEncryptionConfig" "Amazonka.CloudFront.Types.FieldLevelEncryptionConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "FieldLevelEncryptionConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "queryArgProfileConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryArgProfileConfig)) :*: S1 ('MetaSel ('Just "contentTypeProfileConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentTypeProfileConfig))) :*: (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newFieldLevelEncryptionConfig Source #

Create a value of FieldLevelEncryptionConfig 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:queryArgProfileConfig:FieldLevelEncryptionConfig', fieldLevelEncryptionConfig_queryArgProfileConfig - A complex data type that specifies when to forward content if a profile isn't found and the profile that can be provided as a query argument in a request.

$sel:contentTypeProfileConfig:FieldLevelEncryptionConfig', fieldLevelEncryptionConfig_contentTypeProfileConfig - A complex data type that specifies when to forward content if a content type isn't recognized and profiles to use as by default in a request if a query argument doesn't specify a profile to use.

$sel:comment:FieldLevelEncryptionConfig', fieldLevelEncryptionConfig_comment - An optional comment about the configuration. The comment cannot be longer than 128 characters.

$sel:callerReference:FieldLevelEncryptionConfig', fieldLevelEncryptionConfig_callerReference - A unique number that ensures the request can't be replayed.

fieldLevelEncryptionConfig_queryArgProfileConfig :: Lens' FieldLevelEncryptionConfig (Maybe QueryArgProfileConfig) Source #

A complex data type that specifies when to forward content if a profile isn't found and the profile that can be provided as a query argument in a request.

fieldLevelEncryptionConfig_contentTypeProfileConfig :: Lens' FieldLevelEncryptionConfig (Maybe ContentTypeProfileConfig) Source #

A complex data type that specifies when to forward content if a content type isn't recognized and profiles to use as by default in a request if a query argument doesn't specify a profile to use.

fieldLevelEncryptionConfig_comment :: Lens' FieldLevelEncryptionConfig (Maybe Text) Source #

An optional comment about the configuration. The comment cannot be longer than 128 characters.

fieldLevelEncryptionConfig_callerReference :: Lens' FieldLevelEncryptionConfig Text Source #

A unique number that ensures the request can't be replayed.

FieldLevelEncryptionList

data FieldLevelEncryptionList Source #

List of field-level encrpytion configurations.

See: newFieldLevelEncryptionList smart constructor.

Constructors

FieldLevelEncryptionList' 

Fields

  • items :: Maybe [FieldLevelEncryptionSummary]

    An array of field-level encryption items.

  • nextMarker :: Maybe Text

    If there are more elements to be listed, this element is present and contains the value that you can use for the Marker request parameter to continue listing your configurations where you left off.

  • maxItems :: Int

    The maximum number of elements you want in the response body.

  • quantity :: Int

    The number of field-level encryption items.

Instances

Instances details
Eq FieldLevelEncryptionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionList

Read FieldLevelEncryptionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionList

Show FieldLevelEncryptionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionList

Generic FieldLevelEncryptionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionList

Associated Types

type Rep FieldLevelEncryptionList :: Type -> Type #

NFData FieldLevelEncryptionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionList

Hashable FieldLevelEncryptionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionList

FromXML FieldLevelEncryptionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionList

type Rep FieldLevelEncryptionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionList

type Rep FieldLevelEncryptionList = D1 ('MetaData "FieldLevelEncryptionList" "Amazonka.CloudFront.Types.FieldLevelEncryptionList" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "FieldLevelEncryptionList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FieldLevelEncryptionSummary])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newFieldLevelEncryptionList Source #

Create a value of FieldLevelEncryptionList 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:items:FieldLevelEncryptionList', fieldLevelEncryptionList_items - An array of field-level encryption items.

$sel:nextMarker:FieldLevelEncryptionList', fieldLevelEncryptionList_nextMarker - If there are more elements to be listed, this element is present and contains the value that you can use for the Marker request parameter to continue listing your configurations where you left off.

$sel:maxItems:FieldLevelEncryptionList', fieldLevelEncryptionList_maxItems - The maximum number of elements you want in the response body.

$sel:quantity:FieldLevelEncryptionList', fieldLevelEncryptionList_quantity - The number of field-level encryption items.

fieldLevelEncryptionList_nextMarker :: Lens' FieldLevelEncryptionList (Maybe Text) Source #

If there are more elements to be listed, this element is present and contains the value that you can use for the Marker request parameter to continue listing your configurations where you left off.

fieldLevelEncryptionList_maxItems :: Lens' FieldLevelEncryptionList Int Source #

The maximum number of elements you want in the response body.

fieldLevelEncryptionList_quantity :: Lens' FieldLevelEncryptionList Int Source #

The number of field-level encryption items.

FieldLevelEncryptionProfile

data FieldLevelEncryptionProfile Source #

A complex data type for field-level encryption profiles.

See: newFieldLevelEncryptionProfile smart constructor.

Constructors

FieldLevelEncryptionProfile' 

Fields

Instances

Instances details
Eq FieldLevelEncryptionProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfile

Read FieldLevelEncryptionProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfile

Show FieldLevelEncryptionProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfile

Generic FieldLevelEncryptionProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfile

Associated Types

type Rep FieldLevelEncryptionProfile :: Type -> Type #

NFData FieldLevelEncryptionProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfile

Hashable FieldLevelEncryptionProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfile

FromXML FieldLevelEncryptionProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfile

type Rep FieldLevelEncryptionProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfile

type Rep FieldLevelEncryptionProfile = D1 ('MetaData "FieldLevelEncryptionProfile" "Amazonka.CloudFront.Types.FieldLevelEncryptionProfile" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "FieldLevelEncryptionProfile'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "fieldLevelEncryptionProfileConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FieldLevelEncryptionProfileConfig))))

newFieldLevelEncryptionProfile Source #

Create a value of FieldLevelEncryptionProfile 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:id:FieldLevelEncryptionProfile', fieldLevelEncryptionProfile_id - The ID for a field-level encryption profile configuration which includes a set of profiles that specify certain selected data fields to be encrypted by specific public keys.

$sel:lastModifiedTime:FieldLevelEncryptionProfile', fieldLevelEncryptionProfile_lastModifiedTime - The last time the field-level encryption profile was updated.

$sel:fieldLevelEncryptionProfileConfig:FieldLevelEncryptionProfile', fieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig - A complex data type that includes the profile name and the encryption entities for the field-level encryption profile.

fieldLevelEncryptionProfile_id :: Lens' FieldLevelEncryptionProfile Text Source #

The ID for a field-level encryption profile configuration which includes a set of profiles that specify certain selected data fields to be encrypted by specific public keys.

fieldLevelEncryptionProfile_lastModifiedTime :: Lens' FieldLevelEncryptionProfile UTCTime Source #

The last time the field-level encryption profile was updated.

fieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig :: Lens' FieldLevelEncryptionProfile FieldLevelEncryptionProfileConfig Source #

A complex data type that includes the profile name and the encryption entities for the field-level encryption profile.

FieldLevelEncryptionProfileConfig

data FieldLevelEncryptionProfileConfig Source #

A complex data type of profiles for the field-level encryption.

See: newFieldLevelEncryptionProfileConfig smart constructor.

Constructors

FieldLevelEncryptionProfileConfig' 

Fields

  • comment :: Maybe Text

    An optional comment for the field-level encryption profile. The comment cannot be longer than 128 characters.

  • name :: Text

    Profile name for the field-level encryption profile.

  • callerReference :: Text

    A unique number that ensures that the request can't be replayed.

  • encryptionEntities :: EncryptionEntities

    A complex data type of encryption entities for the field-level encryption profile that include the public key ID, provider, and field patterns for specifying which fields to encrypt with this key.

Instances

Instances details
Eq FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

Read FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

Show FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

Generic FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

Associated Types

type Rep FieldLevelEncryptionProfileConfig :: Type -> Type #

NFData FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

Hashable FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

FromXML FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

ToXML FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

type Rep FieldLevelEncryptionProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig

type Rep FieldLevelEncryptionProfileConfig = D1 ('MetaData "FieldLevelEncryptionProfileConfig" "Amazonka.CloudFront.Types.FieldLevelEncryptionProfileConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "FieldLevelEncryptionProfileConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "encryptionEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EncryptionEntities))))

newFieldLevelEncryptionProfileConfig Source #

Create a value of FieldLevelEncryptionProfileConfig 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:comment:FieldLevelEncryptionProfileConfig', fieldLevelEncryptionProfileConfig_comment - An optional comment for the field-level encryption profile. The comment cannot be longer than 128 characters.

$sel:name:FieldLevelEncryptionProfileConfig', fieldLevelEncryptionProfileConfig_name - Profile name for the field-level encryption profile.

$sel:callerReference:FieldLevelEncryptionProfileConfig', fieldLevelEncryptionProfileConfig_callerReference - A unique number that ensures that the request can't be replayed.

$sel:encryptionEntities:FieldLevelEncryptionProfileConfig', fieldLevelEncryptionProfileConfig_encryptionEntities - A complex data type of encryption entities for the field-level encryption profile that include the public key ID, provider, and field patterns for specifying which fields to encrypt with this key.

fieldLevelEncryptionProfileConfig_comment :: Lens' FieldLevelEncryptionProfileConfig (Maybe Text) Source #

An optional comment for the field-level encryption profile. The comment cannot be longer than 128 characters.

fieldLevelEncryptionProfileConfig_name :: Lens' FieldLevelEncryptionProfileConfig Text Source #

Profile name for the field-level encryption profile.

fieldLevelEncryptionProfileConfig_callerReference :: Lens' FieldLevelEncryptionProfileConfig Text Source #

A unique number that ensures that the request can't be replayed.

fieldLevelEncryptionProfileConfig_encryptionEntities :: Lens' FieldLevelEncryptionProfileConfig EncryptionEntities Source #

A complex data type of encryption entities for the field-level encryption profile that include the public key ID, provider, and field patterns for specifying which fields to encrypt with this key.

FieldLevelEncryptionProfileList

data FieldLevelEncryptionProfileList Source #

List of field-level encryption profiles.

See: newFieldLevelEncryptionProfileList smart constructor.

Constructors

FieldLevelEncryptionProfileList' 

Fields

  • items :: Maybe [FieldLevelEncryptionProfileSummary]

    The field-level encryption profile items.

  • nextMarker :: Maybe Text

    If there are more elements to be listed, this element is present and contains the value that you can use for the Marker request parameter to continue listing your profiles where you left off.

  • maxItems :: Int

    The maximum number of field-level encryption profiles you want in the response body.

  • quantity :: Int

    The number of field-level encryption profiles.

Instances

Instances details
Eq FieldLevelEncryptionProfileList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList

Read FieldLevelEncryptionProfileList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList

Show FieldLevelEncryptionProfileList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList

Generic FieldLevelEncryptionProfileList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList

Associated Types

type Rep FieldLevelEncryptionProfileList :: Type -> Type #

NFData FieldLevelEncryptionProfileList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList

Hashable FieldLevelEncryptionProfileList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList

FromXML FieldLevelEncryptionProfileList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList

type Rep FieldLevelEncryptionProfileList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList

type Rep FieldLevelEncryptionProfileList = D1 ('MetaData "FieldLevelEncryptionProfileList" "Amazonka.CloudFront.Types.FieldLevelEncryptionProfileList" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "FieldLevelEncryptionProfileList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FieldLevelEncryptionProfileSummary])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newFieldLevelEncryptionProfileList Source #

Create a value of FieldLevelEncryptionProfileList 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:items:FieldLevelEncryptionProfileList', fieldLevelEncryptionProfileList_items - The field-level encryption profile items.

$sel:nextMarker:FieldLevelEncryptionProfileList', fieldLevelEncryptionProfileList_nextMarker - If there are more elements to be listed, this element is present and contains the value that you can use for the Marker request parameter to continue listing your profiles where you left off.

$sel:maxItems:FieldLevelEncryptionProfileList', fieldLevelEncryptionProfileList_maxItems - The maximum number of field-level encryption profiles you want in the response body.

$sel:quantity:FieldLevelEncryptionProfileList', fieldLevelEncryptionProfileList_quantity - The number of field-level encryption profiles.

fieldLevelEncryptionProfileList_nextMarker :: Lens' FieldLevelEncryptionProfileList (Maybe Text) Source #

If there are more elements to be listed, this element is present and contains the value that you can use for the Marker request parameter to continue listing your profiles where you left off.

fieldLevelEncryptionProfileList_maxItems :: Lens' FieldLevelEncryptionProfileList Int Source #

The maximum number of field-level encryption profiles you want in the response body.

FieldLevelEncryptionProfileSummary

data FieldLevelEncryptionProfileSummary Source #

The field-level encryption profile summary.

See: newFieldLevelEncryptionProfileSummary smart constructor.

Constructors

FieldLevelEncryptionProfileSummary' 

Fields

  • comment :: Maybe Text

    An optional comment for the field-level encryption profile summary. The comment cannot be longer than 128 characters.

  • id :: Text

    ID for the field-level encryption profile summary.

  • lastModifiedTime :: ISO8601

    The time when the the field-level encryption profile summary was last updated.

  • name :: Text

    Name for the field-level encryption profile summary.

  • encryptionEntities :: EncryptionEntities

    A complex data type of encryption entities for the field-level encryption profile that include the public key ID, provider, and field patterns for specifying which fields to encrypt with this key.

Instances

Instances details
Eq FieldLevelEncryptionProfileSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary

Read FieldLevelEncryptionProfileSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary

Show FieldLevelEncryptionProfileSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary

Generic FieldLevelEncryptionProfileSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary

Associated Types

type Rep FieldLevelEncryptionProfileSummary :: Type -> Type #

NFData FieldLevelEncryptionProfileSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary

Hashable FieldLevelEncryptionProfileSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary

FromXML FieldLevelEncryptionProfileSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary

type Rep FieldLevelEncryptionProfileSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary

type Rep FieldLevelEncryptionProfileSummary = D1 ('MetaData "FieldLevelEncryptionProfileSummary" "Amazonka.CloudFront.Types.FieldLevelEncryptionProfileSummary" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "FieldLevelEncryptionProfileSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "encryptionEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EncryptionEntities)))))

newFieldLevelEncryptionProfileSummary Source #

Create a value of FieldLevelEncryptionProfileSummary 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:comment:FieldLevelEncryptionProfileSummary', fieldLevelEncryptionProfileSummary_comment - An optional comment for the field-level encryption profile summary. The comment cannot be longer than 128 characters.

$sel:id:FieldLevelEncryptionProfileSummary', fieldLevelEncryptionProfileSummary_id - ID for the field-level encryption profile summary.

$sel:lastModifiedTime:FieldLevelEncryptionProfileSummary', fieldLevelEncryptionProfileSummary_lastModifiedTime - The time when the the field-level encryption profile summary was last updated.

$sel:name:FieldLevelEncryptionProfileSummary', fieldLevelEncryptionProfileSummary_name - Name for the field-level encryption profile summary.

$sel:encryptionEntities:FieldLevelEncryptionProfileSummary', fieldLevelEncryptionProfileSummary_encryptionEntities - A complex data type of encryption entities for the field-level encryption profile that include the public key ID, provider, and field patterns for specifying which fields to encrypt with this key.

fieldLevelEncryptionProfileSummary_comment :: Lens' FieldLevelEncryptionProfileSummary (Maybe Text) Source #

An optional comment for the field-level encryption profile summary. The comment cannot be longer than 128 characters.

fieldLevelEncryptionProfileSummary_id :: Lens' FieldLevelEncryptionProfileSummary Text Source #

ID for the field-level encryption profile summary.

fieldLevelEncryptionProfileSummary_lastModifiedTime :: Lens' FieldLevelEncryptionProfileSummary UTCTime Source #

The time when the the field-level encryption profile summary was last updated.

fieldLevelEncryptionProfileSummary_name :: Lens' FieldLevelEncryptionProfileSummary Text Source #

Name for the field-level encryption profile summary.

fieldLevelEncryptionProfileSummary_encryptionEntities :: Lens' FieldLevelEncryptionProfileSummary EncryptionEntities Source #

A complex data type of encryption entities for the field-level encryption profile that include the public key ID, provider, and field patterns for specifying which fields to encrypt with this key.

FieldLevelEncryptionSummary

data FieldLevelEncryptionSummary Source #

A summary of a field-level encryption item.

See: newFieldLevelEncryptionSummary smart constructor.

Constructors

FieldLevelEncryptionSummary' 

Fields

Instances

Instances details
Eq FieldLevelEncryptionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionSummary

Read FieldLevelEncryptionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionSummary

Show FieldLevelEncryptionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionSummary

Generic FieldLevelEncryptionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionSummary

Associated Types

type Rep FieldLevelEncryptionSummary :: Type -> Type #

NFData FieldLevelEncryptionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionSummary

Hashable FieldLevelEncryptionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionSummary

FromXML FieldLevelEncryptionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionSummary

type Rep FieldLevelEncryptionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldLevelEncryptionSummary

type Rep FieldLevelEncryptionSummary = D1 ('MetaData "FieldLevelEncryptionSummary" "Amazonka.CloudFront.Types.FieldLevelEncryptionSummary" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "FieldLevelEncryptionSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "queryArgProfileConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryArgProfileConfig)) :*: S1 ('MetaSel ('Just "contentTypeProfileConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentTypeProfileConfig))) :*: (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))))

newFieldLevelEncryptionSummary Source #

Create a value of FieldLevelEncryptionSummary 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:queryArgProfileConfig:FieldLevelEncryptionSummary', fieldLevelEncryptionSummary_queryArgProfileConfig - A summary of a query argument-profile mapping.

$sel:contentTypeProfileConfig:FieldLevelEncryptionSummary', fieldLevelEncryptionSummary_contentTypeProfileConfig - A summary of a content type-profile mapping.

$sel:comment:FieldLevelEncryptionSummary', fieldLevelEncryptionSummary_comment - An optional comment about the field-level encryption item. The comment cannot be longer than 128 characters.

$sel:id:FieldLevelEncryptionSummary', fieldLevelEncryptionSummary_id - The unique ID of a field-level encryption item.

$sel:lastModifiedTime:FieldLevelEncryptionSummary', fieldLevelEncryptionSummary_lastModifiedTime - The last time that the summary of field-level encryption items was modified.

fieldLevelEncryptionSummary_comment :: Lens' FieldLevelEncryptionSummary (Maybe Text) Source #

An optional comment about the field-level encryption item. The comment cannot be longer than 128 characters.

fieldLevelEncryptionSummary_id :: Lens' FieldLevelEncryptionSummary Text Source #

The unique ID of a field-level encryption item.

fieldLevelEncryptionSummary_lastModifiedTime :: Lens' FieldLevelEncryptionSummary UTCTime Source #

The last time that the summary of field-level encryption items was modified.

FieldPatterns

data FieldPatterns Source #

A complex data type that includes the field patterns to match for field-level encryption.

See: newFieldPatterns smart constructor.

Constructors

FieldPatterns' 

Fields

  • items :: Maybe [Text]

    An array of the field-level encryption field patterns.

  • quantity :: Int

    The number of field-level encryption field patterns.

Instances

Instances details
Eq FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

Read FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

Show FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

Generic FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

Associated Types

type Rep FieldPatterns :: Type -> Type #

NFData FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

Methods

rnf :: FieldPatterns -> () #

Hashable FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

FromXML FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

ToXML FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

Methods

toXML :: FieldPatterns -> XML #

type Rep FieldPatterns Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FieldPatterns

type Rep FieldPatterns = D1 ('MetaData "FieldPatterns" "Amazonka.CloudFront.Types.FieldPatterns" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "FieldPatterns'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newFieldPatterns Source #

Create a value of FieldPatterns 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:items:FieldPatterns', fieldPatterns_items - An array of the field-level encryption field patterns.

$sel:quantity:FieldPatterns', fieldPatterns_quantity - The number of field-level encryption field patterns.

fieldPatterns_items :: Lens' FieldPatterns (Maybe [Text]) Source #

An array of the field-level encryption field patterns.

fieldPatterns_quantity :: Lens' FieldPatterns Int Source #

The number of field-level encryption field patterns.

ForwardedValues

data ForwardedValues Source #

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.

See: newForwardedValues smart constructor.

Constructors

ForwardedValues' 

Fields

  • queryStringCacheKeys :: Maybe QueryStringCacheKeys

    This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

    If you want to include query strings in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

    If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

    A complex type that contains information about the query string parameters that you want CloudFront to use for caching for this cache behavior.

  • headers :: Maybe Headers

    This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

    If you want to include headers in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

    If you want to send headers to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

    A complex type that specifies the Headers, if any, that you want CloudFront to forward to the origin for this cache behavior (whitelisted headers). For the headers that you specify, CloudFront also caches separate versions of a specified object that is based on the header values in viewer requests.

    For more information, see Caching Content Based on Request Headers in the Amazon CloudFront Developer Guide.

  • queryString :: Bool

    This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

    If you want to include query strings in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

    If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

    Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior and cache based on the query string parameters. CloudFront behavior depends on the value of QueryString and on the values that you specify for QueryStringCacheKeys, if any:

    If you specify true for QueryString and you don't specify any values for QueryStringCacheKeys, CloudFront forwards all query string parameters to the origin and caches based on all query string parameters. Depending on how many query string parameters and values you have, this can adversely affect performance because CloudFront must forward more requests to the origin.

    If you specify true for QueryString and you specify one or more values for QueryStringCacheKeys, CloudFront forwards all query string parameters to the origin, but it only caches based on the query string parameters that you specify.

    If you specify false for QueryString, CloudFront doesn't forward any query string parameters to the origin, and doesn't cache based on query string parameters.

    For more information, see Configuring CloudFront to Cache Based on Query String Parameters in the Amazon CloudFront Developer Guide.

  • cookies :: CookiePreference

    This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

    If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

    If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

    A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide.

Instances

Instances details
Eq ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

Read ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

Show ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

Generic ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

Associated Types

type Rep ForwardedValues :: Type -> Type #

NFData ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

Methods

rnf :: ForwardedValues -> () #

Hashable ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

FromXML ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

ToXML ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

Methods

toXML :: ForwardedValues -> XML #

type Rep ForwardedValues Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ForwardedValues

type Rep ForwardedValues = D1 ('MetaData "ForwardedValues" "Amazonka.CloudFront.Types.ForwardedValues" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ForwardedValues'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "queryStringCacheKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryStringCacheKeys)) :*: S1 ('MetaSel ('Just "headers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Headers))) :*: (S1 ('MetaSel ('Just "queryString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "cookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CookiePreference))))

newForwardedValues Source #

Create a value of ForwardedValues 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:queryStringCacheKeys:ForwardedValues', forwardedValues_queryStringCacheKeys - This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include query strings in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

A complex type that contains information about the query string parameters that you want CloudFront to use for caching for this cache behavior.

$sel:headers:ForwardedValues', forwardedValues_headers - This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include headers in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send headers to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

A complex type that specifies the Headers, if any, that you want CloudFront to forward to the origin for this cache behavior (whitelisted headers). For the headers that you specify, CloudFront also caches separate versions of a specified object that is based on the header values in viewer requests.

For more information, see Caching Content Based on Request Headers in the Amazon CloudFront Developer Guide.

$sel:queryString:ForwardedValues', forwardedValues_queryString - This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include query strings in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior and cache based on the query string parameters. CloudFront behavior depends on the value of QueryString and on the values that you specify for QueryStringCacheKeys, if any:

If you specify true for QueryString and you don't specify any values for QueryStringCacheKeys, CloudFront forwards all query string parameters to the origin and caches based on all query string parameters. Depending on how many query string parameters and values you have, this can adversely affect performance because CloudFront must forward more requests to the origin.

If you specify true for QueryString and you specify one or more values for QueryStringCacheKeys, CloudFront forwards all query string parameters to the origin, but it only caches based on the query string parameters that you specify.

If you specify false for QueryString, CloudFront doesn't forward any query string parameters to the origin, and doesn't cache based on query string parameters.

For more information, see Configuring CloudFront to Cache Based on Query String Parameters in the Amazon CloudFront Developer Guide.

$sel:cookies:ForwardedValues', forwardedValues_cookies - This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide.

forwardedValues_queryStringCacheKeys :: Lens' ForwardedValues (Maybe QueryStringCacheKeys) Source #

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include query strings in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

A complex type that contains information about the query string parameters that you want CloudFront to use for caching for this cache behavior.

forwardedValues_headers :: Lens' ForwardedValues (Maybe Headers) Source #

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include headers in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send headers to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

A complex type that specifies the Headers, if any, that you want CloudFront to forward to the origin for this cache behavior (whitelisted headers). For the headers that you specify, CloudFront also caches separate versions of a specified object that is based on the header values in viewer requests.

For more information, see Caching Content Based on Request Headers in the Amazon CloudFront Developer Guide.

forwardedValues_queryString :: Lens' ForwardedValues Bool Source #

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include query strings in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior and cache based on the query string parameters. CloudFront behavior depends on the value of QueryString and on the values that you specify for QueryStringCacheKeys, if any:

If you specify true for QueryString and you don't specify any values for QueryStringCacheKeys, CloudFront forwards all query string parameters to the origin and caches based on all query string parameters. Depending on how many query string parameters and values you have, this can adversely affect performance because CloudFront must forward more requests to the origin.

If you specify true for QueryString and you specify one or more values for QueryStringCacheKeys, CloudFront forwards all query string parameters to the origin, but it only caches based on the query string parameters that you specify.

If you specify false for QueryString, CloudFront doesn't forward any query string parameters to the origin, and doesn't cache based on query string parameters.

For more information, see Configuring CloudFront to Cache Based on Query String Parameters in the Amazon CloudFront Developer Guide.

forwardedValues_cookies :: Lens' ForwardedValues CookiePreference Source #

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include cookies in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide.

FunctionAssociation

data FunctionAssociation Source #

A CloudFront function that is associated with a cache behavior in a CloudFront distribution.

See: newFunctionAssociation smart constructor.

Constructors

FunctionAssociation' 

Fields

  • functionARN :: Text

    The Amazon Resource Name (ARN) of the function.

  • eventType :: EventType

    The event type of the function, either viewer-request or viewer-response. You cannot use origin-facing event types (origin-request and origin-response) with a CloudFront function.

Instances

Instances details
Eq FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

Read FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

Show FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

Generic FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

Associated Types

type Rep FunctionAssociation :: Type -> Type #

NFData FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

Methods

rnf :: FunctionAssociation -> () #

Hashable FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

FromXML FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

ToXML FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

type Rep FunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociation

type Rep FunctionAssociation = D1 ('MetaData "FunctionAssociation" "Amazonka.CloudFront.Types.FunctionAssociation" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "FunctionAssociation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "functionARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "eventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EventType)))

newFunctionAssociation Source #

Create a value of FunctionAssociation 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:functionARN:FunctionAssociation', functionAssociation_functionARN - The Amazon Resource Name (ARN) of the function.

$sel:eventType:FunctionAssociation', functionAssociation_eventType - The event type of the function, either viewer-request or viewer-response. You cannot use origin-facing event types (origin-request and origin-response) with a CloudFront function.

functionAssociation_functionARN :: Lens' FunctionAssociation Text Source #

The Amazon Resource Name (ARN) of the function.

functionAssociation_eventType :: Lens' FunctionAssociation EventType Source #

The event type of the function, either viewer-request or viewer-response. You cannot use origin-facing event types (origin-request and origin-response) with a CloudFront function.

FunctionAssociations

data FunctionAssociations Source #

A list of CloudFront functions that are associated with a cache behavior in a CloudFront distribution. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

See: newFunctionAssociations smart constructor.

Constructors

FunctionAssociations' 

Fields

  • items :: Maybe [FunctionAssociation]

    The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

  • quantity :: Int

    The number of CloudFront functions in the list.

Instances

Instances details
Eq FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

Read FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

Show FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

Generic FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

Associated Types

type Rep FunctionAssociations :: Type -> Type #

NFData FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

Methods

rnf :: FunctionAssociations -> () #

Hashable FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

FromXML FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

ToXML FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

type Rep FunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionAssociations

type Rep FunctionAssociations = D1 ('MetaData "FunctionAssociations" "Amazonka.CloudFront.Types.FunctionAssociations" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "FunctionAssociations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FunctionAssociation])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newFunctionAssociations Source #

Create a value of FunctionAssociations 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:items:FunctionAssociations', functionAssociations_items - The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

$sel:quantity:FunctionAssociations', functionAssociations_quantity - The number of CloudFront functions in the list.

functionAssociations_items :: Lens' FunctionAssociations (Maybe [FunctionAssociation]) Source #

The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

functionAssociations_quantity :: Lens' FunctionAssociations Int Source #

The number of CloudFront functions in the list.

FunctionConfig

data FunctionConfig Source #

Contains configuration information about a CloudFront function.

See: newFunctionConfig smart constructor.

Constructors

FunctionConfig' 

Fields

Instances

Instances details
Eq FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

Read FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

Show FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

Generic FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

Associated Types

type Rep FunctionConfig :: Type -> Type #

NFData FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

Methods

rnf :: FunctionConfig -> () #

Hashable FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

FromXML FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

ToXML FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

Methods

toXML :: FunctionConfig -> XML #

type Rep FunctionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionConfig

type Rep FunctionConfig = D1 ('MetaData "FunctionConfig" "Amazonka.CloudFront.Types.FunctionConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "FunctionConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "runtime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FunctionRuntime)))

newFunctionConfig Source #

Create a value of FunctionConfig 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:comment:FunctionConfig', functionConfig_comment - A comment to describe the function.

$sel:runtime:FunctionConfig', functionConfig_runtime - The function’s runtime environment. The only valid value is cloudfront-js-1.0.

functionConfig_comment :: Lens' FunctionConfig Text Source #

A comment to describe the function.

functionConfig_runtime :: Lens' FunctionConfig FunctionRuntime Source #

The function’s runtime environment. The only valid value is cloudfront-js-1.0.

FunctionList

data FunctionList Source #

A list of CloudFront functions.

See: newFunctionList smart constructor.

Constructors

FunctionList' 

Fields

  • items :: Maybe [FunctionSummary]

    Contains the functions in the list.

  • nextMarker :: Maybe Text

    If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing functions where you left off.

  • maxItems :: Int

    The maximum number of functions requested.

  • quantity :: Int

    The number of functions returned in the response.

Instances

Instances details
Eq FunctionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionList

Read FunctionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionList

Show FunctionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionList

Generic FunctionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionList

Associated Types

type Rep FunctionList :: Type -> Type #

NFData FunctionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionList

Methods

rnf :: FunctionList -> () #

Hashable FunctionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionList

FromXML FunctionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionList

type Rep FunctionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionList

type Rep FunctionList = D1 ('MetaData "FunctionList" "Amazonka.CloudFront.Types.FunctionList" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "FunctionList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FunctionSummary])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newFunctionList Source #

Create a value of FunctionList 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:items:FunctionList', functionList_items - Contains the functions in the list.

$sel:nextMarker:FunctionList', functionList_nextMarker - If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing functions where you left off.

$sel:maxItems:FunctionList', functionList_maxItems - The maximum number of functions requested.

$sel:quantity:FunctionList', functionList_quantity - The number of functions returned in the response.

functionList_items :: Lens' FunctionList (Maybe [FunctionSummary]) Source #

Contains the functions in the list.

functionList_nextMarker :: Lens' FunctionList (Maybe Text) Source #

If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing functions where you left off.

functionList_maxItems :: Lens' FunctionList Int Source #

The maximum number of functions requested.

functionList_quantity :: Lens' FunctionList Int Source #

The number of functions returned in the response.

FunctionMetadata

data FunctionMetadata Source #

Contains metadata about a CloudFront function.

See: newFunctionMetadata smart constructor.

Constructors

FunctionMetadata' 

Fields

  • stage :: Maybe FunctionStage

    The stage that the function is in, either DEVELOPMENT or LIVE.

    When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.

    When a function is in the LIVE stage, you can attach the function to a distribution’s cache behavior, using the function’s ARN.

  • createdTime :: Maybe ISO8601

    The date and time when the function was created.

  • functionARN :: Text

    The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.

  • lastModifiedTime :: ISO8601

    The date and time when the function was most recently updated.

Instances

Instances details
Eq FunctionMetadata Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionMetadata

Read FunctionMetadata Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionMetadata

Show FunctionMetadata Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionMetadata

Generic FunctionMetadata Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionMetadata

Associated Types

type Rep FunctionMetadata :: Type -> Type #

NFData FunctionMetadata Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionMetadata

Methods

rnf :: FunctionMetadata -> () #

Hashable FunctionMetadata Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionMetadata

FromXML FunctionMetadata Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionMetadata

type Rep FunctionMetadata Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionMetadata

type Rep FunctionMetadata = D1 ('MetaData "FunctionMetadata" "Amazonka.CloudFront.Types.FunctionMetadata" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "FunctionMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionStage)) :*: S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 ('MetaSel ('Just "functionARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))))

newFunctionMetadata Source #

Create a value of FunctionMetadata 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:stage:FunctionMetadata', functionMetadata_stage - The stage that the function is in, either DEVELOPMENT or LIVE.

When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.

When a function is in the LIVE stage, you can attach the function to a distribution’s cache behavior, using the function’s ARN.

$sel:createdTime:FunctionMetadata', functionMetadata_createdTime - The date and time when the function was created.

$sel:functionARN:FunctionMetadata', functionMetadata_functionARN - The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.

$sel:lastModifiedTime:FunctionMetadata', functionMetadata_lastModifiedTime - The date and time when the function was most recently updated.

functionMetadata_stage :: Lens' FunctionMetadata (Maybe FunctionStage) Source #

The stage that the function is in, either DEVELOPMENT or LIVE.

When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.

When a function is in the LIVE stage, you can attach the function to a distribution’s cache behavior, using the function’s ARN.

functionMetadata_createdTime :: Lens' FunctionMetadata (Maybe UTCTime) Source #

The date and time when the function was created.

functionMetadata_functionARN :: Lens' FunctionMetadata Text Source #

The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.

functionMetadata_lastModifiedTime :: Lens' FunctionMetadata UTCTime Source #

The date and time when the function was most recently updated.

FunctionSummary

data FunctionSummary Source #

Contains configuration information and metadata about a CloudFront function.

See: newFunctionSummary smart constructor.

Constructors

FunctionSummary' 

Fields

Instances

Instances details
Eq FunctionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionSummary

Read FunctionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionSummary

Show FunctionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionSummary

Generic FunctionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionSummary

Associated Types

type Rep FunctionSummary :: Type -> Type #

NFData FunctionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionSummary

Methods

rnf :: FunctionSummary -> () #

Hashable FunctionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionSummary

FromXML FunctionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionSummary

type Rep FunctionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.FunctionSummary

type Rep FunctionSummary = D1 ('MetaData "FunctionSummary" "Amazonka.CloudFront.Types.FunctionSummary" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "FunctionSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "functionConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FunctionConfig) :*: S1 ('MetaSel ('Just "functionMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FunctionMetadata))))

newFunctionSummary Source #

Create a value of FunctionSummary 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:FunctionSummary', functionSummary_status - The status of the CloudFront function.

$sel:name:FunctionSummary', functionSummary_name - The name of the CloudFront function.

$sel:functionConfig:FunctionSummary', functionSummary_functionConfig - Contains configuration information about a CloudFront function.

$sel:functionMetadata:FunctionSummary', functionSummary_functionMetadata - Contains metadata about a CloudFront function.

functionSummary_status :: Lens' FunctionSummary (Maybe Text) Source #

The status of the CloudFront function.

functionSummary_name :: Lens' FunctionSummary Text Source #

The name of the CloudFront function.

functionSummary_functionConfig :: Lens' FunctionSummary FunctionConfig Source #

Contains configuration information about a CloudFront function.

functionSummary_functionMetadata :: Lens' FunctionSummary FunctionMetadata Source #

Contains metadata about a CloudFront function.

GeoRestriction

data GeoRestriction Source #

A complex type that controls the countries in which your content is distributed. CloudFront determines the location of your users using MaxMind GeoIP databases.

See: newGeoRestriction smart constructor.

Constructors

GeoRestriction' 

Fields

  • items :: Maybe [Text]

    A complex type that contains a Location element for each country in which you want CloudFront either to distribute your content (whitelist) or not distribute your content (blacklist).

    The Location element is a two-letter, uppercase country code for a country that you want to include in your blacklist or whitelist. Include one Location element for each country.

    CloudFront and MaxMind both use ISO 3166 country codes. For the current list of countries and the corresponding codes, see ISO 3166-1-alpha-2 code on the /International Organization for Standardization/ website. You can also refer to the country list on the CloudFront console, which includes both country names and codes.

  • restrictionType :: GeoRestrictionType

    The method that you want to use to restrict distribution of your content by country:

    • none: No geo restriction is enabled, meaning access to content is not restricted by client geo location.
    • blacklist: The Location elements specify the countries in which you don't want CloudFront to distribute your content.
    • whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content.
  • quantity :: Int

    When geo restriction is enabled, this is the number of countries in your whitelist or blacklist. Otherwise, when it is not enabled, Quantity is 0, and you can omit Items.

Instances

Instances details
Eq GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

Read GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

Show GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

Generic GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

Associated Types

type Rep GeoRestriction :: Type -> Type #

NFData GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

Methods

rnf :: GeoRestriction -> () #

Hashable GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

FromXML GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

ToXML GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

Methods

toXML :: GeoRestriction -> XML #

type Rep GeoRestriction Source # 
Instance details

Defined in Amazonka.CloudFront.Types.GeoRestriction

type Rep GeoRestriction = D1 ('MetaData "GeoRestriction" "Amazonka.CloudFront.Types.GeoRestriction" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "GeoRestriction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "restrictionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GeoRestrictionType) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGeoRestriction Source #

Create a value of GeoRestriction 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:items:GeoRestriction', geoRestriction_items - A complex type that contains a Location element for each country in which you want CloudFront either to distribute your content (whitelist) or not distribute your content (blacklist).

The Location element is a two-letter, uppercase country code for a country that you want to include in your blacklist or whitelist. Include one Location element for each country.

CloudFront and MaxMind both use ISO 3166 country codes. For the current list of countries and the corresponding codes, see ISO 3166-1-alpha-2 code on the /International Organization for Standardization/ website. You can also refer to the country list on the CloudFront console, which includes both country names and codes.

$sel:restrictionType:GeoRestriction', geoRestriction_restrictionType - The method that you want to use to restrict distribution of your content by country:

  • none: No geo restriction is enabled, meaning access to content is not restricted by client geo location.
  • blacklist: The Location elements specify the countries in which you don't want CloudFront to distribute your content.
  • whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content.

$sel:quantity:GeoRestriction', geoRestriction_quantity - When geo restriction is enabled, this is the number of countries in your whitelist or blacklist. Otherwise, when it is not enabled, Quantity is 0, and you can omit Items.

geoRestriction_items :: Lens' GeoRestriction (Maybe [Text]) Source #

A complex type that contains a Location element for each country in which you want CloudFront either to distribute your content (whitelist) or not distribute your content (blacklist).

The Location element is a two-letter, uppercase country code for a country that you want to include in your blacklist or whitelist. Include one Location element for each country.

CloudFront and MaxMind both use ISO 3166 country codes. For the current list of countries and the corresponding codes, see ISO 3166-1-alpha-2 code on the /International Organization for Standardization/ website. You can also refer to the country list on the CloudFront console, which includes both country names and codes.

geoRestriction_restrictionType :: Lens' GeoRestriction GeoRestrictionType Source #

The method that you want to use to restrict distribution of your content by country:

  • none: No geo restriction is enabled, meaning access to content is not restricted by client geo location.
  • blacklist: The Location elements specify the countries in which you don't want CloudFront to distribute your content.
  • whitelist: The Location elements specify the countries in which you want CloudFront to distribute your content.

geoRestriction_quantity :: Lens' GeoRestriction Int Source #

When geo restriction is enabled, this is the number of countries in your whitelist or blacklist. Otherwise, when it is not enabled, Quantity is 0, and you can omit Items.

Headers

data Headers Source #

Contains a list of HTTP header names.

See: newHeaders smart constructor.

Constructors

Headers' 

Fields

Instances

Instances details
Eq Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Methods

(==) :: Headers -> Headers -> Bool #

(/=) :: Headers -> Headers -> Bool #

Read Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Show Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Generic Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Associated Types

type Rep Headers :: Type -> Type #

Methods

from :: Headers -> Rep Headers x #

to :: Rep Headers x -> Headers #

NFData Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Methods

rnf :: Headers -> () #

Hashable Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Methods

hashWithSalt :: Int -> Headers -> Int #

hash :: Headers -> Int #

FromXML Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

ToXML Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

Methods

toXML :: Headers -> XML #

type Rep Headers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Headers

type Rep Headers = D1 ('MetaData "Headers" "Amazonka.CloudFront.Types.Headers" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "Headers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newHeaders Source #

Create a value of Headers 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:items:Headers', headers_items - A list of HTTP header names.

$sel:quantity:Headers', headers_quantity - The number of header names in the Items list.

headers_items :: Lens' Headers (Maybe [Text]) Source #

A list of HTTP header names.

headers_quantity :: Lens' Headers Int Source #

The number of header names in the Items list.

Invalidation

data Invalidation Source #

An invalidation.

See: newInvalidation smart constructor.

Constructors

Invalidation' 

Fields

  • id :: Text

    The identifier for the invalidation request. For example: IDFDVBD632BHDS5.

  • status :: Text

    The status of the invalidation request. When the invalidation batch is finished, the status is Completed.

  • createTime :: ISO8601

    The date and time the invalidation request was first made.

  • invalidationBatch :: InvalidationBatch

    The current invalidation information for the batch request.

Instances

Instances details
Eq Invalidation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Invalidation

Read Invalidation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Invalidation

Show Invalidation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Invalidation

Generic Invalidation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Invalidation

Associated Types

type Rep Invalidation :: Type -> Type #

NFData Invalidation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Invalidation

Methods

rnf :: Invalidation -> () #

Hashable Invalidation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Invalidation

FromXML Invalidation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Invalidation

type Rep Invalidation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Invalidation

type Rep Invalidation = D1 ('MetaData "Invalidation" "Amazonka.CloudFront.Types.Invalidation" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "Invalidation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "invalidationBatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InvalidationBatch))))

newInvalidation Source #

Create a value of Invalidation 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:id:Invalidation', invalidation_id - The identifier for the invalidation request. For example: IDFDVBD632BHDS5.

$sel:status:Invalidation', invalidation_status - The status of the invalidation request. When the invalidation batch is finished, the status is Completed.

$sel:createTime:Invalidation', invalidation_createTime - The date and time the invalidation request was first made.

$sel:invalidationBatch:Invalidation', invalidation_invalidationBatch - The current invalidation information for the batch request.

invalidation_id :: Lens' Invalidation Text Source #

The identifier for the invalidation request. For example: IDFDVBD632BHDS5.

invalidation_status :: Lens' Invalidation Text Source #

The status of the invalidation request. When the invalidation batch is finished, the status is Completed.

invalidation_createTime :: Lens' Invalidation UTCTime Source #

The date and time the invalidation request was first made.

invalidation_invalidationBatch :: Lens' Invalidation InvalidationBatch Source #

The current invalidation information for the batch request.

InvalidationBatch

data InvalidationBatch Source #

An invalidation batch.

See: newInvalidationBatch smart constructor.

Constructors

InvalidationBatch' 

Fields

  • paths :: Paths

    A complex type that contains information about the objects that you want to invalidate. For more information, see Specifying the Objects to Invalidate in the Amazon CloudFront Developer Guide.

  • callerReference :: Text

    A value that you specify to uniquely identify an invalidation request. CloudFront uses the value to prevent you from accidentally resubmitting an identical request. Whenever you create a new invalidation request, you must specify a new value for CallerReference and change other values in the request as applicable. One way to ensure that the value of CallerReference is unique is to use a timestamp, for example, 20120301090000.

    If you make a second invalidation request with the same value for CallerReference, and if the rest of the request is the same, CloudFront doesn't create a new invalidation request. Instead, CloudFront returns information about the invalidation request that you previously created with the same CallerReference.

    If CallerReference is a value you already sent in a previous invalidation batch request but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.

Instances

Instances details
Eq InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

Read InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

Show InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

Generic InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

Associated Types

type Rep InvalidationBatch :: Type -> Type #

NFData InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

Methods

rnf :: InvalidationBatch -> () #

Hashable InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

FromXML InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

ToXML InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

type Rep InvalidationBatch Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationBatch

type Rep InvalidationBatch = D1 ('MetaData "InvalidationBatch" "Amazonka.CloudFront.Types.InvalidationBatch" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "InvalidationBatch'" 'PrefixI 'True) (S1 ('MetaSel ('Just "paths") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Paths) :*: S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newInvalidationBatch Source #

Create a value of InvalidationBatch 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:paths:InvalidationBatch', invalidationBatch_paths - A complex type that contains information about the objects that you want to invalidate. For more information, see Specifying the Objects to Invalidate in the Amazon CloudFront Developer Guide.

$sel:callerReference:InvalidationBatch', invalidationBatch_callerReference - A value that you specify to uniquely identify an invalidation request. CloudFront uses the value to prevent you from accidentally resubmitting an identical request. Whenever you create a new invalidation request, you must specify a new value for CallerReference and change other values in the request as applicable. One way to ensure that the value of CallerReference is unique is to use a timestamp, for example, 20120301090000.

If you make a second invalidation request with the same value for CallerReference, and if the rest of the request is the same, CloudFront doesn't create a new invalidation request. Instead, CloudFront returns information about the invalidation request that you previously created with the same CallerReference.

If CallerReference is a value you already sent in a previous invalidation batch request but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.

invalidationBatch_paths :: Lens' InvalidationBatch Paths Source #

A complex type that contains information about the objects that you want to invalidate. For more information, see Specifying the Objects to Invalidate in the Amazon CloudFront Developer Guide.

invalidationBatch_callerReference :: Lens' InvalidationBatch Text Source #

A value that you specify to uniquely identify an invalidation request. CloudFront uses the value to prevent you from accidentally resubmitting an identical request. Whenever you create a new invalidation request, you must specify a new value for CallerReference and change other values in the request as applicable. One way to ensure that the value of CallerReference is unique is to use a timestamp, for example, 20120301090000.

If you make a second invalidation request with the same value for CallerReference, and if the rest of the request is the same, CloudFront doesn't create a new invalidation request. Instead, CloudFront returns information about the invalidation request that you previously created with the same CallerReference.

If CallerReference is a value you already sent in a previous invalidation batch request but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.

InvalidationList

data InvalidationList Source #

The InvalidationList complex type describes the list of invalidation objects. For more information about invalidation, see Invalidating Objects (Web Distributions Only) in the Amazon CloudFront Developer Guide.

See: newInvalidationList smart constructor.

Constructors

InvalidationList' 

Fields

  • items :: Maybe [InvalidationSummary]

    A complex type that contains one InvalidationSummary element for each invalidation batch created by the current account.

  • nextMarker :: Maybe Text

    If IsTruncated is true, this element is present and contains the value that you can use for the Marker request parameter to continue listing your invalidation batches where they left off.

  • marker :: Text

    The value that you provided for the Marker request parameter.

  • maxItems :: Int

    The value that you provided for the MaxItems request parameter.

  • isTruncated :: Bool

    A flag that indicates whether more invalidation batch requests remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more invalidation batches in the list.

  • quantity :: Int

    The number of invalidation batches that were created by the current account.

Instances

Instances details
Eq InvalidationList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationList

Read InvalidationList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationList

Show InvalidationList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationList

Generic InvalidationList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationList

Associated Types

type Rep InvalidationList :: Type -> Type #

NFData InvalidationList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationList

Methods

rnf :: InvalidationList -> () #

Hashable InvalidationList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationList

FromXML InvalidationList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationList

type Rep InvalidationList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationList

type Rep InvalidationList = D1 ('MetaData "InvalidationList" "Amazonka.CloudFront.Types.InvalidationList" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "InvalidationList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InvalidationSummary])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "isTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newInvalidationList Source #

Create a value of InvalidationList 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:items:InvalidationList', invalidationList_items - A complex type that contains one InvalidationSummary element for each invalidation batch created by the current account.

$sel:nextMarker:InvalidationList', invalidationList_nextMarker - If IsTruncated is true, this element is present and contains the value that you can use for the Marker request parameter to continue listing your invalidation batches where they left off.

$sel:marker:InvalidationList', invalidationList_marker - The value that you provided for the Marker request parameter.

$sel:maxItems:InvalidationList', invalidationList_maxItems - The value that you provided for the MaxItems request parameter.

$sel:isTruncated:InvalidationList', invalidationList_isTruncated - A flag that indicates whether more invalidation batch requests remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more invalidation batches in the list.

$sel:quantity:InvalidationList', invalidationList_quantity - The number of invalidation batches that were created by the current account.

invalidationList_items :: Lens' InvalidationList (Maybe [InvalidationSummary]) Source #

A complex type that contains one InvalidationSummary element for each invalidation batch created by the current account.

invalidationList_nextMarker :: Lens' InvalidationList (Maybe Text) Source #

If IsTruncated is true, this element is present and contains the value that you can use for the Marker request parameter to continue listing your invalidation batches where they left off.

invalidationList_marker :: Lens' InvalidationList Text Source #

The value that you provided for the Marker request parameter.

invalidationList_maxItems :: Lens' InvalidationList Int Source #

The value that you provided for the MaxItems request parameter.

invalidationList_isTruncated :: Lens' InvalidationList Bool Source #

A flag that indicates whether more invalidation batch requests remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more invalidation batches in the list.

invalidationList_quantity :: Lens' InvalidationList Int Source #

The number of invalidation batches that were created by the current account.

InvalidationSummary

data InvalidationSummary Source #

A summary of an invalidation request.

See: newInvalidationSummary smart constructor.

Constructors

InvalidationSummary' 

Fields

  • id :: Text

    The unique ID for an invalidation request.

  • createTime :: ISO8601

    The time that an invalidation request was created.

  • status :: Text

    The status of an invalidation request.

Instances

Instances details
Eq InvalidationSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationSummary

Read InvalidationSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationSummary

Show InvalidationSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationSummary

Generic InvalidationSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationSummary

Associated Types

type Rep InvalidationSummary :: Type -> Type #

NFData InvalidationSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationSummary

Methods

rnf :: InvalidationSummary -> () #

Hashable InvalidationSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationSummary

FromXML InvalidationSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationSummary

type Rep InvalidationSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.InvalidationSummary

type Rep InvalidationSummary = D1 ('MetaData "InvalidationSummary" "Amazonka.CloudFront.Types.InvalidationSummary" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "InvalidationSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newInvalidationSummary Source #

Create a value of InvalidationSummary 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:id:InvalidationSummary', invalidationSummary_id - The unique ID for an invalidation request.

$sel:createTime:InvalidationSummary', invalidationSummary_createTime - The time that an invalidation request was created.

$sel:status:InvalidationSummary', invalidationSummary_status - The status of an invalidation request.

invalidationSummary_id :: Lens' InvalidationSummary Text Source #

The unique ID for an invalidation request.

invalidationSummary_createTime :: Lens' InvalidationSummary UTCTime Source #

The time that an invalidation request was created.

invalidationSummary_status :: Lens' InvalidationSummary Text Source #

The status of an invalidation request.

KGKeyPairIds

data KGKeyPairIds Source #

A list of identifiers for the public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies.

See: newKGKeyPairIds smart constructor.

Constructors

KGKeyPairIds' 

Fields

Instances

Instances details
Eq KGKeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KGKeyPairIds

Read KGKeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KGKeyPairIds

Show KGKeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KGKeyPairIds

Generic KGKeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KGKeyPairIds

Associated Types

type Rep KGKeyPairIds :: Type -> Type #

NFData KGKeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KGKeyPairIds

Methods

rnf :: KGKeyPairIds -> () #

Hashable KGKeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KGKeyPairIds

FromXML KGKeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KGKeyPairIds

type Rep KGKeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KGKeyPairIds

type Rep KGKeyPairIds = D1 ('MetaData "KGKeyPairIds" "Amazonka.CloudFront.Types.KGKeyPairIds" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "KGKeyPairIds'" 'PrefixI 'True) (S1 ('MetaSel ('Just "keyPairIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KeyPairIds)) :*: S1 ('MetaSel ('Just "keyGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newKGKeyPairIds :: KGKeyPairIds Source #

Create a value of KGKeyPairIds 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:keyPairIds:KGKeyPairIds', kGKeyPairIds_keyPairIds - Undocumented member.

$sel:keyGroupId:KGKeyPairIds', kGKeyPairIds_keyGroupId - The identifier of the key group that contains the public keys.

kGKeyPairIds_keyGroupId :: Lens' KGKeyPairIds (Maybe Text) Source #

The identifier of the key group that contains the public keys.

KeyGroup

data KeyGroup Source #

A key group.

A key group contains a list of public keys that you can use with CloudFront signed URLs and signed cookies.

See: newKeyGroup smart constructor.

Constructors

KeyGroup' 

Fields

Instances

Instances details
Eq KeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroup

Read KeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroup

Show KeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroup

Generic KeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroup

Associated Types

type Rep KeyGroup :: Type -> Type #

Methods

from :: KeyGroup -> Rep KeyGroup x #

to :: Rep KeyGroup x -> KeyGroup #

NFData KeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroup

Methods

rnf :: KeyGroup -> () #

Hashable KeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroup

Methods

hashWithSalt :: Int -> KeyGroup -> Int #

hash :: KeyGroup -> Int #

FromXML KeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroup

type Rep KeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroup

type Rep KeyGroup = D1 ('MetaData "KeyGroup" "Amazonka.CloudFront.Types.KeyGroup" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "KeyGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "keyGroupConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 KeyGroupConfig))))

newKeyGroup Source #

Create a value of KeyGroup 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:id:KeyGroup', keyGroup_id - The identifier for the key group.

$sel:lastModifiedTime:KeyGroup', keyGroup_lastModifiedTime - The date and time when the key group was last modified.

$sel:keyGroupConfig:KeyGroup', keyGroup_keyGroupConfig - The key group configuration.

keyGroup_id :: Lens' KeyGroup Text Source #

The identifier for the key group.

keyGroup_lastModifiedTime :: Lens' KeyGroup UTCTime Source #

The date and time when the key group was last modified.

KeyGroupConfig

data KeyGroupConfig Source #

A key group configuration.

A key group contains a list of public keys that you can use with CloudFront signed URLs and signed cookies.

See: newKeyGroupConfig smart constructor.

Constructors

KeyGroupConfig' 

Fields

  • comment :: Maybe Text

    A comment to describe the key group. The comment cannot be longer than 128 characters.

  • name :: Text

    A name to identify the key group.

  • items :: [Text]

    A list of the identifiers of the public keys in the key group.

Instances

Instances details
Eq KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

Read KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

Show KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

Generic KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

Associated Types

type Rep KeyGroupConfig :: Type -> Type #

NFData KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

Methods

rnf :: KeyGroupConfig -> () #

Hashable KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

FromXML KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

ToXML KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

Methods

toXML :: KeyGroupConfig -> XML #

type Rep KeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupConfig

type Rep KeyGroupConfig = D1 ('MetaData "KeyGroupConfig" "Amazonka.CloudFront.Types.KeyGroupConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "KeyGroupConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

newKeyGroupConfig Source #

Create a value of KeyGroupConfig 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:comment:KeyGroupConfig', keyGroupConfig_comment - A comment to describe the key group. The comment cannot be longer than 128 characters.

$sel:name:KeyGroupConfig', keyGroupConfig_name - A name to identify the key group.

$sel:items:KeyGroupConfig', keyGroupConfig_items - A list of the identifiers of the public keys in the key group.

keyGroupConfig_comment :: Lens' KeyGroupConfig (Maybe Text) Source #

A comment to describe the key group. The comment cannot be longer than 128 characters.

keyGroupConfig_name :: Lens' KeyGroupConfig Text Source #

A name to identify the key group.

keyGroupConfig_items :: Lens' KeyGroupConfig [Text] Source #

A list of the identifiers of the public keys in the key group.

KeyGroupList

data KeyGroupList Source #

A list of key groups.

See: newKeyGroupList smart constructor.

Constructors

KeyGroupList' 

Fields

  • items :: Maybe [KeyGroupSummary]

    A list of key groups.

  • nextMarker :: Maybe Text

    If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing key groups.

  • maxItems :: Int

    The maximum number of key groups requested.

  • quantity :: Int

    The number of key groups returned in the response.

Instances

Instances details
Eq KeyGroupList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupList

Read KeyGroupList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupList

Show KeyGroupList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupList

Generic KeyGroupList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupList

Associated Types

type Rep KeyGroupList :: Type -> Type #

NFData KeyGroupList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupList

Methods

rnf :: KeyGroupList -> () #

Hashable KeyGroupList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupList

FromXML KeyGroupList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupList

type Rep KeyGroupList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupList

type Rep KeyGroupList = D1 ('MetaData "KeyGroupList" "Amazonka.CloudFront.Types.KeyGroupList" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "KeyGroupList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [KeyGroupSummary])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newKeyGroupList Source #

Create a value of KeyGroupList 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:items:KeyGroupList', keyGroupList_items - A list of key groups.

$sel:nextMarker:KeyGroupList', keyGroupList_nextMarker - If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing key groups.

$sel:maxItems:KeyGroupList', keyGroupList_maxItems - The maximum number of key groups requested.

$sel:quantity:KeyGroupList', keyGroupList_quantity - The number of key groups returned in the response.

keyGroupList_nextMarker :: Lens' KeyGroupList (Maybe Text) Source #

If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing key groups.

keyGroupList_maxItems :: Lens' KeyGroupList Int Source #

The maximum number of key groups requested.

keyGroupList_quantity :: Lens' KeyGroupList Int Source #

The number of key groups returned in the response.

KeyGroupSummary

data KeyGroupSummary Source #

Contains information about a key group.

See: newKeyGroupSummary smart constructor.

Constructors

KeyGroupSummary' 

Fields

Instances

Instances details
Eq KeyGroupSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupSummary

Read KeyGroupSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupSummary

Show KeyGroupSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupSummary

Generic KeyGroupSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupSummary

Associated Types

type Rep KeyGroupSummary :: Type -> Type #

NFData KeyGroupSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupSummary

Methods

rnf :: KeyGroupSummary -> () #

Hashable KeyGroupSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupSummary

FromXML KeyGroupSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupSummary

type Rep KeyGroupSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyGroupSummary

type Rep KeyGroupSummary = D1 ('MetaData "KeyGroupSummary" "Amazonka.CloudFront.Types.KeyGroupSummary" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "KeyGroupSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "keyGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 KeyGroup)))

newKeyGroupSummary Source #

Create a value of KeyGroupSummary 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:keyGroup:KeyGroupSummary', keyGroupSummary_keyGroup - A key group.

KeyPairIds

data KeyPairIds Source #

A list of CloudFront key pair identifiers.

See: newKeyPairIds smart constructor.

Constructors

KeyPairIds' 

Fields

  • items :: Maybe [Text]

    A list of CloudFront key pair identifiers.

  • quantity :: Int

    The number of key pair identifiers in the list.

Instances

Instances details
Eq KeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyPairIds

Read KeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyPairIds

Show KeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyPairIds

Generic KeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyPairIds

Associated Types

type Rep KeyPairIds :: Type -> Type #

NFData KeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyPairIds

Methods

rnf :: KeyPairIds -> () #

Hashable KeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyPairIds

FromXML KeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyPairIds

type Rep KeyPairIds Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KeyPairIds

type Rep KeyPairIds = D1 ('MetaData "KeyPairIds" "Amazonka.CloudFront.Types.KeyPairIds" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "KeyPairIds'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newKeyPairIds Source #

Create a value of KeyPairIds 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:items:KeyPairIds', keyPairIds_items - A list of CloudFront key pair identifiers.

$sel:quantity:KeyPairIds', keyPairIds_quantity - The number of key pair identifiers in the list.

keyPairIds_items :: Lens' KeyPairIds (Maybe [Text]) Source #

A list of CloudFront key pair identifiers.

keyPairIds_quantity :: Lens' KeyPairIds Int Source #

The number of key pair identifiers in the list.

KinesisStreamConfig

data KinesisStreamConfig Source #

Contains information about the Amazon Kinesis data stream where you are sending real-time log data.

See: newKinesisStreamConfig smart constructor.

Constructors

KinesisStreamConfig' 

Fields

  • roleARN :: Text

    The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream.

    For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide.

  • streamARN :: Text

    The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.

Instances

Instances details
Eq KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

Read KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

Show KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

Generic KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

Associated Types

type Rep KinesisStreamConfig :: Type -> Type #

NFData KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

Methods

rnf :: KinesisStreamConfig -> () #

Hashable KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

FromXML KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

ToXML KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

type Rep KinesisStreamConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.KinesisStreamConfig

type Rep KinesisStreamConfig = D1 ('MetaData "KinesisStreamConfig" "Amazonka.CloudFront.Types.KinesisStreamConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "KinesisStreamConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roleARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "streamARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newKinesisStreamConfig Source #

Create a value of KinesisStreamConfig 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:roleARN:KinesisStreamConfig', kinesisStreamConfig_roleARN - The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream.

For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide.

$sel:streamARN:KinesisStreamConfig', kinesisStreamConfig_streamARN - The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.

kinesisStreamConfig_roleARN :: Lens' KinesisStreamConfig Text Source #

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream.

For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide.

kinesisStreamConfig_streamARN :: Lens' KinesisStreamConfig Text Source #

The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.

LambdaFunctionAssociation

data LambdaFunctionAssociation Source #

A complex type that contains a Lambda@Edge function association.

See: newLambdaFunctionAssociation smart constructor.

Constructors

LambdaFunctionAssociation' 

Fields

  • includeBody :: Maybe Bool

    A flag that allows a Lambda@Edge function to have read access to the body content. For more information, see Accessing the Request Body by Choosing the Include Body Option in the Amazon CloudFront Developer Guide.

  • lambdaFunctionARN :: Text

    The ARN of the Lambda@Edge function. You must specify the ARN of a function version; you can't specify an alias or $LATEST.

  • eventType :: EventType

    Specifies the event type that triggers a Lambda@Edge function invocation. You can specify the following values:

    • viewer-request: The function executes when CloudFront receives a request from a viewer and before it checks to see whether the requested object is in the edge cache.
    • origin-request: The function executes only when CloudFront sends a request to your origin. When the requested object is in the edge cache, the function doesn't execute.
    • origin-response: The function executes after CloudFront receives a response from the origin and before it caches the object in the response. When the requested object is in the edge cache, the function doesn't execute.
    • viewer-response: The function executes before CloudFront returns the requested object to the viewer. The function executes regardless of whether the object was already in the edge cache.

      If the origin returns an HTTP status code other than HTTP 200 (OK), the function doesn't execute.

Instances

Instances details
Eq LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

Read LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

Show LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

Generic LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

Associated Types

type Rep LambdaFunctionAssociation :: Type -> Type #

NFData LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

Hashable LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

FromXML LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

ToXML LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

type Rep LambdaFunctionAssociation Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociation

type Rep LambdaFunctionAssociation = D1 ('MetaData "LambdaFunctionAssociation" "Amazonka.CloudFront.Types.LambdaFunctionAssociation" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "LambdaFunctionAssociation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "includeBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "lambdaFunctionARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "eventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EventType))))

newLambdaFunctionAssociation Source #

Create a value of LambdaFunctionAssociation 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:includeBody:LambdaFunctionAssociation', lambdaFunctionAssociation_includeBody - A flag that allows a Lambda@Edge function to have read access to the body content. For more information, see Accessing the Request Body by Choosing the Include Body Option in the Amazon CloudFront Developer Guide.

$sel:lambdaFunctionARN:LambdaFunctionAssociation', lambdaFunctionAssociation_lambdaFunctionARN - The ARN of the Lambda@Edge function. You must specify the ARN of a function version; you can't specify an alias or $LATEST.

$sel:eventType:LambdaFunctionAssociation', lambdaFunctionAssociation_eventType - Specifies the event type that triggers a Lambda@Edge function invocation. You can specify the following values:

  • viewer-request: The function executes when CloudFront receives a request from a viewer and before it checks to see whether the requested object is in the edge cache.
  • origin-request: The function executes only when CloudFront sends a request to your origin. When the requested object is in the edge cache, the function doesn't execute.
  • origin-response: The function executes after CloudFront receives a response from the origin and before it caches the object in the response. When the requested object is in the edge cache, the function doesn't execute.
  • viewer-response: The function executes before CloudFront returns the requested object to the viewer. The function executes regardless of whether the object was already in the edge cache.

    If the origin returns an HTTP status code other than HTTP 200 (OK), the function doesn't execute.

lambdaFunctionAssociation_includeBody :: Lens' LambdaFunctionAssociation (Maybe Bool) Source #

A flag that allows a Lambda@Edge function to have read access to the body content. For more information, see Accessing the Request Body by Choosing the Include Body Option in the Amazon CloudFront Developer Guide.

lambdaFunctionAssociation_lambdaFunctionARN :: Lens' LambdaFunctionAssociation Text Source #

The ARN of the Lambda@Edge function. You must specify the ARN of a function version; you can't specify an alias or $LATEST.

lambdaFunctionAssociation_eventType :: Lens' LambdaFunctionAssociation EventType Source #

Specifies the event type that triggers a Lambda@Edge function invocation. You can specify the following values:

  • viewer-request: The function executes when CloudFront receives a request from a viewer and before it checks to see whether the requested object is in the edge cache.
  • origin-request: The function executes only when CloudFront sends a request to your origin. When the requested object is in the edge cache, the function doesn't execute.
  • origin-response: The function executes after CloudFront receives a response from the origin and before it caches the object in the response. When the requested object is in the edge cache, the function doesn't execute.
  • viewer-response: The function executes before CloudFront returns the requested object to the viewer. The function executes regardless of whether the object was already in the edge cache.

    If the origin returns an HTTP status code other than HTTP 200 (OK), the function doesn't execute.

LambdaFunctionAssociations

data LambdaFunctionAssociations Source #

A complex type that specifies a list of Lambda@Edge functions associations for a cache behavior.

If you want to invoke one or more Lambda@Edge functions triggered by requests that match the PathPattern of the cache behavior, specify the applicable values for Quantity and Items. Note that there can be up to 4 LambdaFunctionAssociation items in this list (one for each possible value of EventType) and each EventType can be associated with only one function.

If you don't want to invoke any Lambda@Edge functions for the requests that match PathPattern, specify 0 for Quantity and omit Items.

See: newLambdaFunctionAssociations smart constructor.

Constructors

LambdaFunctionAssociations' 

Fields

  • items :: Maybe [LambdaFunctionAssociation]

    Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.

  • quantity :: Int

    The number of Lambda@Edge function associations for this cache behavior.

Instances

Instances details
Eq LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

Read LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

Show LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

Generic LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

Associated Types

type Rep LambdaFunctionAssociations :: Type -> Type #

NFData LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

Hashable LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

FromXML LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

ToXML LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

type Rep LambdaFunctionAssociations Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LambdaFunctionAssociations

type Rep LambdaFunctionAssociations = D1 ('MetaData "LambdaFunctionAssociations" "Amazonka.CloudFront.Types.LambdaFunctionAssociations" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "LambdaFunctionAssociations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LambdaFunctionAssociation])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newLambdaFunctionAssociations Source #

Create a value of LambdaFunctionAssociations 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:items:LambdaFunctionAssociations', lambdaFunctionAssociations_items - Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.

$sel:quantity:LambdaFunctionAssociations', lambdaFunctionAssociations_quantity - The number of Lambda@Edge function associations for this cache behavior.

lambdaFunctionAssociations_items :: Lens' LambdaFunctionAssociations (Maybe [LambdaFunctionAssociation]) Source #

Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.

lambdaFunctionAssociations_quantity :: Lens' LambdaFunctionAssociations Int Source #

The number of Lambda@Edge function associations for this cache behavior.

LoggingConfig

data LoggingConfig Source #

A complex type that controls whether access logs are written for the distribution.

See: newLoggingConfig smart constructor.

Constructors

LoggingConfig' 

Fields

  • enabled :: Bool

    Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket, prefix, and IncludeCookies, the values are automatically deleted.

  • includeCookies :: Bool

    Specifies whether you want CloudFront to include cookies in access logs, specify true for IncludeCookies. If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you don't want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify false for IncludeCookies.

  • bucket :: Text

    The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

  • prefix :: Text

    An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element.

Instances

Instances details
Eq LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

Read LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

Show LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

Generic LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

Associated Types

type Rep LoggingConfig :: Type -> Type #

NFData LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

Methods

rnf :: LoggingConfig -> () #

Hashable LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

FromXML LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

ToXML LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

Methods

toXML :: LoggingConfig -> XML #

type Rep LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.LoggingConfig

type Rep LoggingConfig = D1 ('MetaData "LoggingConfig" "Amazonka.CloudFront.Types.LoggingConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "LoggingConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "includeCookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newLoggingConfig Source #

Create a value of LoggingConfig 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:enabled:LoggingConfig', loggingConfig_enabled - Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket, prefix, and IncludeCookies, the values are automatically deleted.

$sel:includeCookies:LoggingConfig', loggingConfig_includeCookies - Specifies whether you want CloudFront to include cookies in access logs, specify true for IncludeCookies. If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you don't want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify false for IncludeCookies.

$sel:bucket:LoggingConfig', loggingConfig_bucket - The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

$sel:prefix:LoggingConfig', loggingConfig_prefix - An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element.

loggingConfig_enabled :: Lens' LoggingConfig Bool Source #

Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket, prefix, and IncludeCookies, the values are automatically deleted.

loggingConfig_includeCookies :: Lens' LoggingConfig Bool Source #

Specifies whether you want CloudFront to include cookies in access logs, specify true for IncludeCookies. If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you don't want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify false for IncludeCookies.

loggingConfig_bucket :: Lens' LoggingConfig Text Source #

The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

loggingConfig_prefix :: Lens' LoggingConfig Text Source #

An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element.

MonitoringSubscription

data MonitoringSubscription Source #

A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

See: newMonitoringSubscription smart constructor.

Constructors

MonitoringSubscription' 

Fields

Instances

Instances details
Eq MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

Read MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

Show MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

Generic MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

Associated Types

type Rep MonitoringSubscription :: Type -> Type #

NFData MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

Methods

rnf :: MonitoringSubscription -> () #

Hashable MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

FromXML MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

ToXML MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

type Rep MonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.Types.MonitoringSubscription

type Rep MonitoringSubscription = D1 ('MetaData "MonitoringSubscription" "Amazonka.CloudFront.Types.MonitoringSubscription" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "MonitoringSubscription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "realtimeMetricsSubscriptionConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RealtimeMetricsSubscriptionConfig))))

newMonitoringSubscription :: MonitoringSubscription Source #

Create a value of MonitoringSubscription 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:realtimeMetricsSubscriptionConfig:MonitoringSubscription', monitoringSubscription_realtimeMetricsSubscriptionConfig - A subscription configuration for additional CloudWatch metrics.

Origin

data Origin Source #

An origin.

An origin is the location where content is stored, and from which CloudFront gets content to serve to viewers. To specify an origin:

  • Use S3OriginConfig to specify an Amazon S3 bucket that is not configured with static website hosting.
  • Use CustomOriginConfig to specify all other kinds of origins, including:

    • An Amazon S3 bucket that is configured with static website hosting
    • An Elastic Load Balancing load balancer
    • An AWS Elemental MediaPackage endpoint
    • An AWS Elemental MediaStore container
    • Any other HTTP server, running on an Amazon EC2 instance or any other kind of host

For the current maximum number of origins that you can specify per distribution, see General Quotas on Web Distributions in the Amazon CloudFront Developer Guide (quotas were formerly referred to as limits).

See: newOrigin smart constructor.

Constructors

Origin' 

Fields

  • customHeaders :: Maybe CustomHeaders

    A list of HTTP header names and values that CloudFront adds to the requests that it sends to the origin.

    For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.

  • customOriginConfig :: Maybe CustomOriginConfig

    Use this type to specify an origin that is not an Amazon S3 bucket, with one exception. If the Amazon S3 bucket is configured with static website hosting, use this type. If the Amazon S3 bucket is not configured with static website hosting, use the S3OriginConfig type instead.

  • connectionTimeout :: Maybe Int

    The number of seconds that CloudFront waits when trying to establish a connection to the origin. The minimum timeout is 1 second, the maximum is 10 seconds, and the default (if you don’t specify otherwise) is 10 seconds.

    For more information, see Origin Connection Timeout in the Amazon CloudFront Developer Guide.

  • connectionAttempts :: Maybe Int

    The number of times that CloudFront attempts to connect to the origin. The minimum number is 1, the maximum is 3, and the default (if you don’t specify otherwise) is 3.

    For a custom origin (including an Amazon S3 bucket that’s configured with static website hosting), this value also specifies the number of times that CloudFront attempts to get a response from the origin, in the case of an Origin Response Timeout.

    For more information, see Origin Connection Attempts in the Amazon CloudFront Developer Guide.

  • s3OriginConfig :: Maybe S3OriginConfig

    Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the CustomOriginConfig type instead.

  • originPath :: Maybe Text

    An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.

    For more information, see Origin Path in the Amazon CloudFront Developer Guide.

  • originShield :: Maybe OriginShield

    CloudFront Origin Shield. Using Origin Shield can help reduce the load on your origin.

    For more information, see Using Origin Shield in the Amazon CloudFront Developer Guide.

  • id :: Text

    A unique identifier for the origin. This value must be unique within the distribution.

    Use this value to specify the TargetOriginId in a CacheBehavior or DefaultCacheBehavior.

  • domainName :: Text

    The domain name for the origin.

    For more information, see Origin Domain Name in the Amazon CloudFront Developer Guide.

Instances

Instances details
Eq Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origin

Methods

(==) :: Origin -> Origin -> Bool #

(/=) :: Origin -> Origin -> Bool #

Read Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origin

Show Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origin

Generic Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origin

Associated Types

type Rep Origin :: Type -> Type #

Methods

from :: Origin -> Rep Origin x #

to :: Rep Origin x -> Origin #

NFData Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origin

Methods

rnf :: Origin -> () #

Hashable Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origin

Methods

hashWithSalt :: Int -> Origin -> Int #

hash :: Origin -> Int #

FromXML Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origin

ToXML Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origin

Methods

toXML :: Origin -> XML #

type Rep Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origin

newOrigin Source #

Create a value of Origin 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:customHeaders:Origin', origin_customHeaders - A list of HTTP header names and values that CloudFront adds to the requests that it sends to the origin.

For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.

$sel:customOriginConfig:Origin', origin_customOriginConfig - Use this type to specify an origin that is not an Amazon S3 bucket, with one exception. If the Amazon S3 bucket is configured with static website hosting, use this type. If the Amazon S3 bucket is not configured with static website hosting, use the S3OriginConfig type instead.

$sel:connectionTimeout:Origin', origin_connectionTimeout - The number of seconds that CloudFront waits when trying to establish a connection to the origin. The minimum timeout is 1 second, the maximum is 10 seconds, and the default (if you don’t specify otherwise) is 10 seconds.

For more information, see Origin Connection Timeout in the Amazon CloudFront Developer Guide.

$sel:connectionAttempts:Origin', origin_connectionAttempts - The number of times that CloudFront attempts to connect to the origin. The minimum number is 1, the maximum is 3, and the default (if you don’t specify otherwise) is 3.

For a custom origin (including an Amazon S3 bucket that’s configured with static website hosting), this value also specifies the number of times that CloudFront attempts to get a response from the origin, in the case of an Origin Response Timeout.

For more information, see Origin Connection Attempts in the Amazon CloudFront Developer Guide.

$sel:s3OriginConfig:Origin', origin_s3OriginConfig - Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the CustomOriginConfig type instead.

$sel:originPath:Origin', origin_originPath - An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.

For more information, see Origin Path in the Amazon CloudFront Developer Guide.

$sel:originShield:Origin', origin_originShield - CloudFront Origin Shield. Using Origin Shield can help reduce the load on your origin.

For more information, see Using Origin Shield in the Amazon CloudFront Developer Guide.

$sel:id:Origin', origin_id - A unique identifier for the origin. This value must be unique within the distribution.

Use this value to specify the TargetOriginId in a CacheBehavior or DefaultCacheBehavior.

$sel:domainName:Origin', origin_domainName - The domain name for the origin.

For more information, see Origin Domain Name in the Amazon CloudFront Developer Guide.

origin_customHeaders :: Lens' Origin (Maybe CustomHeaders) Source #

A list of HTTP header names and values that CloudFront adds to the requests that it sends to the origin.

For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.

origin_customOriginConfig :: Lens' Origin (Maybe CustomOriginConfig) Source #

Use this type to specify an origin that is not an Amazon S3 bucket, with one exception. If the Amazon S3 bucket is configured with static website hosting, use this type. If the Amazon S3 bucket is not configured with static website hosting, use the S3OriginConfig type instead.

origin_connectionTimeout :: Lens' Origin (Maybe Int) Source #

The number of seconds that CloudFront waits when trying to establish a connection to the origin. The minimum timeout is 1 second, the maximum is 10 seconds, and the default (if you don’t specify otherwise) is 10 seconds.

For more information, see Origin Connection Timeout in the Amazon CloudFront Developer Guide.

origin_connectionAttempts :: Lens' Origin (Maybe Int) Source #

The number of times that CloudFront attempts to connect to the origin. The minimum number is 1, the maximum is 3, and the default (if you don’t specify otherwise) is 3.

For a custom origin (including an Amazon S3 bucket that’s configured with static website hosting), this value also specifies the number of times that CloudFront attempts to get a response from the origin, in the case of an Origin Response Timeout.

For more information, see Origin Connection Attempts in the Amazon CloudFront Developer Guide.

origin_s3OriginConfig :: Lens' Origin (Maybe S3OriginConfig) Source #

Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the CustomOriginConfig type instead.

origin_originPath :: Lens' Origin (Maybe Text) Source #

An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.

For more information, see Origin Path in the Amazon CloudFront Developer Guide.

origin_originShield :: Lens' Origin (Maybe OriginShield) Source #

CloudFront Origin Shield. Using Origin Shield can help reduce the load on your origin.

For more information, see Using Origin Shield in the Amazon CloudFront Developer Guide.

origin_id :: Lens' Origin Text Source #

A unique identifier for the origin. This value must be unique within the distribution.

Use this value to specify the TargetOriginId in a CacheBehavior or DefaultCacheBehavior.

origin_domainName :: Lens' Origin Text Source #

The domain name for the origin.

For more information, see Origin Domain Name in the Amazon CloudFront Developer Guide.

OriginCustomHeader

data OriginCustomHeader Source #

A complex type that contains HeaderName and HeaderValue elements, if any, for this distribution.

See: newOriginCustomHeader smart constructor.

Constructors

OriginCustomHeader' 

Fields

Instances

Instances details
Eq OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

Read OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

Show OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

Generic OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

Associated Types

type Rep OriginCustomHeader :: Type -> Type #

NFData OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

Methods

rnf :: OriginCustomHeader -> () #

Hashable OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

FromXML OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

ToXML OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

type Rep OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

type Rep OriginCustomHeader = D1 ('MetaData "OriginCustomHeader" "Amazonka.CloudFront.Types.OriginCustomHeader" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginCustomHeader'" 'PrefixI 'True) (S1 ('MetaSel ('Just "headerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "headerValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newOriginCustomHeader Source #

Create a value of OriginCustomHeader 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:headerName:OriginCustomHeader', originCustomHeader_headerName - The name of a header that you want CloudFront to send to your origin. For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.

$sel:headerValue:OriginCustomHeader', originCustomHeader_headerValue - The value for the header that you specified in the HeaderName field.

originCustomHeader_headerName :: Lens' OriginCustomHeader Text Source #

The name of a header that you want CloudFront to send to your origin. For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.

originCustomHeader_headerValue :: Lens' OriginCustomHeader Text Source #

The value for the header that you specified in the HeaderName field.

OriginGroup

data OriginGroup Source #

An origin group includes two origins (a primary origin and a second origin to failover to) and a failover criteria that you specify. You create an origin group to support origin failover in CloudFront. When you create or update a distribution, you can specifiy the origin group instead of a single origin, and CloudFront will failover from the primary origin to the second origin under the failover conditions that you've chosen.

See: newOriginGroup smart constructor.

Constructors

OriginGroup' 

Fields

Instances

Instances details
Eq OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

Read OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

Show OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

Generic OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

Associated Types

type Rep OriginGroup :: Type -> Type #

NFData OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

Methods

rnf :: OriginGroup -> () #

Hashable OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

FromXML OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

ToXML OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

Methods

toXML :: OriginGroup -> XML #

type Rep OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

type Rep OriginGroup = D1 ('MetaData "OriginGroup" "Amazonka.CloudFront.Types.OriginGroup" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "failoverCriteria") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginGroupFailoverCriteria) :*: S1 ('MetaSel ('Just "members") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginGroupMembers))))

newOriginGroup Source #

Create a value of OriginGroup 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:id:OriginGroup', originGroup_id - The origin group's ID.

$sel:failoverCriteria:OriginGroup', originGroup_failoverCriteria - A complex type that contains information about the failover criteria for an origin group.

$sel:members:OriginGroup', originGroup_members - A complex type that contains information about the origins in an origin group.

originGroup_id :: Lens' OriginGroup Text Source #

The origin group's ID.

originGroup_failoverCriteria :: Lens' OriginGroup OriginGroupFailoverCriteria Source #

A complex type that contains information about the failover criteria for an origin group.

originGroup_members :: Lens' OriginGroup OriginGroupMembers Source #

A complex type that contains information about the origins in an origin group.

OriginGroupFailoverCriteria

data OriginGroupFailoverCriteria Source #

A complex data type that includes information about the failover criteria for an origin group, including the status codes for which CloudFront will failover from the primary origin to the second origin.

See: newOriginGroupFailoverCriteria smart constructor.

Constructors

OriginGroupFailoverCriteria' 

Fields

  • statusCodes :: StatusCodes

    The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.

Instances

Instances details
Eq OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

Read OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

Show OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

Generic OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

Associated Types

type Rep OriginGroupFailoverCriteria :: Type -> Type #

NFData OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

Hashable OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

FromXML OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

ToXML OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

type Rep OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

type Rep OriginGroupFailoverCriteria = D1 ('MetaData "OriginGroupFailoverCriteria" "Amazonka.CloudFront.Types.OriginGroupFailoverCriteria" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginGroupFailoverCriteria'" 'PrefixI 'True) (S1 ('MetaSel ('Just "statusCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StatusCodes)))

newOriginGroupFailoverCriteria Source #

Create a value of OriginGroupFailoverCriteria 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:statusCodes:OriginGroupFailoverCriteria', originGroupFailoverCriteria_statusCodes - The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.

originGroupFailoverCriteria_statusCodes :: Lens' OriginGroupFailoverCriteria StatusCodes Source #

The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.

OriginGroupMember

data OriginGroupMember Source #

An origin in an origin group.

See: newOriginGroupMember smart constructor.

Constructors

OriginGroupMember' 

Fields

Instances

Instances details
Eq OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

Read OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

Show OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

Generic OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

Associated Types

type Rep OriginGroupMember :: Type -> Type #

NFData OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

Methods

rnf :: OriginGroupMember -> () #

Hashable OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

FromXML OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

ToXML OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

type Rep OriginGroupMember Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMember

type Rep OriginGroupMember = D1 ('MetaData "OriginGroupMember" "Amazonka.CloudFront.Types.OriginGroupMember" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginGroupMember'" 'PrefixI 'True) (S1 ('MetaSel ('Just "originId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newOriginGroupMember Source #

Create a value of OriginGroupMember 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:originId:OriginGroupMember', originGroupMember_originId - The ID for an origin in an origin group.

originGroupMember_originId :: Lens' OriginGroupMember Text Source #

The ID for an origin in an origin group.

OriginGroupMembers

data OriginGroupMembers Source #

A complex data type for the origins included in an origin group.

See: newOriginGroupMembers smart constructor.

Constructors

OriginGroupMembers' 

Fields

Instances

Instances details
Eq OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

Read OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

Show OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

Generic OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

Associated Types

type Rep OriginGroupMembers :: Type -> Type #

NFData OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

Methods

rnf :: OriginGroupMembers -> () #

Hashable OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

FromXML OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

ToXML OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

type Rep OriginGroupMembers Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupMembers

type Rep OriginGroupMembers = D1 ('MetaData "OriginGroupMembers" "Amazonka.CloudFront.Types.OriginGroupMembers" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginGroupMembers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty OriginGroupMember))))

newOriginGroupMembers Source #

Create a value of OriginGroupMembers 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:quantity:OriginGroupMembers', originGroupMembers_quantity - The number of origins in an origin group.

$sel:items:OriginGroupMembers', originGroupMembers_items - Items (origins) in an origin group.

originGroupMembers_quantity :: Lens' OriginGroupMembers Int Source #

The number of origins in an origin group.

OriginGroups

data OriginGroups Source #

A complex data type for the origin groups specified for a distribution.

See: newOriginGroups smart constructor.

Constructors

OriginGroups' 

Fields

Instances

Instances details
Eq OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

Read OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

Show OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

Generic OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

Associated Types

type Rep OriginGroups :: Type -> Type #

NFData OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

Methods

rnf :: OriginGroups -> () #

Hashable OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

FromXML OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

ToXML OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

Methods

toXML :: OriginGroups -> XML #

type Rep OriginGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroups

type Rep OriginGroups = D1 ('MetaData "OriginGroups" "Amazonka.CloudFront.Types.OriginGroups" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OriginGroup])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newOriginGroups Source #

Create a value of OriginGroups 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:items:OriginGroups', originGroups_items - The items (origin groups) in a distribution.

$sel:quantity:OriginGroups', originGroups_quantity - The number of origin groups.

originGroups_items :: Lens' OriginGroups (Maybe [OriginGroup]) Source #

The items (origin groups) in a distribution.

originGroups_quantity :: Lens' OriginGroups Int Source #

The number of origin groups.

OriginRequestPolicy

data OriginRequestPolicy Source #

An origin request policy.

When it’s attached to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following:

  • The request body and the URL path (without the domain name) from the viewer request.
  • The headers that CloudFront automatically includes in every origin request, including Host, User-Agent, and X-Amz-Cf-Id.
  • All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront.

CloudFront sends a request when it can’t find an object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy.

See: newOriginRequestPolicy smart constructor.

Constructors

OriginRequestPolicy' 

Fields

Instances

Instances details
Eq OriginRequestPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicy

Read OriginRequestPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicy

Show OriginRequestPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicy

Generic OriginRequestPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicy

Associated Types

type Rep OriginRequestPolicy :: Type -> Type #

NFData OriginRequestPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicy

Methods

rnf :: OriginRequestPolicy -> () #

Hashable OriginRequestPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicy

FromXML OriginRequestPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicy

type Rep OriginRequestPolicy Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicy

type Rep OriginRequestPolicy = D1 ('MetaData "OriginRequestPolicy" "Amazonka.CloudFront.Types.OriginRequestPolicy" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginRequestPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "originRequestPolicyConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicyConfig))))

newOriginRequestPolicy Source #

Create a value of OriginRequestPolicy 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:id:OriginRequestPolicy', originRequestPolicy_id - The unique identifier for the origin request policy.

$sel:lastModifiedTime:OriginRequestPolicy', originRequestPolicy_lastModifiedTime - The date and time when the origin request policy was last modified.

$sel:originRequestPolicyConfig:OriginRequestPolicy', originRequestPolicy_originRequestPolicyConfig - The origin request policy configuration.

originRequestPolicy_id :: Lens' OriginRequestPolicy Text Source #

The unique identifier for the origin request policy.

originRequestPolicy_lastModifiedTime :: Lens' OriginRequestPolicy UTCTime Source #

The date and time when the origin request policy was last modified.

OriginRequestPolicyConfig

data OriginRequestPolicyConfig Source #

An origin request policy configuration.

This configuration determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following:

  • The request body and the URL path (without the domain name) from the viewer request.
  • The headers that CloudFront automatically includes in every origin request, including Host, User-Agent, and X-Amz-Cf-Id.
  • All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront.

CloudFront sends a request when it can’t find an object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy.

See: newOriginRequestPolicyConfig smart constructor.

Constructors

OriginRequestPolicyConfig' 

Fields

Instances

Instances details
Eq OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

Read OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

Show OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

Generic OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

Associated Types

type Rep OriginRequestPolicyConfig :: Type -> Type #

NFData OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

Hashable OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

FromXML OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

ToXML OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

type Rep OriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyConfig

type Rep OriginRequestPolicyConfig = D1 ('MetaData "OriginRequestPolicyConfig" "Amazonka.CloudFront.Types.OriginRequestPolicyConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginRequestPolicyConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "headersConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicyHeadersConfig) :*: (S1 ('MetaSel ('Just "cookiesConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicyCookiesConfig) :*: S1 ('MetaSel ('Just "queryStringsConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicyQueryStringsConfig)))))

newOriginRequestPolicyConfig Source #

Create a value of OriginRequestPolicyConfig 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:comment:OriginRequestPolicyConfig', originRequestPolicyConfig_comment - A comment to describe the origin request policy. The comment cannot be longer than 128 characters.

$sel:name:OriginRequestPolicyConfig', originRequestPolicyConfig_name - A unique name to identify the origin request policy.

$sel:headersConfig:OriginRequestPolicyConfig', originRequestPolicyConfig_headersConfig - The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.

$sel:cookiesConfig:OriginRequestPolicyConfig', originRequestPolicyConfig_cookiesConfig - The cookies from viewer requests to include in origin requests.

$sel:queryStringsConfig:OriginRequestPolicyConfig', originRequestPolicyConfig_queryStringsConfig - The URL query strings from viewer requests to include in origin requests.

originRequestPolicyConfig_comment :: Lens' OriginRequestPolicyConfig (Maybe Text) Source #

A comment to describe the origin request policy. The comment cannot be longer than 128 characters.

originRequestPolicyConfig_name :: Lens' OriginRequestPolicyConfig Text Source #

A unique name to identify the origin request policy.

originRequestPolicyConfig_headersConfig :: Lens' OriginRequestPolicyConfig OriginRequestPolicyHeadersConfig Source #

The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.

originRequestPolicyConfig_queryStringsConfig :: Lens' OriginRequestPolicyConfig OriginRequestPolicyQueryStringsConfig Source #

The URL query strings from viewer requests to include in origin requests.

OriginRequestPolicyCookiesConfig

data OriginRequestPolicyCookiesConfig Source #

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in requests that CloudFront sends to the origin.

See: newOriginRequestPolicyCookiesConfig smart constructor.

Constructors

OriginRequestPolicyCookiesConfig' 

Fields

  • cookies :: Maybe CookieNames
     
  • cookieBehavior :: OriginRequestPolicyCookieBehavior

    Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

    • none – Cookies in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any cookies that are listed in a CachePolicy are included in origin requests.
    • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in requests that CloudFront sends to the origin.
    • all – All cookies in viewer requests are included in requests that CloudFront sends to the origin.

Instances

Instances details
Eq OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

Read OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

Show OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

Generic OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

Associated Types

type Rep OriginRequestPolicyCookiesConfig :: Type -> Type #

NFData OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

Hashable OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

FromXML OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

ToXML OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

type Rep OriginRequestPolicyCookiesConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig

type Rep OriginRequestPolicyCookiesConfig = D1 ('MetaData "OriginRequestPolicyCookiesConfig" "Amazonka.CloudFront.Types.OriginRequestPolicyCookiesConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginRequestPolicyCookiesConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CookieNames)) :*: S1 ('MetaSel ('Just "cookieBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicyCookieBehavior)))

newOriginRequestPolicyCookiesConfig Source #

Create a value of OriginRequestPolicyCookiesConfig 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:cookies:OriginRequestPolicyCookiesConfig', originRequestPolicyCookiesConfig_cookies - Undocumented member.

$sel:cookieBehavior:OriginRequestPolicyCookiesConfig', originRequestPolicyCookiesConfig_cookieBehavior - Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

  • none – Cookies in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any cookies that are listed in a CachePolicy are included in origin requests.
  • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in requests that CloudFront sends to the origin.
  • all – All cookies in viewer requests are included in requests that CloudFront sends to the origin.

originRequestPolicyCookiesConfig_cookieBehavior :: Lens' OriginRequestPolicyCookiesConfig OriginRequestPolicyCookieBehavior Source #

Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

  • none – Cookies in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any cookies that are listed in a CachePolicy are included in origin requests.
  • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in requests that CloudFront sends to the origin.
  • all – All cookies in viewer requests are included in requests that CloudFront sends to the origin.

OriginRequestPolicyHeadersConfig

data OriginRequestPolicyHeadersConfig Source #

An object that determines whether any HTTP headers (and if so, which headers) are included in requests that CloudFront sends to the origin.

See: newOriginRequestPolicyHeadersConfig smart constructor.

Constructors

OriginRequestPolicyHeadersConfig' 

Fields

  • headers :: Maybe Headers
     
  • headerBehavior :: OriginRequestPolicyHeaderBehavior

    Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are:

    • none – HTTP headers are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in a CachePolicy are included in origin requests.
    • whitelist – The HTTP headers that are listed in the Headers type are included in requests that CloudFront sends to the origin.
    • allViewer – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.
    • allViewerAndWhitelistCloudFront – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the Headers type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.

Instances

Instances details
Eq OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

Read OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

Show OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

Generic OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

Associated Types

type Rep OriginRequestPolicyHeadersConfig :: Type -> Type #

NFData OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

Hashable OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

FromXML OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

ToXML OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

type Rep OriginRequestPolicyHeadersConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig

type Rep OriginRequestPolicyHeadersConfig = D1 ('MetaData "OriginRequestPolicyHeadersConfig" "Amazonka.CloudFront.Types.OriginRequestPolicyHeadersConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginRequestPolicyHeadersConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "headers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Headers)) :*: S1 ('MetaSel ('Just "headerBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicyHeaderBehavior)))

newOriginRequestPolicyHeadersConfig Source #

Create a value of OriginRequestPolicyHeadersConfig 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:headers:OriginRequestPolicyHeadersConfig', originRequestPolicyHeadersConfig_headers - Undocumented member.

$sel:headerBehavior:OriginRequestPolicyHeadersConfig', originRequestPolicyHeadersConfig_headerBehavior - Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are:

  • none – HTTP headers are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in a CachePolicy are included in origin requests.
  • whitelist – The HTTP headers that are listed in the Headers type are included in requests that CloudFront sends to the origin.
  • allViewer – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.
  • allViewerAndWhitelistCloudFront – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the Headers type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.

originRequestPolicyHeadersConfig_headerBehavior :: Lens' OriginRequestPolicyHeadersConfig OriginRequestPolicyHeaderBehavior Source #

Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are:

  • none – HTTP headers are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in a CachePolicy are included in origin requests.
  • whitelist – The HTTP headers that are listed in the Headers type are included in requests that CloudFront sends to the origin.
  • allViewer – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.
  • allViewerAndWhitelistCloudFront – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the Headers type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.

OriginRequestPolicyList

data OriginRequestPolicyList Source #

A list of origin request policies.

See: newOriginRequestPolicyList smart constructor.

Constructors

OriginRequestPolicyList' 

Fields

  • items :: Maybe [OriginRequestPolicySummary]

    Contains the origin request policies in the list.

  • nextMarker :: Maybe Text

    If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing origin request policies where you left off.

  • maxItems :: Int

    The maximum number of origin request policies requested.

  • quantity :: Int

    The total number of origin request policies returned in the response.

Instances

Instances details
Eq OriginRequestPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyList

Read OriginRequestPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyList

Show OriginRequestPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyList

Generic OriginRequestPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyList

Associated Types

type Rep OriginRequestPolicyList :: Type -> Type #

NFData OriginRequestPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyList

Methods

rnf :: OriginRequestPolicyList -> () #

Hashable OriginRequestPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyList

FromXML OriginRequestPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyList

type Rep OriginRequestPolicyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyList

type Rep OriginRequestPolicyList = D1 ('MetaData "OriginRequestPolicyList" "Amazonka.CloudFront.Types.OriginRequestPolicyList" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginRequestPolicyList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OriginRequestPolicySummary])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newOriginRequestPolicyList Source #

Create a value of OriginRequestPolicyList 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:items:OriginRequestPolicyList', originRequestPolicyList_items - Contains the origin request policies in the list.

$sel:nextMarker:OriginRequestPolicyList', originRequestPolicyList_nextMarker - If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing origin request policies where you left off.

$sel:maxItems:OriginRequestPolicyList', originRequestPolicyList_maxItems - The maximum number of origin request policies requested.

$sel:quantity:OriginRequestPolicyList', originRequestPolicyList_quantity - The total number of origin request policies returned in the response.

originRequestPolicyList_nextMarker :: Lens' OriginRequestPolicyList (Maybe Text) Source #

If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing origin request policies where you left off.

originRequestPolicyList_maxItems :: Lens' OriginRequestPolicyList Int Source #

The maximum number of origin request policies requested.

originRequestPolicyList_quantity :: Lens' OriginRequestPolicyList Int Source #

The total number of origin request policies returned in the response.

OriginRequestPolicyQueryStringsConfig

data OriginRequestPolicyQueryStringsConfig Source #

An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in requests that CloudFront sends to the origin.

See: newOriginRequestPolicyQueryStringsConfig smart constructor.

Constructors

OriginRequestPolicyQueryStringsConfig' 

Fields

  • queryStrings :: Maybe QueryStringNames

    Contains a list of the query strings in viewer requests that are included in requests that CloudFront sends to the origin.

  • queryStringBehavior :: OriginRequestPolicyQueryStringBehavior

    Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

    • none – Query strings in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any query strings that are listed in a CachePolicy are included in origin requests.
    • whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in requests that CloudFront sends to the origin.
    • all – All query strings in viewer requests are included in requests that CloudFront sends to the origin.

Instances

Instances details
Eq OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

Read OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

Show OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

Generic OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

NFData OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

Hashable OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

FromXML OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

ToXML OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

type Rep OriginRequestPolicyQueryStringsConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig

type Rep OriginRequestPolicyQueryStringsConfig = D1 ('MetaData "OriginRequestPolicyQueryStringsConfig" "Amazonka.CloudFront.Types.OriginRequestPolicyQueryStringsConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginRequestPolicyQueryStringsConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryStrings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryStringNames)) :*: S1 ('MetaSel ('Just "queryStringBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicyQueryStringBehavior)))

newOriginRequestPolicyQueryStringsConfig Source #

Create a value of OriginRequestPolicyQueryStringsConfig 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:queryStrings:OriginRequestPolicyQueryStringsConfig', originRequestPolicyQueryStringsConfig_queryStrings - Contains a list of the query strings in viewer requests that are included in requests that CloudFront sends to the origin.

$sel:queryStringBehavior:OriginRequestPolicyQueryStringsConfig', originRequestPolicyQueryStringsConfig_queryStringBehavior - Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

  • none – Query strings in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any query strings that are listed in a CachePolicy are included in origin requests.
  • whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in requests that CloudFront sends to the origin.
  • all – All query strings in viewer requests are included in requests that CloudFront sends to the origin.

originRequestPolicyQueryStringsConfig_queryStrings :: Lens' OriginRequestPolicyQueryStringsConfig (Maybe QueryStringNames) Source #

Contains a list of the query strings in viewer requests that are included in requests that CloudFront sends to the origin.

originRequestPolicyQueryStringsConfig_queryStringBehavior :: Lens' OriginRequestPolicyQueryStringsConfig OriginRequestPolicyQueryStringBehavior Source #

Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

  • none – Query strings in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any query strings that are listed in a CachePolicy are included in origin requests.
  • whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in requests that CloudFront sends to the origin.
  • all – All query strings in viewer requests are included in requests that CloudFront sends to the origin.

OriginRequestPolicySummary

data OriginRequestPolicySummary Source #

Contains an origin request policy.

See: newOriginRequestPolicySummary smart constructor.

Constructors

OriginRequestPolicySummary' 

Fields

Instances

Instances details
Eq OriginRequestPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicySummary

Read OriginRequestPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicySummary

Show OriginRequestPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicySummary

Generic OriginRequestPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicySummary

Associated Types

type Rep OriginRequestPolicySummary :: Type -> Type #

NFData OriginRequestPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicySummary

Hashable OriginRequestPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicySummary

FromXML OriginRequestPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicySummary

type Rep OriginRequestPolicySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginRequestPolicySummary

type Rep OriginRequestPolicySummary = D1 ('MetaData "OriginRequestPolicySummary" "Amazonka.CloudFront.Types.OriginRequestPolicySummary" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginRequestPolicySummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicyType) :*: S1 ('MetaSel ('Just "originRequestPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginRequestPolicy)))

newOriginRequestPolicySummary Source #

Create a value of OriginRequestPolicySummary 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:type':OriginRequestPolicySummary', originRequestPolicySummary_type - The type of origin request policy, either managed (created by Amazon Web Services) or custom (created in this account).

$sel:originRequestPolicy:OriginRequestPolicySummary', originRequestPolicySummary_originRequestPolicy - The origin request policy.

originRequestPolicySummary_type :: Lens' OriginRequestPolicySummary OriginRequestPolicyType Source #

The type of origin request policy, either managed (created by Amazon Web Services) or custom (created in this account).

OriginShield

data OriginShield Source #

CloudFront Origin Shield.

Using Origin Shield can help reduce the load on your origin. For more information, see Using Origin Shield in the Amazon CloudFront Developer Guide.

See: newOriginShield smart constructor.

Constructors

OriginShield' 

Fields

  • originShieldRegion :: Maybe Text

    The Region for Origin Shield.

    Specify the Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as us-east-2.

    When you enable CloudFront Origin Shield, you must specify the Region for Origin Shield. For the list of Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the Region for Origin Shield in the Amazon CloudFront Developer Guide.

  • enabled :: Bool

    A flag that specifies whether Origin Shield is enabled.

    When it’s enabled, CloudFront routes all requests through Origin Shield, which can help protect your origin. When it’s disabled, CloudFront might send requests directly to your origin from multiple edge locations or regional edge caches.

Instances

Instances details
Eq OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

Read OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

Show OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

Generic OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

Associated Types

type Rep OriginShield :: Type -> Type #

NFData OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

Methods

rnf :: OriginShield -> () #

Hashable OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

FromXML OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

ToXML OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

Methods

toXML :: OriginShield -> XML #

type Rep OriginShield Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginShield

type Rep OriginShield = D1 ('MetaData "OriginShield" "Amazonka.CloudFront.Types.OriginShield" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginShield'" 'PrefixI 'True) (S1 ('MetaSel ('Just "originShieldRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newOriginShield Source #

Create a value of OriginShield 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:originShieldRegion:OriginShield', originShield_originShieldRegion - The Region for Origin Shield.

Specify the Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as us-east-2.

When you enable CloudFront Origin Shield, you must specify the Region for Origin Shield. For the list of Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the Region for Origin Shield in the Amazon CloudFront Developer Guide.

$sel:enabled:OriginShield', originShield_enabled - A flag that specifies whether Origin Shield is enabled.

When it’s enabled, CloudFront routes all requests through Origin Shield, which can help protect your origin. When it’s disabled, CloudFront might send requests directly to your origin from multiple edge locations or regional edge caches.

originShield_originShieldRegion :: Lens' OriginShield (Maybe Text) Source #

The Region for Origin Shield.

Specify the Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as us-east-2.

When you enable CloudFront Origin Shield, you must specify the Region for Origin Shield. For the list of Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the Region for Origin Shield in the Amazon CloudFront Developer Guide.

originShield_enabled :: Lens' OriginShield Bool Source #

A flag that specifies whether Origin Shield is enabled.

When it’s enabled, CloudFront routes all requests through Origin Shield, which can help protect your origin. When it’s disabled, CloudFront might send requests directly to your origin from multiple edge locations or regional edge caches.

OriginSslProtocols

data OriginSslProtocols Source #

A complex type that contains information about the SSL/TLS protocols that CloudFront can use when establishing an HTTPS connection with your origin.

See: newOriginSslProtocols smart constructor.

Constructors

OriginSslProtocols' 

Fields

  • quantity :: Int

    The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.

  • items :: [SslProtocol]

    A list that contains allowed SSL/TLS protocols for this distribution.

Instances

Instances details
Eq OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

Read OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

Show OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

Generic OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

Associated Types

type Rep OriginSslProtocols :: Type -> Type #

NFData OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

Methods

rnf :: OriginSslProtocols -> () #

Hashable OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

FromXML OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

ToXML OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

type Rep OriginSslProtocols Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginSslProtocols

type Rep OriginSslProtocols = D1 ('MetaData "OriginSslProtocols" "Amazonka.CloudFront.Types.OriginSslProtocols" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginSslProtocols'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SslProtocol])))

newOriginSslProtocols Source #

Create a value of OriginSslProtocols 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:quantity:OriginSslProtocols', originSslProtocols_quantity - The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.

$sel:items:OriginSslProtocols', originSslProtocols_items - A list that contains allowed SSL/TLS protocols for this distribution.

originSslProtocols_quantity :: Lens' OriginSslProtocols Int Source #

The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.

originSslProtocols_items :: Lens' OriginSslProtocols [SslProtocol] Source #

A list that contains allowed SSL/TLS protocols for this distribution.

Origins

data Origins Source #

Contains information about the origins for this distribution.

See: newOrigins smart constructor.

Constructors

Origins' 

Fields

Instances

Instances details
Eq Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Methods

(==) :: Origins -> Origins -> Bool #

(/=) :: Origins -> Origins -> Bool #

Read Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Show Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Generic Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Associated Types

type Rep Origins :: Type -> Type #

Methods

from :: Origins -> Rep Origins x #

to :: Rep Origins x -> Origins #

NFData Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Methods

rnf :: Origins -> () #

Hashable Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Methods

hashWithSalt :: Int -> Origins -> Int #

hash :: Origins -> Int #

FromXML Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

ToXML Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

Methods

toXML :: Origins -> XML #

type Rep Origins Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Origins

type Rep Origins = D1 ('MetaData "Origins" "Amazonka.CloudFront.Types.Origins" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "Origins'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Origin))))

newOrigins Source #

Create a value of Origins 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:quantity:Origins', origins_quantity - The number of origins for this distribution.

$sel:items:Origins', origins_items - A list of origins.

origins_quantity :: Lens' Origins Int Source #

The number of origins for this distribution.

ParametersInCacheKeyAndForwardedToOrigin

data ParametersInCacheKeyAndForwardedToOrigin Source #

This object determines the values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.

The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can’t find an object in its cache that matches the request’s cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

See: newParametersInCacheKeyAndForwardedToOrigin smart constructor.

Constructors

ParametersInCacheKeyAndForwardedToOrigin' 

Fields

  • enableAcceptEncodingBrotli :: Maybe Bool

    A flag that can affect whether the Accept-Encoding HTTP header is included in the cache key and included in requests that CloudFront sends to the origin.

    This field is related to the EnableAcceptEncodingGzip field. If one or both of these fields is true and the viewer request includes the Accept-Encoding header, then CloudFront does the following:

    • Normalizes the value of the viewer’s Accept-Encoding header
    • Includes the normalized header in the cache key
    • Includes the normalized header in the request to the origin, if a request is necessary

    For more information, see Compression support in the Amazon CloudFront Developer Guide.

    If you set this value to true, and this cache behavior also has an origin request policy attached, do not include the Accept-Encoding header in the origin request policy. CloudFront always includes the Accept-Encoding header in origin requests when the value of this field is true, so including this header in an origin request policy has no effect.

    If both of these fields are false, then CloudFront treats the Accept-Encoding header the same as any other HTTP header in the viewer request. By default, it’s not included in the cache key and it’s not included in origin requests. In this case, you can manually add Accept-Encoding to the headers whitelist like any other HTTP header.

  • enableAcceptEncodingGzip :: Bool

    A flag that can affect whether the Accept-Encoding HTTP header is included in the cache key and included in requests that CloudFront sends to the origin.

    This field is related to the EnableAcceptEncodingBrotli field. If one or both of these fields is true and the viewer request includes the Accept-Encoding header, then CloudFront does the following:

    • Normalizes the value of the viewer’s Accept-Encoding header
    • Includes the normalized header in the cache key
    • Includes the normalized header in the request to the origin, if a request is necessary

    For more information, see Compression support in the Amazon CloudFront Developer Guide.

    If you set this value to true, and this cache behavior also has an origin request policy attached, do not include the Accept-Encoding header in the origin request policy. CloudFront always includes the Accept-Encoding header in origin requests when the value of this field is true, so including this header in an origin request policy has no effect.

    If both of these fields are false, then CloudFront treats the Accept-Encoding header the same as any other HTTP header in the viewer request. By default, it’s not included in the cache key and it’s not included in origin requests. In this case, you can manually add Accept-Encoding to the headers whitelist like any other HTTP header.

  • headersConfig :: CachePolicyHeadersConfig

    An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

  • cookiesConfig :: CachePolicyCookiesConfig

    An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

  • queryStringsConfig :: CachePolicyQueryStringsConfig

    An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

Instances

Instances details
Eq ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

Read ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

Show ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

Generic ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

NFData ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

Hashable ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

FromXML ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

ToXML ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

type Rep ParametersInCacheKeyAndForwardedToOrigin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin

type Rep ParametersInCacheKeyAndForwardedToOrigin = D1 ('MetaData "ParametersInCacheKeyAndForwardedToOrigin" "Amazonka.CloudFront.Types.ParametersInCacheKeyAndForwardedToOrigin" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ParametersInCacheKeyAndForwardedToOrigin'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enableAcceptEncodingBrotli") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "enableAcceptEncodingGzip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "headersConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicyHeadersConfig) :*: (S1 ('MetaSel ('Just "cookiesConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicyCookiesConfig) :*: S1 ('MetaSel ('Just "queryStringsConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CachePolicyQueryStringsConfig)))))

newParametersInCacheKeyAndForwardedToOrigin Source #

Create a value of ParametersInCacheKeyAndForwardedToOrigin 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:enableAcceptEncodingBrotli:ParametersInCacheKeyAndForwardedToOrigin', parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingBrotli - A flag that can affect whether the Accept-Encoding HTTP header is included in the cache key and included in requests that CloudFront sends to the origin.

This field is related to the EnableAcceptEncodingGzip field. If one or both of these fields is true and the viewer request includes the Accept-Encoding header, then CloudFront does the following:

  • Normalizes the value of the viewer’s Accept-Encoding header
  • Includes the normalized header in the cache key
  • Includes the normalized header in the request to the origin, if a request is necessary

For more information, see Compression support in the Amazon CloudFront Developer Guide.

If you set this value to true, and this cache behavior also has an origin request policy attached, do not include the Accept-Encoding header in the origin request policy. CloudFront always includes the Accept-Encoding header in origin requests when the value of this field is true, so including this header in an origin request policy has no effect.

If both of these fields are false, then CloudFront treats the Accept-Encoding header the same as any other HTTP header in the viewer request. By default, it’s not included in the cache key and it’s not included in origin requests. In this case, you can manually add Accept-Encoding to the headers whitelist like any other HTTP header.

$sel:enableAcceptEncodingGzip:ParametersInCacheKeyAndForwardedToOrigin', parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingGzip - A flag that can affect whether the Accept-Encoding HTTP header is included in the cache key and included in requests that CloudFront sends to the origin.

This field is related to the EnableAcceptEncodingBrotli field. If one or both of these fields is true and the viewer request includes the Accept-Encoding header, then CloudFront does the following:

  • Normalizes the value of the viewer’s Accept-Encoding header
  • Includes the normalized header in the cache key
  • Includes the normalized header in the request to the origin, if a request is necessary

For more information, see Compression support in the Amazon CloudFront Developer Guide.

If you set this value to true, and this cache behavior also has an origin request policy attached, do not include the Accept-Encoding header in the origin request policy. CloudFront always includes the Accept-Encoding header in origin requests when the value of this field is true, so including this header in an origin request policy has no effect.

If both of these fields are false, then CloudFront treats the Accept-Encoding header the same as any other HTTP header in the viewer request. By default, it’s not included in the cache key and it’s not included in origin requests. In this case, you can manually add Accept-Encoding to the headers whitelist like any other HTTP header.

$sel:headersConfig:ParametersInCacheKeyAndForwardedToOrigin', parametersInCacheKeyAndForwardedToOrigin_headersConfig - An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

$sel:cookiesConfig:ParametersInCacheKeyAndForwardedToOrigin', parametersInCacheKeyAndForwardedToOrigin_cookiesConfig - An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

$sel:queryStringsConfig:ParametersInCacheKeyAndForwardedToOrigin', parametersInCacheKeyAndForwardedToOrigin_queryStringsConfig - An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingBrotli :: Lens' ParametersInCacheKeyAndForwardedToOrigin (Maybe Bool) Source #

A flag that can affect whether the Accept-Encoding HTTP header is included in the cache key and included in requests that CloudFront sends to the origin.

This field is related to the EnableAcceptEncodingGzip field. If one or both of these fields is true and the viewer request includes the Accept-Encoding header, then CloudFront does the following:

  • Normalizes the value of the viewer’s Accept-Encoding header
  • Includes the normalized header in the cache key
  • Includes the normalized header in the request to the origin, if a request is necessary

For more information, see Compression support in the Amazon CloudFront Developer Guide.

If you set this value to true, and this cache behavior also has an origin request policy attached, do not include the Accept-Encoding header in the origin request policy. CloudFront always includes the Accept-Encoding header in origin requests when the value of this field is true, so including this header in an origin request policy has no effect.

If both of these fields are false, then CloudFront treats the Accept-Encoding header the same as any other HTTP header in the viewer request. By default, it’s not included in the cache key and it’s not included in origin requests. In this case, you can manually add Accept-Encoding to the headers whitelist like any other HTTP header.

parametersInCacheKeyAndForwardedToOrigin_enableAcceptEncodingGzip :: Lens' ParametersInCacheKeyAndForwardedToOrigin Bool Source #

A flag that can affect whether the Accept-Encoding HTTP header is included in the cache key and included in requests that CloudFront sends to the origin.

This field is related to the EnableAcceptEncodingBrotli field. If one or both of these fields is true and the viewer request includes the Accept-Encoding header, then CloudFront does the following:

  • Normalizes the value of the viewer’s Accept-Encoding header
  • Includes the normalized header in the cache key
  • Includes the normalized header in the request to the origin, if a request is necessary

For more information, see Compression support in the Amazon CloudFront Developer Guide.

If you set this value to true, and this cache behavior also has an origin request policy attached, do not include the Accept-Encoding header in the origin request policy. CloudFront always includes the Accept-Encoding header in origin requests when the value of this field is true, so including this header in an origin request policy has no effect.

If both of these fields are false, then CloudFront treats the Accept-Encoding header the same as any other HTTP header in the viewer request. By default, it’s not included in the cache key and it’s not included in origin requests. In this case, you can manually add Accept-Encoding to the headers whitelist like any other HTTP header.

parametersInCacheKeyAndForwardedToOrigin_headersConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyHeadersConfig Source #

An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

parametersInCacheKeyAndForwardedToOrigin_cookiesConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyCookiesConfig Source #

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

parametersInCacheKeyAndForwardedToOrigin_queryStringsConfig :: Lens' ParametersInCacheKeyAndForwardedToOrigin CachePolicyQueryStringsConfig Source #

An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

Paths

data Paths Source #

A complex type that contains information about the objects that you want to invalidate. For more information, see Specifying the Objects to Invalidate in the Amazon CloudFront Developer Guide.

See: newPaths smart constructor.

Constructors

Paths' 

Fields

  • items :: Maybe [Text]

    A complex type that contains a list of the paths that you want to invalidate.

  • quantity :: Int

    The number of invalidation paths specified for the objects that you want to invalidate.

Instances

Instances details
Eq Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

Methods

(==) :: Paths -> Paths -> Bool #

(/=) :: Paths -> Paths -> Bool #

Read Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

Show Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

Methods

showsPrec :: Int -> Paths -> ShowS #

show :: Paths -> String #

showList :: [Paths] -> ShowS #

Generic Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

Associated Types

type Rep Paths :: Type -> Type #

Methods

from :: Paths -> Rep Paths x #

to :: Rep Paths x -> Paths #

NFData Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

Methods

rnf :: Paths -> () #

Hashable Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

Methods

hashWithSalt :: Int -> Paths -> Int #

hash :: Paths -> Int #

FromXML Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

Methods

parseXML :: [Node] -> Either String Paths #

ToXML Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

Methods

toXML :: Paths -> XML #

type Rep Paths Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Paths

type Rep Paths = D1 ('MetaData "Paths" "Amazonka.CloudFront.Types.Paths" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "Paths'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPaths Source #

Create a value of Paths 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:items:Paths', paths_items - A complex type that contains a list of the paths that you want to invalidate.

$sel:quantity:Paths', paths_quantity - The number of invalidation paths specified for the objects that you want to invalidate.

paths_items :: Lens' Paths (Maybe [Text]) Source #

A complex type that contains a list of the paths that you want to invalidate.

paths_quantity :: Lens' Paths Int Source #

The number of invalidation paths specified for the objects that you want to invalidate.

PublicKey

data PublicKey Source #

A public key that you can use with signed URLs and signed cookies, or with field-level encryption.

See: newPublicKey smart constructor.

Constructors

PublicKey' 

Fields

Instances

Instances details
Eq PublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKey

Read PublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKey

Show PublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKey

Generic PublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKey

Associated Types

type Rep PublicKey :: Type -> Type #

NFData PublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKey

Methods

rnf :: PublicKey -> () #

Hashable PublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKey

FromXML PublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKey

type Rep PublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKey

type Rep PublicKey = D1 ('MetaData "PublicKey" "Amazonka.CloudFront.Types.PublicKey" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "PublicKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "publicKeyConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PublicKeyConfig))))

newPublicKey Source #

Create a value of PublicKey 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:id:PublicKey', publicKey_id - The identifier of the public key.

$sel:createdTime:PublicKey', publicKey_createdTime - The date and time when the public key was uploaded.

$sel:publicKeyConfig:PublicKey', publicKey_publicKeyConfig - Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.

publicKey_id :: Lens' PublicKey Text Source #

The identifier of the public key.

publicKey_createdTime :: Lens' PublicKey UTCTime Source #

The date and time when the public key was uploaded.

publicKey_publicKeyConfig :: Lens' PublicKey PublicKeyConfig Source #

Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.

PublicKeyConfig

data PublicKeyConfig Source #

Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.

See: newPublicKeyConfig smart constructor.

Constructors

PublicKeyConfig' 

Fields

Instances

Instances details
Eq PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

Read PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

Show PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

Generic PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

Associated Types

type Rep PublicKeyConfig :: Type -> Type #

NFData PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

Methods

rnf :: PublicKeyConfig -> () #

Hashable PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

FromXML PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

ToXML PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

Methods

toXML :: PublicKeyConfig -> XML #

type Rep PublicKeyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyConfig

type Rep PublicKeyConfig = D1 ('MetaData "PublicKeyConfig" "Amazonka.CloudFront.Types.PublicKeyConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "PublicKeyConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "encodedKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newPublicKeyConfig Source #

Create a value of PublicKeyConfig 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:comment:PublicKeyConfig', publicKeyConfig_comment - A comment to describe the public key. The comment cannot be longer than 128 characters.

$sel:callerReference:PublicKeyConfig', publicKeyConfig_callerReference - A string included in the request to help make sure that the request can’t be replayed.

$sel:name:PublicKeyConfig', publicKeyConfig_name - A name to help identify the public key.

$sel:encodedKey:PublicKeyConfig', publicKeyConfig_encodedKey - The public key that you can use with signed URLs and signed cookies, or with field-level encryption.

publicKeyConfig_comment :: Lens' PublicKeyConfig (Maybe Text) Source #

A comment to describe the public key. The comment cannot be longer than 128 characters.

publicKeyConfig_callerReference :: Lens' PublicKeyConfig Text Source #

A string included in the request to help make sure that the request can’t be replayed.

publicKeyConfig_name :: Lens' PublicKeyConfig Text Source #

A name to help identify the public key.

PublicKeyList

data PublicKeyList Source #

A list of public keys that you can use with signed URLs and signed cookies, or with field-level encryption.

See: newPublicKeyList smart constructor.

Constructors

PublicKeyList' 

Fields

  • items :: Maybe [PublicKeySummary]

    A list of public keys.

  • nextMarker :: Maybe Text

    If there are more elements to be listed, this element is present and contains the value that you can use for the Marker request parameter to continue listing your public keys where you left off.

  • maxItems :: Int

    The maximum number of public keys you want in the response.

  • quantity :: Int

    The number of public keys in the list.

Instances

Instances details
Eq PublicKeyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyList

Read PublicKeyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyList

Show PublicKeyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyList

Generic PublicKeyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyList

Associated Types

type Rep PublicKeyList :: Type -> Type #

NFData PublicKeyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyList

Methods

rnf :: PublicKeyList -> () #

Hashable PublicKeyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyList

FromXML PublicKeyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyList

type Rep PublicKeyList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeyList

type Rep PublicKeyList = D1 ('MetaData "PublicKeyList" "Amazonka.CloudFront.Types.PublicKeyList" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "PublicKeyList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PublicKeySummary])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newPublicKeyList Source #

Create a value of PublicKeyList 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:items:PublicKeyList', publicKeyList_items - A list of public keys.

$sel:nextMarker:PublicKeyList', publicKeyList_nextMarker - If there are more elements to be listed, this element is present and contains the value that you can use for the Marker request parameter to continue listing your public keys where you left off.

$sel:maxItems:PublicKeyList', publicKeyList_maxItems - The maximum number of public keys you want in the response.

$sel:quantity:PublicKeyList', publicKeyList_quantity - The number of public keys in the list.

publicKeyList_nextMarker :: Lens' PublicKeyList (Maybe Text) Source #

If there are more elements to be listed, this element is present and contains the value that you can use for the Marker request parameter to continue listing your public keys where you left off.

publicKeyList_maxItems :: Lens' PublicKeyList Int Source #

The maximum number of public keys you want in the response.

publicKeyList_quantity :: Lens' PublicKeyList Int Source #

The number of public keys in the list.

PublicKeySummary

data PublicKeySummary Source #

Contains information about a public key.

See: newPublicKeySummary smart constructor.

Constructors

PublicKeySummary' 

Fields

Instances

Instances details
Eq PublicKeySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeySummary

Read PublicKeySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeySummary

Show PublicKeySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeySummary

Generic PublicKeySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeySummary

Associated Types

type Rep PublicKeySummary :: Type -> Type #

NFData PublicKeySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeySummary

Methods

rnf :: PublicKeySummary -> () #

Hashable PublicKeySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeySummary

FromXML PublicKeySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeySummary

type Rep PublicKeySummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.PublicKeySummary

type Rep PublicKeySummary = D1 ('MetaData "PublicKeySummary" "Amazonka.CloudFront.Types.PublicKeySummary" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "PublicKeySummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "encodedKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newPublicKeySummary Source #

Create a value of PublicKeySummary 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:comment:PublicKeySummary', publicKeySummary_comment - A comment to describe the public key. The comment cannot be longer than 128 characters.

$sel:id:PublicKeySummary', publicKeySummary_id - The identifier of the public key.

$sel:name:PublicKeySummary', publicKeySummary_name - A name to help identify the public key.

$sel:createdTime:PublicKeySummary', publicKeySummary_createdTime - The date and time when the public key was uploaded.

$sel:encodedKey:PublicKeySummary', publicKeySummary_encodedKey - The public key.

publicKeySummary_comment :: Lens' PublicKeySummary (Maybe Text) Source #

A comment to describe the public key. The comment cannot be longer than 128 characters.

publicKeySummary_id :: Lens' PublicKeySummary Text Source #

The identifier of the public key.

publicKeySummary_name :: Lens' PublicKeySummary Text Source #

A name to help identify the public key.

publicKeySummary_createdTime :: Lens' PublicKeySummary UTCTime Source #

The date and time when the public key was uploaded.

QueryArgProfile

data QueryArgProfile Source #

Query argument-profile mapping for field-level encryption.

See: newQueryArgProfile smart constructor.

Constructors

QueryArgProfile' 

Fields

  • queryArg :: Text

    Query argument for field-level encryption query argument-profile mapping.

  • profileId :: Text

    ID of profile to use for field-level encryption query argument-profile mapping

Instances

Instances details
Eq QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

Read QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

Show QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

Generic QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

Associated Types

type Rep QueryArgProfile :: Type -> Type #

NFData QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

Methods

rnf :: QueryArgProfile -> () #

Hashable QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

FromXML QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

ToXML QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

Methods

toXML :: QueryArgProfile -> XML #

type Rep QueryArgProfile Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfile

type Rep QueryArgProfile = D1 ('MetaData "QueryArgProfile" "Amazonka.CloudFront.Types.QueryArgProfile" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "QueryArgProfile'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryArg") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "profileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newQueryArgProfile Source #

Create a value of QueryArgProfile 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:queryArg:QueryArgProfile', queryArgProfile_queryArg - Query argument for field-level encryption query argument-profile mapping.

$sel:profileId:QueryArgProfile', queryArgProfile_profileId - ID of profile to use for field-level encryption query argument-profile mapping

queryArgProfile_queryArg :: Lens' QueryArgProfile Text Source #

Query argument for field-level encryption query argument-profile mapping.

queryArgProfile_profileId :: Lens' QueryArgProfile Text Source #

ID of profile to use for field-level encryption query argument-profile mapping

QueryArgProfileConfig

data QueryArgProfileConfig Source #

Configuration for query argument-profile mapping for field-level encryption.

See: newQueryArgProfileConfig smart constructor.

Constructors

QueryArgProfileConfig' 

Fields

Instances

Instances details
Eq QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

Read QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

Show QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

Generic QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

Associated Types

type Rep QueryArgProfileConfig :: Type -> Type #

NFData QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

Methods

rnf :: QueryArgProfileConfig -> () #

Hashable QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

FromXML QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

ToXML QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

type Rep QueryArgProfileConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfileConfig

type Rep QueryArgProfileConfig = D1 ('MetaData "QueryArgProfileConfig" "Amazonka.CloudFront.Types.QueryArgProfileConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "QueryArgProfileConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryArgProfiles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryArgProfiles)) :*: S1 ('MetaSel ('Just "forwardWhenQueryArgProfileIsUnknown") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newQueryArgProfileConfig Source #

Create a value of QueryArgProfileConfig 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:queryArgProfiles:QueryArgProfileConfig', queryArgProfileConfig_queryArgProfiles - Profiles specified for query argument-profile mapping for field-level encryption.

$sel:forwardWhenQueryArgProfileIsUnknown:QueryArgProfileConfig', queryArgProfileConfig_forwardWhenQueryArgProfileIsUnknown - Flag to set if you want a request to be forwarded to the origin even if the profile specified by the field-level encryption query argument, fle-profile, is unknown.

queryArgProfileConfig_queryArgProfiles :: Lens' QueryArgProfileConfig (Maybe QueryArgProfiles) Source #

Profiles specified for query argument-profile mapping for field-level encryption.

queryArgProfileConfig_forwardWhenQueryArgProfileIsUnknown :: Lens' QueryArgProfileConfig Bool Source #

Flag to set if you want a request to be forwarded to the origin even if the profile specified by the field-level encryption query argument, fle-profile, is unknown.

QueryArgProfiles

data QueryArgProfiles Source #

Query argument-profile mapping for field-level encryption.

See: newQueryArgProfiles smart constructor.

Constructors

QueryArgProfiles' 

Fields

  • items :: Maybe [QueryArgProfile]

    Number of items for query argument-profile mapping for field-level encryption.

  • quantity :: Int

    Number of profiles for query argument-profile mapping for field-level encryption.

Instances

Instances details
Eq QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

Read QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

Show QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

Generic QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

Associated Types

type Rep QueryArgProfiles :: Type -> Type #

NFData QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

Methods

rnf :: QueryArgProfiles -> () #

Hashable QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

FromXML QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

ToXML QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

type Rep QueryArgProfiles Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryArgProfiles

type Rep QueryArgProfiles = D1 ('MetaData "QueryArgProfiles" "Amazonka.CloudFront.Types.QueryArgProfiles" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "QueryArgProfiles'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [QueryArgProfile])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newQueryArgProfiles Source #

Create a value of QueryArgProfiles 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:items:QueryArgProfiles', queryArgProfiles_items - Number of items for query argument-profile mapping for field-level encryption.

$sel:quantity:QueryArgProfiles', queryArgProfiles_quantity - Number of profiles for query argument-profile mapping for field-level encryption.

queryArgProfiles_items :: Lens' QueryArgProfiles (Maybe [QueryArgProfile]) Source #

Number of items for query argument-profile mapping for field-level encryption.

queryArgProfiles_quantity :: Lens' QueryArgProfiles Int Source #

Number of profiles for query argument-profile mapping for field-level encryption.

QueryStringCacheKeys

data QueryStringCacheKeys Source #

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include query strings in the cache key, use QueryStringsConfig in a cache policy. See CachePolicy.

If you want to send query strings to the origin but not include them in the cache key, use QueryStringsConfig in an origin request policy. See OriginRequestPolicy.

A complex type that contains information about the query string parameters that you want CloudFront to use for caching for a cache behavior.

See: newQueryStringCacheKeys smart constructor.

Constructors

QueryStringCacheKeys' 

Fields

  • items :: Maybe [Text]

    A list that contains the query string parameters that you want CloudFront to use as a basis for caching for a cache behavior. If Quantity is 0, you can omit Items.

  • quantity :: Int

    The number of whitelisted query string parameters for a cache behavior.

Instances

Instances details
Eq QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

Read QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

Show QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

Generic QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

Associated Types

type Rep QueryStringCacheKeys :: Type -> Type #

NFData QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

Methods

rnf :: QueryStringCacheKeys -> () #

Hashable QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

FromXML QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

ToXML QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

type Rep QueryStringCacheKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringCacheKeys

type Rep QueryStringCacheKeys = D1 ('MetaData "QueryStringCacheKeys" "Amazonka.CloudFront.Types.QueryStringCacheKeys" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "QueryStringCacheKeys'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newQueryStringCacheKeys Source #

Create a value of QueryStringCacheKeys 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:items:QueryStringCacheKeys', queryStringCacheKeys_items - A list that contains the query string parameters that you want CloudFront to use as a basis for caching for a cache behavior. If Quantity is 0, you can omit Items.

$sel:quantity:QueryStringCacheKeys', queryStringCacheKeys_quantity - The number of whitelisted query string parameters for a cache behavior.

queryStringCacheKeys_items :: Lens' QueryStringCacheKeys (Maybe [Text]) Source #

A list that contains the query string parameters that you want CloudFront to use as a basis for caching for a cache behavior. If Quantity is 0, you can omit Items.

queryStringCacheKeys_quantity :: Lens' QueryStringCacheKeys Int Source #

The number of whitelisted query string parameters for a cache behavior.

QueryStringNames

data QueryStringNames Source #

Contains a list of query string names.

See: newQueryStringNames smart constructor.

Constructors

QueryStringNames' 

Fields

Instances

Instances details
Eq QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

Read QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

Show QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

Generic QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

Associated Types

type Rep QueryStringNames :: Type -> Type #

NFData QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

Methods

rnf :: QueryStringNames -> () #

Hashable QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

FromXML QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

ToXML QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

type Rep QueryStringNames Source # 
Instance details

Defined in Amazonka.CloudFront.Types.QueryStringNames

type Rep QueryStringNames = D1 ('MetaData "QueryStringNames" "Amazonka.CloudFront.Types.QueryStringNames" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "QueryStringNames'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newQueryStringNames Source #

Create a value of QueryStringNames 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:items:QueryStringNames', queryStringNames_items - A list of query string names.

$sel:quantity:QueryStringNames', queryStringNames_quantity - The number of query string names in the Items list.

queryStringNames_items :: Lens' QueryStringNames (Maybe [Text]) Source #

A list of query string names.

queryStringNames_quantity :: Lens' QueryStringNames Int Source #

The number of query string names in the Items list.

RealtimeLogConfig

data RealtimeLogConfig Source #

A real-time log configuration.

See: newRealtimeLogConfig smart constructor.

Constructors

RealtimeLogConfig' 

Fields

  • arn :: Text

    The Amazon Resource Name (ARN) of this real-time log configuration.

  • name :: Text

    The unique name of this real-time log configuration.

  • samplingRate :: Integer

    The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. The sampling rate is an integer between 1 and 100, inclusive.

  • endPoints :: [EndPoint]

    Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.

  • fields :: [Text]

    A list of fields that are included in each real-time log record. In an API response, the fields are provided in the same order in which they are sent to the Amazon Kinesis data stream.

    For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.

Instances

Instances details
Eq RealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfig

Read RealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfig

Show RealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfig

Generic RealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfig

Associated Types

type Rep RealtimeLogConfig :: Type -> Type #

NFData RealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfig

Methods

rnf :: RealtimeLogConfig -> () #

Hashable RealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfig

FromXML RealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfig

type Rep RealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfig

type Rep RealtimeLogConfig = D1 ('MetaData "RealtimeLogConfig" "Amazonka.CloudFront.Types.RealtimeLogConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "RealtimeLogConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "samplingRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "endPoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [EndPoint]) :*: S1 ('MetaSel ('Just "fields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))))

newRealtimeLogConfig Source #

Create a value of RealtimeLogConfig 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:arn:RealtimeLogConfig', realtimeLogConfig_arn - The Amazon Resource Name (ARN) of this real-time log configuration.

$sel:name:RealtimeLogConfig', realtimeLogConfig_name - The unique name of this real-time log configuration.

$sel:samplingRate:RealtimeLogConfig', realtimeLogConfig_samplingRate - The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. The sampling rate is an integer between 1 and 100, inclusive.

$sel:endPoints:RealtimeLogConfig', realtimeLogConfig_endPoints - Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.

$sel:fields:RealtimeLogConfig', realtimeLogConfig_fields - A list of fields that are included in each real-time log record. In an API response, the fields are provided in the same order in which they are sent to the Amazon Kinesis data stream.

For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.

realtimeLogConfig_arn :: Lens' RealtimeLogConfig Text Source #

The Amazon Resource Name (ARN) of this real-time log configuration.

realtimeLogConfig_name :: Lens' RealtimeLogConfig Text Source #

The unique name of this real-time log configuration.

realtimeLogConfig_samplingRate :: Lens' RealtimeLogConfig Integer Source #

The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. The sampling rate is an integer between 1 and 100, inclusive.

realtimeLogConfig_endPoints :: Lens' RealtimeLogConfig [EndPoint] Source #

Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.

realtimeLogConfig_fields :: Lens' RealtimeLogConfig [Text] Source #

A list of fields that are included in each real-time log record. In an API response, the fields are provided in the same order in which they are sent to the Amazon Kinesis data stream.

For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.

RealtimeLogConfigs

data RealtimeLogConfigs Source #

A list of real-time log configurations.

See: newRealtimeLogConfigs smart constructor.

Constructors

RealtimeLogConfigs' 

Fields

  • items :: Maybe [RealtimeLogConfig]

    Contains the list of real-time log configurations.

  • nextMarker :: Maybe Text

    If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing real-time log configurations where you left off.

  • maxItems :: Int

    The maximum number of real-time log configurations requested.

  • isTruncated :: Bool

    A flag that indicates whether there are more real-time log configurations than are contained in this list.

  • marker :: Text

    This parameter indicates where this list of real-time log configurations begins. This list includes real-time log configurations that occur after the marker.

Instances

Instances details
Eq RealtimeLogConfigs Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfigs

Read RealtimeLogConfigs Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfigs

Show RealtimeLogConfigs Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfigs

Generic RealtimeLogConfigs Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfigs

Associated Types

type Rep RealtimeLogConfigs :: Type -> Type #

NFData RealtimeLogConfigs Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfigs

Methods

rnf :: RealtimeLogConfigs -> () #

Hashable RealtimeLogConfigs Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfigs

FromXML RealtimeLogConfigs Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfigs

type Rep RealtimeLogConfigs Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeLogConfigs

type Rep RealtimeLogConfigs = D1 ('MetaData "RealtimeLogConfigs" "Amazonka.CloudFront.Types.RealtimeLogConfigs" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "RealtimeLogConfigs'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RealtimeLogConfig])) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "isTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newRealtimeLogConfigs Source #

Create a value of RealtimeLogConfigs 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:items:RealtimeLogConfigs', realtimeLogConfigs_items - Contains the list of real-time log configurations.

$sel:nextMarker:RealtimeLogConfigs', realtimeLogConfigs_nextMarker - If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing real-time log configurations where you left off.

$sel:maxItems:RealtimeLogConfigs', realtimeLogConfigs_maxItems - The maximum number of real-time log configurations requested.

$sel:isTruncated:RealtimeLogConfigs', realtimeLogConfigs_isTruncated - A flag that indicates whether there are more real-time log configurations than are contained in this list.

$sel:marker:RealtimeLogConfigs', realtimeLogConfigs_marker - This parameter indicates where this list of real-time log configurations begins. This list includes real-time log configurations that occur after the marker.

realtimeLogConfigs_items :: Lens' RealtimeLogConfigs (Maybe [RealtimeLogConfig]) Source #

Contains the list of real-time log configurations.

realtimeLogConfigs_nextMarker :: Lens' RealtimeLogConfigs (Maybe Text) Source #

If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing real-time log configurations where you left off.

realtimeLogConfigs_maxItems :: Lens' RealtimeLogConfigs Int Source #

The maximum number of real-time log configurations requested.

realtimeLogConfigs_isTruncated :: Lens' RealtimeLogConfigs Bool Source #

A flag that indicates whether there are more real-time log configurations than are contained in this list.

realtimeLogConfigs_marker :: Lens' RealtimeLogConfigs Text Source #

This parameter indicates where this list of real-time log configurations begins. This list includes real-time log configurations that occur after the marker.

RealtimeMetricsSubscriptionConfig

data RealtimeMetricsSubscriptionConfig Source #

A subscription configuration for additional CloudWatch metrics.

See: newRealtimeMetricsSubscriptionConfig smart constructor.

Constructors

RealtimeMetricsSubscriptionConfig' 

Fields

Instances

Instances details
Eq RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

Read RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

Show RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

Generic RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

Associated Types

type Rep RealtimeMetricsSubscriptionConfig :: Type -> Type #

NFData RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

Hashable RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

FromXML RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

ToXML RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

type Rep RealtimeMetricsSubscriptionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig

type Rep RealtimeMetricsSubscriptionConfig = D1 ('MetaData "RealtimeMetricsSubscriptionConfig" "Amazonka.CloudFront.Types.RealtimeMetricsSubscriptionConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "RealtimeMetricsSubscriptionConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "realtimeMetricsSubscriptionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RealtimeMetricsSubscriptionStatus)))

newRealtimeMetricsSubscriptionConfig Source #

Create a value of RealtimeMetricsSubscriptionConfig 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:realtimeMetricsSubscriptionStatus:RealtimeMetricsSubscriptionConfig', realtimeMetricsSubscriptionConfig_realtimeMetricsSubscriptionStatus - A flag that indicates whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

realtimeMetricsSubscriptionConfig_realtimeMetricsSubscriptionStatus :: Lens' RealtimeMetricsSubscriptionConfig RealtimeMetricsSubscriptionStatus Source #

A flag that indicates whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

Restrictions

data Restrictions Source #

A complex type that identifies ways in which you want to restrict distribution of your content.

See: newRestrictions smart constructor.

Constructors

Restrictions' 

Fields

  • geoRestriction :: GeoRestriction

    A complex type that controls the countries in which your content is distributed. CloudFront determines the location of your users using MaxMind GeoIP databases.

Instances

Instances details
Eq Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Read Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Show Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Generic Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Associated Types

type Rep Restrictions :: Type -> Type #

NFData Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Methods

rnf :: Restrictions -> () #

Hashable Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

FromXML Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

ToXML Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

Methods

toXML :: Restrictions -> XML #

type Rep Restrictions Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Restrictions

type Rep Restrictions = D1 ('MetaData "Restrictions" "Amazonka.CloudFront.Types.Restrictions" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "Restrictions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "geoRestriction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GeoRestriction)))

newRestrictions Source #

Create a value of Restrictions 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:geoRestriction:Restrictions', restrictions_geoRestriction - A complex type that controls the countries in which your content is distributed. CloudFront determines the location of your users using MaxMind GeoIP databases.

restrictions_geoRestriction :: Lens' Restrictions GeoRestriction Source #

A complex type that controls the countries in which your content is distributed. CloudFront determines the location of your users using MaxMind GeoIP databases.

S3Origin

data S3Origin Source #

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

See: newS3Origin smart constructor.

Constructors

S3Origin' 

Fields

  • domainName :: Text

    The DNS name of the Amazon S3 origin.

  • originAccessIdentity :: Text

    The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront.

    If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

    To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

    To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

    For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon CloudFront Developer Guide.

Instances

Instances details
Eq S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

Read S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

Show S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

Generic S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

Associated Types

type Rep S3Origin :: Type -> Type #

Methods

from :: S3Origin -> Rep S3Origin x #

to :: Rep S3Origin x -> S3Origin #

NFData S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

Methods

rnf :: S3Origin -> () #

Hashable S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

Methods

hashWithSalt :: Int -> S3Origin -> Int #

hash :: S3Origin -> Int #

FromXML S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

ToXML S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

Methods

toXML :: S3Origin -> XML #

type Rep S3Origin Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3Origin

type Rep S3Origin = D1 ('MetaData "S3Origin" "Amazonka.CloudFront.Types.S3Origin" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "S3Origin'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "originAccessIdentity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newS3Origin Source #

Create a value of S3Origin 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:domainName:S3Origin', s3Origin_domainName - The DNS name of the Amazon S3 origin.

$sel:originAccessIdentity:S3Origin', s3Origin_originAccessIdentity - The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront.

If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon CloudFront Developer Guide.

s3Origin_domainName :: Lens' S3Origin Text Source #

The DNS name of the Amazon S3 origin.

s3Origin_originAccessIdentity :: Lens' S3Origin Text Source #

The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront.

If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon CloudFront Developer Guide.

S3OriginConfig

data S3OriginConfig Source #

A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin or an S3 bucket that is configured as a website endpoint, use the CustomOriginConfig element instead.

See: newS3OriginConfig smart constructor.

Constructors

S3OriginConfig' 

Fields

  • originAccessIdentity :: Text

    The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that viewers can only access objects in an Amazon S3 bucket through CloudFront. The format of the value is:

    origin-access-identity/cloudfront/ID-of-origin-access-identity

    where ID-of-origin-access-identity is the value that CloudFront returned in the ID element when you created the origin access identity.

    If you want viewers to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

    To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

    To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

    For more information about the origin access identity, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

Instances

Instances details
Eq S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

Read S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

Show S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

Generic S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

Associated Types

type Rep S3OriginConfig :: Type -> Type #

NFData S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

Methods

rnf :: S3OriginConfig -> () #

Hashable S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

FromXML S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

ToXML S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

Methods

toXML :: S3OriginConfig -> XML #

type Rep S3OriginConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.S3OriginConfig

type Rep S3OriginConfig = D1 ('MetaData "S3OriginConfig" "Amazonka.CloudFront.Types.S3OriginConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "S3OriginConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "originAccessIdentity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newS3OriginConfig Source #

Create a value of S3OriginConfig 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:originAccessIdentity:S3OriginConfig', s3OriginConfig_originAccessIdentity - The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that viewers can only access objects in an Amazon S3 bucket through CloudFront. The format of the value is:

origin-access-identity/cloudfront/ID-of-origin-access-identity

where ID-of-origin-access-identity is the value that CloudFront returned in the ID element when you created the origin access identity.

If you want viewers to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

For more information about the origin access identity, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

s3OriginConfig_originAccessIdentity :: Lens' S3OriginConfig Text Source #

The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that viewers can only access objects in an Amazon S3 bucket through CloudFront. The format of the value is:

origin-access-identity/cloudfront/ID-of-origin-access-identity

where ID-of-origin-access-identity is the value that CloudFront returned in the ID element when you created the origin access identity.

If you want viewers to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

For more information about the origin access identity, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

Signer

data Signer Source #

A list of accounts and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.

See: newSigner smart constructor.

Constructors

Signer' 

Fields

  • awsAccountNumber :: Maybe Text

    An account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If the account that owns the key pairs is the same account that owns the CloudFront distribution, the value of this field is self.

  • keyPairIds :: Maybe KeyPairIds

    A list of CloudFront key pair identifiers.

Instances

Instances details
Eq Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Methods

(==) :: Signer -> Signer -> Bool #

(/=) :: Signer -> Signer -> Bool #

Read Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Show Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Generic Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Associated Types

type Rep Signer :: Type -> Type #

Methods

from :: Signer -> Rep Signer x #

to :: Rep Signer x -> Signer #

NFData Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Methods

rnf :: Signer -> () #

Hashable Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Methods

hashWithSalt :: Int -> Signer -> Int #

hash :: Signer -> Int #

FromXML Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

type Rep Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

type Rep Signer = D1 ('MetaData "Signer" "Amazonka.CloudFront.Types.Signer" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "Signer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "awsAccountNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "keyPairIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KeyPairIds))))

newSigner :: Signer Source #

Create a value of Signer 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:awsAccountNumber:Signer', signer_awsAccountNumber - An account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If the account that owns the key pairs is the same account that owns the CloudFront distribution, the value of this field is self.

$sel:keyPairIds:Signer', signer_keyPairIds - A list of CloudFront key pair identifiers.

signer_awsAccountNumber :: Lens' Signer (Maybe Text) Source #

An account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If the account that owns the key pairs is the same account that owns the CloudFront distribution, the value of this field is self.

signer_keyPairIds :: Lens' Signer (Maybe KeyPairIds) Source #

A list of CloudFront key pair identifiers.

StatusCodes

data StatusCodes Source #

A complex data type for the status codes that you specify that, when returned by a primary origin, trigger CloudFront to failover to a second origin.

See: newStatusCodes smart constructor.

Constructors

StatusCodes' 

Fields

Instances

Instances details
Eq StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

Read StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

Show StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

Generic StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

Associated Types

type Rep StatusCodes :: Type -> Type #

NFData StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

Methods

rnf :: StatusCodes -> () #

Hashable StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

FromXML StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

ToXML StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

Methods

toXML :: StatusCodes -> XML #

type Rep StatusCodes Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StatusCodes

type Rep StatusCodes = D1 ('MetaData "StatusCodes" "Amazonka.CloudFront.Types.StatusCodes" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "StatusCodes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Int))))

newStatusCodes Source #

Create a value of StatusCodes 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:quantity:StatusCodes', statusCodes_quantity - The number of status codes.

$sel:items:StatusCodes', statusCodes_items - The items (status codes) for an origin group.

statusCodes_quantity :: Lens' StatusCodes Int Source #

The number of status codes.

statusCodes_items :: Lens' StatusCodes (NonEmpty Int) Source #

The items (status codes) for an origin group.

StreamingDistribution

data StreamingDistribution Source #

A streaming distribution tells CloudFront where you want RTMP content to be delivered from, and the details about how to track and manage content delivery.

See: newStreamingDistribution smart constructor.

Constructors

StreamingDistribution' 

Fields

  • lastModifiedTime :: Maybe ISO8601

    The date and time that the distribution was last modified.

  • id :: Text

    The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE.

  • arn :: Text

    The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your account ID.

  • status :: Text

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

  • domainName :: Text

    The domain name that corresponds to the streaming distribution, for example, s5c39gqb8ow64r.cloudfront.net.

  • activeTrustedSigners :: ActiveTrustedSigners

    A complex type that lists the accounts, if any, that you included in the TrustedSigners complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.

    The Signer complex type lists the account number of the trusted signer or self if the signer is the account that created the distribution. The Signer element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's account. If no KeyPairId element appears for a Signer, that signer can't create signed URLs.

    For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

  • streamingDistributionConfig :: StreamingDistributionConfig

    The current configuration information for the RTMP distribution.

Instances

Instances details
Eq StreamingDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistribution

Read StreamingDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistribution

Show StreamingDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistribution

Generic StreamingDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistribution

Associated Types

type Rep StreamingDistribution :: Type -> Type #

NFData StreamingDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistribution

Methods

rnf :: StreamingDistribution -> () #

Hashable StreamingDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistribution

FromXML StreamingDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistribution

type Rep StreamingDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistribution

type Rep StreamingDistribution = D1 ('MetaData "StreamingDistribution" "Amazonka.CloudFront.Types.StreamingDistribution" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "StreamingDistribution'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "activeTrustedSigners") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActiveTrustedSigners) :*: S1 ('MetaSel ('Just "streamingDistributionConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StreamingDistributionConfig)))))

newStreamingDistribution Source #

Create a value of StreamingDistribution 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:lastModifiedTime:StreamingDistribution', streamingDistribution_lastModifiedTime - The date and time that the distribution was last modified.

$sel:id:StreamingDistribution', streamingDistribution_id - The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE.

$sel:arn:StreamingDistribution', streamingDistribution_arn - The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your account ID.

$sel:status:StreamingDistribution', streamingDistribution_status - The current status of the RTMP distribution. When the status is Deployed, the distribution's information is propagated to all CloudFront edge locations.

$sel:domainName:StreamingDistribution', streamingDistribution_domainName - The domain name that corresponds to the streaming distribution, for example, s5c39gqb8ow64r.cloudfront.net.

$sel:activeTrustedSigners:StreamingDistribution', streamingDistribution_activeTrustedSigners - A complex type that lists the accounts, if any, that you included in the TrustedSigners complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.

The Signer complex type lists the account number of the trusted signer or self if the signer is the account that created the distribution. The Signer element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's account. If no KeyPairId element appears for a Signer, that signer can't create signed URLs.

For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

$sel:streamingDistributionConfig:StreamingDistribution', streamingDistribution_streamingDistributionConfig - The current configuration information for the RTMP distribution.

streamingDistribution_lastModifiedTime :: Lens' StreamingDistribution (Maybe UTCTime) Source #

The date and time that the distribution was last modified.

streamingDistribution_id :: Lens' StreamingDistribution Text Source #

The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE.

streamingDistribution_arn :: Lens' StreamingDistribution Text Source #

The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your account ID.

streamingDistribution_status :: Lens' StreamingDistribution Text Source #

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

streamingDistribution_domainName :: Lens' StreamingDistribution Text Source #

The domain name that corresponds to the streaming distribution, for example, s5c39gqb8ow64r.cloudfront.net.

streamingDistribution_activeTrustedSigners :: Lens' StreamingDistribution ActiveTrustedSigners Source #

A complex type that lists the accounts, if any, that you included in the TrustedSigners complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.

The Signer complex type lists the account number of the trusted signer or self if the signer is the account that created the distribution. The Signer element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's account. If no KeyPairId element appears for a Signer, that signer can't create signed URLs.

For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

StreamingDistributionConfig

data StreamingDistributionConfig Source #

The RTMP distribution's configuration information.

See: newStreamingDistributionConfig smart constructor.

Constructors

StreamingDistributionConfig' 

Fields

  • aliases :: Maybe Aliases

    A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

  • priceClass :: Maybe PriceClass

    A complex type that contains information about price class for this streaming distribution.

  • logging :: Maybe StreamingLoggingConfig

    A complex type that controls whether access logs are written for the streaming distribution.

  • callerReference :: Text

    A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

    If the value of CallerReference is new (regardless of the content of the StreamingDistributionConfig object), CloudFront creates a new distribution.

    If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

  • s3Origin :: S3Origin

    A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

  • comment :: Text

    Any comments you want to include about the streaming distribution.

  • trustedSigners :: TrustedSigners

    A complex type that specifies any accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

  • enabled :: Bool

    Whether the streaming distribution is enabled to accept user requests for content.

Instances

Instances details
Eq StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

Read StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

Show StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

Generic StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

Associated Types

type Rep StreamingDistributionConfig :: Type -> Type #

NFData StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

Hashable StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

FromXML StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

ToXML StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

type Rep StreamingDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfig

type Rep StreamingDistributionConfig = D1 ('MetaData "StreamingDistributionConfig" "Amazonka.CloudFront.Types.StreamingDistributionConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "StreamingDistributionConfig'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "aliases") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Aliases)) :*: S1 ('MetaSel ('Just "priceClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PriceClass))) :*: (S1 ('MetaSel ('Just "logging") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamingLoggingConfig)) :*: S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "s3Origin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 S3Origin) :*: S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "trustedSigners") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TrustedSigners) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))

newStreamingDistributionConfig Source #

Create a value of StreamingDistributionConfig 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:aliases:StreamingDistributionConfig', streamingDistributionConfig_aliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

$sel:priceClass:StreamingDistributionConfig', streamingDistributionConfig_priceClass - A complex type that contains information about price class for this streaming distribution.

$sel:logging:StreamingDistributionConfig', streamingDistributionConfig_logging - A complex type that controls whether access logs are written for the streaming distribution.

$sel:callerReference:StreamingDistributionConfig', streamingDistributionConfig_callerReference - A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

If the value of CallerReference is new (regardless of the content of the StreamingDistributionConfig object), CloudFront creates a new distribution.

If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

$sel:s3Origin:StreamingDistributionConfig', streamingDistributionConfig_s3Origin - A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

$sel:comment:StreamingDistributionConfig', streamingDistributionConfig_comment - Any comments you want to include about the streaming distribution.

$sel:trustedSigners:StreamingDistributionConfig', streamingDistributionConfig_trustedSigners - A complex type that specifies any accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

$sel:enabled:StreamingDistributionConfig', streamingDistributionConfig_enabled - Whether the streaming distribution is enabled to accept user requests for content.

streamingDistributionConfig_aliases :: Lens' StreamingDistributionConfig (Maybe Aliases) Source #

A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

streamingDistributionConfig_priceClass :: Lens' StreamingDistributionConfig (Maybe PriceClass) Source #

A complex type that contains information about price class for this streaming distribution.

streamingDistributionConfig_logging :: Lens' StreamingDistributionConfig (Maybe StreamingLoggingConfig) Source #

A complex type that controls whether access logs are written for the streaming distribution.

streamingDistributionConfig_callerReference :: Lens' StreamingDistributionConfig Text Source #

A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

If the value of CallerReference is new (regardless of the content of the StreamingDistributionConfig object), CloudFront creates a new distribution.

If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

streamingDistributionConfig_s3Origin :: Lens' StreamingDistributionConfig S3Origin Source #

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

streamingDistributionConfig_comment :: Lens' StreamingDistributionConfig Text Source #

Any comments you want to include about the streaming distribution.

streamingDistributionConfig_trustedSigners :: Lens' StreamingDistributionConfig TrustedSigners Source #

A complex type that specifies any accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

streamingDistributionConfig_enabled :: Lens' StreamingDistributionConfig Bool Source #

Whether the streaming distribution is enabled to accept user requests for content.

StreamingDistributionConfigWithTags

data StreamingDistributionConfigWithTags Source #

A streaming distribution Configuration and a list of tags to be associated with the streaming distribution.

See: newStreamingDistributionConfigWithTags smart constructor.

Constructors

StreamingDistributionConfigWithTags' 

Fields

Instances

Instances details
Eq StreamingDistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags

Read StreamingDistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags

Show StreamingDistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags

Generic StreamingDistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags

NFData StreamingDistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags

Hashable StreamingDistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags

ToXML StreamingDistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags

type Rep StreamingDistributionConfigWithTags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags

type Rep StreamingDistributionConfigWithTags = D1 ('MetaData "StreamingDistributionConfigWithTags" "Amazonka.CloudFront.Types.StreamingDistributionConfigWithTags" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "StreamingDistributionConfigWithTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "streamingDistributionConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StreamingDistributionConfig) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Tags)))

streamingDistributionConfigWithTags_tags :: Lens' StreamingDistributionConfigWithTags Tags Source #

A complex type that contains zero or more Tag elements.

StreamingDistributionList

data StreamingDistributionList Source #

A streaming distribution list.

See: newStreamingDistributionList smart constructor.

Constructors

StreamingDistributionList' 

Fields

  • items :: Maybe [StreamingDistributionSummary]

    A complex type that contains one StreamingDistributionSummary element for each distribution that was created by the current account.

  • nextMarker :: Maybe Text

    If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your RTMP distributions where they left off.

  • marker :: Text

    The value you provided for the Marker request parameter.

  • maxItems :: Int

    The value you provided for the MaxItems request parameter.

  • isTruncated :: Bool

    A flag that indicates whether more streaming distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

  • quantity :: Int

    The number of streaming distributions that were created by the current account.

Instances

Instances details
Eq StreamingDistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionList

Read StreamingDistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionList

Show StreamingDistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionList

Generic StreamingDistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionList

Associated Types

type Rep StreamingDistributionList :: Type -> Type #

NFData StreamingDistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionList

Hashable StreamingDistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionList

FromXML StreamingDistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionList

type Rep StreamingDistributionList Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionList

type Rep StreamingDistributionList = D1 ('MetaData "StreamingDistributionList" "Amazonka.CloudFront.Types.StreamingDistributionList" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "StreamingDistributionList'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StreamingDistributionSummary])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "isTruncated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newStreamingDistributionList Source #

Create a value of StreamingDistributionList 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:items:StreamingDistributionList', streamingDistributionList_items - A complex type that contains one StreamingDistributionSummary element for each distribution that was created by the current account.

$sel:nextMarker:StreamingDistributionList', streamingDistributionList_nextMarker - If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your RTMP distributions where they left off.

$sel:marker:StreamingDistributionList', streamingDistributionList_marker - The value you provided for the Marker request parameter.

$sel:maxItems:StreamingDistributionList', streamingDistributionList_maxItems - The value you provided for the MaxItems request parameter.

$sel:isTruncated:StreamingDistributionList', streamingDistributionList_isTruncated - A flag that indicates whether more streaming distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

$sel:quantity:StreamingDistributionList', streamingDistributionList_quantity - The number of streaming distributions that were created by the current account.

streamingDistributionList_items :: Lens' StreamingDistributionList (Maybe [StreamingDistributionSummary]) Source #

A complex type that contains one StreamingDistributionSummary element for each distribution that was created by the current account.

streamingDistributionList_nextMarker :: Lens' StreamingDistributionList (Maybe Text) Source #

If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your RTMP distributions where they left off.

streamingDistributionList_marker :: Lens' StreamingDistributionList Text Source #

The value you provided for the Marker request parameter.

streamingDistributionList_maxItems :: Lens' StreamingDistributionList Int Source #

The value you provided for the MaxItems request parameter.

streamingDistributionList_isTruncated :: Lens' StreamingDistributionList Bool Source #

A flag that indicates whether more streaming distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

streamingDistributionList_quantity :: Lens' StreamingDistributionList Int Source #

The number of streaming distributions that were created by the current account.

StreamingDistributionSummary

data StreamingDistributionSummary Source #

A summary of the information for a CloudFront streaming distribution.

See: newStreamingDistributionSummary smart constructor.

Constructors

StreamingDistributionSummary' 

Fields

  • id :: Text

    The identifier for the distribution, for example, EDFDVBD632BHDS5.

  • arn :: Text

    The ARN (Amazon Resource Name) for the streaming distribution. For example: arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5, where 123456789012 is your account ID.

  • status :: Text

    Indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.

  • lastModifiedTime :: ISO8601

    The date and time the distribution was last modified.

  • domainName :: Text

    The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net.

  • s3Origin :: S3Origin

    A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

  • aliases :: Aliases

    A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

  • trustedSigners :: TrustedSigners

    A complex type that specifies the accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items.If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

    For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

  • comment :: Text

    The comment originally specified when this distribution was created.

  • priceClass :: PriceClass

    A complex type that contains information about price class for this streaming distribution.

  • enabled :: Bool

    Whether the distribution is enabled to accept end user requests for content.

Instances

Instances details
Eq StreamingDistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionSummary

Read StreamingDistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionSummary

Show StreamingDistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionSummary

Generic StreamingDistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionSummary

Associated Types

type Rep StreamingDistributionSummary :: Type -> Type #

NFData StreamingDistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionSummary

Hashable StreamingDistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionSummary

FromXML StreamingDistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionSummary

type Rep StreamingDistributionSummary Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingDistributionSummary

newStreamingDistributionSummary Source #

Create a value of StreamingDistributionSummary 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:id:StreamingDistributionSummary', streamingDistributionSummary_id - The identifier for the distribution, for example, EDFDVBD632BHDS5.

$sel:arn:StreamingDistributionSummary', streamingDistributionSummary_arn - The ARN (Amazon Resource Name) for the streaming distribution. For example: arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5, where 123456789012 is your account ID.

$sel:status:StreamingDistributionSummary', streamingDistributionSummary_status - Indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.

$sel:lastModifiedTime:StreamingDistributionSummary', streamingDistributionSummary_lastModifiedTime - The date and time the distribution was last modified.

$sel:domainName:StreamingDistributionSummary', streamingDistributionSummary_domainName - The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net.

$sel:s3Origin:StreamingDistributionSummary', streamingDistributionSummary_s3Origin - A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

$sel:aliases:StreamingDistributionSummary', streamingDistributionSummary_aliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

$sel:trustedSigners:StreamingDistributionSummary', streamingDistributionSummary_trustedSigners - A complex type that specifies the accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items.If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

$sel:comment:StreamingDistributionSummary', streamingDistributionSummary_comment - The comment originally specified when this distribution was created.

$sel:priceClass:StreamingDistributionSummary', streamingDistributionSummary_priceClass - A complex type that contains information about price class for this streaming distribution.

$sel:enabled:StreamingDistributionSummary', streamingDistributionSummary_enabled - Whether the distribution is enabled to accept end user requests for content.

streamingDistributionSummary_id :: Lens' StreamingDistributionSummary Text Source #

The identifier for the distribution, for example, EDFDVBD632BHDS5.

streamingDistributionSummary_arn :: Lens' StreamingDistributionSummary Text Source #

The ARN (Amazon Resource Name) for the streaming distribution. For example: arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5, where 123456789012 is your account ID.

streamingDistributionSummary_status :: Lens' StreamingDistributionSummary Text Source #

Indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.

streamingDistributionSummary_domainName :: Lens' StreamingDistributionSummary Text Source #

The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net.

streamingDistributionSummary_s3Origin :: Lens' StreamingDistributionSummary S3Origin Source #

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

streamingDistributionSummary_aliases :: Lens' StreamingDistributionSummary Aliases Source #

A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.

streamingDistributionSummary_trustedSigners :: Lens' StreamingDistributionSummary TrustedSigners Source #

A complex type that specifies the accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items.If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

streamingDistributionSummary_comment :: Lens' StreamingDistributionSummary Text Source #

The comment originally specified when this distribution was created.

streamingDistributionSummary_priceClass :: Lens' StreamingDistributionSummary PriceClass Source #

A complex type that contains information about price class for this streaming distribution.

streamingDistributionSummary_enabled :: Lens' StreamingDistributionSummary Bool Source #

Whether the distribution is enabled to accept end user requests for content.

StreamingLoggingConfig

data StreamingLoggingConfig Source #

A complex type that controls whether access logs are written for this streaming distribution.

See: newStreamingLoggingConfig smart constructor.

Constructors

StreamingLoggingConfig' 

Fields

  • enabled :: Bool

    Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to enable logging when you create a streaming distribution or if you want to disable logging for an existing streaming distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.

  • bucket :: Text

    The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

  • prefix :: Text

    An optional string that you want CloudFront to prefix to the access log filenames for this streaming distribution, for example, myprefix/. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element.

Instances

Instances details
Eq StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

Read StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

Show StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

Generic StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

Associated Types

type Rep StreamingLoggingConfig :: Type -> Type #

NFData StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

Methods

rnf :: StreamingLoggingConfig -> () #

Hashable StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

FromXML StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

ToXML StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

type Rep StreamingLoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.StreamingLoggingConfig

type Rep StreamingLoggingConfig = D1 ('MetaData "StreamingLoggingConfig" "Amazonka.CloudFront.Types.StreamingLoggingConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "StreamingLoggingConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newStreamingLoggingConfig Source #

Create a value of StreamingLoggingConfig 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:enabled:StreamingLoggingConfig', streamingLoggingConfig_enabled - Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to enable logging when you create a streaming distribution or if you want to disable logging for an existing streaming distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.

$sel:bucket:StreamingLoggingConfig', streamingLoggingConfig_bucket - The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

$sel:prefix:StreamingLoggingConfig', streamingLoggingConfig_prefix - An optional string that you want CloudFront to prefix to the access log filenames for this streaming distribution, for example, myprefix/. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element.

streamingLoggingConfig_enabled :: Lens' StreamingLoggingConfig Bool Source #

Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to enable logging when you create a streaming distribution or if you want to disable logging for an existing streaming distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.

streamingLoggingConfig_bucket :: Lens' StreamingLoggingConfig Text Source #

The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

streamingLoggingConfig_prefix :: Lens' StreamingLoggingConfig Text Source #

An optional string that you want CloudFront to prefix to the access log filenames for this streaming distribution, for example, myprefix/. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element.

Tag

data Tag Source #

A complex type that contains Tag key and Tag value.

See: newTag smart constructor.

Constructors

Tag' 

Fields

  • value :: Maybe Text

    A string that contains an optional Tag value.

    The string length should be between 0 and 256 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.

  • key :: Text

    A string that contains Tag key.

    The string length should be between 1 and 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.

Instances

Instances details
Eq Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Read Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

NFData Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

Methods

rnf :: Tag -> () #

Hashable Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

FromXML Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

Methods

parseXML :: [Node] -> Either String Tag #

ToXML Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

Methods

toXML :: Tag -> XML #

type Rep Tag Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.CloudFront.Types.Tag" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTag Source #

Arguments

:: Text

$sel:key:Tag'

-> Tag 

Create a value of Tag 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:value:Tag', tag_value - A string that contains an optional Tag value.

The string length should be between 0 and 256 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.

$sel:key:Tag', tag_key - A string that contains Tag key.

The string length should be between 1 and 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.

tag_value :: Lens' Tag (Maybe Text) Source #

A string that contains an optional Tag value.

The string length should be between 0 and 256 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.

tag_key :: Lens' Tag Text Source #

A string that contains Tag key.

The string length should be between 1 and 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @.

TagKeys

data TagKeys Source #

A complex type that contains zero or more Tag elements.

See: newTagKeys smart constructor.

Constructors

TagKeys' 

Fields

Instances

Instances details
Eq TagKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TagKeys

Methods

(==) :: TagKeys -> TagKeys -> Bool #

(/=) :: TagKeys -> TagKeys -> Bool #

Read TagKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TagKeys

Show TagKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TagKeys

Generic TagKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TagKeys

Associated Types

type Rep TagKeys :: Type -> Type #

Methods

from :: TagKeys -> Rep TagKeys x #

to :: Rep TagKeys x -> TagKeys #

NFData TagKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TagKeys

Methods

rnf :: TagKeys -> () #

Hashable TagKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TagKeys

Methods

hashWithSalt :: Int -> TagKeys -> Int #

hash :: TagKeys -> Int #

ToXML TagKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TagKeys

Methods

toXML :: TagKeys -> XML #

type Rep TagKeys Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TagKeys

type Rep TagKeys = D1 ('MetaData "TagKeys" "Amazonka.CloudFront.Types.TagKeys" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "TagKeys'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newTagKeys :: TagKeys Source #

Create a value of TagKeys 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:items:TagKeys', tagKeys_items - A complex type that contains Tag key elements.

tagKeys_items :: Lens' TagKeys (Maybe [Text]) Source #

A complex type that contains Tag key elements.

Tags

data Tags Source #

A complex type that contains zero or more Tag elements.

See: newTags smart constructor.

Constructors

Tags' 

Fields

Instances

Instances details
Eq Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

Methods

(==) :: Tags -> Tags -> Bool #

(/=) :: Tags -> Tags -> Bool #

Read Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

Show Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

Methods

showsPrec :: Int -> Tags -> ShowS #

show :: Tags -> String #

showList :: [Tags] -> ShowS #

Generic Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

Associated Types

type Rep Tags :: Type -> Type #

Methods

from :: Tags -> Rep Tags x #

to :: Rep Tags x -> Tags #

NFData Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

Methods

rnf :: Tags -> () #

Hashable Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

Methods

hashWithSalt :: Int -> Tags -> Int #

hash :: Tags -> Int #

FromXML Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

Methods

parseXML :: [Node] -> Either String Tags #

ToXML Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

Methods

toXML :: Tags -> XML #

type Rep Tags Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Tags

type Rep Tags = D1 ('MetaData "Tags" "Amazonka.CloudFront.Types.Tags" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "Tags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))))

newTags :: Tags Source #

Create a value of Tags 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:items:Tags', tags_items - A complex type that contains Tag elements.

tags_items :: Lens' Tags (Maybe [Tag]) Source #

A complex type that contains Tag elements.

TestResult

data TestResult Source #

Contains the result of testing a CloudFront function with TestFunction.

See: newTestResult smart constructor.

Constructors

TestResult' 

Fields

Instances

Instances details
Eq TestResult Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TestResult

Read TestResult Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TestResult

Show TestResult Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TestResult

Generic TestResult Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TestResult

Associated Types

type Rep TestResult :: Type -> Type #

NFData TestResult Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TestResult

Methods

rnf :: TestResult -> () #

Hashable TestResult Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TestResult

FromXML TestResult Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TestResult

type Rep TestResult Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TestResult

type Rep TestResult = D1 ('MetaData "TestResult" "Amazonka.CloudFront.Types.TestResult" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "TestResult'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "computeUtilization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "functionExecutionLogs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "functionOutput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "functionSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionSummary)) :*: S1 ('MetaSel ('Just "functionErrorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newTestResult :: TestResult Source #

Create a value of TestResult 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:computeUtilization:TestResult', testResult_computeUtilization - The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.

$sel:functionExecutionLogs:TestResult', testResult_functionExecutionLogs - Contains the log lines that the function wrote (if any) when running the test.

$sel:functionOutput:TestResult', testResult_functionOutput - The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.

$sel:functionSummary:TestResult', testResult_functionSummary - Contains configuration information and metadata about the CloudFront function that was tested.

$sel:functionErrorMessage:TestResult', testResult_functionErrorMessage - If the result of testing the function was an error, this field contains the error message.

testResult_computeUtilization :: Lens' TestResult (Maybe Text) Source #

The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.

testResult_functionExecutionLogs :: Lens' TestResult (Maybe [Text]) Source #

Contains the log lines that the function wrote (if any) when running the test.

testResult_functionOutput :: Lens' TestResult (Maybe Text) Source #

The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.

testResult_functionSummary :: Lens' TestResult (Maybe FunctionSummary) Source #

Contains configuration information and metadata about the CloudFront function that was tested.

testResult_functionErrorMessage :: Lens' TestResult (Maybe Text) Source #

If the result of testing the function was an error, this field contains the error message.

TrustedKeyGroups

data TrustedKeyGroups Source #

A list of key groups whose public keys CloudFront can use to verify the signatures of signed URLs and signed cookies.

See: newTrustedKeyGroups smart constructor.

Constructors

TrustedKeyGroups' 

Fields

  • items :: Maybe [Text]

    A list of key groups identifiers.

  • enabled :: Bool

    This field is true if any of the key groups in the list have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

  • quantity :: Int

    The number of key groups in the list.

Instances

Instances details
Eq TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

Read TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

Show TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

Generic TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

Associated Types

type Rep TrustedKeyGroups :: Type -> Type #

NFData TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

Methods

rnf :: TrustedKeyGroups -> () #

Hashable TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

FromXML TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

ToXML TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

type Rep TrustedKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedKeyGroups

type Rep TrustedKeyGroups = D1 ('MetaData "TrustedKeyGroups" "Amazonka.CloudFront.Types.TrustedKeyGroups" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "TrustedKeyGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newTrustedKeyGroups Source #

Create a value of TrustedKeyGroups 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:items:TrustedKeyGroups', trustedKeyGroups_items - A list of key groups identifiers.

$sel:enabled:TrustedKeyGroups', trustedKeyGroups_enabled - This field is true if any of the key groups in the list have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

$sel:quantity:TrustedKeyGroups', trustedKeyGroups_quantity - The number of key groups in the list.

trustedKeyGroups_items :: Lens' TrustedKeyGroups (Maybe [Text]) Source #

A list of key groups identifiers.

trustedKeyGroups_enabled :: Lens' TrustedKeyGroups Bool Source #

This field is true if any of the key groups in the list have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

trustedKeyGroups_quantity :: Lens' TrustedKeyGroups Int Source #

The number of key groups in the list.

TrustedSigners

data TrustedSigners Source #

A list of accounts whose public keys CloudFront can use to verify the signatures of signed URLs and signed cookies.

See: newTrustedSigners smart constructor.

Constructors

TrustedSigners' 

Fields

  • items :: Maybe [Text]

    A list of account identifiers.

  • enabled :: Bool

    This field is true if any of the accounts have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

  • quantity :: Int

    The number of accounts in the list.

Instances

Instances details
Eq TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

Read TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

Show TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

Generic TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

Associated Types

type Rep TrustedSigners :: Type -> Type #

NFData TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

Methods

rnf :: TrustedSigners -> () #

Hashable TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

FromXML TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

ToXML TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

Methods

toXML :: TrustedSigners -> XML #

type Rep TrustedSigners Source # 
Instance details

Defined in Amazonka.CloudFront.Types.TrustedSigners

type Rep TrustedSigners = D1 ('MetaData "TrustedSigners" "Amazonka.CloudFront.Types.TrustedSigners" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "TrustedSigners'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newTrustedSigners Source #

Create a value of TrustedSigners 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:items:TrustedSigners', trustedSigners_items - A list of account identifiers.

$sel:enabled:TrustedSigners', trustedSigners_enabled - This field is true if any of the accounts have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

$sel:quantity:TrustedSigners', trustedSigners_quantity - The number of accounts in the list.

trustedSigners_items :: Lens' TrustedSigners (Maybe [Text]) Source #

A list of account identifiers.

trustedSigners_enabled :: Lens' TrustedSigners Bool Source #

This field is true if any of the accounts have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

trustedSigners_quantity :: Lens' TrustedSigners Int Source #

The number of accounts in the list.

ViewerCertificate

data ViewerCertificate Source #

A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.

If the distribution doesn’t use Aliases (also known as alternate domain names or CNAMEs)—that is, if the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net—set CloudFrontDefaultCertificate to true and leave all other fields empty.

If the distribution uses Aliases (alternate domain names or CNAMEs), use the fields in this type to specify the following settings:

  • Which viewers the distribution accepts HTTPS connections from: only viewers that support server name indication (SNI) (recommended), or all viewers including those that don’t support SNI.

    • To accept HTTPS connections from only viewers that support SNI, set SSLSupportMethod to sni-only. This is recommended. Most browsers and clients support SNI.
    • To accept HTTPS connections from all viewers, including those that don’t support SNI, set SSLSupportMethod to vip. This is not recommended, and results in additional monthly charges from CloudFront.
  • The minimum SSL/TLS protocol version that the distribution can use to communicate with viewers. To specify a minimum version, choose a value for MinimumProtocolVersion. For more information, see Security Policy in the Amazon CloudFront Developer Guide.
  • The location of the SSL/TLS certificate, Certificate Manager (ACM) (recommended) or Identity and Access Management (IAM). You specify the location by setting a value in one of the following fields (not both):

    • ACMCertificateArn
    • IAMCertificateId

All distributions support HTTPS connections from viewers. To require viewers to use HTTPS only, or to redirect them from HTTP to HTTPS, use ViewerProtocolPolicy in the CacheBehavior or DefaultCacheBehavior. To specify how CloudFront should use SSL/TLS to communicate with your custom origin, use CustomOriginConfig.

For more information, see Using HTTPS with CloudFront and Using Alternate Domain Names and HTTPS in the Amazon CloudFront Developer Guide.

See: newViewerCertificate smart constructor.

Constructors

ViewerCertificate' 

Fields

  • sSLSupportMethod :: Maybe SSLSupportMethod

    If the distribution uses Aliases (alternate domain names or CNAMEs), specify which viewers the distribution accepts HTTPS connections from.

    • sni-only – The distribution accepts HTTPS connections from only viewers that support server name indication (SNI). This is recommended. Most browsers and clients support SNI.
    • vip – The distribution accepts HTTPS connections from all viewers including those that don’t support SNI. This is not recommended, and results in additional monthly charges from CloudFront.
    • static-ip - Do not specify this value unless your distribution has been enabled for this feature by the CloudFront team. If you have a use case that requires static IP addresses for a distribution, contact CloudFront through the Amazon Web Services Support Center.

    If the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net, don’t set a value for this field.

  • aCMCertificateArn :: Maybe Text

    If the distribution uses Aliases (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in Certificate Manager (ACM), provide the Amazon Resource Name (ARN) of the ACM certificate. CloudFront only supports ACM certificates in the US East (N. Virginia) Region (us-east-1).

    If you specify an ACM certificate ARN, you must also specify values for MinimumProtocolVersion and SSLSupportMethod.

  • certificateSource :: Maybe CertificateSource

    This field is deprecated. Use one of the following fields instead:

    • ACMCertificateArn
    • IAMCertificateId
    • CloudFrontDefaultCertificate
  • minimumProtocolVersion :: Maybe MinimumProtocolVersion

    If the distribution uses Aliases (alternate domain names or CNAMEs), specify the security policy that you want CloudFront to use for HTTPS connections with viewers. The security policy determines two settings:

    • The minimum SSL/TLS protocol that CloudFront can use to communicate with viewers.
    • The ciphers that CloudFront can use to encrypt the content that it returns to viewers.

    For more information, see Security Policy and Supported Protocols and Ciphers Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.

    On the CloudFront console, this setting is called Security Policy.

    When you’re using SNI only (you set SSLSupportMethod to sni-only), you must specify TLSv1 or higher.

    If the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net (you set CloudFrontDefaultCertificate to true), CloudFront automatically sets the security policy to TLSv1 regardless of the value that you set here.

  • certificate :: Maybe Text

    This field is deprecated. Use one of the following fields instead:

    • ACMCertificateArn
    • IAMCertificateId
    • CloudFrontDefaultCertificate
  • iAMCertificateId :: Maybe Text

    If the distribution uses Aliases (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in Identity and Access Management (IAM), provide the ID of the IAM certificate.

    If you specify an IAM certificate ID, you must also specify values for MinimumProtocolVersion and SSLSupportMethod.

  • cloudFrontDefaultCertificate :: Maybe Bool

    If the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net, set this field to true.

    If the distribution uses Aliases (alternate domain names or CNAMEs), set this field to false and specify values for the following fields:

    • ACMCertificateArn or IAMCertificateId (specify a value for one, not both)
    • MinimumProtocolVersion
    • SSLSupportMethod

Instances

Instances details
Eq ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

Read ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

Show ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

Generic ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

Associated Types

type Rep ViewerCertificate :: Type -> Type #

NFData ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

Methods

rnf :: ViewerCertificate -> () #

Hashable ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

FromXML ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

ToXML ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

type Rep ViewerCertificate Source # 
Instance details

Defined in Amazonka.CloudFront.Types.ViewerCertificate

type Rep ViewerCertificate = D1 ('MetaData "ViewerCertificate" "Amazonka.CloudFront.Types.ViewerCertificate" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ViewerCertificate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sSLSupportMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SSLSupportMethod)) :*: (S1 ('MetaSel ('Just "aCMCertificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CertificateSource)))) :*: ((S1 ('MetaSel ('Just "minimumProtocolVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MinimumProtocolVersion)) :*: S1 ('MetaSel ('Just "certificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "iAMCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cloudFrontDefaultCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

newViewerCertificate :: ViewerCertificate Source #

Create a value of ViewerCertificate 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:sSLSupportMethod:ViewerCertificate', viewerCertificate_sSLSupportMethod - If the distribution uses Aliases (alternate domain names or CNAMEs), specify which viewers the distribution accepts HTTPS connections from.

  • sni-only – The distribution accepts HTTPS connections from only viewers that support server name indication (SNI). This is recommended. Most browsers and clients support SNI.
  • vip – The distribution accepts HTTPS connections from all viewers including those that don’t support SNI. This is not recommended, and results in additional monthly charges from CloudFront.
  • static-ip - Do not specify this value unless your distribution has been enabled for this feature by the CloudFront team. If you have a use case that requires static IP addresses for a distribution, contact CloudFront through the Amazon Web Services Support Center.

If the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net, don’t set a value for this field.

$sel:aCMCertificateArn:ViewerCertificate', viewerCertificate_aCMCertificateArn - If the distribution uses Aliases (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in Certificate Manager (ACM), provide the Amazon Resource Name (ARN) of the ACM certificate. CloudFront only supports ACM certificates in the US East (N. Virginia) Region (us-east-1).

If you specify an ACM certificate ARN, you must also specify values for MinimumProtocolVersion and SSLSupportMethod.

$sel:certificateSource:ViewerCertificate', viewerCertificate_certificateSource - This field is deprecated. Use one of the following fields instead:

  • ACMCertificateArn
  • IAMCertificateId
  • CloudFrontDefaultCertificate

$sel:minimumProtocolVersion:ViewerCertificate', viewerCertificate_minimumProtocolVersion - If the distribution uses Aliases (alternate domain names or CNAMEs), specify the security policy that you want CloudFront to use for HTTPS connections with viewers. The security policy determines two settings:

  • The minimum SSL/TLS protocol that CloudFront can use to communicate with viewers.
  • The ciphers that CloudFront can use to encrypt the content that it returns to viewers.

For more information, see Security Policy and Supported Protocols and Ciphers Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.

On the CloudFront console, this setting is called Security Policy.

When you’re using SNI only (you set SSLSupportMethod to sni-only), you must specify TLSv1 or higher.

If the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net (you set CloudFrontDefaultCertificate to true), CloudFront automatically sets the security policy to TLSv1 regardless of the value that you set here.

$sel:certificate:ViewerCertificate', viewerCertificate_certificate - This field is deprecated. Use one of the following fields instead:

  • ACMCertificateArn
  • IAMCertificateId
  • CloudFrontDefaultCertificate

$sel:iAMCertificateId:ViewerCertificate', viewerCertificate_iAMCertificateId - If the distribution uses Aliases (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in Identity and Access Management (IAM), provide the ID of the IAM certificate.

If you specify an IAM certificate ID, you must also specify values for MinimumProtocolVersion and SSLSupportMethod.

$sel:cloudFrontDefaultCertificate:ViewerCertificate', viewerCertificate_cloudFrontDefaultCertificate - If the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net, set this field to true.

If the distribution uses Aliases (alternate domain names or CNAMEs), set this field to false and specify values for the following fields:

  • ACMCertificateArn or IAMCertificateId (specify a value for one, not both)
  • MinimumProtocolVersion
  • SSLSupportMethod

viewerCertificate_sSLSupportMethod :: Lens' ViewerCertificate (Maybe SSLSupportMethod) Source #

If the distribution uses Aliases (alternate domain names or CNAMEs), specify which viewers the distribution accepts HTTPS connections from.

  • sni-only – The distribution accepts HTTPS connections from only viewers that support server name indication (SNI). This is recommended. Most browsers and clients support SNI.
  • vip – The distribution accepts HTTPS connections from all viewers including those that don’t support SNI. This is not recommended, and results in additional monthly charges from CloudFront.
  • static-ip - Do not specify this value unless your distribution has been enabled for this feature by the CloudFront team. If you have a use case that requires static IP addresses for a distribution, contact CloudFront through the Amazon Web Services Support Center.

If the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net, don’t set a value for this field.

viewerCertificate_aCMCertificateArn :: Lens' ViewerCertificate (Maybe Text) Source #

If the distribution uses Aliases (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in Certificate Manager (ACM), provide the Amazon Resource Name (ARN) of the ACM certificate. CloudFront only supports ACM certificates in the US East (N. Virginia) Region (us-east-1).

If you specify an ACM certificate ARN, you must also specify values for MinimumProtocolVersion and SSLSupportMethod.

viewerCertificate_certificateSource :: Lens' ViewerCertificate (Maybe CertificateSource) Source #

This field is deprecated. Use one of the following fields instead:

  • ACMCertificateArn
  • IAMCertificateId
  • CloudFrontDefaultCertificate

viewerCertificate_minimumProtocolVersion :: Lens' ViewerCertificate (Maybe MinimumProtocolVersion) Source #

If the distribution uses Aliases (alternate domain names or CNAMEs), specify the security policy that you want CloudFront to use for HTTPS connections with viewers. The security policy determines two settings:

  • The minimum SSL/TLS protocol that CloudFront can use to communicate with viewers.
  • The ciphers that CloudFront can use to encrypt the content that it returns to viewers.

For more information, see Security Policy and Supported Protocols and Ciphers Between Viewers and CloudFront in the Amazon CloudFront Developer Guide.

On the CloudFront console, this setting is called Security Policy.

When you’re using SNI only (you set SSLSupportMethod to sni-only), you must specify TLSv1 or higher.

If the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net (you set CloudFrontDefaultCertificate to true), CloudFront automatically sets the security policy to TLSv1 regardless of the value that you set here.

viewerCertificate_certificate :: Lens' ViewerCertificate (Maybe Text) Source #

This field is deprecated. Use one of the following fields instead:

  • ACMCertificateArn
  • IAMCertificateId
  • CloudFrontDefaultCertificate

viewerCertificate_iAMCertificateId :: Lens' ViewerCertificate (Maybe Text) Source #

If the distribution uses Aliases (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in Identity and Access Management (IAM), provide the ID of the IAM certificate.

If you specify an IAM certificate ID, you must also specify values for MinimumProtocolVersion and SSLSupportMethod.

viewerCertificate_cloudFrontDefaultCertificate :: Lens' ViewerCertificate (Maybe Bool) Source #

If the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net, set this field to true.

If the distribution uses Aliases (alternate domain names or CNAMEs), set this field to false and specify values for the following fields:

  • ACMCertificateArn or IAMCertificateId (specify a value for one, not both)
  • MinimumProtocolVersion
  • SSLSupportMethod