Deletes a resource-based policy from a Lambda resource¶
Description¶
Deletes a resource-based policy from a Lambda resource.
Usage¶
Arguments¶
-
ResourceArn[required] The Amazon Resource Name (ARN) of the Lambda resource you want to delete the policy from. You can use a qualified or an unqualified ARN. The value must be a complete ARN, and the operation does not accept wildcard characters.
-
RevisionIdThe revision ID that the existing policy must match for the deletion to proceed. If the revision ID doesn't match, the operation fails with a
PreconditionFailedExceptionerror. To retrieve the current revision ID, use theget_resource_policyoperation.
Value¶
An empty list.