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.116.0 (build 0eddcff)",
date="2025-10-24T13:34:41.295Z")
@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_18_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.143.0.static final LambdaInsightsVersionVersion 1.0.178.0.static final LambdaInsightsVersionVersion 1.0.229.0.static final LambdaInsightsVersionVersion 1.0.273.0.static final LambdaInsightsVersionVersion 1.0.275.0.static final LambdaInsightsVersionVersion 1.0.295.0.static final LambdaInsightsVersionVersion 1.0.317.0.static final LambdaInsightsVersionVersion 1.0.333.0.static final LambdaInsightsVersionVersion 1.0.391.0.static final LambdaInsightsVersionVersion 1.0.404.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_143_0
Version 1.0.143.0. -
VERSION_1_0_178_0
Version 1.0.178.0. -
VERSION_1_0_229_0
Version 1.0.229.0. -
VERSION_1_0_273_0
Version 1.0.273.0. -
VERSION_1_0_275_0
Version 1.0.275.0. -
VERSION_1_0_295_0
Version 1.0.295.0. -
VERSION_1_0_317_0
Version 1.0.317.0. -
VERSION_1_0_333_0
Version 1.0.333.0. -
VERSION_1_0_391_0
Version 1.0.391.0. -
VERSION_1_0_404_0
Version 1.0.404.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.
-