Interface GlobalTableProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, SchemaOptions, StackProps, TableOptions
All Known Implementing Classes:
GlobalTableProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.109Z") @Stability(Deprecated) @Deprecated public interface GlobalTableProps extends software.amazon.jsii.JsiiSerializable, StackProps, TableOptions
Deprecated.
(deprecated) Properties for the multiple DynamoDB tables to mash together into a global table.

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();
 
  • Method Details

    • getRegions

      @Stability(Deprecated) @Deprecated @NotNull List<String> getRegions()
      Deprecated.
      (deprecated) Array of environments to create DynamoDB tables in.

      The tables will all be created in the same account.

    • getTableName

      @Stability(Deprecated) @Deprecated @NotNull String getTableName()
      Deprecated.
      (deprecated) Name of the DynamoDB table to use across all regional tables.

      This is required for global tables.

    • builder

      @Stability(Deprecated) @Deprecated static GlobalTableProps.Builder builder()
      Deprecated.
      Returns:
      a GlobalTableProps.Builder of GlobalTableProps