# HttpUrlIntegration

The HTTP Proxy integration resource for HTTP API.

Extends: HttpRouteIntegration › HttpUrlIntegration

- Source: [`aws-apigatewayv2-integrations/lib/http/http-proxy.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-apigatewayv2-integrations/lib/http/http-proxy.ts#L43)
- Type last changed: v2.114.0 · 5 Dec 2023

## Example

```ts
import { HttpJwtAuthorizer } from 'aws-cdk-lib/aws-apigatewayv2-authorizers';
import { HttpUrlIntegration } from 'aws-cdk-lib/aws-apigatewayv2-integrations';

const issuer = 'https://test.us.auth0.com';
const authorizer = new HttpJwtAuthorizer('BooksAuthorizer', issuer, {
  jwtAudience: ['3131231'],
});

const api = new apigwv2.HttpApi(this, 'HttpApi');

api.addRoutes({
  integration: new HttpUrlIntegration('BooksIntegration', 'https://get-books-proxy.example.com'),
  path: '/books',
  authorizer,
});
```

## Initializer

```ts
new HttpUrlIntegration(id: string, url: string, props?: HttpUrlIntegrationProps)
```

## Methods

- `bind(_options: HttpRouteIntegrationBindOptions): HttpRouteIntegrationConfig` — Bind this integration to the route.
