Skip to main content

layer_version_permission

Gets an individual layer_version_permission resource

Overview

Namelayer_version_permission
TypeResource
Descriptionlayer_version_permission
Idawscc.lambda.layer_version_permission

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

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
id,
action,
layer_version_arn,
organization_id,
principal
FROM awscc.lambda.layer_version_permission
WHERE data__Identifier = '<Id>';

Permissions

To operate on the layer_version_permission resource, the following permissions are required:

Read

lambda:GetLayerVersionPolicy

Delete

lambda:GetLayerVersionPolicy,
lambda:RemoveLayerVersionPermission