class StackOutput
Language | Type name |
---|---|
.NET | Amazon.CDK.Pipelines.StackOutput |
Java | software.amazon.awscdk.pipelines.StackOutput |
Python | aws_cdk.pipelines.StackOutput |
TypeScript (source) | @aws-cdk/pipelines » StackOutput |
⚠️ Deprecated: This class is part of the old API. Use the API based on the CodePipeline
class instead
A single output of a Stack.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as codepipeline from '@aws-cdk/aws-codepipeline';
import * as pipelines from '@aws-cdk/pipelines';
declare const artifactPath: codepipeline.ArtifactPath;
const stackOutput = new pipelines.StackOutput(artifactPath, 'outputName');
Initializer
new StackOutput(artifactFile: ArtifactPath, outputName: string)
⚠️ Deprecated: This class is part of the old API. Use the API based on the CodePipeline
class instead
Parameters
- artifactFile
Artifact
Path - outputName
string
Build a StackOutput from a known artifact and an output name.
Properties
Name | Type | Description |
---|---|---|
artifact | Artifact | The artifact and file the output is stored in. |
output | string | The name of the output in the JSON object in the file. |
artifactFile
⚠️ Deprecated: This class is part of the old API. Use the API based on the CodePipeline
class instead
Type:
Artifact
The artifact and file the output is stored in.
outputName
⚠️ Deprecated: This class is part of the old API. Use the API based on the CodePipeline
class instead
Type:
string
The name of the output in the JSON object in the file.