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.ContentTypeProfileConfig

Description

 
Synopsis

Documentation

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.