Class TablePropsV2.Jsii$Proxy

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

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

    • getPartitionKey

      public final Attribute getPartitionKey()
      Description copied from interface: TablePropsV2
      Partition key attribute definition.
      Specified by:
      getPartitionKey in interface TablePropsV2
    • getBilling

      public final Billing getBilling()
      Description copied from interface: TablePropsV2
      The billing mode and capacity settings to apply to the table.

      Default: Billing.onDemand()

      Specified by:
      getBilling in interface TablePropsV2
    • getDynamoStream

      public final StreamViewType getDynamoStream()
      Description copied from interface: TablePropsV2
      When an item in the table is modified, StreamViewType determines what information is written to the stream.

      Default: - streams are disabled if replicas are not configured and this property is not specified. If this property is not specified when replicas are configured, then NEW_AND_OLD_IMAGES will be the StreamViewType for all replicas

      Specified by:
      getDynamoStream in interface TablePropsV2
    • getEncryption

      public final TableEncryptionV2 getEncryption()
      Description copied from interface: TablePropsV2
      The server-side encryption.

      Default: TableEncryptionV2.dynamoOwnedKey()

      Specified by:
      getEncryption in interface TablePropsV2
    • getGlobalSecondaryIndexes

      public final List<GlobalSecondaryIndexPropsV2> getGlobalSecondaryIndexes()
      Description copied from interface: TablePropsV2
      Global secondary indexes.

      Note: You can provide a maximum of 20 global secondary indexes.

      Default: - no global secondary indexes

      Specified by:
      getGlobalSecondaryIndexes in interface TablePropsV2
    • getLocalSecondaryIndexes

      public final List<LocalSecondaryIndexProps> getLocalSecondaryIndexes()
      Description copied from interface: TablePropsV2
      Local secondary indexes.

      Note: You can only provide a maximum of 5 local secondary indexes.

      Default: - no local secondary indexes

      Specified by:
      getLocalSecondaryIndexes in interface TablePropsV2
    • getRemovalPolicy

      public final RemovalPolicy getRemovalPolicy()
      Description copied from interface: TablePropsV2
      The removal policy applied to the table.

      Default: RemovalPolicy.RETAIN

      Specified by:
      getRemovalPolicy in interface TablePropsV2
    • getReplicas

      public final List<ReplicaTableProps> getReplicas()
      Description copied from interface: TablePropsV2
      Replica tables to deploy with the primary table.

      Note: Adding replica tables allows you to use your table as a global table. You cannot specify a replica table in the region that the primary table will be deployed to. Replica tables will only be supported if the stack deployment region is defined.

      Default: - no replica tables

      Specified by:
      getReplicas in interface TablePropsV2
    • getSortKey

      public final Attribute getSortKey()
      Description copied from interface: TablePropsV2
      Sort key attribute definition.

      Default: - no sort key

      Specified by:
      getSortKey in interface TablePropsV2
    • getTableName

      public final String getTableName()
      Description copied from interface: TablePropsV2
      The name of the table.

      Default: - generated by CloudFormation

      Specified by:
      getTableName in interface TablePropsV2
    • getTimeToLiveAttribute

      public final String getTimeToLiveAttribute()
      Description copied from interface: TablePropsV2
      The name of the TTL attribute.

      Default: - TTL is disabled

      Specified by:
      getTimeToLiveAttribute in interface TablePropsV2
    • getContributorInsights

      public final Boolean getContributorInsights()
      Description copied from interface: TableOptionsV2
      Whether CloudWatch contributor insights is enabled.

      Default: false

      Specified by:
      getContributorInsights in interface TableOptionsV2
    • getDeletionProtection

      public final Boolean getDeletionProtection()
      Description copied from interface: TableOptionsV2
      Whether deletion protection is enabled.

      Default: false

      Specified by:
      getDeletionProtection in interface TableOptionsV2
    • getKinesisStream

      public final IStream getKinesisStream()
      Description copied from interface: TableOptionsV2
      Kinesis Data Stream to capture item level changes.

      Default: - no Kinesis Data Stream

      Specified by:
      getKinesisStream in interface TableOptionsV2
    • getPointInTimeRecovery

      public final Boolean getPointInTimeRecovery()
      Description copied from interface: TableOptionsV2
      Whether point-in-time recovery is enabled.

      Default: false

      Specified by:
      getPointInTimeRecovery in interface TableOptionsV2
    • getTableClass

      public final TableClass getTableClass()
      Description copied from interface: TableOptionsV2
      The table class.

      Default: TableClass.STANDARD

      Specified by:
      getTableClass in interface TableOptionsV2
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: TableOptionsV2
      Tags to be applied to the table or replica table.

      Default: - no tags

      Specified by:
      getTags in interface TableOptionsV2
    • $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