---
type: resource-type
title: ConnectRule
description: aws resource type AWS::Connect::Rule
name: ConnectRule
lexicon: aws
resource_type: AWS::Connect::Rule
---
`AWS::Connect::Rule`, a resource type of the aws lexicon.

## Properties

- `Actions` (`ConnectRule_Actions`, required): A list of actions to be run when the rule is triggered.
- `Function` (`string`, required): The conditions of the rule.
- `InstanceArn` (`string`, required): The Amazon Resource Name (ARN) of the instance.
- `Name` (`string`, required): The name of the rule.
- `PublishStatus` (`"DRAFT" | "PUBLISHED"`, required): The publish status of the rule. Allowed values*: ``DRAFT`` | ``PUBLISHED``
- `TriggerEventSource` (`ConnectRule_RuleTriggerEventSource`, required): The event source to trigger the rule.
- `RuleArn` (`string`, optional)
- `Tags` (`ConnectRule_Tag[]`, optional): The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

## Attributes

- `RuleArn`
