CmdID / aws / aws lambda
aws lambda delete-resource-policy
Deletes a resource-based policy from a Lambda resource. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--resource-arnThe Amazon Resource Name (ARN) of the Lambda resource you want to delete the policy from.--revision-idThe revision ID that the existing policy must match for the deletion to proceed.