PARALLAX

networkfirewall

manage AWS Network Firewall firewalls

Collection: community.aws

Full Name: community.aws.networkfirewall

Synopsis

manage AWS Network Firewall firewalls

Parameters

NameTypeRequiredDefaultDescription
access_keystr
arnstr
aws_ca_bundlepath
aws_configdict
debug_botocore_endpoint_logsboolfalse
delete_protectionbool
descriptionstr
endpoint_urlstr
namestr
policystr
policy_change_protectionbool
profilestr
purge_subnetsbooltrue
purge_tagsbooltrue
regionstr
secret_keystr
session_tokenstr
statestrpresent
subnet_change_protectionbool
subnetslist
tagsdict
validate_certsbooltrue
waitbooltrue
wait_timeoutint

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'
Search
    ↑ ↓ move↵ openesc close