Class: AWS::CloudFormation::StackResource
- Inherits:
-
AWS::Core::Resource
- Object
- AWS::Core::Resource
- AWS::CloudFormation::StackResource
- Defined in:
- lib/aws/cloud_formation/stack_resource.rb
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
User defined description associated with the resource.
-
#last_updated_timestamp ⇒ Time
readonly
When the status was last updated.
-
#logical_resource_id ⇒ String
readonly
The logical name of the resource specified in the template.
-
#metadata ⇒ String?
readonly
The JSON format content of the Metadata attribute declared for the resource.
-
#physical_resource_id ⇒ String
readonly
The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.
-
#resource_status ⇒ Symbol
readonly
Current status of the resource.
-
#resource_status_reason ⇒ String?
readonly
Success/failure message associated with the resource.
-
#resource_type ⇒ String
readonly
Type of the resource (e.g. ‘AWS::EC2::Instance’).
- #stack ⇒ Stack readonly
-
#stack_id ⇒ String
readonly
Unique identifier of the stack.
-
#stack_name ⇒ String
readonly
The name associated with the stack.
Instance Attribute Details
#description ⇒ String? (readonly)
User defined description associated with the resource.
46 47 48 |
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46 def description @description end |
#last_updated_timestamp ⇒ Time (readonly)
When the status was last updated.
46 47 48 |
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46 def @last_updated_timestamp end |
#logical_resource_id ⇒ String (readonly)
Returns 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 |
#metadata ⇒ String? (readonly)
The JSON format content of the Metadata attribute declared for the resource.
46 47 48 |
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46 def @metadata end |
#physical_resource_id ⇒ String (readonly)
The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.
46 47 48 |
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46 def physical_resource_id @physical_resource_id end |
#resource_status ⇒ Symbol (readonly)
Current status of the resource.
46 47 48 |
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46 def resource_status @resource_status end |
#resource_status_reason ⇒ String? (readonly)
Success/failure message associated with the resource.
46 47 48 |
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46 def resource_status_reason @resource_status_reason end |
#resource_type ⇒ String (readonly)
Type of the resource (e.g. ‘AWS::EC2::Instance’)
46 47 48 |
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46 def resource_type @resource_type end |
#stack ⇒ Stack (readonly)
56 57 58 |
# File 'lib/aws/cloud_formation/stack_resource.rb', line 56 def stack @stack end |
#stack_id ⇒ String (readonly)
Unique identifier of the stack.
46 47 48 |
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46 def stack_id @stack_id end |
#stack_name ⇒ String (readonly)
The name associated with the stack.
46 47 48 |
# File 'lib/aws/cloud_formation/stack_resource.rb', line 46 def stack_name @stack_name end |