# APIGatewayExtensions

- Kind: `class`
- Package: [Aspire.Hosting.AWS](/reference/api/csharp/aspire.hosting.aws.md)
- Version: `13.2.0`
- Namespace: `Aspire.Hosting`
- Target framework: `net8.0`

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

## Definition

```csharp
namespace Aspire.Hosting;

public static class APIGatewayExtensions
{
    // ...
}
```

## Methods

- [AddAWSAPIGatewayEmulator(IDistributedApplicationBuilder, string, APIGatewayType, APIGatewayEmulatorOptions?)](/reference/api/csharp/aspire.hosting.aws/apigatewayextensions/methods.md#addawsapigatewayemulator-idistributedapplicationbuilder-string-apigatewaytype-apigatewayemulatoroptions) : `IResourceBuilder<APIGatewayEmulatorResource>` `extension`
- [WithReference(IResourceBuilder<APIGatewayEmulatorResource>, IResourceBuilder<LambdaProjectResource>, Method, string)](/reference/api/csharp/aspire.hosting.aws/apigatewayextensions/methods.md#withreference-iresourcebuilder-apigatewayemulatorresource-iresourcebuilder-lambdaprojectresource-method-string) : `IResourceBuilder<APIGatewayEmulatorResource>` `extension`
