Show / Hide Table of Contents

Class CfnTablePropsMixin.OnDemandThroughputProperty

Sets the maximum number of read and write units for the specified on-demand table.

Inheritance
object
CfnTablePropsMixin.OnDemandThroughputProperty
Implements
CfnTablePropsMixin.IOnDemandThroughputProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.DynamoDB
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnTablePropsMixin.OnDemandThroughputProperty : CfnTablePropsMixin.IOnDemandThroughputProperty
Syntax (vb)
Public Class CfnTablePropsMixin.OnDemandThroughputProperty Implements CfnTablePropsMixin.IOnDemandThroughputProperty
Remarks

If you use this property, you must specify MaxReadRequestUnits , MaxWriteRequestUnits , or both.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ondemandthroughput.html

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.CfnPropertyMixins.AWS.DynamoDB;

             var onDemandThroughputProperty = new OnDemandThroughputProperty {
                 MaxReadRequestUnits = 123,
                 MaxWriteRequestUnits = 123
             };

Synopsis

Constructors

OnDemandThroughputProperty()

Sets the maximum number of read and write units for the specified on-demand table.

Properties

MaxReadRequestUnits

Maximum number of read request units for the specified table.

MaxWriteRequestUnits

Maximum number of write request units for the specified table.

Constructors

OnDemandThroughputProperty()

Sets the maximum number of read and write units for the specified on-demand table.

public OnDemandThroughputProperty()
Remarks

If you use this property, you must specify MaxReadRequestUnits , MaxWriteRequestUnits , or both.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ondemandthroughput.html

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.CfnPropertyMixins.AWS.DynamoDB;

             var onDemandThroughputProperty = new OnDemandThroughputProperty {
                 MaxReadRequestUnits = 123,
                 MaxWriteRequestUnits = 123
             };

Properties

MaxReadRequestUnits

Maximum number of read request units for the specified table.

public double? MaxReadRequestUnits { get; set; }
Property Value

double?

Remarks

To specify a maximum OnDemandThroughput on your table, set the value of MaxReadRequestUnits as greater than or equal to 1. To remove the maximum OnDemandThroughput that is currently set on your table, set the value of MaxReadRequestUnits to -1.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ondemandthroughput.html#cfn-dynamodb-table-ondemandthroughput-maxreadrequestunits

MaxWriteRequestUnits

Maximum number of write request units for the specified table.

public double? MaxWriteRequestUnits { get; set; }
Property Value

double?

Remarks

To specify a maximum OnDemandThroughput on your table, set the value of MaxWriteRequestUnits as greater than or equal to 1. To remove the maximum OnDemandThroughput that is currently set on your table, set the value of MaxWriteRequestUnits to -1.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ondemandthroughput.html#cfn-dynamodb-table-ondemandthroughput-maxwriterequestunits

Implements

CfnTablePropsMixin.IOnDemandThroughputProperty
Back to top Generated by DocFX