Share via


CDKExtensions.GetOutput<T> Method

Definition

Gets a reference to an output from the CloudFormation stack.

public static Aspire.Hosting.AWS.CloudFormation.StackOutputReference GetOutput<T> (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<T>> builder, string name, Aspire.Hosting.AWS.CDK.ConstructOutputDelegate<T> output) where T : Constructs.Construct;
static member GetOutput : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<'T>> * string * Aspire.Hosting.AWS.CDK.ConstructOutputDelegate<'T (requires 'T :> Constructs.Construct)> -> Aspire.Hosting.AWS.CloudFormation.StackOutputReference (requires 'T :> Constructs.Construct)
<Extension()>
Public Function GetOutput(Of T As Construct) (builder As IResourceBuilder(Of IConstructResource(Of T)), name As String, output As ConstructOutputDelegate(Of T)) As StackOutputReference

Type Parameters

T

Parameters

builder
IResourceBuilder<IConstructResource<T>>

The construct resource builder.

name
String

The name of the output.

output
ConstructOutputDelegate<T>

The construct output delegate.

Returns

Applies to