# IDaprComponentResource Properties

- Package: [CommunityToolkit.Aspire.Hosting.Dapr](/reference/api/csharp/communitytoolkit.aspire.hosting.dapr.md)
- Type: [IDaprComponentResource](/reference/api/csharp/communitytoolkit.aspire.hosting.dapr/idaprcomponentresource.md)
- Kind: `Properties`
- Members: `2`

Represents a Dapr component resource.

## Options

- Name: `Options`
- Modifiers: `abstract` `nullable` `get`
- Returns: [DaprComponentOptions?](/reference/api/csharp/communitytoolkit.aspire.hosting.dapr/daprcomponentoptions.md)

Gets options used to configure the component, if any.

```csharp
public abstract DaprComponentOptions? Options { get; }
```

## Type

- Name: `Type`
- Modifiers: `abstract` `get`
- Returns: `string`

Gets the type of the Dapr component.

```csharp
public abstract string Type { get; }
```

## Remarks

This may be a generic "state" or "pubsub" if Aspire should choose an appropriate type when running or deploying.
