class OpenStax::Aws::RdsInstance

Attributes

raw[R]

Public Class Methods

new(db_instance_identifier:, region:) click to toggle source
# File lib/openstax/aws/rds_instance.rb, line 8
def initialize(db_instance_identifier:, region:)
  @raw = Aws::RDS::DBInstance.new(
    db_instance_identifier,
    client: Aws::RDS::Client.new(region: region)
  )
end

Public Instance Methods

set_master_password(password:) click to toggle source
# File lib/openstax/aws/rds_instance.rb, line 15
def set_master_password(password:)
  raw.modify({
    apply_immediately: true, 
    master_user_password: password
  })
  
end