Optional ReadonlydescriptionHuman-readable description of what the rule detects. Surfaced in the EventBridge console and in the notification message.
Optional ReadonlyerrorCloudTrail errorCode values to match, any one of which triggers the rule.
These are CloudTrail codes, NOT SDK exception names: an IAM denial returns
AccessDeniedException to the caller but CloudTrail typically records plain
AccessDenied. Passed through verbatim.
Optional ReadonlyeventCloudTrail eventName values (API names) to match (e.g. UpdateAgentRuntime).
Matching any one of them triggers the rule.
Optional ReadonlytargetARN of an existing, customer-supplied Lambda function to invoke in addition to the SNS notification, for automated remediation. This helper does not create the function: remediation is destructive and site-specific.
Configuration for a single CloudTrail alerting rule.