Skip to main content

rules

Retrieves a list of rules in a region

Overview

Namerules
TypeResource
Descriptionrules
Idawscc.events.rules

Fields

NameDatatypeDescription
arnstringThe ARN of the rule, such as arn:aws:events:us-east-2:123456789012:rule/example.
regionstringAWS 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