AgentSkillsCN

awsflow-rds

使用 awsflow 检查 Amazon RDS 实例、集群、快照、参数组、日志、代理、事件、引擎版本、子网组、安全组、证书、推荐项等。所有命令均为只读操作。

SKILL.md
--- frontmatter
name: awsflow-rds
description: Inspect Amazon RDS instances, clusters, snapshots, parameter groups, logs, proxies, events, engine versions, subnet groups, security groups, certificates, recommendations, and more using awsflow. All read-only commands.

Awsflow RDS

Inspect Amazon RDS instances, clusters, snapshots, parameter groups, logs, and configurations. All commands are read-only.

When to Use This Skill

Use this skill when the user:

  • Asks about RDS database instances or Aurora clusters
  • Wants to inspect snapshots, backups, or replication
  • Needs to view database logs or events
  • Asks about parameter groups, subnet groups, or security groups
  • Wants to check engine versions, instance options, or recommendations
  • Needs to inspect RDS proxies or Blue/Green deployments

Tool: RDSTool

Execute AWS RDS describe and log commands. ALWAYS provide params object.

Commands

DescribeDBInstances

Describe RDS database instances.

json
{ "command": "DescribeDBInstances", "params": { "DBInstanceIdentifier": "my-db" } }

Parameters:

ParameterTypeRequiredDescription
DBInstanceIdentifierstringNoDB instance identifier
Filtersarray of objectsNoFilters with Name and Values[]
MarkerstringNoPagination marker
MaxRecordsnumberNoMaximum records to return

DescribeDBClusters

Describe Aurora DB clusters.

json
{ "command": "DescribeDBClusters", "params": { "DBClusterIdentifier": "my-cluster" } }

Parameters:

ParameterTypeRequiredDescription
DBClusterIdentifierstringNoDB cluster identifier
Filtersarray of objectsNoFilter array
MarkerstringNoPagination marker
MaxRecordsnumberNoMaximum records

DescribeDBSnapshots

Describe DB instance snapshots.

json
{ "command": "DescribeDBSnapshots", "params": { "DBInstanceIdentifier": "my-db" } }

Parameters:

ParameterTypeRequiredDescription
DBInstanceIdentifierstringNoInstance identifier
Filtersarray of objectsNoFilter array
MarkerstringNoPagination marker
MaxRecordsnumberNoMaximum records

DescribeDBClusterSnapshots

Describe Aurora cluster snapshots.

json
{ "command": "DescribeDBClusterSnapshots", "params": { "DBClusterIdentifier": "my-cluster" } }

Parameters:

ParameterTypeRequiredDescription
DBClusterIdentifierstringNoCluster identifier
Filtersarray of objectsNoFilter array
MarkerstringNoPagination marker
MaxRecordsnumberNoMaximum records

DescribeDBEngineVersions

Describe available database engine versions.

json
{ "command": "DescribeDBEngineVersions", "params": { "Engine": "mysql", "EngineVersion": "8.0" } }

Parameters:

ParameterTypeRequiredDescription
EnginestringNoDatabase engine (mysql, postgres, aurora-mysql, etc.)
EngineVersionstringNoEngine version
MarkerstringNoPagination marker
MaxRecordsnumberNoMaximum records

DescribeDBLogFiles

List log files for a DB instance.

json
{ "command": "DescribeDBLogFiles", "params": { "DBInstanceIdentifier": "my-db" } }

Parameters:

ParameterTypeRequiredDescription
DBInstanceIdentifierstringYesDB instance identifier
MarkerstringNoPagination marker
MaxRecordsnumberNoMaximum records

DownloadDBLogFilePortion

Download a portion of a database log file.

json
{ "command": "DownloadDBLogFilePortion", "params": { "DBInstanceIdentifier": "my-db", "LogFileName": "error/mysql-error.log" } }

Parameters:

ParameterTypeRequiredDescription
DBInstanceIdentifierstringYesDB instance identifier
LogFileNamestringYesLog file name (from DescribeDBLogFiles)

DescribeDBParameterGroups

List DB parameter groups.

json
{ "command": "DescribeDBParameterGroups", "params": { "DBParameterGroupName": "my-param-group" } }

Parameters:

ParameterTypeRequiredDescription
DBParameterGroupNamestringNoParameter group name
MarkerstringNoPagination marker
MaxRecordsnumberNoMaximum records

DescribeDBClusterParameterGroups

List Aurora cluster parameter groups.

json
{ "command": "DescribeDBClusterParameterGroups", "params": {} }

Parameters:

ParameterTypeRequiredDescription
MarkerstringNoPagination marker
MaxRecordsnumberNoMaximum records

DescribeDBSubnetGroups

List DB subnet groups.

json
{ "command": "DescribeDBSubnetGroups", "params": {} }

Parameters:

ParameterTypeRequiredDescription
MarkerstringNoPagination marker
MaxRecordsnumberNoMaximum records

DescribeDBSecurityGroups

List DB security groups (EC2-Classic).

json
{ "command": "DescribeDBSecurityGroups", "params": {} }

DescribeDBProxies

List RDS Proxy instances.

json
{ "command": "DescribeDBProxies", "params": {} }

Parameters:

ParameterTypeRequiredDescription
Filtersarray of objectsNoFilter array
MarkerstringNoPagination marker
MaxRecordsnumberNoMaximum records

DescribeDBProxyEndpoints

List RDS Proxy endpoints.

json
{ "command": "DescribeDBProxyEndpoints", "params": {} }

DescribeDBSnapshotAttributes

Get shared permissions for a snapshot.

json
{ "command": "DescribeDBSnapshotAttributes", "params": {} }

DescribeDBInstanceAutomatedBackups

List automated backups for DB instances.

json
{ "command": "DescribeDBInstanceAutomatedBackups", "params": {} }

DescribeDBClusterAutomatedBackups

List automated backups for Aurora clusters.

json
{ "command": "DescribeDBClusterAutomatedBackups", "params": { "DBClusterIdentifier": "my-cluster" } }

Parameters:

ParameterTypeRequiredDescription
DBClusterIdentifierstringNoCluster identifier

DescribeDBRecommendations

List RDS recommendations.

json
{ "command": "DescribeDBRecommendations", "params": {} }

DescribeBlueGreenDeployments

List Blue/Green deployment resources.

json
{ "command": "DescribeBlueGreenDeployments", "params": {} }

DescribeEvents

List RDS events.

json
{ "command": "DescribeEvents", "params": { "StartTime": "2024-01-01T00:00:00Z", "Duration": 1440 } }

Parameters:

ParameterTypeRequiredDescription
StartTimestringNoStart time
EndTimestringNoEnd time
DurationnumberNoDuration in minutes
MarkerstringNoPagination marker
MaxRecordsnumberNoMaximum records

DescribeEventSubscriptions

List RDS event subscriptions.

json
{ "command": "DescribeEventSubscriptions", "params": {} }

DescribeOrderableDBInstanceOptions

List available DB instance options.

json
{ "command": "DescribeOrderableDBInstanceOptions", "params": { "Engine": "mysql" } }

Parameters:

ParameterTypeRequiredDescription
EnginestringNoDatabase engine
EngineVersionstringNoEngine version

DescribeAccountAttributes

Get RDS account attributes and quotas.

json
{ "command": "DescribeAccountAttributes", "params": {} }

DescribeCertificates

List RDS certificates.

json
{ "command": "DescribeCertificates", "params": {} }

DescribeEngineDefaultParameters

Get default engine parameter settings.

json
{ "command": "DescribeEngineDefaultParameters", "params": {} }

DescribeExportTasks

List snapshot export tasks.

json
{ "command": "DescribeExportTasks", "params": {} }

DescribeGlobalClusters

List Aurora global database clusters.

json
{ "command": "DescribeGlobalClusters", "params": {} }

DescribeIntegrations

List zero-ETL integrations.

json
{ "command": "DescribeIntegrations", "params": {} }

DescribeOptionGroups

List option groups.

json
{ "command": "DescribeOptionGroups", "params": {} }

DescribePendingMaintenanceActions

List pending maintenance actions.

json
{ "command": "DescribePendingMaintenanceActions", "params": {} }

DescribeReservedDBInstances

List reserved DB instances.

json
{ "command": "DescribeReservedDBInstances", "params": {} }

DescribeReservedDBInstancesOfferings

List reserved DB instance offerings.

json
{ "command": "DescribeReservedDBInstancesOfferings", "params": {} }

DescribeSourceRegions

List source regions for cross-region features.

json
{ "command": "DescribeSourceRegions", "params": {} }

DescribeTenantDatabases

List tenant databases.

json
{ "command": "DescribeTenantDatabases", "params": {} }

DescribeValidDBInstanceModifications

Get valid modifications for a DB instance.

json
{ "command": "DescribeValidDBInstanceModifications", "params": { "DBInstanceIdentifier": "my-db" } }

Parameters:

ParameterTypeRequiredDescription
DBInstanceIdentifierstringYesDB instance identifier

DescribeResourceScan / DescribeStackRefactor etc.

Additional describe commands follow the same pattern with appropriate filters and pagination.

ListTagsForResource

List tags for an RDS resource.

json
{ "command": "ListTagsForResource", "params": { "ResourceName": "arn:aws:rds:us-east-1:123456789012:db:my-db" } }

Parameters:

ParameterTypeRequiredDescription
ResourceNamestringYesResource ARN

Related Services

  • RDS → CloudWatch Logs: Database logs (error, slow query, audit) are published to CloudWatch. Log groups: /aws/rds/instance/{instanceId}/{logType} or /aws/rds/cluster/{clusterId}/{logType}. Use CloudWatchLogTool to read them
  • RDS → RDS Data API: For Aurora Serverless clusters with Data API enabled, use RDSDataTool to execute SQL directly (see awsflow-rdsdata skill)
  • RDS → EC2: RDS uses VPCs, subnets, and security groups. Use EC2Tool to inspect networking
  • RDS → IAM: IAM authentication can be enabled for RDS. Use IAMTool to manage access
  • RDS → CloudFormation: RDS resources managed by CloudFormation stacks
  • RDS → S3: Snapshot exports go to S3. Use DescribeExportTasks to find them