steampipe plugin install aws

Table: aws_lambda_layer_version - Query AWS Lambda Layer Versions using SQL

The AWS Lambda Layer Version is a distribution mechanism for libraries, custom runtimes, and other function dependencies. Layers promote code sharing and separation of responsibilities so that you can iterate faster on writing business logic. With layers, you can manage your in-house and external code dependencies separately.

Table Usage Guide

The aws_lambda_layer_version table in Steampipe provides you with information about each version of a Lambda layer within AWS Lambda. This table allows you, as a DevOps engineer, to query version-specific details, including the layer ARN, description, license info, compatible runtimes, and the date it was created. You can utilize this table to gather insights on layer versions, such as their compatibility with different runtimes, license information, and more. The schema outlines the various attributes of the Lambda layer version for you, including the layer version ARN, layer name, version, description, and associated tags.

Examples

Basic Info

Explore which AWS Lambda layer versions are available and when they were created to better manage and update your serverless applications. This can help you ensure your applications are always running on the latest and most secure versions.

select
layer_arn,
layer_name,
layer_version_arn,
created_date,
jsonb_pretty(policy) as policy,
jsonb_pretty(policy_std) as policy_std,
version
from
aws_lambda_layer_version;
select
layer_arn,
layer_name,
layer_version_arn,
created_date,
policy,
policy_std,
version
from
aws_lambda_layer_version;

Schema for aws_lambda_layer_version

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
account_idtext=, !=, ~~, ~~*, !~~, !~~*The AWS Account ID in which the resource is located.
akasjsonbArray of globally unique identifier strings (also known as) for the resource.
compatible_architecturesjsonbA list of compatible instruction set architectures.
compatible_runtimesjsonbThe layer's compatible runtimes.
contentjsonbDetails about the layer version.
created_datetimestamp with time zoneThe date that the version was created, in ISO 8601 format.
descriptiontextThe description of the version.
layer_arntextThe ARN of the layer.
layer_nametext=The name of the layer.
layer_version_arntextThe ARN of the layer version.
license_infotextThe layer's open-source license.
partitiontextThe AWS partition in which the resource is located (aws, aws-cn, or aws-us-gov).
policyjsonbThe policy document.
policy_stdjsonbContains the policy document in a canonical form for easier searching.
regiontextThe AWS Region in which the resource is located.
revision_idtextA unique identifier for the current revision of the policy.
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
titletextTitle of the resource.
versionbigint=The version number.

Export

This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.

You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh script:

/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- aws

You can pass the configuration to the command with the --config argument:

steampipe_export_aws --config '<your_config>' aws_lambda_layer_version