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

Class: Aws::WAFRegional::Types::RuleSummary

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

Overview

Contains the identifier and the friendly name or description of the Rule.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

A friendly name or description of the Rule. You can't change the name of a Rule after you create it.

Returns:

  • (String)


3635
3636
3637
3638
3639
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 3635

class RuleSummary < Struct.new(
  :rule_id,
  :name)
  include Aws::Structure
end

#rule_idString

A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).

RuleId is returned by CreateRule and by ListRules.

Returns:

  • (String)


3635
3636
3637
3638
3639
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 3635

class RuleSummary < Struct.new(
  :rule_id,
  :name)
  include Aws::Structure
end