Sha256: da2fd4711dcee7bd4f710f1b724dc7725fba04b1b1272eb4c11f2edb8bd401ed

Contents?: true

Size: 452 Bytes

Versions: 5

Compression:

Stored size: 452 Bytes

Contents

module OpenStax::Aws
  class RdsInstance

    attr_reader :raw

    delegate_missing_to :@raw

    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

5 entries across 5 versions & 1 rubygems

Version Path
openstax_aws-1.4.0 lib/openstax/aws/rds_instance.rb
openstax_aws-1.3.0 lib/openstax/aws/rds_instance.rb
openstax_aws-1.2.0 lib/openstax/aws/rds_instance.rb
openstax_aws-1.1.0 lib/openstax/aws/rds_instance.rb
openstax_aws-1.0.0 lib/openstax/aws/rds_instance.rb