# HttpAlbIntegrationProps

Properties to initialize `HttpAlbIntegration`.

Extends: HttpAlbIntegrationProps
Extends: HttpPrivateIntegrationOptions
Used as props by: HttpAlbIntegration

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

## Example

```ts
import { HttpAlbIntegration } from 'aws-cdk-lib/aws-apigatewayv2-integrations';

declare const lb: elbv2.ApplicationLoadBalancer;
const listener = lb.addListener('listener', { port: 80 });
listener.addTargets('target', {
  port: 80,
});

const httpEndpoint = new apigwv2.HttpApi(this, 'HttpProxyPrivateApi', {
  defaultIntegration: new HttpAlbIntegration('DefaultIntegration', listener, {
    parameterMapping: new apigwv2.ParameterMapping().custom('myKey', 'myValue'),
  }),
});
```

## Properties

- `method`: [HttpMethod](/cdk/api/v2/docs/aws-cdk-lib.aws_apigatewayv2.HttpMethod.html) = HttpMethod.ANY — The HTTP method that must be used to invoke the underlying HTTP proxy.

- `parameterMapping`: [ParameterMapping](/cdk/api/v2/docs/aws-cdk-lib.aws_apigatewayv2.ParameterMapping.html) — Specifies how to transform HTTP requests before sending them to the backend.

  **Default:** undefined requests are sent to the backend unmodified

- `secureServerName`: string — Specifies the server name to verified by HTTPS when calling the backend integration.

  **Default:** undefined private integration traffic will use HTTP protocol

- `timeout`: [Duration](/cdk/api/v2/docs/aws-cdk-lib.Duration.html) = Duration.seconds(29) — The maximum amount of time an integration will run before it returns without a response.

  Must be between 50 milliseconds and 29 seconds.

- `vpcLink`: [IVpcLink](/cdk/api/v2/docs/aws-cdk-lib.aws_apigatewayv2.IVpcLink.html) — The vpc link to be used for the private integration.

  **Default:** a new VpcLink is created
