Search code examples
amazon-web-servicesaws-cloudformationaws-event-bridgeaws-config

How to query EventBridge rules with config/advanced queries?


I'm trying to query EventBridge rules that target a specific lambda across multiple accounts. However, there seem to be no results returned when I run any similar queries:

SELECT [...]
WHERE resourceType = 'AWS::Events::Rule'

the resources are created through CloudFormation stacks, and they're explicitly created as AWS::Events::Rule.

Is there a way to query such rules through aws config advanced queries?


Solution

  • As mentioned in docs, an updated list of supported resource types, properties and their data types is available in GitHub:

    Supported resources

    So you can query other resources like AWS::EC2::Instance, AWS::Lambda::Function or AWS::S3::Bucket but AWS::Events::Rule is not supported by now.