LambdaInsightsVersion
- class aws_cdk.aws_lambda.LambdaInsightsVersion
Bases:
object
Version of CloudWatch Lambda Insights.
- ExampleMetadata:
infused
Example:
layer_arn = "arn:aws:lambda:us-east-1:580247275435:layer:LambdaInsightsExtension:14" lambda_.Function(self, "MyFunction", runtime=lambda_.Runtime.NODEJS_18_X, handler="index.handler", code=lambda_.Code.from_asset(path.join(__dirname, "lambda-handler")), insights_version=lambda_.LambdaInsightsVersion.from_insight_version_arn(layer_arn) )
Attributes
- VERSION_1_0_119_0 = <aws_cdk.aws_lambda.LambdaInsightsVersion object>
- VERSION_1_0_135_0 = <aws_cdk.aws_lambda.LambdaInsightsVersion object>
- VERSION_1_0_143_0 = <aws_cdk.aws_lambda.LambdaInsightsVersion object>
- VERSION_1_0_178_0 = <aws_cdk.aws_lambda.LambdaInsightsVersion object>
- VERSION_1_0_229_0 = <aws_cdk.aws_lambda.LambdaInsightsVersion object>
- VERSION_1_0_273_0 = <aws_cdk.aws_lambda.LambdaInsightsVersion object>
- VERSION_1_0_275_0 = <aws_cdk.aws_lambda.LambdaInsightsVersion object>
- VERSION_1_0_295_0 = <aws_cdk.aws_lambda.LambdaInsightsVersion object>
- VERSION_1_0_317_0 = <aws_cdk.aws_lambda.LambdaInsightsVersion object>
- VERSION_1_0_54_0 = <aws_cdk.aws_lambda.LambdaInsightsVersion object>
- VERSION_1_0_86_0 = <aws_cdk.aws_lambda.LambdaInsightsVersion object>
- VERSION_1_0_89_0 = <aws_cdk.aws_lambda.LambdaInsightsVersion object>
- VERSION_1_0_98_0 = <aws_cdk.aws_lambda.LambdaInsightsVersion object>
- layer_version_arn
The arn of the Lambda Insights extension.
Static Methods
- classmethod from_insight_version_arn(arn)
Use the insights extension associated with the provided ARN.
Make sure the ARN is associated with same region as your function
- Parameters:
arn (
str
) –- See:
- Return type: