> **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.
# InterceptorOptions

Options for configuring an interceptor.

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

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const interceptorOptions: bedrock_agentcore_alpha.InterceptorOptions = {
  passRequestHeaders: false,
};
```

## Properties

- `passRequestHeaders`: boolean — Whether to pass request headers to the interceptor Lambda function.

  **Default:** false - Headers are not passed to interceptor for security

  **Security Warning**: Request headers can contain sensitive information such as
  authentication tokens and credentials. Only enable this if your interceptor needs
  access to headers and you have verified that sensitive information is not logged
  or exposed.
