class AWS::CloudFormation::StackResourceSummaryCollection
* :last_updated_timestamp
* :resource_status_reason
* :resource_status
* :resource_type
* :physical_resource_id
* :logical_resource_id
Each summary yielded is a hash with the following keys:
end
puts “#{summary}: #{summary}”
stack.resource_summaries.each do |summary|
stack = cfm.stacks[‘stack-name’]
stack resources. You can enumerate these from a stack.
Stack summaries contain information about CloudFormation
= Stack Resource Summaries
def _each_item options = {}
def _each_item options = {} next_token = nil begin options = {} options[:next_token] = next_token if next_token options[:stack_name] = stack.name resp = client.list_stack_resources(options) resp.stack_resource_summaries.each do |summary| yield(summary.to_hash) end next_token = resp.data[:next_token] end while next_token end
def initialize stack, options = {}
-
options
(Hash
) -- -
stack
(Stack
) --
def initialize stack, options = {} @stack = stack super end