Interface IInterceptor.Jsii$Default

All Superinterfaces:
IInterceptor, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IInterceptor.Jsii$Proxy
Enclosing interface:
IInterceptor

@Internal public static interface IInterceptor.Jsii$Default extends IInterceptor
Internal default implementation for IInterceptor.
  • Method Details

    • getInterceptionPoint

      @Stability(Stable) @NotNull default InterceptionPoint getInterceptionPoint()
      The interception point where this interceptor will be invoked.
      Specified by:
      getInterceptionPoint in interface IInterceptor
    • bind

      @Stability(Stable) @NotNull default InterceptorBindConfig bind(@NotNull software.constructs.Construct scope, @NotNull IGateway gateway)
      Binds this interceptor to a Gateway.

      This method is called when the interceptor is added to a gateway. It should:

      1. Grant any necessary permissions (e.g., Lambda invoke permissions)
      2. Perform any required setup
      3. Return the CloudFormation configuration

      Specified by:
      bind in interface IInterceptor
      Parameters:
      scope - The construct scope for creating any required resources. This parameter is required.
      gateway - The gateway this interceptor is being bound to [disable-awslint:prefer-ref-interface]. This parameter is required.
      Returns:
      Configuration that will be rendered to CloudFormation