layer_version_permissions_list_only
Lists layer_version_permissions
in a region or regions, for all properties use layer_version_permissions
Overview
Name | layer_version_permissions_list_only |
Type | Resource |
Description | Schema for Lambda LayerVersionPermission |
Id | aws.lambda.layer_version_permissions_list_only |
Fields
Name | Datatype | Description |
---|---|---|
id | string | ID generated by service |
action | string | The API action that grants access to the layer. |
layer_version_arn | string | The name or Amazon Resource Name (ARN) of the layer. |
organization_id | string | With the principal set to *, grant permission to all accounts in the specified organization. |
principal | string | An account ID, or * to grant layer usage permission to all accounts in an organization, or all AWS accounts (if organizationId is not specified). |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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