waf_web_acl
Create and delete WAF Web ACLs
Collection: community.aws
Full Name: community.aws.waf_web_acl
Synopsis
Create and delete WAF Web ACLs
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_key | str | |||
| aws_ca_bundle | path | |||
| aws_config | dict | |||
| debug_botocore_endpoint_logs | bool | false | ||
| default_action | str | |||
| endpoint_url | str | |||
| metric_name | str | |||
| name | str | yes | ||
| profile | str | |||
| purge_rules | bool | false | ||
| region | str | |||
| rules | list | |||
| secret_key | str | |||
| session_token | str | |||
| state | str | present | ||
| validate_certs | bool | true | ||
| waf_regional | bool | false |
Example
yaml
- name: create web ACL
community.aws.waf_web_acl:
name: my_web_acl
rules:
- name: my_rule
priority: 1
action: block
default_action: block
purge_rules: true
state: present
- name: delete the web acl
community.aws.waf_web_acl:
name: my_web_acl
state: absent