Interface CfnGlobalTable.IReadProvisionedThroughputSettingsProperty
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
.
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IReadProvisionedThroughputSettingsProperty
Syntax (vb)
Public Interface 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
Properties
Read |
Specifies auto scaling settings for the replica table or global secondary index. |
Read |
Specifies a fixed read capacity for the replica table or global secondary index. |
Properties
ReadCapacityAutoScalingSettings
Specifies auto scaling settings for the replica table or global secondary index.
virtual object ReadCapacityAutoScalingSettings { get; }
Property Value
System.
Remarks
ReadCapacityUnits
Specifies a fixed read capacity for the replica table or global secondary index.
virtual Nullable<double> ReadCapacityUnits { get; }
Property Value
System.