rule
Gets an individual rule
resource
Overview
Name | rule |
Type | Resource |
Description | rule |
Id | awscc.connect.rule |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The name of the rule. |
rule_arn | string | The Amazon Resource Name (ARN) of the rule. |
instance_arn | string | The Amazon Resource Name (ARN) of the instance. |
trigger_event_source | object | The event source that triggers the rule. |
function | string | The conditions of a rule. |
actions | object | The list of actions that will be executed when a rule is triggered. |
publish_status | string | The publish status of a rule, either draft or published. |
tags | array | One or more tags. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
name,
rule_arn,
instance_arn,
trigger_event_source,
function,
actions,
publish_status,
tags
FROM awscc.connect.rule
WHERE data__Identifier = '<RuleArn>';
Permissions
To operate on the rule
resource, the following permissions are required:
Read
connect:DescribeRule
Delete
connect:DeleteRule,
connect:UntagResource
Update
connect:UpdateRule,
cases:GetTemplate,
cases:ListFields,
cases:ListFieldOptions,
connect:TagResource,
connect:UntagResource