# InterceptorBindConfig

Configuration returned from binding an interceptor to a Gateway.

Returned by: [IInterceptor.bind](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.IInterceptor.html#bind)

- Source: [`aws-bedrockagentcore/lib/gateway/interceptor.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-bedrockagentcore/lib/gateway/interceptor.ts#L75)
- Type last changed: v2.255.0 · 19 May 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';

declare const configuration: any;
const interceptorBindConfig: bedrockagentcore.InterceptorBindConfig = {
  configuration: configuration,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrockagentcore as bedrockagentcore

# configuration: Any

interceptor_bind_config = bedrockagentcore.InterceptorBindConfig(
    configuration=configuration
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;

Object configuration;

InterceptorBindConfig interceptorBindConfig = InterceptorBindConfig.builder()
        .configuration(configuration)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;

var configuration;

var interceptorBindConfig = new InterceptorBindConfig {
    Configuration = configuration
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var configuration interface{}

interceptorBindConfig := &InterceptorBindConfig{
	Configuration: configuration,
}
```

## Properties

- `configuration`: any (required) — The CloudFormation configuration for this interceptor.
