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 next_token, options = {}, &block
def _each_item next_token, options = {}, &block options[:next_token] = next_token if next_token options[:stack_name] = stack.name resp = client.list_stack_resources(options) resp.data[:stack_resource_summaries].each do |summary| yield(summary) end resp.data[:next_token] end
def initialize stack, options = {}
-
options
(Hash
) -- -
stack
(Stack
) --
def initialize stack, options = {} @stack = stack super end