aws pi help displays two options, describe-dimension-keys and get-resource-metrics however, does anyone know of a means by which one can report if Performance insights is actually enabled on your RDS databases using the aws cli?
Yes, you can use describe-db-instances for that.
Example:
aws rds describe-db-instances \
--db-instance-identifier database-1 \
--query 'DBInstances[0].PerformanceInsightsEnabled' \
--output text
Example output:
True
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With