Class CfnTable.BillingModeProperty
Determines the billing mode for the table - on-demand or provisioned.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Cassandra
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTable.BillingModeProperty : CfnTable.IBillingModeProperty
Syntax (vb)
Public Class CfnTable.BillingModeProperty 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() | Determines the billing mode for the table - on-demand or provisioned. |
Properties
Mode | The billing mode for the table:. |
ProvisionedThroughput | The provisioned read capacity and write capacity for the table. |
Constructors
BillingModeProperty()
Determines the billing mode for the table - on-demand or provisioned.
public BillingModeProperty()
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
}
};
Properties
Mode
The billing mode for the table:.
public string Mode { get; set; }
Property Value
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
Remarks
For more information, see Provisioned throughput capacity mode in the Amazon Keyspaces Developer Guide .