The SQL SELECT
query components for AWS Config advanced queries are as follows.
SELECT property [, ...]
[ WHERE condition ]
[ GROUP BY property ]
[ ORDER BY property [ ASC | DESC ] [, property [ ASC | DESC ] ...] ]
Parameters
Filters results according to the condition
you specify.
Comparison operators
=
(equals)
IN
(list membership)
BETWEEN
(range check)
Logic operators
Aggregates the result set into groups of rows with matching values for the given property.
The GROUP BY clause is applicable to aggregations.
Sorts a result set by one or more output properties
.
When the clause contains multiple properties, the result set is sorted according to the first property
, then according to the second property
for rows that have matching values for the first property, and so on.
SELECT resourceId WHERE resourceType='AWS::EC2::Instance'
SELECT configuration.complianceType, COUNT(*) WHERE resourceType = 'AWS::Config::ResourceCompliance' GROUP BY configuration.complianceType
Advanced Queries
Query Editor (Console)
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4