# AwsIntegrationProps

Extends: AwsIntegrationProps
Used as props by: AwsIntegration

- Source: [`aws-apigateway/lib/integrations/aws.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-apigateway/lib/integrations/aws.ts#L11)

## Example

```ts
const getMessageIntegration = new apigateway.AwsIntegration({
  service: 'sqs',
  path: 'queueName',
  region: 'eu-west-1'
});
```

## Properties

- `action`: string — The AWS action to perform in the integration.

  Use `actionParams` to specify key-value params for the action.

  Mutually exclusive with `path`.

- `actionParameters`: { [key: string]: string } — Parameters for the action.

  `action` must be set, and `path` must be undefined.
  The action params will be URL encoded.

- `integrationHttpMethod`: string = POST — The integration's HTTP method type.

- `options`: [IntegrationOptions](/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.IntegrationOptions.html) — Integration options, such as content handling, request/response mapping, etc.

- `path`: string — The path to use for path-base APIs.

  For example, for S3 GET, you can set path to `bucket/key`.
  For lambda, you can set path to `2015-03-31/functions/${function-arn}/invocations`

  Mutually exclusive with the `action` options.

- `proxy`: boolean = false — Use AWS_PROXY integration.

- `region`: string — The region of the integrated AWS service.

  **Default:** same region as the stack

- `service`: string (required) — The name of the integrated AWS service (e.g. `s3`).

- `subdomain`: string — A designated subdomain supported by certain AWS service for fast host-name lookup.
