DeletePermissionPolicy
Source:
src/AWS/WAFv2/DeletePermissionPolicy.ts
Runtime binding for wafv2:DeletePermissionPolicy — remove the IAM
policy that shares the bound RuleGroup with other accounts; the
rule group ARN is injected automatically. Deleting a policy that does
not exist succeeds.
Provide WAFv2.DeletePermissionPolicyHttp on the hosting Lambda Function
to satisfy the requirement.
Sharing Rule Groups
Section titled “Sharing Rule Groups”// init — grants wafv2:DeletePermissionPolicy on the rule groupconst deletePermissionPolicy = yield* AWS.WAFv2.DeletePermissionPolicy(group);
// runtimeyield* deletePermissionPolicy();