Skip to main content

layer_version

Gets an individual layer_version resource

Overview

Namelayer_version
TypeResource
Descriptionlayer_version
Idawscc.lambda.layer_version

Fields

NameDatatypeDescription
compatible_runtimesarrayA list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
license_infostringThe layer's software license.
descriptionstringThe description of the version.
layer_namestringThe name or Amazon Resource Name (ARN) of the layer.
contentobjectThe function layer archive.
layer_version_arnstring
compatible_architecturesarrayA list of compatible instruction set architectures.
regionstringAWS 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