StackOutput

class aws_cdk.pipelines.StackOutput(artifact_file, output_name)

Bases: object

(deprecated) A single output of a Stack.

Deprecated

This class is part of the old API. Use the API based on the CodePipeline class instead

Stability

deprecated

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.aws_codepipeline as codepipeline
import aws_cdk.pipelines as pipelines

# artifact_path: codepipeline.ArtifactPath

stack_output = pipelines.StackOutput(artifact_path, "outputName")

(deprecated) Build a StackOutput from a known artifact and an output name.

Parameters
Stability

deprecated

Attributes

artifact_file

(deprecated) The artifact and file the output is stored in.

Stability

deprecated

Return type

ArtifactPath

output_name

(deprecated) The name of the output in the JSON object in the file.

Stability

deprecated

Return type

str