AWS SDK for C++  1.9.105
AWS SDK for C++
Public Member Functions | List of all members
Aws::CloudFront::Model::LambdaFunctionAssociation Class Reference

#include <LambdaFunctionAssociation.h>

Public Member Functions

 LambdaFunctionAssociation ()
 
 LambdaFunctionAssociation (const Aws::Utils::Xml::XmlNode &xmlNode)
 
LambdaFunctionAssociationoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
const Aws::StringGetLambdaFunctionARN () const
 
bool LambdaFunctionARNHasBeenSet () const
 
void SetLambdaFunctionARN (const Aws::String &value)
 
void SetLambdaFunctionARN (Aws::String &&value)
 
void SetLambdaFunctionARN (const char *value)
 
LambdaFunctionAssociationWithLambdaFunctionARN (const Aws::String &value)
 
LambdaFunctionAssociationWithLambdaFunctionARN (Aws::String &&value)
 
LambdaFunctionAssociationWithLambdaFunctionARN (const char *value)
 
const EventTypeGetEventType () const
 
bool EventTypeHasBeenSet () const
 
void SetEventType (const EventType &value)
 
void SetEventType (EventType &&value)
 
LambdaFunctionAssociationWithEventType (const EventType &value)
 
LambdaFunctionAssociationWithEventType (EventType &&value)
 
bool GetIncludeBody () const
 
bool IncludeBodyHasBeenSet () const
 
void SetIncludeBody (bool value)
 
LambdaFunctionAssociationWithIncludeBody (bool value)
 

Detailed Description

A complex type that contains a Lambda@Edge function association.

See Also:

AWS API Reference

Definition at line 32 of file LambdaFunctionAssociation.h.

Constructor & Destructor Documentation

◆ LambdaFunctionAssociation() [1/2]

Aws::CloudFront::Model::LambdaFunctionAssociation::LambdaFunctionAssociation ( )

◆ LambdaFunctionAssociation() [2/2]

Aws::CloudFront::Model::LambdaFunctionAssociation::LambdaFunctionAssociation ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddToNode()

void Aws::CloudFront::Model::LambdaFunctionAssociation::AddToNode ( Aws::Utils::Xml::XmlNode parentNode) const

◆ EventTypeHasBeenSet()

bool Aws::CloudFront::Model::LambdaFunctionAssociation::EventTypeHasBeenSet ( ) const
inline

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.

Definition at line 127 of file LambdaFunctionAssociation.h.

◆ GetEventType()

const EventType& Aws::CloudFront::Model::LambdaFunctionAssociation::GetEventType ( ) const
inline

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.

Definition at line 108 of file LambdaFunctionAssociation.h.

◆ GetIncludeBody()

bool Aws::CloudFront::Model::LambdaFunctionAssociation::GetIncludeBody ( ) const
inline

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.

Definition at line 213 of file LambdaFunctionAssociation.h.

◆ GetLambdaFunctionARN()

const Aws::String& Aws::CloudFront::Model::LambdaFunctionAssociation::GetLambdaFunctionARN ( ) const
inline

The ARN of the Lambda@Edge function. You must specify the ARN of a function version; you can't specify an alias or $LATEST.

Definition at line 46 of file LambdaFunctionAssociation.h.

◆ IncludeBodyHasBeenSet()

bool Aws::CloudFront::Model::LambdaFunctionAssociation::IncludeBodyHasBeenSet ( ) const
inline

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.

Definition at line 222 of file LambdaFunctionAssociation.h.

◆ LambdaFunctionARNHasBeenSet()

bool Aws::CloudFront::Model::LambdaFunctionAssociation::LambdaFunctionARNHasBeenSet ( ) const
inline

The ARN of the Lambda@Edge function. You must specify the ARN of a function version; you can't specify an alias or $LATEST.

Definition at line 52 of file LambdaFunctionAssociation.h.

◆ operator=()

LambdaFunctionAssociation& Aws::CloudFront::Model::LambdaFunctionAssociation::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ SetEventType() [1/2]

void Aws::CloudFront::Model::LambdaFunctionAssociation::SetEventType ( const EventType value)
inline

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.

Definition at line 146 of file LambdaFunctionAssociation.h.

◆ SetEventType() [2/2]

void Aws::CloudFront::Model::LambdaFunctionAssociation::SetEventType ( EventType &&  value)
inline

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.

Definition at line 165 of file LambdaFunctionAssociation.h.

◆ SetIncludeBody()

void Aws::CloudFront::Model::LambdaFunctionAssociation::SetIncludeBody ( bool  value)
inline

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.

Definition at line 231 of file LambdaFunctionAssociation.h.

◆ SetLambdaFunctionARN() [1/3]

void Aws::CloudFront::Model::LambdaFunctionAssociation::SetLambdaFunctionARN ( Aws::String &&  value)
inline

The ARN of the Lambda@Edge function. You must specify the ARN of a function version; you can't specify an alias or $LATEST.

Definition at line 64 of file LambdaFunctionAssociation.h.

◆ SetLambdaFunctionARN() [2/3]

void Aws::CloudFront::Model::LambdaFunctionAssociation::SetLambdaFunctionARN ( const Aws::String value)
inline

The ARN of the Lambda@Edge function. You must specify the ARN of a function version; you can't specify an alias or $LATEST.

Definition at line 58 of file LambdaFunctionAssociation.h.

◆ SetLambdaFunctionARN() [3/3]

void Aws::CloudFront::Model::LambdaFunctionAssociation::SetLambdaFunctionARN ( const char *  value)
inline

The ARN of the Lambda@Edge function. You must specify the ARN of a function version; you can't specify an alias or $LATEST.

Definition at line 70 of file LambdaFunctionAssociation.h.

◆ WithEventType() [1/2]

LambdaFunctionAssociation& Aws::CloudFront::Model::LambdaFunctionAssociation::WithEventType ( const EventType value)
inline

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.

Definition at line 184 of file LambdaFunctionAssociation.h.

◆ WithEventType() [2/2]

LambdaFunctionAssociation& Aws::CloudFront::Model::LambdaFunctionAssociation::WithEventType ( EventType &&  value)
inline

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.

Definition at line 203 of file LambdaFunctionAssociation.h.

◆ WithIncludeBody()

LambdaFunctionAssociation& Aws::CloudFront::Model::LambdaFunctionAssociation::WithIncludeBody ( bool  value)
inline

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.

Definition at line 240 of file LambdaFunctionAssociation.h.

◆ WithLambdaFunctionARN() [1/3]

LambdaFunctionAssociation& Aws::CloudFront::Model::LambdaFunctionAssociation::WithLambdaFunctionARN ( Aws::String &&  value)
inline

The ARN of the Lambda@Edge function. You must specify the ARN of a function version; you can't specify an alias or $LATEST.

Definition at line 82 of file LambdaFunctionAssociation.h.

◆ WithLambdaFunctionARN() [2/3]

LambdaFunctionAssociation& Aws::CloudFront::Model::LambdaFunctionAssociation::WithLambdaFunctionARN ( const Aws::String value)
inline

The ARN of the Lambda@Edge function. You must specify the ARN of a function version; you can't specify an alias or $LATEST.

Definition at line 76 of file LambdaFunctionAssociation.h.

◆ WithLambdaFunctionARN() [3/3]

LambdaFunctionAssociation& Aws::CloudFront::Model::LambdaFunctionAssociation::WithLambdaFunctionARN ( const char *  value)
inline

The ARN of the Lambda@Edge function. You must specify the ARN of a function version; you can't specify an alias or $LATEST.

Definition at line 88 of file LambdaFunctionAssociation.h.


The documentation for this class was generated from the following file: