Sha256: 45b88f252d618849ee1212780fcd8ef41cd17a2f28abbfe599431fa2fae43b6d
Contents?: true
Size: 549 Bytes
Versions: 13
Compression:
Stored size: 549 Bytes
Contents
# frozen_string_literal: true module Awspec::Type class SsmParameter < ResourceBase def initialize(name) super @display_name = name end def resource_via_client @resource_via_client ||= find_ssm_parameter(@display_name) end def id @id ||= @display_name if resource_via_client end def encrypted? resource_via_client.type.eql? 'SecureString' end def has_tag?(key, value) tag = find_parameter_tag(id, key) return nil if tag.value != value tag end end end
Version data entries
13 entries across 13 versions & 1 rubygems