You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudWatch::Types::InsightRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatch::Types::InsightRule
- Defined in:
- (unknown)
Overview
This structure contains the definition for a Contributor Insights rule.
Instance Attribute Summary collapse
-
#definition ⇒ String
The definition of the rule, as a JSON object.
-
#name ⇒ String
The name of the rule.
-
#schema ⇒ String
For rules that you create, this is always
{"Name": "CloudWatchLogRule", "Version": 1}
. -
#state ⇒ String
Indicates whether the rule is enabled or disabled.
Instance Attribute Details
#definition ⇒ String
The definition of the rule, as a JSON object. The definition contains the keywords used to define contributors, the value to aggregate on if this rule returns a sum instead of a count, and the filters. For details on the valid syntax, see Contributor Insights Rule Syntax.
#name ⇒ String
The name of the rule.
#schema ⇒ String
For rules that you create, this is always {"Name": "CloudWatchLogRule",
"Version": 1}
. For built-in rules, this is {"Name": "ServiceLogRule",
"Version": 1}
#state ⇒ String
Indicates whether the rule is enabled or disabled.