LayerVersionAttributes

class aws_cdk.aws_lambda.LayerVersionAttributes(*, layer_version_arn, compatible_runtimes=None)

Bases: object

__init__(*, layer_version_arn, compatible_runtimes=None)

Properties necessary to import a LayerVersion.

Parameters
  • layer_version_arn (str) – The ARN of the LayerVersion.

  • compatible_runtimes (Optional[List[Runtime]]) – The list of compatible runtimes with this Layer.

Attributes

compatible_runtimes

The list of compatible runtimes with this Layer.

Return type

Optional[List[Runtime]]

layer_version_arn

The ARN of the LayerVersion.

Return type

str