CmdID

CmdID / aws / aws lambda

aws lambda add-layer-version-permission

Adds permissions to the resource-based policy of a version of an Lambda layer. AWS CLI reference

7 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

7 in the AWS CLI reference
--actionThe API action that grants access to the layer.
--layer-nameThe name or Amazon Resource Name (ARN) of the layer.
--organization-idWith the principal set to *, grant permission to all accounts in the specified organization.
--principalAn account ID, or * to grant layer usage permission to all accounts in an organization, or all Amazon Web Services accounts (if organizationId is not specified).
--revision-idOnly update the policy if the revision ID matches the ID specified.
--statement-idAn identifier that distinguishes the policy from others on the same layer version.
--version-numberThe version number.