Class AddPolicyOptions.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class AddPolicyOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AddPolicyOptions
An implementation for AddPolicyOptions
  • 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(AddPolicyOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the AddPolicyOptions.Builder.
  • Method Details

    • getStatement

      public final PolicyStatement getStatement()
      Description copied from interface: AddPolicyOptions
      The Cedar policy statement for this policy.

      Build a type-safe statement with the PolicyStatement factories, or use PolicyStatement.fromCedar('...') for raw Cedar. Raw Cedar is treated as trusted input: the module does not escape, quote, or validate it.

      Specified by:
      getStatement in interface AddPolicyOptions
    • getDescription

      public final String getDescription()
      Description copied from interface: AddPolicyOptions
      Optional description for the policy (max 4,096 characters).

      Default: - No description

      Specified by:
      getDescription in interface AddPolicyOptions
    • getPolicyName

      public final String getPolicyName()
      Description copied from interface: AddPolicyOptions
      The name of the policy.

      Valid characters: a-z, A-Z, 0-9, _ (underscore) Must start with a letter, 1-48 characters

      Default: - Auto-generated unique name

      Specified by:
      getPolicyName in interface AddPolicyOptions
    • getValidationMode

      public final PolicyValidationMode getValidationMode()
      Description copied from interface: AddPolicyOptions
      Validation mode for the policy.

      Default: PolicyValidationMode.FAIL_ON_ANY_FINDINGS

      Specified by:
      getValidationMode in interface AddPolicyOptions
    • $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