# 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/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.Stripe/StripeResource.cs#L10)

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.
