java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.services.dynamodb.global.GlobalTable
All Implemented Interfaces:
IConstruct, IDependable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.106Z") @Stability(Deprecated) @Deprecated public class GlobalTable extends Construct
Deprecated.
use @aws-cdk/aws-dynamodb.Table.replicationRegions instead
(deprecated) This class works by deploying an AWS DynamoDB table into each region specified in GlobalTableProps.regions[], then triggering a CloudFormation Custom Resource Lambda to link them all together to create linked AWS Global DynamoDB tables.

Example:

 import software.amazon.awscdk.services.dynamodb.AttributeType;
 import software.amazon.awscdk.services.dynamodb.global.GlobalTable;
 import software.amazon.awscdk.core.App;
 App app = new App();
 GlobalTable.Builder.create(app, "globdynamodb")
         .partitionKey(Attribute.builder().name("hashKey").type(AttributeType.STRING).build())
         .tableName("GlobalTable")
         .regions(List.of("us-east-1", "us-east-2", "us-west-2"))
         .build();
 app.synth();
 

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Deprecated.

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct

    IConstruct.Jsii$Default, IConstruct.Jsii$Proxy

    Nested classes/interfaces inherited from interface software.constructs.IConstruct

    software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    Deprecated.
    protected
    GlobalTable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    Deprecated.
     
    protected
    GlobalTable(software.amazon.jsii.JsiiObjectRef objRef)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.

    Methods inherited from class software.amazon.awscdk.core.Construct

    getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate

    Methods inherited from class software.constructs.Construct

    toString

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • GlobalTable

      protected GlobalTable(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • GlobalTable

      protected GlobalTable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
    • GlobalTable

      @Stability(Deprecated) @Deprecated public GlobalTable(@NotNull Construct scope, @NotNull String id, @NotNull GlobalTableProps props)
      Deprecated.
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • getRegionalTables

      @Stability(Deprecated) @Deprecated @NotNull public List<Table> getRegionalTables()
      Deprecated.
      (deprecated) Obtain tables deployed in other each region.