共用方式為


CloudFormationExtensions.GetOutput Method

Definition

Gets a reference to a output from the CloudFormation stack.

public static Aspire.Hosting.AWS.CloudFormation.StackOutputReference GetOutput (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CloudFormation.ICloudFormationResource> builder, string name);
static member GetOutput : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CloudFormation.ICloudFormationResource> * string -> Aspire.Hosting.AWS.CloudFormation.StackOutputReference
<Extension()>
Public Function GetOutput (builder As IResourceBuilder(Of ICloudFormationResource), name As String) As StackOutputReference

Parameters

builder
IResourceBuilder<ICloudFormationResource>

The resource builder.

name
String

Name of the output.

Returns

A StackOutputReference that represents the output.

Applies to