# AzureAppConfigurationResource Constructors

- Package: [Aspire.Hosting.Azure.AppConfiguration](/reference/api/csharp/aspire.hosting.azure.appconfiguration.md)
- Type: [AzureAppConfigurationResource](/reference/api/csharp/aspire.hosting.azure.appconfiguration/azureappconfigurationresource.md)
- Kind: `Constructors`
- Members: `1`

A resource that represents Azure App Configuration.

## AzureAppConfigurationResource(string, Action<AzureResourceInfrastructure>)

- Name: `Constructor(string, Action<AzureResourceInfrastructure>)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.AppConfiguration/AzureAppConfigurationResource.cs#L18)

A resource that represents Azure App Configuration.

```csharp
public class AzureAppConfigurationResource
{
    public AzureAppConfigurationResource(
        string name,
        Action<AzureResourceInfrastructure> configureInfrastructure)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
  The name of the resource.
- `configureInfrastructure` (`Action<AzureResourceInfrastructure>`)
  Callback to configure the Azure resources.
