layer_version
Gets an individual layer_version
resource
Overview
Name | layer_version |
Type | Resource |
Description | layer_version |
Id | awscc.lambda.layer_version |
Fields
Name | Datatype | Description |
---|---|---|
compatible_runtimes | array | A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions. |
license_info | string | The layer's software license. |
description | string | The description of the version. |
layer_name | string | The name or Amazon Resource Name (ARN) of the layer. |
content | object | The function layer archive. |
layer_version_arn | string | |
compatible_architectures | array | A list of compatible instruction set architectures. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
compatible_runtimes,
license_info,
description,
layer_name,
content,
layer_version_arn,
compatible_architectures
FROM awscc.lambda.layer_version
WHERE data__Identifier = '<LayerVersionArn>';
Permissions
To operate on the layer_version
resource, the following permissions are required:
Read
lambda:GetLayerVersion
Delete
lambda:GetLayerVersion,
lambda:DeleteLayerVersion