Sha256: 3b594dcd9ec213671dbef9e0c6648421b201162ce6d488914d3d2e8101d060d5
Contents?: true
Size: 531 Bytes
Versions: 6
Compression:
Stored size: 531 Bytes
Contents
module OpenStax::Aws class RdsInstance attr_reader :raw delegate_missing_to :@raw def self.physical_resource_id_attribute :db_instance_identifier end def initialize(db_instance_identifier:, region:) @raw = Aws::RDS::DBInstance.new( db_instance_identifier, client: Aws::RDS::Client.new(region: region) ) end def set_master_password(password:) raw.modify({ apply_immediately: true, master_user_password: password }) end end end
Version data entries
6 entries across 6 versions & 1 rubygems