# APIGatewayEmulatorResource Constructors

- Package: [Aspire.Hosting.AWS](/reference/api/csharp/aspire.hosting.aws.md)
- Type: [APIGatewayEmulatorResource](/reference/api/csharp/aspire.hosting.aws/apigatewayemulatorresource.md)
- Kind: `Constructors`
- Members: `1`

A resource that represents a specified executable process.

## APIGatewayEmulatorResource(string, APIGatewayType)

- Name: `Constructor(string, APIGatewayType)`

```csharp
public class APIGatewayEmulatorResource
{
    public APIGatewayEmulatorResource(
        string name,
        APIGatewayType apiGatewayType)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
- `apiGatewayType` ([APIGatewayType](/reference/api/csharp/aspire.hosting.aws/apigatewaytype.md))
