class Stax::Aws::Rds

Public Class Methods

client() click to toggle source
# File lib/stax/aws/rds.rb, line 9
def client
  @_client ||= ::Aws::RDS::Client.new
end
clusters(opt) click to toggle source
# File lib/stax/aws/rds.rb, line 13
def clusters(opt)
  client.describe_db_clusters(opt)&.db_clusters
end
instances(opt) click to toggle source
# File lib/stax/aws/rds.rb, line 17
def instances(opt)
  client.describe_db_instances(opt).map(&:db_instances).flatten
end
subnet_groups(opt) click to toggle source
# File lib/stax/aws/rds.rb, line 21
def subnet_groups(opt)
  client.describe_db_subnet_groups(opt).map(&:db_subnet_groups).flatten
end