# CDKPublishTargetContext

- Kind: `class`
- Package: [Aspire.Hosting.AWS](/reference/api/csharp/aspire.hosting.aws.md)
- Version: `13.2.0`
- Namespace: `Aspire.Hosting.AWS.Deployment`
- Target framework: `net8.0`

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.

## Definition

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

public class CDKPublishTargetContext
{
    // ...
}
```

## Properties

- [DefaultsProvider](/reference/api/csharp/aspire.hosting.aws/cdkpublishtargetcontext/properties.md#defaultsprovider) : [CDKDefaultsProvider](/reference/api/csharp/aspire.hosting.aws/cdkdefaultsprovider.md) `get`

## Methods

- [GetDeploymentStack](/reference/api/csharp/aspire.hosting.aws/cdkpublishtargetcontext/methods.md#getdeploymentstack) : `T`
