Class: Swa::EC2::KeyPair
Instance Attribute Summary
Attributes inherited from Resource
#aws_resource
Instance Method Summary
collapse
Methods inherited from Resource
#data, #initialize, list
Constructor Details
This class inherits a constructor from Swa::Resource
Instance Method Details
#name ⇒ Object
15
16
17
|
# File 'lib/swa/ec2/key_pair.rb', line 15
def name
aws_resource.name
end
|
#summary ⇒ Object
8
9
10
11
12
13
|
# File 'lib/swa/ec2/key_pair.rb', line 8
def summary
[
pad(name, 4),
aws_resource.key_fingerprint
].join(" ")
end
|