Firewall Management Service

2019/01/21 - Firewall Management Service - 1 updated api methods

Changes  This release provides support for cleaning up web ACLs during Firewall Management policy deletion. You can now enable the DeleteAllPolicyResources flag and it will delete all system-generated web ACLs.

DeletePolicy (updated) Link ΒΆ
Changes (request)
{'DeleteAllPolicyResources': 'boolean'}

Permanently deletes an AWS Firewall Manager policy.

See also: AWS API Documentation

Request Syntax

client.delete_policy(
    PolicyId='string',
    DeleteAllPolicyResources=True|False
)
type PolicyId

string

param PolicyId

[REQUIRED]

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

type DeleteAllPolicyResources

boolean

param DeleteAllPolicyResources

If True , the request will also delete all web ACLs in this policy. Associated resources will no longer be protected by web ACLs in this policy.

returns

None