# PostaResource Constructors

- Package: [CommunityToolkit.Aspire.Hosting.Posta](/reference/api/csharp/communitytoolkit.aspire.hosting.posta.md)
- Type: [PostaResource](/reference/api/csharp/communitytoolkit.aspire.hosting.posta/postaresource.md)
- Kind: `Constructors`
- Members: `1`

Resource for the Posta email delivery platform.

<a id="constructor"></a>
<a id="constructor-string-parameterresource-parameterresource"></a>

## PostaResource(string, ParameterResource, ParameterResource)

- Name: `Constructor(string, ParameterResource, ParameterResource)`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.Posta/PostaResource.cs#L11-L57)

Resource for the Posta email delivery platform.

```csharp
public sealed class PostaResource
{
    public PostaResource(
        string name,
        ParameterResource jwtSecret,
        ParameterResource adminPassword)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
  The name of the resource.
- `jwtSecret` (`ParameterResource`)
  A parameter that contains the JWT signing secret.
- `adminPassword` (`ParameterResource`)
  A parameter that contains the initial admin password.
