Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

InsightRule

import type { InsightRule } from "https://aws-api.deno.dev/v0.3/services/cloudwatch.ts?docs=full";

This structure contains the definition for a Contributor Insights rule. For more information about this rule, seeUsing Constributor Insights to analyze high-cardinality data in the Amazon CloudWatch User Guide.

interface InsightRule {
Definition: string;
Name: string;
Schema: string;
State: string;
}

§Properties

§
Definition: string
[src]

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
[src]

The name of the rule.

§
Schema: string
[src]

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

§
State: string
[src]

Indicates whether the rule is enabled or disabled.