CmdID / aws / aws lambda-web
aws lambda-web put-resource-policy
Adds or updates a resource-based policy on a web function. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--policyThe JSON-formatted resource-based policy to attach to the web function.--resource-arnThe Amazon Resource Name (ARN) of the web function.--revision-idThe revision ID of the existing policy.