@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.478Z") @Stability(value=Stable) public abstract class LambdaInsightsVersion extends software.amazon.jsii.JsiiObject
Example:
String layerArn = "arn:aws:lambda:us-east-1:580247275435:layer:LambdaInsightsExtension:14";
Function.Builder.create(this, "MyFunction")
.runtime(Runtime.NODEJS_16_X)
.handler("index.handler")
.code(Code.fromAsset(join(__dirname, "lambda-handler")))
.insightsVersion(LambdaInsightsVersion.fromInsightVersionArn(layerArn))
.build();
| Modifier and Type | Field and Description |
|---|---|
static LambdaInsightsVersion |
VERSION_1_0_119_0
Version 1.0.119.0.
|
static LambdaInsightsVersion |
VERSION_1_0_135_0
Version 1.0.135.0.
|
static LambdaInsightsVersion |
VERSION_1_0_54_0
Version 1.0.54.0.
|
static LambdaInsightsVersion |
VERSION_1_0_86_0
Version 1.0.86.0.
|
static LambdaInsightsVersion |
VERSION_1_0_89_0
Version 1.0.89.0.
|
static LambdaInsightsVersion |
VERSION_1_0_98_0
Version 1.0.98.0.
|
| Modifier | Constructor and Description |
|---|---|
protected |
LambdaInsightsVersion() |
protected |
LambdaInsightsVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
LambdaInsightsVersion(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static LambdaInsightsVersion |
fromInsightVersionArn(String arn)
Use the insights extension associated with the provided ARN.
|
String |
getLayerVersionArn()
The arn of the Lambda Insights extension.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final LambdaInsightsVersion VERSION_1_0_119_0
@Stability(value=Stable) public static final LambdaInsightsVersion VERSION_1_0_135_0
@Stability(value=Stable) public static final LambdaInsightsVersion VERSION_1_0_54_0
@Stability(value=Stable) public static final LambdaInsightsVersion VERSION_1_0_86_0
@Stability(value=Stable) public static final LambdaInsightsVersion VERSION_1_0_89_0
@Stability(value=Stable) public static final LambdaInsightsVersion VERSION_1_0_98_0
protected LambdaInsightsVersion(software.amazon.jsii.JsiiObjectRef objRef)
protected LambdaInsightsVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) protected LambdaInsightsVersion()
@Stability(value=Stable) @NotNull public static LambdaInsightsVersion fromInsightVersionArn(@NotNull String arn)
Make sure the ARN is associated with same region as your function
arn - This parameter is required.@Stability(value=Stable) @NotNull public String getLayerVersionArn()
Copyright © 2022. All rights reserved.