Class LambdaInsightsVersion
Version of CloudWatch Lambda Insights.
Inheritance
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_18_X,
Handler = "index.handler",
Code = Code.FromAsset(Join(__dirname, "lambda-handler")),
InsightsVersion = LambdaInsightsVersion.FromInsightVersionArn(layerArn)
});
Synopsis
Constructors
LambdaInsightsVersion() | |
LambdaInsightsVersion(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
LambdaInsightsVersion(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
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_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()
protected LambdaInsightsVersion()
LambdaInsightsVersion(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected LambdaInsightsVersion(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
LambdaInsightsVersion(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected LambdaInsightsVersion(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
LayerVersionArn
The arn of the Lambda Insights extension.
public virtual string LayerVersionArn { get; }
Property Value
System.String
VERSION_1_0_119_0
Version 1.0.119.0.
public static LambdaInsightsVersion VERSION_1_0_119_0 { get; }
Property Value
VERSION_1_0_135_0
Version 1.0.135.0.
public static LambdaInsightsVersion VERSION_1_0_135_0 { get; }
Property Value
VERSION_1_0_143_0
Version 1.0.143.0.
public static LambdaInsightsVersion VERSION_1_0_143_0 { get; }
Property Value
VERSION_1_0_178_0
Version 1.0.178.0.
public static LambdaInsightsVersion VERSION_1_0_178_0 { get; }
Property Value
VERSION_1_0_229_0
Version 1.0.229.0.
public static LambdaInsightsVersion VERSION_1_0_229_0 { get; }
Property Value
VERSION_1_0_54_0
Version 1.0.54.0.
public static LambdaInsightsVersion VERSION_1_0_54_0 { get; }
Property Value
VERSION_1_0_86_0
Version 1.0.86.0.
public static LambdaInsightsVersion VERSION_1_0_86_0 { get; }
Property Value
VERSION_1_0_89_0
Version 1.0.89.0.
public static LambdaInsightsVersion VERSION_1_0_89_0 { get; }
Property Value
VERSION_1_0_98_0
Version 1.0.98.0.
public static LambdaInsightsVersion VERSION_1_0_98_0 { get; }
Property Value
Methods
FromInsightVersionArn(String)
Use the insights extension associated with the provided ARN.
public static LambdaInsightsVersion FromInsightVersionArn(string arn)
Parameters
- arn System.String
Returns
Remarks
Make sure the ARN is associated with same region as your function