# StripeResource Constructors

- Package: [CommunityToolkit.Aspire.Hosting.Stripe](/reference/api/csharp/communitytoolkit.aspire.hosting.stripe.md)
- Type: [StripeResource](/reference/api/csharp/communitytoolkit.aspire.hosting.stripe/striperesource.md)
- Kind: `Constructors`
- Members: `1`

Represents a Stripe CLI container resource for local webhook forwarding and testing.

## StripeResource(string)

- Name: `Constructor(string)`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/67afcca30f02c18687f9c5219313710af9706630/src/CommunityToolkit.Aspire.Hosting.Stripe/StripeResource.cs#L7)

Represents a Stripe CLI container resource for local webhook forwarding and testing.

```csharp
public class StripeResource
{
    public StripeResource(
        string name)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
  The name of the resource.
