Class CfnTable.BillingModeProperty
Determines the billing mode for the table - on-demand or provisioned.
Inheritance
System.Object
CfnTable.BillingModeProperty
Implements
Namespace: Amazon.CDK.AWS.Cassandra
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class BillingModeProperty : Object, CfnTable.IBillingModeProperty
Syntax (vb)
Public Class BillingModeProperty
Inherits Object
Implements CfnTable.IBillingModeProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 billingModeProperty = new BillingModeProperty {
Mode = "mode",
// the properties below are optional
ProvisionedThroughput = new ProvisionedThroughputProperty {
ReadCapacityUnits = 123,
WriteCapacityUnits = 123
}
};
Synopsis
Constructors
BillingModeProperty() |
Properties
Mode | The billing mode for the table:. |
ProvisionedThroughput | The provisioned read capacity and write capacity for the table. |
Constructors
BillingModeProperty()
public BillingModeProperty()
Properties
Mode
The billing mode for the table:.
public string Mode { get; set; }
Property Value
System.String
Remarks
If you choose <code>PROVISIONED</code> mode, then you also need to specify provisioned throughput (read and write capacity) for the table.
Valid values: ON_DEMAND
| PROVISIONED
Default: - "ON_DEMAND"
ProvisionedThroughput
The provisioned read capacity and write capacity for the table.
public object ProvisionedThroughput { get; set; }
Property Value
System.Object
Remarks
For more information, see Provisioned throughput capacity mode in the Amazon Keyspaces Developer Guide .