Get the full attributes of rds instances with its instancesidentifier

aws --profile=HA rds describe-db-instances --query 'DBInstances[?DBInstanceIdentifier==`evox-dev`]'

Get list of snapshots of RDS database.

aws --profile=HA rds describe-db-snapshots --db-instance-identifier evox-dev

Get list of snapshots of RDS databse but only display snapshot id and creation time with jq.

aws --profile=HA rds describe-db-snapshots --db-instance-identifier evox-dev | jq '[.DBSnapshots[] | {Snapshot_Identifier:.DBSnapshotIdentifier,Creationtime:.SnapshotCreateTime}]'

serkan haytac

AWS Certified Solutions Architect - Associate
AWS Certified Developer - Associate
AWS Certified SysOps Administrator - Associate
Gists
Resources
One liners