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.103.1 (build bef2dea)",
date="2024-10-11T15:56:01.144Z")
@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
Modifier and TypeFieldDescriptionstatic final LambdaInsightsVersion
Version 1.0.119.0.static final LambdaInsightsVersion
Version 1.0.135.0.static final LambdaInsightsVersion
Version 1.0.143.0.static final LambdaInsightsVersion
Version 1.0.178.0.static final LambdaInsightsVersion
Version 1.0.229.0.static final LambdaInsightsVersion
Version 1.0.273.0.static final LambdaInsightsVersion
Version 1.0.275.0.static final LambdaInsightsVersion
Version 1.0.295.0.static final LambdaInsightsVersion
Version 1.0.317.0.static final LambdaInsightsVersion
Version 1.0.333.0.static final LambdaInsightsVersion
Version 1.0.54.0.static final LambdaInsightsVersion
Version 1.0.86.0.static final LambdaInsightsVersion
Version 1.0.89.0.static final LambdaInsightsVersion
Version 1.0.98.0. -
Constructor Summary
ModifierConstructorDescriptionprotected
protected
LambdaInsightsVersion
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
LambdaInsightsVersion
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic LambdaInsightsVersion
Use 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, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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_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.
-