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

Description

 
Synopsis

Documentation

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.