Class StackOutputReference
A Reference to a Stack Output.
Inheritance
Namespace: Amazon.CDK.Pipelines
Assembly: Amazon.CDK.Pipelines.dll
Syntax (csharp)
public class StackOutputReference : DeputyBase
Syntax (vb)
Public Class StackOutputReference
Inherits DeputyBase
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Amazon.CDK.Pipelines;
CfnOutput cfnOutput;
var stackOutputReference = StackOutputReference.FromCfnOutput(cfnOutput);
Synopsis
Constructors
StackOutputReference(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
StackOutputReference(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
OutputName | Output name of the producing stack. |
StackDescription | A human-readable description of the producing stack. |
Methods
FromCfnOutput(CfnOutput) | Create a StackOutputReference that references the given CfnOutput. |
IsProducedBy(StackDeployment) | Whether or not this stack output is being produced by the given Stack deployment. |
Constructors
StackOutputReference(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected StackOutputReference(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
StackOutputReference(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected StackOutputReference(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
OutputName
Output name of the producing stack.
public virtual string OutputName { get; }
Property Value
System.String
StackDescription
A human-readable description of the producing stack.
public virtual string StackDescription { get; }
Property Value
System.String
Methods
FromCfnOutput(CfnOutput)
Create a StackOutputReference that references the given CfnOutput.
public static StackOutputReference FromCfnOutput(CfnOutput output)
Parameters
- output CfnOutput
Returns
IsProducedBy(StackDeployment)
Whether or not this stack output is being produced by the given Stack deployment.
public virtual bool IsProducedBy(StackDeployment stack)
Parameters
- stack StackDeployment
Returns
System.Boolean