# StackOutputReference Constructors

- Package: [Aspire.Hosting.AWS](/reference/api/csharp/aspire.hosting.aws.md)
- Type: [StackOutputReference](/reference/api/csharp/aspire.hosting.aws/stackoutputreference.md)
- Kind: `Constructors`
- Members: `1`

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

## StackOutputReference(string, ICloudFormationResource)

- Name: `Constructor(string, ICloudFormationResource)`

```csharp
public class StackOutputReference
{
    public StackOutputReference(
        string name,
        ICloudFormationResource resource)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
- `resource` ([ICloudFormationResource](/reference/api/csharp/aspire.hosting.aws/icloudformationresource.md))
