aws-cdk-lib.aws_lambda.AdotLambdaLayerGenericVersion
layer
class AdotLambdaLayerGenericVersion
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lambda.AdotLambdaLayerGenericVersion |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#AdotLambdaLayerGenericVersion |
![]() | software.amazon.awscdk.services.lambda.AdotLambdaLayerGenericVersion |
![]() | aws_cdk.aws_lambda.AdotLambdaLayerGenericVersion |
![]() | aws-cdk-lib » aws_lambda » AdotLambdaLayerGenericVersion |
The collection of versions of the ADOT Lambda Layer for generic purpose.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const adotLambdaLayerGenericVersion = lambda.AdotLambdaLayerGenericVersion.LATEST;
Properties
Name | Type | Description |
---|---|---|
layer | string | |
static LATEST | Adot | The latest layer version available in this CDK version. |
static V0_62_1 | Adot | Version 0.62.1. |
layerVersion
Type:
string
static LATEST
Type:
Adot
The latest layer version available in this CDK version.
New versions could introduce incompatible changes. Make sure to test them before deploying to production.
static V0_62_1
Type:
Adot
Version 0.62.1.
Methods
Name | Description |
---|---|
layer | The ARN of the Lambda layer. |
Arn(scope, architecture)
layerpublic layerArn(scope: IConstruct, architecture: Architecture): string
Parameters
- scope
IConstruct
— The binding scope. - architecture
Architecture
— The architecture of the Lambda layer (either X86_64 or ARM_64).
Returns
string
The ARN of the Lambda layer.