Class CfnTable.ProvisionedThroughputProperty
Throughput for the specified table, which consists of values for ReadCapacityUnits
and WriteCapacityUnits
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ProvisionedThroughputProperty : Object, CfnTable.IProvisionedThroughputProperty
Syntax (vb)
Public Class ProvisionedThroughputProperty
Inherits Object
Implements CfnTable.IProvisionedThroughputProperty
Remarks
For more information about the contents of a provisioned throughput structure, see Amazon DynamoDB Table ProvisionedThroughput .
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 provisionedThroughputProperty = new ProvisionedThroughputProperty {
ReadCapacityUnits = 123,
WriteCapacityUnits = 123
};
Synopsis
Constructors
ProvisionedThroughputProperty() |
Properties
ReadCapacityUnits | The maximum number of strongly consistent reads consumed per second before DynamoDB returns a |
WriteCapacityUnits | The maximum number of writes consumed per second before DynamoDB returns a |
Constructors
ProvisionedThroughputProperty()
public ProvisionedThroughputProperty()
Properties
ReadCapacityUnits
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException
.
public double ReadCapacityUnits { get; set; }
Property Value
System.Double
Remarks
For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide .
If read/write capacity mode is PAY_PER_REQUEST
the value is set to 0.
WriteCapacityUnits
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
public double WriteCapacityUnits { get; set; }
Property Value
System.Double
Remarks
For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide .
If read/write capacity mode is PAY_PER_REQUEST
the value is set to 0.