Class TableGrantsProps.Jsii$Proxy

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

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

    • getTable

      public final ITableRef getTable()
      Description copied from interface: TableGrantsProps
      The table to grant permissions on.
      Specified by:
      getTable in interface TableGrantsProps
    • getEncryptedResource

      public final IEncryptedResource getEncryptedResource()
      Description copied from interface: TableGrantsProps
      The encrypted resource on which actions will be allowed.

      Default: - No permission is added to the KMS key, even if it exists

      Specified by:
      getEncryptedResource in interface TableGrantsProps
    • getHasIndex

      public final Boolean getHasIndex()
      Description copied from interface: TableGrantsProps
      Whether this table has indexes.

      If so, permissions are granted on all table indexes as well.

      Default: false

      Specified by:
      getHasIndex in interface TableGrantsProps
    • getPolicyResource

      public final IResourceWithPolicyV2 getPolicyResource()
      Description copied from interface: TableGrantsProps
      The resource with policy on which actions will be allowed.

      Default: - No resource policy is created

      Specified by:
      getPolicyResource in interface TableGrantsProps
    • getRegions

      public final List<String> getRegions()
      Description copied from interface: TableGrantsProps
      Additional regions other than the main one that this table is replicated to.

      Default: - No regions

      Specified by:
      getRegions in interface TableGrantsProps
    • $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