Class StackOutputReference

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.pipelines.StackOutputReference
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.894Z") @Stability(Stable) public class StackOutputReference extends software.amazon.jsii.JsiiObject
A Reference to a Stack Output.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.core.*;
 import software.amazon.awscdk.pipelines.*;
 CfnOutput cfnOutput;
 StackOutputReference stackOutputReference = StackOutputReference.fromCfnOutput(cfnOutput);
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    StackOutputReference(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    StackOutputReference(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a StackOutputReference that references the given CfnOutput.
    Output name of the producing stack.
    A human-readable description of the producing stack.
    Whether or not this stack output is being produced by the given Stack deployment.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • StackOutputReference

      protected StackOutputReference(software.amazon.jsii.JsiiObjectRef objRef)
    • StackOutputReference

      protected StackOutputReference(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • fromCfnOutput

      @Stability(Stable) @NotNull public static StackOutputReference fromCfnOutput(@NotNull CfnOutput output)
      Create a StackOutputReference that references the given CfnOutput.

      Parameters:
      output - This parameter is required.
    • isProducedBy

      @Stability(Stable) @NotNull public Boolean isProducedBy(@NotNull StackDeployment stack)
      Whether or not this stack output is being produced by the given Stack deployment.

      Parameters:
      stack - This parameter is required.
    • getOutputName

      @Stability(Stable) @NotNull public String getOutputName()
      Output name of the producing stack.
    • getStackDescription

      @Stability(Stable) @NotNull public String getStackDescription()
      A human-readable description of the producing stack.