class Awspec::Type::SsmParameter
Public Class Methods
Source
# File lib/awspec/type/ssm_parameter.rb, line 5 def initialize(name) super @display_name = name end
Calls superclass method
Awspec::Type::ResourceBase::new
Public Instance Methods
Source
# File lib/awspec/type/ssm_parameter.rb, line 18 def encrypted? resource_via_client.type.eql? 'SecureString' end
Source
# File lib/awspec/type/ssm_parameter.rb, line 22 def has_tag?(key, value) tag = find_parameter_tag(id, key) return nil if tag.value != value tag end
Source
# File lib/awspec/type/ssm_parameter.rb, line 14 def id @id ||= @display_name if resource_via_client end
Source
# File lib/awspec/type/ssm_parameter.rb, line 10 def resource_via_client @resource_via_client ||= find_ssm_parameter(@display_name) end