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

Description

 
Synopsis

Documentation

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.