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