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

PutInsightRuleInput

import type { PutInsightRuleInput } from "https://aws-api.deno.dev/v0.4/services/cloudwatch.ts?docs=full";
interface PutInsightRuleInput {
RuleDefinition: string;
RuleName: string;
RuleState?: string | null;
Tags?: Tag[] | null;
}

§Properties

§
RuleDefinition: string
[src]

The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.

§
RuleName: string
[src]

A unique name for the rule.

§
RuleState?: string | null
[src]

The state of the rule. Valid values are ENABLED and DISABLED.

§
Tags?: Tag[] | null
[src]

A list of key-value pairs to associate with the Contributor Insights rule. You can associate as many as 50 tags with a rule.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.

To be able to associate tags with a rule, you must have the cloudwatch:TagResource permission in addition to the cloudwatch:PutInsightRule permission.

If you are using this operation to update an existing Contributor Insights rule, any tags you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.