Class: Swa::CloudFormation::Stack

Inherits:
Resource
  • Object
show all
Defined in:
lib/swa/cloud_formation/stack.rb

Instance Attribute Summary

Attributes inherited from Resource

#aws_resource

Instance Method Summary collapse

Methods inherited from Resource

#data, delegate, #initialize, list

Constructor Details

This class inherits a constructor from Swa::Resource

Instance Method Details

#nameObject



19
20
21
# File 'lib/swa/cloud_formation/stack.rb', line 19

def name
  stack.name
end

#summaryObject



8
9
10
11
12
13
14
15
16
17
# File 'lib/swa/cloud_formation/stack.rb', line 8

def summary
  [
    name,
    # pad(subnet.subnet_id, 15),
    # pad(subnet.vpc_id, 12),
    # pad(subnet.availability_zone, 15),
    # pad(subnet.cidr_block, 18),
    # quoted(name)
  ].join("  ")
end