Skip to main content

layer_version_by_arns

Creates, updates, deletes, gets or lists a layer_version_by_arns resource.

Overview

Namelayer_version_by_arns
TypeResource
Idaws.lambda.layer_version_by_arns

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
compatible_architecturesarrayA list of compatible instruction set architectures.
compatible_runtimesarrayThe layer's compatible runtimes. The following list includes deprecated runtimes. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes.
contentobjectDetails about the layer version.
created_datestringThe date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). (pattern: <code>.*</code>)
descriptionstringThe description of the version.
layer_arnstringThe ARN of the layer. (pattern: <code>arn:(aws[a-zA-Z-]*)?:lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:layer:[a-zA-Z0-9-_]+</code>)
layer_version_arnstringThe ARN of the layer version. (pattern: <code>((arn:(aws[a-zA-Z-]*)?:lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:layer:[a-zA-Z0-9-]+:[0-9]+)|(arn:[a-zA-Z0-9-]+:lambda:::awslayer:[a-zA-Z0-9-]+))</code>)
license_infostringThe layer's software license. (pattern: <code>.*</code>)
versioninteger (int64)The version number.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_layer_version_by_arnselectArn, regionReturns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
ArnstringThe ARN of the layer version.
regionstringAWS region (default: us-east-1)

SELECT examples

Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.

SELECT
compatible_architectures,
compatible_runtimes,
content,
created_date,
description,
layer_arn,
layer_version_arn,
license_info,
version
FROM aws.lambda.layer_version_by_arns
WHERE Arn = '{{ Arn }}' -- required
AND region = '{{ region }}' -- required
;