# IDaprComponentResource

- Kind: `interface`
- Package: [CommunityToolkit.Aspire.Hosting.Dapr](/reference/api/csharp/communitytoolkit.aspire.hosting.dapr.md)
- Version: `13.0.0`
- Namespace: `CommunityToolkit.Aspire.Hosting.Dapr`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/30a4b632065206d447183d2baabf6dfb3678d4af/src/CommunityToolkit.Aspire.Hosting.Dapr/IDaprComponentResource.cs)
- Implements: `IResource`, `IResourceWithWaitSupport`

Represents a Dapr component resource.

## Definition

```csharp
namespace CommunityToolkit.Aspire.Hosting.Dapr;

public interface IDaprComponentResource
    : Aspire.Hosting.ApplicationModel.IResource,
      Aspire.Hosting.ApplicationModel.IResourceWithWaitSupport
{
    // ...
}
```

## Properties

- [Options](/reference/api/csharp/communitytoolkit.aspire.hosting.dapr/idaprcomponentresource/properties.md#options) : [DaprComponentOptions?](/reference/api/csharp/communitytoolkit.aspire.hosting.dapr/daprcomponentoptions.md) `abstract` `get` -- Gets options used to configure the component, if any.
- [Type](/reference/api/csharp/communitytoolkit.aspire.hosting.dapr/idaprcomponentresource/properties.md#type) : `string` `abstract` `get` -- Gets the type of the Dapr component.
