@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:50.293Z") @Stability(value=Experimental) public interface EdgeLambda extends software.amazon.jsii.JsiiSerializable
The type of the {@link AddBehaviorOptions.edgeLambdas} property.
Modifier and Type | Interface and Description |
---|---|
static class |
EdgeLambda.Builder
A builder for
EdgeLambda |
static class |
EdgeLambda.Jsii$Proxy
An implementation for
EdgeLambda |
Modifier and Type | Method and Description |
---|---|
static EdgeLambda.Builder |
builder() |
LambdaEdgeEventType |
getEventType()
(experimental) The type of event in response to which should the function be invoked.
|
IVersion |
getFunctionVersion()
(experimental) The version of the Lambda function that will be invoked.
|
default Boolean |
getIncludeBody()
(experimental) Allows a Lambda function to have read access to the body content.
|
@Stability(value=Experimental) @NotNull LambdaEdgeEventType getEventType()
@Stability(value=Experimental) @NotNull IVersion getFunctionVersion()
Note: it's not possible to use the '$LATEST' function version for Lambda@Edge!
@Stability(value=Experimental) @Nullable default Boolean getIncludeBody()
Only valid for "request" event types (ORIGIN_REQUEST
or VIEWER_REQUEST
).
See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-include-body-access.html
Default: false
@Stability(value=Experimental) static EdgeLambda.Builder builder()
EdgeLambda.Builder
of EdgeLambda
Copyright © 2021. All rights reserved.