Class: AWSCDK::Pipelines::StackOutputReference
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::Pipelines::StackOutputReference
- Defined in:
- pipelines/stack_output_reference.rb
Overview
A Reference to a Stack Output.
Class Method Summary collapse
-
.from_cfn_output(output) ⇒ AWSCDK::Pipelines::StackOutputReference
Create a StackOutputReference that references the given CfnOutput.
- .jsii_overridable_methods ⇒ Object
Instance Method Summary collapse
-
#initialize(*args) ⇒ StackOutputReference
constructor
A new instance of StackOutputReference.
-
#is_produced_by(stack) ⇒ Boolean
Whether or not this stack output is being produced by the given Stack deployment.
-
#output_name ⇒ String
Output name of the producing stack.
-
#stack_description ⇒ String
A human-readable description of the producing stack.
Constructor Details
#initialize(*args) ⇒ StackOutputReference
Returns a new instance of StackOutputReference.
8 9 10 |
# File 'pipelines/stack_output_reference.rb', line 8 def initialize(*args) raise NoMethodError, "aws-cdk-lib.pipelines.StackOutputReference does not have a visible constructor; use the provided factory methods" end |
Class Method Details
.from_cfn_output(output) ⇒ AWSCDK::Pipelines::StackOutputReference
Create a StackOutputReference that references the given CfnOutput.
24 25 26 27 |
# File 'pipelines/stack_output_reference.rb', line 24 def self.from_cfn_output(output) Jsii::Type.check_type(output, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5DZm5PdXRwdXQifQ==")), "output") Jsii::Kernel.instance.call_static("aws-cdk-lib.pipelines.StackOutputReference", "fromCfnOutput", [output]) end |
.jsii_overridable_methods ⇒ Object
12 13 14 15 16 17 18 |
# File 'pipelines/stack_output_reference.rb', line 12 def self.jsii_overridable_methods { :output_name => { kind: :property, name: "outputName", is_optional: false }, :stack_description => { kind: :property, name: "stackDescription", is_optional: false }, :is_produced_by => { kind: :method, name: "isProducedBy", is_optional: false }, } end |
Instance Method Details
#is_produced_by(stack) ⇒ Boolean
Whether or not this stack output is being produced by the given Stack deployment.
47 48 49 50 |
# File 'pipelines/stack_output_reference.rb', line 47 def is_produced_by(stack) Jsii::Type.check_type(stack, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5waXBlbGluZXMuU3RhY2tEZXBsb3ltZW50In0=")), "stack") jsii_call_method("isProducedBy", [stack]) end |
#output_name ⇒ String
Output name of the producing stack.
32 33 34 |
# File 'pipelines/stack_output_reference.rb', line 32 def output_name() jsii_get_property("outputName") end |
#stack_description ⇒ String
A human-readable description of the producing stack.
39 40 41 |
# File 'pipelines/stack_output_reference.rb', line 39 def stack_description() jsii_get_property("stackDescription") end |