Class CfnGlobalTable.ReplicaSpecificationProperty
Defines settings specific to a single replica of a global table.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.AWS.DynamoDB.dll
Syntax (csharp)
public class ReplicaSpecificationProperty : Object, CfnGlobalTable.IReplicaSpecificationProperty
Syntax (vb)
Public Class ReplicaSpecificationProperty
Inherits Object
Implements CfnGlobalTable.IReplicaSpecificationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DynamoDB;
var replicaSpecificationProperty = new ReplicaSpecificationProperty {
Region = "region",
// the properties below are optional
ContributorInsightsSpecification = new ContributorInsightsSpecificationProperty {
Enabled = false
},
DeletionProtectionEnabled = false,
GlobalSecondaryIndexes = new [] { new ReplicaGlobalSecondaryIndexSpecificationProperty {
IndexName = "indexName",
// the properties below are optional
ContributorInsightsSpecification = new ContributorInsightsSpecificationProperty {
Enabled = false
},
ReadProvisionedThroughputSettings = new ReadProvisionedThroughputSettingsProperty {
ReadCapacityAutoScalingSettings = new CapacityAutoScalingSettingsProperty {
MaxCapacity = 123,
MinCapacity = 123,
TargetTrackingScalingPolicyConfiguration = new TargetTrackingScalingPolicyConfigurationProperty {
TargetValue = 123,
// the properties below are optional
DisableScaleIn = false,
ScaleInCooldown = 123,
ScaleOutCooldown = 123
},
// the properties below are optional
SeedCapacity = 123
},
ReadCapacityUnits = 123
}
} },
KinesisStreamSpecification = new KinesisStreamSpecificationProperty {
StreamArn = "streamArn"
},
PointInTimeRecoverySpecification = new PointInTimeRecoverySpecificationProperty {
PointInTimeRecoveryEnabled = false
},
ReadProvisionedThroughputSettings = new ReadProvisionedThroughputSettingsProperty {
ReadCapacityAutoScalingSettings = new CapacityAutoScalingSettingsProperty {
MaxCapacity = 123,
MinCapacity = 123,
TargetTrackingScalingPolicyConfiguration = new TargetTrackingScalingPolicyConfigurationProperty {
TargetValue = 123,
// the properties below are optional
DisableScaleIn = false,
ScaleInCooldown = 123,
ScaleOutCooldown = 123
},
// the properties below are optional
SeedCapacity = 123
},
ReadCapacityUnits = 123
},
SseSpecification = new ReplicaSSESpecificationProperty {
KmsMasterKeyId = "kmsMasterKeyId"
},
TableClass = "tableClass",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
ReplicaSpecificationProperty() |
Properties
ContributorInsightsSpecification | The settings used to enable or disable CloudWatch Contributor Insights for the specified replica. |
DeletionProtectionEnabled | Determines if a replica is protected from deletion. |
GlobalSecondaryIndexes | Defines additional settings for the global secondary indexes of this replica. |
KinesisStreamSpecification | Defines the Kinesis Data Streams configuration for the specified replica. |
PointInTimeRecoverySpecification | The settings used to enable point in time recovery. |
ReadProvisionedThroughputSettings | Defines read capacity settings for the replica table. |
Region | The region in which this replica exists. |
SseSpecification | Allows you to specify a customer-managed key for the replica. |
TableClass | The table class of the specified table. |
Tags | An array of key-value pairs to apply to this replica. |
Constructors
ReplicaSpecificationProperty()
public ReplicaSpecificationProperty()
Properties
ContributorInsightsSpecification
The settings used to enable or disable CloudWatch Contributor Insights for the specified replica.
public object ContributorInsightsSpecification { get; set; }
Property Value
System.Object
Remarks
When not specified, defaults to contributor insights disabled for the replica.
DeletionProtectionEnabled
Determines if a replica is protected from deletion.
public object DeletionProtectionEnabled { get; set; }
Property Value
System.Object
Remarks
When enabled, the table cannot be deleted by any user or process. This setting is disabled by default. For more information, see Using deletion protection in the Amazon DynamoDB Developer Guide .
GlobalSecondaryIndexes
Defines additional settings for the global secondary indexes of this replica.
public object GlobalSecondaryIndexes { get; set; }
Property Value
System.Object
Remarks
KinesisStreamSpecification
Defines the Kinesis Data Streams configuration for the specified replica.
public object KinesisStreamSpecification { get; set; }
Property Value
System.Object
Remarks
PointInTimeRecoverySpecification
The settings used to enable point in time recovery.
public object PointInTimeRecoverySpecification { get; set; }
Property Value
System.Object
Remarks
When not specified, defaults to point in time recovery disabled for the replica.
ReadProvisionedThroughputSettings
Defines read capacity settings for the replica table.
public object ReadProvisionedThroughputSettings { get; set; }
Property Value
System.Object
Remarks
Region
The region in which this replica exists.
public string Region { get; set; }
Property Value
System.String
Remarks
SseSpecification
Allows you to specify a customer-managed key for the replica.
public object SseSpecification { get; set; }
Property Value
System.Object
Remarks
When using customer-managed keys for server-side encryption, this property must have a value in all replicas.
TableClass
The table class of the specified table.
public string TableClass { get; set; }
Property Value
System.String
Remarks
Valid values are STANDARD
and STANDARD_INFREQUENT_ACCESS
.
Tags
An array of key-value pairs to apply to this replica.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]