Class LambdaInsightsVersion
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.LambdaInsightsVersion
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.796Z")
@Stability(Stable)
public abstract class LambdaInsightsVersion
extends software.amazon.jsii.JsiiObject
Version of CloudWatch Lambda Insights.
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();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LambdaInsightsVersionVersion 1.0.119.0.static final LambdaInsightsVersionVersion 1.0.135.0.static final LambdaInsightsVersionVersion 1.0.54.0.static final LambdaInsightsVersionVersion 1.0.86.0.static final LambdaInsightsVersionVersion 1.0.89.0.static final LambdaInsightsVersionVersion 1.0.98.0. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedLambdaInsightsVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedLambdaInsightsVersion(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic LambdaInsightsVersionUse the insights extension associated with the provided ARN.The arn of the Lambda Insights extension.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
VERSION_1_0_119_0
Version 1.0.119.0. -
VERSION_1_0_135_0
Version 1.0.135.0. -
VERSION_1_0_54_0
Version 1.0.54.0. -
VERSION_1_0_86_0
Version 1.0.86.0. -
VERSION_1_0_89_0
Version 1.0.89.0. -
VERSION_1_0_98_0
Version 1.0.98.0.
-
-
Constructor Details
-
LambdaInsightsVersion
protected LambdaInsightsVersion(software.amazon.jsii.JsiiObjectRef objRef) -
LambdaInsightsVersion
protected LambdaInsightsVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
LambdaInsightsVersion
@Stability(Stable) protected LambdaInsightsVersion()
-
-
Method Details
-
fromInsightVersionArn
@Stability(Stable) @NotNull public static LambdaInsightsVersion fromInsightVersionArn(@NotNull String arn) Use the insights extension associated with the provided ARN.Make sure the ARN is associated with same region as your function
- Parameters:
arn- This parameter is required.- See Also:
-
getLayerVersionArn
The arn of the Lambda Insights extension.
-