Class GlobalTable
(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.
Inherited Members
Namespace: Amazon.CDK.AWS.DynamoDB.Global
Assembly: Amazon.CDK.AWS.DynamoDB.Global.dll
Syntax (csharp)
public class GlobalTable : Construct, IConstruct, IDependable
Syntax (vb)
Public Class GlobalTable
Inherits Construct
Implements IConstruct, IDependable
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
Constructors
GlobalTable(Construct, String, IGlobalTableProps) | |
GlobalTable(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
GlobalTable(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
RegionalTables | (deprecated) Obtain tables deployed in other each region. |
Constructors
GlobalTable(Construct, String, IGlobalTableProps)
public GlobalTable(Construct scope, string id, IGlobalTableProps props)
Parameters
- scope Construct
- id System.String
- props IGlobalTableProps
Remarks
Stability: Deprecated
GlobalTable(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected GlobalTable(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
GlobalTable(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected GlobalTable(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
RegionalTables
(deprecated) Obtain tables deployed in other each region.
public virtual Table[] RegionalTables { get; }
Property Value
Table[]
Remarks
Stability: Deprecated