CmdID

CmdID / aws / aws lambda

aws lambda put-resource-policy

Adds a resource-based policy to a Lambda resource. AWS CLI reference

3 options Its page in the AWS CLI reference

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

Options

3 in the AWS CLI reference
--policyThe policy document you want to add to your Lambda resource.
--resource-arnThe Amazon Resource Name (ARN) of the Lambda resource you want to add the policy to.
--revision-idThe revision ID that the existing policy must match for the replacement to proceed.