Class: AWS::CloudFormation::StackOutput
- Inherits:
-
Object
- Object
- AWS::CloudFormation::StackOutput
- Defined in:
- lib/aws/cloud_formation/stack_output.rb
Instance Attribute Summary collapse
- #description ⇒ String readonly
- #key ⇒ String readonly
- #stack ⇒ Stack readonly
- #value ⇒ String readonly
Instance Method Summary collapse
- #eql?(other) ⇒ Boolean (also: #==)
-
#initialize(stack, key, value, description) ⇒ StackOutput
constructor
A new instance of StackOutput.
Constructor Details
#initialize(stack, key, value, description) ⇒ StackOutput
Returns a new instance of StackOutput.
22 23 24 25 26 27 |
# File 'lib/aws/cloud_formation/stack_output.rb', line 22 def initialize stack, key, value, description @stack = stack @key = key @value = value @description = description end |
Instance Attribute Details
#description ⇒ String (readonly)
39 40 41 |
# File 'lib/aws/cloud_formation/stack_output.rb', line 39 def description @description end |
#key ⇒ String (readonly)
33 34 35 |
# File 'lib/aws/cloud_formation/stack_output.rb', line 33 def key @key end |
#stack ⇒ Stack (readonly)
30 31 32 |
# File 'lib/aws/cloud_formation/stack_output.rb', line 30 def stack @stack end |
#value ⇒ String (readonly)
36 37 38 |
# File 'lib/aws/cloud_formation/stack_output.rb', line 36 def value @value end |
Instance Method Details
#eql?(other) ⇒ Boolean Also known as: ==
42 43 44 45 46 47 48 |
# File 'lib/aws/cloud_formation/stack_output.rb', line 42 def eql? other other.is_a?(StackOutput) and other.stack == stack and other.key == key and other.value == value and other.description == description end |