StackOutputReference

class aws_cdk.pipelines.StackOutputReference(*args: Any, **kwargs)

Bases: object

A Reference to a Stack Output.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.core as cdk
import aws_cdk.pipelines as pipelines

# cfn_output: cdk.CfnOutput

stack_output_reference = pipelines.StackOutputReference.from_cfn_output(cfn_output)

Methods

is_produced_by(stack)

Whether or not this stack output is being produced by the given Stack deployment.

Parameters:

stack (StackDeployment) –

Return type:

bool

Attributes

output_name

Output name of the producing stack.

stack_description

A human-readable description of the producing stack.

Static Methods

classmethod from_cfn_output(output)

Create a StackOutputReference that references the given CfnOutput.

Parameters:

output (CfnOutput) –

Return type:

StackOutputReference