InsightRule
Source:
src/AWS/CloudWatch/InsightRule.ts
A CloudWatch Contributor Insights rule.
Creating Insight Rules
Section titled “Creating Insight Rules”const rule = yield* InsightRule("TopContributors", { RuleState: "ENABLED", RuleDefinition: { Schema: { Name: "CloudWatchLogRule", Version: 1, }, LogFormat: "JSON", Contribution: { Keys: ["$.ip"], }, AggregateOn: "Count", },});