Skip to content

CreateWebACLRequest

Source code in docs_src/capo_waf_regional/types/create_web_acl_request.py
class CreateWebACLRequest(TypedDict, closed=True):
    name: "capo_waf_regional.types.resource_name.ResourceName"
    """<p>A friendly name or description of the <a>WebACL</a>. You can't change <code>Name</code> after you create the <code>WebACL</code>.</p>"""
    metric_name: "capo_waf_regional.types.metric_name.MetricName"
    """<p>A friendly name or description for the metrics for this <code>WebACL</code>.The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change <code>MetricName</code> after you create the <code>WebACL</code>.</p>"""
    default_action: "capo_waf_regional.types.waf_action.WafAction"
    """<p>The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the <code>Rule</code> objects that are associated with the <code>WebACL</code>.</p>"""
    change_token: "capo_waf_regional.types.change_token.ChangeToken"
    """<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"""
    tags: NotRequired["capo_waf_regional.types.tag_list.TagList"]
    """<p></p>"""

change_token instance-attribute

change_token: ChangeToken

The value returned by the most recent call to GetChangeToken.

default_action instance-attribute

default_action: WafAction

The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the Rule objects that are associated with the WebACL.

metric_name instance-attribute

metric_name: MetricName

A friendly name or description for the metrics for this WebACL.The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change MetricName after you create the WebACL.

name instance-attribute

A friendly name or description of the WebACL. You can't change Name after you create the WebACL.

tags instance-attribute

tags: NotRequired[TagList]