Class: Swa::EC2::Image
Instance Attribute Summary
Attributes inherited from Resource
#aws_resource
Instance Method Summary
collapse
#tags
Methods inherited from Resource
#data, #initialize, list
Constructor Details
This class inherits a constructor from Swa::Resource
Instance Method Details
#name ⇒ Object
19
20
21
|
# File 'lib/swa/ec2/image.rb', line 19
def name
ami.name
end
|
#summary ⇒ Object
11
12
13
14
15
16
17
|
# File 'lib/swa/ec2/image.rb', line 11
def summary
[
pad(ami.image_id, 12),
ami.creation_date.sub(".000Z", "Z"),
quoted(name)
].join(" ")
end
|