Skip to main content

layer_version_permissions_list_only

Lists layer_version_permissions in a region or regions, for all properties use layer_version_permissions

Overview

Namelayer_version_permissions_list_only
TypeResource
DescriptionSchema for Lambda LayerVersionPermission
Idaws.lambda.layer_version_permissions_list_only

Fields

NameDatatypeDescription
idstringID generated by service
actionstringThe API action that grants access to the layer.
layer_version_arnstringThe name or Amazon Resource Name (ARN) of the layer.
organization_idstringWith the principal set to *, grant permission to all accounts in the specified organization.
principalstringAn account ID, or * to grant layer usage permission to all accounts in an organization, or all AWS accounts (if organizationId is not specified).
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all layer_version_permissions in a region.

SELECT
region,
id
FROM aws.lambda.layer_version_permissions_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the layer_version_permissions_list_only resource, see layer_version_permissions