aws-cdk-lib.aws_cassandra.CfnTable.BillingModeProperty

interface BillingModeProperty

LanguageType name
.NETAmazon.CDK.AWS.Cassandra.CfnTable.BillingModeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscassandra#CfnTable_BillingModeProperty
Javasoftware.amazon.awscdk.services.cassandra.CfnTable.BillingModeProperty
Pythonaws_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

NameTypeDescription
modestringThe billing mode for the table:.
provisionedThroughput?IResolvable | ProvisionedThroughputPropertyThe 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 | ProvisionedThroughputProperty (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 .