LambdaInsightsVersion Class
Version of CloudWatch Lambda Insights.
Example
ts
const layerArn = 'arn:aws:lambda:us-east-1:580247275435:layer:LambdaInsightsExtension:14';
new lambda.Function(this, 'MyFunction', {
runtime: lambda.Runtime.NODEJS_LATEST,
handler: 'index.handler',
code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
insightsVersion: lambda.LambdaInsightsVersion.fromInsightVersionArn(layerArn),
});
Initializer
ts
new LambdaInsightsVersion()
python
LambdaInsightsVersion()
java
new LambdaInsightsVersion()
csharp
new LambdaInsightsVersion()
go
NewLambdaInsightsVersion()
Properties
layerVersionArnstringlayer_version_arnstrlayerVersionArnStringLayerVersionArnstringLayerVersionArn*stringrequired#The arn of the Lambda Insights extension.
VERSION_1_0_119_0LambdaInsightsVersionversion_1_0_119_0LambdaInsightsVersionVERSION_1_0_119_0LambdaInsightsVersionVERSION_1_0_119_0LambdaInsightsVersionVERSION_1_0_119_0LambdaInsightsVersionrequiredstatic#Version 1.0.119.0.
VERSION_1_0_135_0LambdaInsightsVersionversion_1_0_135_0LambdaInsightsVersionVERSION_1_0_135_0LambdaInsightsVersionVERSION_1_0_135_0LambdaInsightsVersionVERSION_1_0_135_0LambdaInsightsVersionrequiredstatic#Version 1.0.135.0.
VERSION_1_0_143_0LambdaInsightsVersionversion_1_0_143_0LambdaInsightsVersionVERSION_1_0_143_0LambdaInsightsVersionVERSION_1_0_143_0LambdaInsightsVersionVERSION_1_0_143_0LambdaInsightsVersionrequiredstatic#Version 1.0.143.0.
VERSION_1_0_178_0LambdaInsightsVersionversion_1_0_178_0LambdaInsightsVersionVERSION_1_0_178_0LambdaInsightsVersionVERSION_1_0_178_0LambdaInsightsVersionVERSION_1_0_178_0LambdaInsightsVersionrequiredstatic#Version 1.0.178.0.
VERSION_1_0_229_0LambdaInsightsVersionversion_1_0_229_0LambdaInsightsVersionVERSION_1_0_229_0LambdaInsightsVersionVERSION_1_0_229_0LambdaInsightsVersionVERSION_1_0_229_0LambdaInsightsVersionrequiredstatic#Version 1.0.229.0.
VERSION_1_0_273_0LambdaInsightsVersionversion_1_0_273_0LambdaInsightsVersionVERSION_1_0_273_0LambdaInsightsVersionVERSION_1_0_273_0LambdaInsightsVersionVERSION_1_0_273_0LambdaInsightsVersionrequiredstatic#Version 1.0.273.0.
VERSION_1_0_275_0LambdaInsightsVersionversion_1_0_275_0LambdaInsightsVersionVERSION_1_0_275_0LambdaInsightsVersionVERSION_1_0_275_0LambdaInsightsVersionVERSION_1_0_275_0LambdaInsightsVersionrequiredstatic#Version 1.0.275.0.
VERSION_1_0_295_0LambdaInsightsVersionversion_1_0_295_0LambdaInsightsVersionVERSION_1_0_295_0LambdaInsightsVersionVERSION_1_0_295_0LambdaInsightsVersionVERSION_1_0_295_0LambdaInsightsVersionrequiredstatic#Version 1.0.295.0.
VERSION_1_0_317_0LambdaInsightsVersionversion_1_0_317_0LambdaInsightsVersionVERSION_1_0_317_0LambdaInsightsVersionVERSION_1_0_317_0LambdaInsightsVersionVERSION_1_0_317_0LambdaInsightsVersionrequiredstatic#Version 1.0.317.0.
VERSION_1_0_333_0LambdaInsightsVersionversion_1_0_333_0LambdaInsightsVersionVERSION_1_0_333_0LambdaInsightsVersionVERSION_1_0_333_0LambdaInsightsVersionVERSION_1_0_333_0LambdaInsightsVersionrequiredstatic#Version 1.0.333.0.
VERSION_1_0_391_0LambdaInsightsVersionversion_1_0_391_0LambdaInsightsVersionVERSION_1_0_391_0LambdaInsightsVersionVERSION_1_0_391_0LambdaInsightsVersionVERSION_1_0_391_0LambdaInsightsVersionrequiredstatic#Version 1.0.391.0.
VERSION_1_0_404_0LambdaInsightsVersionversion_1_0_404_0LambdaInsightsVersionVERSION_1_0_404_0LambdaInsightsVersionVERSION_1_0_404_0LambdaInsightsVersionVERSION_1_0_404_0LambdaInsightsVersionrequiredstatic#Version 1.0.404.0.
VERSION_1_0_498_0LambdaInsightsVersionversion_1_0_498_0LambdaInsightsVersionVERSION_1_0_498_0LambdaInsightsVersionVERSION_1_0_498_0LambdaInsightsVersionVERSION_1_0_498_0LambdaInsightsVersionrequiredstatic#Version 1.0.498.0.
VERSION_1_0_54_0LambdaInsightsVersionversion_1_0_54_0LambdaInsightsVersionVERSION_1_0_54_0LambdaInsightsVersionVERSION_1_0_54_0LambdaInsightsVersionVERSION_1_0_54_0LambdaInsightsVersionrequiredstatic#Version 1.0.54.0.
VERSION_1_0_86_0LambdaInsightsVersionversion_1_0_86_0LambdaInsightsVersionVERSION_1_0_86_0LambdaInsightsVersionVERSION_1_0_86_0LambdaInsightsVersionVERSION_1_0_86_0LambdaInsightsVersionrequiredstatic#Version 1.0.86.0.
VERSION_1_0_89_0LambdaInsightsVersionversion_1_0_89_0LambdaInsightsVersionVERSION_1_0_89_0LambdaInsightsVersionVERSION_1_0_89_0LambdaInsightsVersionVERSION_1_0_89_0LambdaInsightsVersionrequiredstatic#Version 1.0.89.0.
VERSION_1_0_98_0LambdaInsightsVersionversion_1_0_98_0LambdaInsightsVersionVERSION_1_0_98_0LambdaInsightsVersionVERSION_1_0_98_0LambdaInsightsVersionVERSION_1_0_98_0LambdaInsightsVersionrequiredstatic#Version 1.0.98.0.
Methods
fromInsightVersionArn(arn: string): LambdaInsightsVersion // chainable@staticmethod def from_insight_version_arn(arn: str) -> LambdaInsightsVersionpublic static LambdaInsightsVersion fromInsightVersionArn(String arn)public static LambdaInsightsVersion FromInsightVersionArn(string arn)func FromInsightVersionArn(Arn *string) LambdaInsightsVersionstatic#Use the insights extension associated with the provided ARN.
Make sure the ARN is associated with same region as your function