Class LambdaInsightsVersion
Version of CloudWatch Lambda Insights.
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class LambdaInsightsVersion : DeputyBase
Syntax (vb)
Public MustInherit Class LambdaInsightsVersion Inherits DeputyBase
Remarks
ExampleMetadata: infused
Examples
var layerArn = "arn:aws:lambda:us-east-1:580247275435:layer:LambdaInsightsExtension:14";
new Function(this, "MyFunction", new FunctionProps {
Runtime = Runtime.NODEJS_LATEST,
Handler = "index.handler",
Code = Code.FromAsset(Join(__dirname, "lambda-handler")),
InsightsVersion = LambdaInsightsVersion.FromInsightVersionArn(layerArn)
});
Synopsis
Constructors
| LambdaInsightsVersion() | Version of CloudWatch Lambda Insights. |
Properties
| LayerVersionArn | The arn of the Lambda Insights extension. |
| 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_498_0 | Version 1.0.498.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. |
Methods
| FromInsightVersionArn(string) | Use the insights extension associated with the provided ARN. |
Constructors
LambdaInsightsVersion()
Version of CloudWatch Lambda Insights.
protected LambdaInsightsVersion()
Remarks
ExampleMetadata: infused
Examples
var layerArn = "arn:aws:lambda:us-east-1:580247275435:layer:LambdaInsightsExtension:14";
new Function(this, "MyFunction", new FunctionProps {
Runtime = Runtime.NODEJS_LATEST,
Handler = "index.handler",
Code = Code.FromAsset(Join(__dirname, "lambda-handler")),
InsightsVersion = LambdaInsightsVersion.FromInsightVersionArn(layerArn)
});
Properties
LayerVersionArn
The arn of the Lambda Insights extension.
public virtual string LayerVersionArn { get; }
Property Value
Remarks
ExampleMetadata: infused
VERSION_1_0_119_0
Version 1.0.119.0.
public static LambdaInsightsVersion VERSION_1_0_119_0 { get; }
Property Value
Remarks
ExampleMetadata: infused
VERSION_1_0_135_0
Version 1.0.135.0.
public static LambdaInsightsVersion VERSION_1_0_135_0 { get; }
Property Value
Remarks
ExampleMetadata: infused
VERSION_1_0_143_0
Version 1.0.143.0.
public static LambdaInsightsVersion VERSION_1_0_143_0 { get; }
Property Value
Remarks
ExampleMetadata: infused
VERSION_1_0_178_0
Version 1.0.178.0.
public static LambdaInsightsVersion VERSION_1_0_178_0 { get; }
Property Value
Remarks
ExampleMetadata: infused
VERSION_1_0_229_0
Version 1.0.229.0.
public static LambdaInsightsVersion VERSION_1_0_229_0 { get; }
Property Value
Remarks
ExampleMetadata: infused
VERSION_1_0_273_0
Version 1.0.273.0.
public static LambdaInsightsVersion VERSION_1_0_273_0 { get; }
Property Value
Remarks
ExampleMetadata: infused
VERSION_1_0_275_0
Version 1.0.275.0.
public static LambdaInsightsVersion VERSION_1_0_275_0 { get; }
Property Value
Remarks
ExampleMetadata: infused
VERSION_1_0_295_0
Version 1.0.295.0.
public static LambdaInsightsVersion VERSION_1_0_295_0 { get; }
Property Value
Remarks
ExampleMetadata: infused
VERSION_1_0_317_0
Version 1.0.317.0.
public static LambdaInsightsVersion VERSION_1_0_317_0 { get; }
Property Value
Remarks
ExampleMetadata: infused
VERSION_1_0_333_0
Version 1.0.333.0.
public static LambdaInsightsVersion VERSION_1_0_333_0 { get; }
Property Value
Remarks
ExampleMetadata: infused
VERSION_1_0_391_0
Version 1.0.391.0.
public static LambdaInsightsVersion VERSION_1_0_391_0 { get; }
Property Value
Remarks
ExampleMetadata: infused
VERSION_1_0_404_0
Version 1.0.404.0.
public static LambdaInsightsVersion VERSION_1_0_404_0 { get; }
Property Value
Remarks
ExampleMetadata: infused
VERSION_1_0_498_0
Version 1.0.498.0.
public static LambdaInsightsVersion VERSION_1_0_498_0 { get; }
Property Value
Remarks
ExampleMetadata: infused
VERSION_1_0_54_0
Version 1.0.54.0.
public static LambdaInsightsVersion VERSION_1_0_54_0 { get; }
Property Value
Remarks
ExampleMetadata: infused
VERSION_1_0_86_0
Version 1.0.86.0.
public static LambdaInsightsVersion VERSION_1_0_86_0 { get; }
Property Value
Remarks
ExampleMetadata: infused
VERSION_1_0_89_0
Version 1.0.89.0.
public static LambdaInsightsVersion VERSION_1_0_89_0 { get; }
Property Value
Remarks
ExampleMetadata: infused
VERSION_1_0_98_0
Version 1.0.98.0.
public static LambdaInsightsVersion VERSION_1_0_98_0 { get; }
Property Value
Remarks
ExampleMetadata: infused
Methods
FromInsightVersionArn(string)
Use the insights extension associated with the provided ARN.
public static LambdaInsightsVersion FromInsightVersionArn(string arn)
Parameters
- arn string
Returns
Remarks
Make sure the ARN is associated with same region as your function