# IStackResource<T>

- Kind: `interface`
- Package: [Aspire.Hosting.AWS](/reference/api/csharp/aspire.hosting.aws.md)
- Version: `13.2.0`
- Namespace: `Aspire.Hosting.AWS.CDK`
- Target framework: `net8.0`
- Implements: `IResource`, `IResourceWithWaitSupport`, [IResourceWithConstruct](/reference/api/csharp/aspire.hosting.aws/iresourcewithconstruct.md), [IResourceWithConstruct<T>](/reference/api/csharp/aspire.hosting.aws/iresourcewithconstruct-1.md), [IStackResource](/reference/api/csharp/aspire.hosting.aws/istackresource.md), [ICloudFormationResource](/reference/api/csharp/aspire.hosting.aws/icloudformationresource.md), [ICloudFormationTemplateResource](/reference/api/csharp/aspire.hosting.aws/icloudformationtemplateresource.md), [IAWSResource](/reference/api/csharp/aspire.hosting.aws/iawsresource.md)

## Definition

```csharp
namespace Aspire.Hosting.AWS.CDK;

public interface IStackResource<T>
    : Aspire.Hosting.ApplicationModel.IResource,
      Aspire.Hosting.ApplicationModel.IResourceWithWaitSupport,
      Aspire.Hosting.AWS.CDK.IResourceWithConstruct,
      Aspire.Hosting.AWS.CDK.IResourceWithConstruct<T>,
      Aspire.Hosting.AWS.CDK.IStackResource,
      Aspire.Hosting.AWS.CloudFormation.ICloudFormationResource,
      Aspire.Hosting.AWS.CloudFormation.ICloudFormationTemplateResource,
      Aspire.Hosting.AWS.IAWSResource
    where T : Stack
{
    // ...
}
```

## Properties

- [Stack](/reference/api/csharp/aspire.hosting.aws/istackresource-1/properties.md#stack) : `T` `abstract` `get`
