AWS Config - keshavbaweja-git/guides GitHub Wiki

SELECT
  resourceId,
  awsRegion,
  resourceCreationTime,
  supplementaryConfiguration.ObjectLockConfiguration.objectLockEnabled
WHERE
  resourceType = 'AWS::S3::Bucket'
  AND awsRegion = 'ap-southeast-1'
SELECT
  resourceId,
  awsRegion,
  arn,
  resourceCreationTime,
  configuration.dbclusterIdentifier
WHERE
  resourceType = 'AWS::RDS::DBCluster'
  AND awsRegion = 'ap-southeast-1'
SELECT
  resourceId,
  awsRegion,
  arn,
  resourceCreationTime,
  configuration.dBName
WHERE
  resourceType = 'AWS::RDS::DBInstance'
  AND awsRegion = 'ap-southeast-1'