class Aws::WAFRegional::Types::CreateWebACLRequest
@note When making an API call, you may pass CreateWebACLRequest
data as a hash: { name: "ResourceName", # required metric_name: "MetricName", # required default_action: { # required type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT }, change_token: "ChangeToken", # required tags: [ { key: "TagKey", # required value: "TagValue", # required }, ], }
@!attribute [rw] name
A friendly name or description of the WebACL. You can't change `Name` after you create the `WebACL`. @return [String]
@!attribute [rw] metric_name
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`. @return [String]
@!attribute [rw] default_action
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`. @return [Types::WafAction]
@!attribute [rw] change_token
The value returned by the most recent call to GetChangeToken. @return [String]
@!attribute [rw] tags
@return [Array<Types::Tag>]
@see docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACLRequest AWS API Documentation
Constants
- SENSITIVE