Learn R Programming

paws.security.identity (version 0.1.0)

fms_delete_policy: Permanently deletes an AWS Firewall Manager policy

Description

Permanently deletes an AWS Firewall Manager policy.

Usage

fms_delete_policy(PolicyId, DeleteAllPolicyResources)

Arguments

PolicyId

[required] The ID of the policy that you want to delete. PolicyId is returned by PutPolicy and by ListPolicies.

DeleteAllPolicyResources

If True, the request will also perform a clean-up process that will:

  • Delete rule groups created by AWS Firewall Manager

  • Remove web ACLs from in-scope resources

  • Delete web ACLs that contain no rules or rule groups

After the cleanup, in-scope resources will no longer be protected by web ACLs in this policy. Protection of out-of-scope resources will remain unchanged. Scope is determined by tags and accounts associated with the policy. When creating the policy, if you specified that only resources in specific accounts or with specific tags be protected by the policy, those resources are in-scope. All others are out of scope. If you did not specify tags or accounts, all resources are in-scope.

Request syntax

svc$delete_policy(
  PolicyId = "string",
  DeleteAllPolicyResources = TRUE|FALSE
)