class AWS::CloudFormation::StackResource
resource.
The JSON format content of the Metadata attribute declared for the
@attr_reader [String,nil] metadata
When the status was last updated.
@attr_reader [Time] last_updated_timestamp
Unique identifier of the stack.
@attr_reader [String] stack_id
The name associated with the stack.
@attr_reader [String] stack_name
Type of the resource (e.g. ‘AWS::EC2::Instance’)
@attr_reader [String] resource_type
Success/failure message associated with the resource.
@attr_reader [String,nil] resource_status_reason
Current status of the resource.
@attr_reader [Symbol] resource_status
ID of a resource supported by AWS CloudFormation.
The name or unique identifier that corresponds to a physical instance
@attr_reader [String] physical_resource_id
User defined description associated with the resource.
@attr_reader [String,nil] description
def get_resource attribute = nil
def get_resource attribute = nil client.describe_stack_resource(resource_options) end
def initialize stack, logical_resource_id, options = {}
- Api: - private
def initialize stack, logical_resource_id, options = {} @stack = stack @logical_resource_id = logical_resource_id super end
def resource_identifiers
def resource_identifiers [[:stack_name, stack.name], [:logical_resource_id, logical_resource_id]] end