interface BillingModeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Cassandra.Mixins.CfnTablePropsMixin.BillingModeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscassandra/mixins#CfnTablePropsMixin_BillingModeProperty |
Java | software.amazon.awscdk.mixins.preview.services.cassandra.mixins.CfnTablePropsMixin.BillingModeProperty |
Python | aws_cdk.mixins_preview.aws_cassandra.mixins.CfnTablePropsMixin.BillingModeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_cassandra » mixins » CfnTablePropsMixin » 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 { mixins as cassandra_mixins } from '@aws-cdk/mixins-preview/aws-cassandra';
const billingModeProperty: cassandra_mixins.CfnTablePropsMixin.BillingModeProperty = {
mode: 'mode',
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
(optional, default: "ON_DEMAND")
The billing mode for the table:.
- On-demand mode -
ON_DEMAND - Provisioned mode -
PROVISIONED
If you choose
PROVISIONEDmode, 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 .

.NET
Go
Java
Python
TypeScript