Interface IGlobalTableProps
(deprecated) Properties for the multiple DynamoDB tables to mash together into a global table.
Inherited Members
Namespace: Amazon.CDK.AWS.DynamoDB.Global
Assembly: Amazon.CDK.AWS.DynamoDB.Global.dll
Syntax (csharp)
public interface IGlobalTableProps : IStackProps, ITableOptions, ISchemaOptions
Syntax (vb)
Public Interface IGlobalTableProps
Inherits IStackProps, ITableOptions, ISchemaOptions
Remarks
Stability: Deprecated
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.DynamoDB;
using Amazon.CDK.AWS.DynamoDB.Global;
using Amazon.CDK;
var app = new App();
new GlobalTable(app, "globdynamodb", new GlobalTableProps {
PartitionKey = new Attribute { Name = "hashKey", Type = AttributeType.STRING },
TableName = "GlobalTable",
Regions = new [] { "us-east-1", "us-east-2", "us-west-2" }
});
app.Synth();
Synopsis
Properties
Regions | (deprecated) Array of environments to create DynamoDB tables in. |
TableName | (deprecated) Name of the DynamoDB table to use across all regional tables. |
Properties
Regions
(deprecated) Array of environments to create DynamoDB tables in.
string[] Regions { get; }
Property Value
System.String[]
Remarks
The tables will all be created in the same account.
Stability: Deprecated
TableName
(deprecated) Name of the DynamoDB table to use across all regional tables.
string TableName { get; }
Property Value
System.String
Remarks
This is required for global tables.
Stability: Deprecated