interface BillingModeProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Cassandra.CfnTable.BillingModeProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscassandra#CfnTable_BillingModeProperty |
Java | software.amazon.awscdk.services.cassandra.CfnTable.BillingModeProperty |
Python | aws_cdk.aws_cassandra.CfnTable.BillingModeProperty |
TypeScript | aws-cdk-lib » aws_cassandra » CfnTable » BillingModeProperty |
Determines the billing mode for the table - on-demand or provisioned.
Example
// 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 billingModeProperty: cassandra.CfnTable.BillingModeProperty = {
mode: 'mode',
// the properties below are optional
provisionedThroughput: {
readCapacityUnits: 123,
writeCapacityUnits: 123,
},
};
Properties
Name | Type | Description |
---|---|---|
mode | string | The billing mode for the table:. |
provisioned | IResolvable | Provisioned | The provisioned read capacity and write capacity for the table. |
mode
Type:
string
The billing mode for the table:.
- On-demand mode -
ON_DEMAND
- Provisioned mode -
PROVISIONED
If you choose
PROVISIONED
mode, then you also need to specify provisioned throughput (read and write capacity) for the table.
Valid values: ON_DEMAND
| PROVISIONED
provisionedThroughput?
Type:
IResolvable
|
Provisioned
(optional)
The provisioned read capacity and write capacity for the table.
For more information, see Provisioned throughput capacity mode in the Amazon Keyspaces Developer Guide .