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

Class: Aws::WAF::Types::RuleSummary

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


2558
2559
2560
2561
2562
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 2558

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)


2558
2559
2560
2561
2562
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 2558

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