IInterceptor
- class aws_cdk.aws_bedrockagentcore.IInterceptor(*args, **kwargs)
Bases:
ProtocolRepresents an interceptor that can be bound to a Gateway.
Interceptors allow custom code execution at specific points in the gateway request/response flow.
Methods
- bind(scope, gateway)
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
- Parameters:
- Return type:
- Returns:
Configuration that will be rendered to CloudFormation
Attributes
- interception_point
The interception point where this interceptor will be invoked.