Class: AWS::CloudFormation::StackResource

Inherits:
AWS::Core::Resource
  • Object
show all
Defined in:
lib/aws/cloud_formation/stack_resource.rb

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString? (readonly)

User defined description associated with the resource.

Returns:

  • (String, nil)

    the current value of description



46
47
48
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46

def description
  @description
end

#last_updated_timestampTime (readonly)

When the status was last updated.

Returns:

  • (Time)

    the current value of last_updated_timestamp



46
47
48
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46

def last_updated_timestamp
  @last_updated_timestamp
end

#logical_resource_idString (readonly)

Returns The logical name of the resource specified in the template.

Returns:

  • (String)

    The logical name of the resource specified in the template.



60
61
62
# File 'lib/aws/cloud_formation/stack_resource.rb', line 60

def logical_resource_id
  @logical_resource_id
end

#metadataString? (readonly)

The JSON format content of the Metadata attribute declared for the resource.

Returns:

  • (String, nil)

    the current value of metadata



46
47
48
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46

def 
  @metadata
end

#physical_resource_idString (readonly)

The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.

Returns:

  • (String)

    the current value of physical_resource_id



46
47
48
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46

def physical_resource_id
  @physical_resource_id
end

#resource_statusSymbol (readonly)

Current status of the resource.

Returns:

  • (Symbol)

    the current value of resource_status



46
47
48
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46

def resource_status
  @resource_status
end

#resource_status_reasonString? (readonly)

Success/failure message associated with the resource.

Returns:

  • (String, nil)

    the current value of resource_status_reason



46
47
48
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46

def resource_status_reason
  @resource_status_reason
end

#resource_typeString (readonly)

Type of the resource (e.g. ‘AWS::EC2::Instance’)

Returns:

  • (String)

    the current value of resource_type



46
47
48
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46

def resource_type
  @resource_type
end

#stackStack (readonly)

Returns:



56
57
58
# File 'lib/aws/cloud_formation/stack_resource.rb', line 56

def stack
  @stack
end

#stack_idString (readonly)

Unique identifier of the stack.

Returns:

  • (String)

    the current value of stack_id



46
47
48
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46

def stack_id
  @stack_id
end

#stack_nameString (readonly)

The name associated with the stack.

Returns:

  • (String)

    the current value of stack_name



46
47
48
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46

def stack_name
  @stack_name
end