# CDKDefaultsProviderPreviewV1 Constructors

- Package: [Aspire.Hosting.AWS](/reference/api/csharp/aspire.hosting.aws.md)
- Type: [CDKDefaultsProviderPreviewV1](/reference/api/csharp/aspire.hosting.aws/cdkdefaultsproviderpreviewv1.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.

## CDKDefaultsProviderPreviewV1(AWSCDKEnvironmentResource)

- Name: `Constructor(AWSCDKEnvironmentResource)`

```csharp
public class CDKDefaultsProviderPreviewV1
{
    public CDKDefaultsProviderPreviewV1(
        AWSCDKEnvironmentResource environmentResource)
    {
        // ...
    }
}
```

## Parameters

- `environmentResource` ([AWSCDKEnvironmentResource](/reference/api/csharp/aspire.hosting.aws/awscdkenvironmentresource.md))
