Class GatewayPolicyEngineConfig.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrockagentcore.GatewayPolicyEngineConfig.Jsii$Proxy
All Implemented Interfaces:
GatewayPolicyEngineConfig, software.amazon.jsii.JsiiSerializable
Enclosing interface:
GatewayPolicyEngineConfig

@Stability(Stable) @Internal public static final class GatewayPolicyEngineConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GatewayPolicyEngineConfig
An implementation for GatewayPolicyEngineConfig
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(GatewayPolicyEngineConfig.Builder builder)
      Constructor that initializes the object based on literal property values passed by the GatewayPolicyEngineConfig.Builder.
  • Method Details

    • getPolicyEngine

      public final IPolicyEngine getPolicyEngine()
      Description copied from interface: GatewayPolicyEngineConfig
      The policy engine to associate with this gateway.

      [disable-awslint:prefer-ref-interface]

      Specified by:
      getPolicyEngine in interface GatewayPolicyEngineConfig
    • getMode

      public final PolicyEngineMode getMode()
      Description copied from interface: GatewayPolicyEngineConfig
      The enforcement mode for the policy engine.

      • ENFORCE: Actively allows or denies requests based on Cedar policy evaluation.
      • LOG_ONLY: Evaluates and logs decisions without enforcing them. Every tool call succeeds regardless of any forbid policy, so this is intended for testing a policy against real traffic and is not recommended for production.

      Default: PolicyEngineMode.ENFORCE

      Specified by:
      getMode in interface GatewayPolicyEngineConfig
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object