AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  Amazon.CloudWatch.Model.InsightRule

Namespace: Amazon.CloudWatch.Model
Assembly: AWSSDK.CloudWatch.dll
Version: 3.x.y.z

Syntax

C#
public class InsightRule

The InsightRule type exposes the following members

Constructors

NameDescription
Public Method InsightRule()

Properties

NameTypeDescription
Public Property Definition System.String

Gets and sets the property 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.

Public Property ManagedRule System.Boolean

Gets and sets the property ManagedRule.

An optional built-in rule that Amazon Web Services manages.

Public Property Name System.String

Gets and sets the property Name.

The name of the rule.

Public Property Schema System.String

Gets and sets the property Schema.

For rules that you create, this is always {"Name": "CloudWatchLogRule", "Version": 1}. For managed rules, this is {"Name": "ServiceLogRule", "Version": 1}

Public Property State System.String

Gets and sets the property State.

Indicates whether the rule is enabled or disabled.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5