You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafregional/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
}

Instance Attribute Summary collapse

Instance Attribute Details

#change_tokenString

The value returned by the most recent call to GetChangeToken.

Returns:

  • (String)


779
780
781
782
783
784
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 779

class CreateRuleGroupRequest < Struct.new(
  :name,
  :metric_name,
  :change_token)
  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); the name can't contain whitespace. You can't change the name of the metric after you create the RuleGroup.

Returns:

  • (String)


779
780
781
782
783
784
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 779

class CreateRuleGroupRequest < Struct.new(
  :name,
  :metric_name,
  :change_token)
  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)


779
780
781
782
783
784
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 779

class CreateRuleGroupRequest < Struct.new(
  :name,
  :metric_name,
  :change_token)
  include Aws::Structure
end