Query AWS Config with SQL OR clause

0

I'm trying to use AWS Config Advanced Queries to get a report of some resources. I want to get in the same result, resources like ec2:instances rds:clusters and s3:buckets But the clause OR did not work

SELECT resourceId, resourceName, resourceType, configuration.instanceType, tags, availabilityZone WHERE resourceType = 'AWS::EC2::Instance' OR resourceType = 'AWS::RDS::Cluster' OR resourceType = 'AWS::S3::Bucket'

已提問 6 個月前檢視次數 150 次
1 個回答
0

I got it working. I dont know why, it works. same query. I may be missing some thing. Thanks

已回答 6 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南