Interface CfnTable.BillingModeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTable.BillingModeProperty.Jsii$Proxy
- Enclosing class:
CfnTable
@Stability(Stable)
public static interface CfnTable.BillingModeProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.cassandra.*; BillingModeProperty billingModeProperty = BillingModeProperty.builder() .mode("mode") // the properties below are optional .provisionedThroughput(ProvisionedThroughputProperty.builder() .readCapacityUnits(123) .writeCapacityUnits(123) .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTable.BillingModeProperty
static final class
An implementation forCfnTable.BillingModeProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMode
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
Default: - "ON_DEMAND"
- See Also:
- On-demand mode -
-
getProvisionedThroughput
The provisioned read capacity and write capacity for the table.For more information, see Provisioned throughput capacity mode in the Amazon Keyspaces Developer Guide .
- See Also:
-
builder
-