Skip to main content

rule_names_by_targets

Creates, updates, deletes, gets or lists a rule_names_by_targets resource.

Overview

Namerule_names_by_targets
TypeResource
Idaws.events.rule_names_by_targets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
rule_namestringThe names of the rules that can invoke the given target.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_rule_names_by_targetselectregionLists the rules for the specified target. You can see which of the rules in Amazon EventBridge can invoke a specific target in your account. The maximum number of results per page for requests is 100.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists the rules for the specified target. You can see which of the rules in Amazon EventBridge can invoke a specific target in your account. The maximum number of results per page for requests is 100.

SELECT
rule_name
FROM aws.events.rule_names_by_targets
WHERE region = '{{ region }}' -- required
;