Class: Aws::WAFRegional::Types::CreateRuleGroupRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-wafregional/types.rb

Overview

Note:

When making an API call, you may pass CreateRuleGroupRequest data as a hash:

{
  name: "ResourceName", # required
  metric_name: "MetricName", # required
  change_token: "ChangeToken", # required
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#change_tokenString

The value returned by the most recent call to GetChangeToken.

Returns:

  • (String)

967
968
969
970
971
972
973
974
# File 'lib/aws-sdk-wafregional/types.rb', line 967

class CreateRuleGroupRequest < Struct.new(
  :name,
  :metric_name,
  :change_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#metric_nameString

A friendly name or description for the metrics for this `RuleGroup`. 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 `RuleGroup`.

Returns:

  • (String)

967
968
969
970
971
972
973
974
# File 'lib/aws-sdk-wafregional/types.rb', line 967

class CreateRuleGroupRequest < Struct.new(
  :name,
  :metric_name,
  :change_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)

967
968
969
970
971
972
973
974
# File 'lib/aws-sdk-wafregional/types.rb', line 967

class CreateRuleGroupRequest < Struct.new(
  :name,
  :metric_name,
  :change_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

Returns:


967
968
969
970
971
972
973
974
# File 'lib/aws-sdk-wafregional/types.rb', line 967

class CreateRuleGroupRequest < Struct.new(
  :name,
  :metric_name,
  :change_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end