@Stability(value=Experimental) public static final class LambdaFunctionAssociation.Builder extends Object implements software.amazon.jsii.Builder<LambdaFunctionAssociation>
LambdaFunctionAssociation| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LambdaFunctionAssociation |
build()
Builds the configured instance.
|
LambdaFunctionAssociation.Builder |
eventType(LambdaEdgeEventType eventType)
Sets the value of
LambdaFunctionAssociation.getEventType() |
LambdaFunctionAssociation.Builder |
includeBody(Boolean includeBody)
Sets the value of
LambdaFunctionAssociation.getIncludeBody() |
LambdaFunctionAssociation.Builder |
lambdaFunction(IVersion lambdaFunction)
Sets the value of
LambdaFunctionAssociation.getLambdaFunction() |
@Stability(value=Experimental) public LambdaFunctionAssociation.Builder eventType(LambdaEdgeEventType eventType)
LambdaFunctionAssociation.getEventType()eventType - The lambda event type defines at which event the lambda is called during the request lifecycle. This parameter is required.this@Stability(value=Experimental) public LambdaFunctionAssociation.Builder lambdaFunction(IVersion lambdaFunction)
LambdaFunctionAssociation.getLambdaFunction()lambdaFunction - A version of the lambda to associate. This parameter is required.this@Stability(value=Experimental) public LambdaFunctionAssociation.Builder includeBody(Boolean includeBody)
LambdaFunctionAssociation.getIncludeBody()includeBody - Allows a Lambda function to have read access to the body content.
Only valid for "request" event types (ORIGIN_REQUEST or VIEWER_REQUEST).
See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-include-body-access.htmlthis@Stability(value=Experimental) public LambdaFunctionAssociation build()
build in interface software.amazon.jsii.Builder<LambdaFunctionAssociation>LambdaFunctionAssociationNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.