# LayerVersionAttributes

Properties necessary to import a LayerVersion.

- Source: [`aws-lambda/lib/layers.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-lambda/lib/layers.ts#L152)

## Example

```ts
// 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';

declare const runtime: lambda.Runtime;
const layerVersionAttributes: lambda.LayerVersionAttributes = {
  layerVersionArn: 'layerVersionArn',

  // the properties below are optional
  compatibleRuntimes: [runtime],
};
```

## Properties

- `compatibleRuntimes`: [Runtime](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Runtime.html)[] — The list of compatible runtimes with this Layer.

- `layerVersionArn`: string (required) — The ARN of the LayerVersion.
