Class CfnGlobalTable.ReadProvisionedThroughputSettingsProperty
Allows you to specify the read capacity settings for a replica table or a replica global secondary index when the BillingMode
is set to PROVISIONED
.
Inheritance
System.Object
CfnGlobalTable.ReadProvisionedThroughputSettingsProperty
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ReadProvisionedThroughputSettingsProperty : Object, CfnGlobalTable.IReadProvisionedThroughputSettingsProperty
Syntax (vb)
Public Class ReadProvisionedThroughputSettingsProperty
Inherits Object
Implements CfnGlobalTable.IReadProvisionedThroughputSettingsProperty
Remarks
You must specify a value for either ReadCapacityUnits
or ReadCapacityAutoScalingSettings
, but not both. You can switch between fixed capacity and auto scaling.
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.DynamoDB;
var readProvisionedThroughputSettingsProperty = new ReadProvisionedThroughputSettingsProperty {
ReadCapacityAutoScalingSettings = new CapacityAutoScalingSettingsProperty {
MaxCapacity = 123,
MinCapacity = 123,
TargetTrackingScalingPolicyConfiguration = new TargetTrackingScalingPolicyConfigurationProperty {
TargetValue = 123,
// the properties below are optional
DisableScaleIn = false,
ScaleInCooldown = 123,
ScaleOutCooldown = 123
},
// the properties below are optional
SeedCapacity = 123
},
ReadCapacityUnits = 123
};
Synopsis
Constructors
ReadProvisionedThroughputSettingsProperty() |
Properties
ReadCapacityAutoScalingSettings | Specifies auto scaling settings for the replica table or global secondary index. |
ReadCapacityUnits | Specifies a fixed read capacity for the replica table or global secondary index. |
Constructors
ReadProvisionedThroughputSettingsProperty()
public ReadProvisionedThroughputSettingsProperty()
Properties
ReadCapacityAutoScalingSettings
Specifies auto scaling settings for the replica table or global secondary index.
public object ReadCapacityAutoScalingSettings { get; set; }
Property Value
System.Object
Remarks
ReadCapacityUnits
Specifies a fixed read capacity for the replica table or global secondary index.
public Nullable<double> ReadCapacityUnits { get; set; }
Property Value
System.Nullable<System.Double>