interface IInterceptor
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.IInterceptor |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#IInterceptor |
Java | software.amazon.awscdk.services.bedrockagentcore.IInterceptor |
Python | aws_cdk.aws_bedrockagentcore.IInterceptor |
TypeScript (source) | aws-cdk-lib » aws_bedrockagentcore » IInterceptor |
Implemented by
Lambda
Represents an interceptor that can be bound to a Gateway.
Interceptors allow custom code execution at specific points in the gateway request/response flow.
Properties
| Name | Type | Description |
|---|---|---|
| interception | Interception | The interception point where this interceptor will be invoked. |
interceptionPoint
Type:
Interception
The interception point where this interceptor will be invoked.
Methods
| Name | Description |
|---|---|
| bind(scope, gateway) | Binds this interceptor to a Gateway. |
bind(scope, gateway)
public bind(scope: Construct, gateway: IGateway): InterceptorBindConfig
Parameters
- scope
Construct— The construct scope for creating any required resources. - gateway
IGateway— The gateway this interceptor is being bound to [disable-awslint:prefer-ref-interface].
Returns
Binds this interceptor to a Gateway.
This method is called when the interceptor is added to a gateway. It should:
- Grant any necessary permissions (e.g., Lambda invoke permissions)
- Perform any required setup
- Return the CloudFormation configuration

.NET
Go
Java
Python
TypeScript (