Class ProvisionedThroughput
The read and write capacity of a table or global secondary index with Provisioned capacity.
public sealed record ProvisionedThroughput : IEquatable<ProvisionedThroughput>
- Inheritance
-
ProvisionedThroughput
- Implements
- Inherited Members
Remarks
One read capacity unit is one strongly consistent read per second of an item up to 4 KB (two eventually consistent reads); one write capacity unit is one write per second of an item up to 1 KB. Requests above the capacity are throttled.
Constructors
ProvisionedThroughput()
public ProvisionedThroughput()
Properties
ReadCapacityUnits
Gets the read capacity units per second. At least 1.
public required long ReadCapacityUnits { get; init; }
Property Value
WriteCapacityUnits
Gets the write capacity units per second. At least 1.
public required long WriteCapacityUnits { get; init; }
Property Value
Methods
Equals(ProvisionedThroughput?)
public bool Equals(ProvisionedThroughput? other)
Parameters
otherProvisionedThroughput
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ProvisionedThroughput?, ProvisionedThroughput?)
public static bool operator ==(ProvisionedThroughput? left, ProvisionedThroughput? right)
Parameters
leftProvisionedThroughputrightProvisionedThroughput
Returns
operator !=(ProvisionedThroughput?, ProvisionedThroughput?)
public static bool operator !=(ProvisionedThroughput? left, ProvisionedThroughput? right)
Parameters
leftProvisionedThroughputrightProvisionedThroughput