IInterceptor
- class aws_cdk.aws_bedrock_agentcore_alpha.IInterceptor(*args, **kwargs)
Bases:
Protocol(deprecated) Represents an interceptor that can be bound to a Gateway.
Interceptors allow custom code execution at specific points in the gateway request/response flow.
- Deprecated:
Use the equivalent construct from
aws-cdk-lib/aws-bedrockagentcoreinstead.- Stability:
deprecated
Methods
- bind(scope, gateway)
(deprecated) 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
- Stability:
deprecated
Attributes
- interception_point
(deprecated) The interception point where this interceptor will be invoked.
- Stability:
deprecated