You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::WAFRegional::Types::CreateRuleGroupRequest
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::WAFRegional::Types::CreateRuleGroupRequest
 
- Defined in:
- (unknown)
Overview
When passing CreateRuleGroupRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
  name: "ResourceName", # required
  metric_name: "MetricName", # required
  change_token: "ChangeToken", # required
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}
Instance Attribute Summary collapse
- 
  
    
      #change_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The value returned by the most recent call to GetChangeToken. 
- 
  
    
      #metric_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A friendly name or description for the metrics for this RuleGroup.
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A friendly name or description of the RuleGroup. 
- 
  
    
      #tags  ⇒ Array<Types::Tag> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Instance Attribute Details
#change_token ⇒ String
The value returned by the most recent call to GetChangeToken.
#metric_name ⇒ String
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.
#name ⇒ String
A friendly name or description of the RuleGroup. You can\'t
change Name after you create a RuleGroup.