networkfirewall
manage AWS Network Firewall firewalls
Collection: community.aws
Full Name: community.aws.networkfirewall
Synopsis
manage AWS Network Firewall firewalls
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_key | str | |||
| arn | str | |||
| aws_ca_bundle | path | |||
| aws_config | dict | |||
| debug_botocore_endpoint_logs | bool | false | ||
| delete_protection | bool | |||
| description | str | |||
| endpoint_url | str | |||
| name | str | |||
| policy | str | |||
| policy_change_protection | bool | |||
| profile | str | |||
| purge_subnets | bool | true | ||
| purge_tags | bool | true | ||
| region | str | |||
| secret_key | str | |||
| session_token | str | |||
| state | str | present | ||
| subnet_change_protection | bool | |||
| subnets | list | |||
| tags | dict | |||
| validate_certs | bool | true | ||
| wait | bool | true | ||
| wait_timeout | int |
Example
yaml
# Create an AWS Network Firewall
- name: manage AWS Network Firewall firewalls
community.aws.networkfirewall:
name: 'ExampleFirewall'
state: present
policy: 'ExamplePolicy'
subnets:
- 'subnet-123456789abcdef01'
# Create an AWS Network Firewall with various options, don't wait for creation
# to finish.
- name: manage AWS Network Firewall firewalls
community.aws.networkfirewall:
name: 'ExampleFirewall'
state: present
delete_protection: true
description: "An example Description"
policy: 'ExamplePolicy'
policy_change_protection: true
subnets:
- 'subnet-123456789abcdef01'
- 'subnet-abcdef0123456789a'
subnet_change_protection: true
tags:
ExampleTag: Example Value
another_tag: another_example
wait: false
# Delete an AWS Network Firewall
- name: manage AWS Network Firewall firewalls
community.aws.networkfirewall:
state: absent
name: 'ExampleFirewall'