rules
Retrieves a list of rules
in a region
Overview
Name | rules |
Type | Resource |
Description | rules |
Id | awscc.events.rules |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | The ARN of the rule, such as arn:aws:events:us-east-2:123456789012:rule/example. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
arn
FROM awscc.events.rules
WHERE region = 'us-east-1'
Permissions
To operate on the rules
resource, the following permissions are required:
Create
iam:PassRole,
events:DescribeRule,
events:PutRule,
events:PutTargets
List
events:ListRules