Skip to content
v2.278.0

ProvisionedThroughputProperty ​

Struct External

The provisioned throughput for the table, which consists of ReadCapacityUnits and WriteCapacityUnits .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cassandra as cassandra } from 'aws-cdk-lib';
const provisionedThroughputProperty: cassandra.CfnTable.ProvisionedThroughputProperty = {
  readCapacityUnits: 123,
  writeCapacityUnits: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cassandra as cassandra

provisioned_throughput_property = cassandra.CfnTable.ProvisionedThroughputProperty(
    read_capacity_units=123,
    write_capacity_units=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cassandra.*;

ProvisionedThroughputProperty provisionedThroughputProperty = ProvisionedThroughputProperty.builder()
        .readCapacityUnits(123)
        .writeCapacityUnits(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cassandra;

var provisionedThroughputProperty = new ProvisionedThroughputProperty {
    ReadCapacityUnits = 123,
    WriteCapacityUnits = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

provisionedThroughputProperty := &ProvisionedThroughputProperty{
	ReadCapacityUnits: jsii.Number(123),
	WriteCapacityUnits: jsii.Number(123),
}

Properties ​

readCapacityUnitsnumberread_capacity_unitsint | floatreadCapacityUnitsNumberReadCapacityUnitsdoubleReadCapacityUnits*float64 required #
The amount of read capacity that's provisioned for the table.

For more information, see Read/write capacity mode in the Amazon Keyspaces Developer Guide .

writeCapacityUnitsnumberwrite_capacity_unitsint | floatwriteCapacityUnitsNumberWriteCapacityUnitsdoubleWriteCapacityUnits*float64 required #
The amount of write capacity that's provisioned for the table.

For more information, see Read/write capacity mode in the Amazon Keyspaces Developer Guide .