Class: Aws::CloudWatch::Types::InsightRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatch::Types::InsightRule
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudwatch/types.rb
Overview
This structure contains the definition for a Contributor Insights rule. For more information about this rule, see[ Using Constributor Insights to analyze high-cardinality data] in the *Amazon CloudWatch User Guide*.
[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#definition ⇒ String
The definition of the rule, as a JSON object.
-
#managed_rule ⇒ Boolean
An optional built-in rule that Amazon Web Services manages.
-
#name ⇒ String
The name of the rule.
-
#schema ⇒ String
For rules that you create, this is always ‘“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].
[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights-RuleSyntax.html
1803 1804 1805 1806 1807 1808 1809 1810 1811 |
# File 'lib/aws-sdk-cloudwatch/types.rb', line 1803 class InsightRule < Struct.new( :name, :state, :schema, :definition, :managed_rule) SENSITIVE = [] include Aws::Structure end |
#managed_rule ⇒ Boolean
An optional built-in rule that Amazon Web Services manages.
1803 1804 1805 1806 1807 1808 1809 1810 1811 |
# File 'lib/aws-sdk-cloudwatch/types.rb', line 1803 class InsightRule < Struct.new( :name, :state, :schema, :definition, :managed_rule) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the rule.
1803 1804 1805 1806 1807 1808 1809 1810 1811 |
# File 'lib/aws-sdk-cloudwatch/types.rb', line 1803 class InsightRule < Struct.new( :name, :state, :schema, :definition, :managed_rule) SENSITIVE = [] include Aws::Structure end |
#schema ⇒ String
For rules that you create, this is always ‘“CloudWatchLogRule”, “Version”: 1`. For managed rules, this is `“ServiceLogRule”, “Version”: 1`
1803 1804 1805 1806 1807 1808 1809 1810 1811 |
# File 'lib/aws-sdk-cloudwatch/types.rb', line 1803 class InsightRule < Struct.new( :name, :state, :schema, :definition, :managed_rule) SENSITIVE = [] include Aws::Structure end |
#state ⇒ String
Indicates whether the rule is enabled or disabled.
1803 1804 1805 1806 1807 1808 1809 1810 1811 |
# File 'lib/aws-sdk-cloudwatch/types.rb', line 1803 class InsightRule < Struct.new( :name, :state, :schema, :definition, :managed_rule) SENSITIVE = [] include Aws::Structure end |