Class InterceptorOptions.Builder

java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.InterceptorOptions.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<InterceptorOptions>
Enclosing interface:
InterceptorOptions

@Stability(Stable) public static final class InterceptorOptions.Builder extends Object implements software.amazon.jsii.Builder<InterceptorOptions>
A builder for InterceptorOptions
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • passRequestHeaders

      @Stability(Stable) public InterceptorOptions.Builder passRequestHeaders(Boolean passRequestHeaders)
      Parameters:
      passRequestHeaders - Whether to pass request headers to the interceptor Lambda function. Security Warning: Request headers can contain sensitive information such as authentication tokens and credentials. Only enable this if your interceptor needs access to headers and you have verified that sensitive information is not logged or exposed.
      Returns:
      this
    • build

      @Stability(Stable) public InterceptorOptions build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<InterceptorOptions>
      Returns:
      a new instance of InterceptorOptions
      Throws:
      NullPointerException - if any required attribute was not provided