class Aws::CloudWatch::Types::InsightRule

This structure contains the definition for a Contributor Insights rule.

@!attribute [rw] name

The name of the rule.
@return [String]

@!attribute [rw] state

Indicates whether the rule is enabled or disabled.
@return [String]

@!attribute [rw] schema

For rules that you create, this is always `\{"Name":
"CloudWatchLogRule", "Version": 1\}`. For built-in rules, this is
`\{"Name": "ServiceLogRule", "Version": 1\}`
@return [String]

@!attribute [rw] definition

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].

[1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights-RuleSyntax.html
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/InsightRule AWS API Documentation

Constants

SENSITIVE