fms_delete_policy: Permanently deletes an AWS Firewall Manager policy

Description Usage Arguments Request syntax

View source: R/fms_operations.R

Description

Permanently deletes an AWS Firewall Manager policy.

Usage

1
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

1
2
3
4
svc$delete_policy(
  PolicyId = "string",
  DeleteAllPolicyResources = TRUE|FALSE
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.