class StackOutputReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Pipelines.StackOutputReference |
Java | software.amazon.awscdk.pipelines.StackOutputReference |
Python | aws_cdk.pipelines.StackOutputReference |
TypeScript (source) | @aws-cdk/pipelines » StackOutputReference |
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 * as cdk from '@aws-cdk/core';
import * as pipelines from '@aws-cdk/pipelines';
declare const cfnOutput: cdk.CfnOutput;
const stackOutputReference = pipelines.StackOutputReference.fromCfnOutput(cfnOutput);
Properties
| Name | Type | Description |
|---|---|---|
| output | string | Output name of the producing stack. |
| stack | string | A human-readable description of the producing stack. |
outputName
Type:
string
Output name of the producing stack.
stackDescription
Type:
string
A human-readable description of the producing stack.
Methods
| Name | Description |
|---|---|
| is | Whether or not this stack output is being produced by the given Stack deployment. |
| static from | Create a StackOutputReference that references the given CfnOutput. |
isProducedBy(stack)
public isProducedBy(stack: StackDeployment): boolean
Parameters
- stack
StackDeployment
Returns
boolean
Whether or not this stack output is being produced by the given Stack deployment.
static fromCfnOutput(output)
public static fromCfnOutput(output: CfnOutput): StackOutputReference
Parameters
- output
CfnOutput
Returns
Create a StackOutputReference that references the given CfnOutput.

.NET
Java
Python
TypeScript (