TableReplica constructor
Creates a new TableReplica.
arn ARN of the table
consistencyMode Whether this global table will be using STRONG consistency mode or EVENTUAL consistency mode. Default value is EVENTUAL.
deletionProtectionEnabled Whether deletion protection is enabled (true) or disabled (false) on the replica. Default is false.
kmsKeyArn ARN of the CMK that should be used for the AWS KMS encryption.
pointInTimeRecovery Whether to enable Point In Time Recovery for the replica. Default is false.
propagateTags Whether to propagate the global table's tags to a replica.
regionName Region name of the replica.
streamArn ARN of the Table Stream. Only available when streamEnabled = true
streamLabel Timestamp, in ISO 8601 format, for this stream. Note that this timestamp is not a unique identifier for the stream on its own. However, the combination of AWS customer ID, table name and this field is guaranteed to be unique. It can be used for creating CloudWatch Alarms. Only available when streamEnabled = true.
Implementation
const TableReplica({
this.arn,
this.consistencyMode,
this.deletionProtectionEnabled,
this.kmsKeyArn,
this.pointInTimeRecovery,
this.propagateTags,
required this.regionName,
this.streamArn,
this.streamLabel,
});