NetworkFirewall / Waiter / FirewallPolicyActive

FirewallPolicyActive

class NetworkFirewall.Waiter.FirewallPolicyActive
waiter = client.get_waiter('firewall_policy_active')
wait(**kwargs)

Polls NetworkFirewall.Client.describe_firewall_policy() every 15 seconds until a successful state is reached. An error is raised after 40 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    FirewallPolicyName='string',
    FirewallPolicyArn='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters:
  • FirewallPolicyName (string) –

    The descriptive name of the firewall policy. You can’t change the name of a firewall policy after you create it.

    You must specify the ARN or the name, and you can specify both.

  • FirewallPolicyArn (string) –

    The Amazon Resource Name (ARN) of the firewall policy.

    You must specify the ARN or the name, and you can specify both.

  • WaiterConfig (dict) –

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) –

      The amount of time in seconds to wait between attempts. Default: 15

    • MaxAttempts (integer) –

      The maximum number of attempts to be made. Default: 40

Returns:

None