Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Interface CreateRuleCommandInputProtected

The input for CreateRuleCommand.



description?: string

The rule description.

detectorId: undefined | string

The detector ID for the rule's parent detector.

expression: undefined | string

The rule expression.

language: undefined | string

The language of the rule.

outcomes: undefined | string[]

The outcome or outcomes returned when the rule expression matches.

ruleId: undefined | string

The rule ID.

tags?: Tag[]

A collection of key and value pairs.