> **Experimental**
>
> `@aws-cdk/aws-bedrock-agentcore-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# IInterceptor

Represents an interceptor that can be bound to a Gateway.

Interceptors allow custom code execution at specific points in the gateway request/response flow.

Extends: IInterceptor
Implemented by: LambdaInterceptor

- Source: [`lib/gateway/interceptor.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-bedrock-agentcore-alpha/lib/gateway/interceptor.ts#L55)

## Properties

- `interceptionPoint`: [InterceptionPoint](/cdk/api/v2/docs/@aws-cdk_aws-bedrock-agentcore-alpha.InterceptionPoint.html) — The interception point where this interceptor will be invoked.

## Methods

- `bind(scope: Construct, gateway: IGateway): InterceptorBindConfig` — Binds this interceptor to a Gateway.

  This method is called when the interceptor is added to a gateway. It should:
  1. Grant any necessary permissions (e.g., Lambda invoke permissions)
  2. Perform any required setup
  3. Return the CloudFormation configuration

  **Parameters**

  - `scope` — The construct scope for creating any required resources.
  - `gateway` — The gateway this interceptor is being bound to [disable-awslint:prefer-ref-interface].

  **Returns:** Configuration that will be rendered to CloudFormation
