class Aws::WAF::Types::CreateRuleRequest
@note When making an API call, you may pass CreateRuleRequest
data as a hash: { name: "ResourceName", # required metric_name: "MetricName", # required change_token: "ChangeToken", # required tags: [ { key: "TagKey", # required value: "TagValue", # required }, ], }
@!attribute [rw] name
A friendly name or description of the Rule. You can't change the name of a `Rule` after you create it. @return [String]
@!attribute [rw] metric_name
A friendly name or description for the metrics for this `Rule`. 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 the name of the metric after you create the `Rule`. @return [String]
@!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-2015-08-24/CreateRuleRequest AWS API Documentation
Constants
- SENSITIVE