Class: Swa::KMS::Alias
Instance Method Summary
collapse
Methods inherited from Record
#data, delegate, #initialize, list
Constructor Details
This class inherits a constructor from Swa::Record
Instance Method Details
#id ⇒ Object
8
9
10
|
# File 'lib/swa/kms/alias.rb', line 8
def id
name
end
|
#key ⇒ Object
23
24
25
|
# File 'lib/swa/kms/alias.rb', line 23
def key
aws_record.target_key_id
end
|
#name ⇒ Object
19
20
21
|
# File 'lib/swa/kms/alias.rb', line 19
def name
aws_record.alias_name
end
|
#summary ⇒ Object
12
13
14
15
16
17
|
# File 'lib/swa/kms/alias.rb', line 12
def summary
[
pad(name, 36),
key
].join(" ")
end
|