class StackOutputReference
Language | Type name |
---|---|
![]() | Amazon.CDK.Pipelines.StackOutputReference |
![]() | software.amazon.awscdk.pipelines.StackOutputReference |
![]() | aws_cdk.pipelines.StackOutputReference |
![]() | @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
Stack
Deployment
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
Cfn
Output
Returns
Create a StackOutputReference that references the given CfnOutput.