AWS::Connect::RuleCreates a rule for the specified Amazon Connect instance.
import { CfnRule } from 'aws-cdk-lib/aws-connect';Or use the module namespace:
import * as connect from 'aws-cdk-lib/aws-connect';
// connect.CfnRuleConfiguration passed to the constructor as CfnRuleProps.
actionsRequiredIResolvable | ActionsPropertyA list of actions to be run when the rule is triggered.
functionRequiredstringThe conditions of the rule.
instanceArnRequiredstringThe Amazon Resource Name (ARN) of the instance.
nameRequiredstringThe name of the rule.
publishStatusRequiredstringThe publish status of the rule. *Allowed values* : `DRAFT` | `PUBLISHED`
triggerEventSourceRequiredIResolvable | RuleTriggerEventSourcePropertyThe event source to trigger the rule.
tagsOptionalCfnTag[]The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-connectAWS::Connect::Rule