Sha256: 4c6056c50b36201509f3508b02fa4b64bb3934a7490e8458dce90cf477aee800
Contents?: true
Size: 479 Bytes
Versions: 1
Compression:
Stored size: 479 Bytes
Contents
# frozen_string_literal: true require "aws-sdk-ssm" module Itamae module Aws module Parameterstore class Store def initialize @client = ::Aws::SSM::Client.new end def [](name) get_parameter_value(name) end def get_parameter_value(name) @client.get_parameter({ name: name.to_s, with_decryption: true, }).parameter.value end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
itamae-aws-parameterstore-0.1.0 | lib/itamae/aws/parameterstore/store.rb |