ReadOnDemandThroughputSettingsProperty Struct
Sets the read request settings for a replica table or a replica global secondary index.
You can only specify this setting if your resource uses the PAY_PER_REQUEST BillingMode .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dynamodb as dynamodb } from 'aws-cdk-lib';
const readOnDemandThroughputSettingsProperty: dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty = {
maxReadRequestUnits: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_dynamodb as dynamodb
read_on_demand_throughput_settings_property = dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty(
max_read_request_units=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.dynamodb.*;
ReadOnDemandThroughputSettingsProperty readOnDemandThroughputSettingsProperty = ReadOnDemandThroughputSettingsProperty.builder()
.maxReadRequestUnits(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 readOnDemandThroughputSettingsProperty = new ReadOnDemandThroughputSettingsProperty {
MaxReadRequestUnits = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
readOnDemandThroughputSettingsProperty := &ReadOnDemandThroughputSettingsProperty{
MaxReadRequestUnits: jsii.Number(123),
}
Properties
maxReadRequestUnitsoptionalnumbermax_read_request_unitsoptionalint | floatmaxReadRequestUnitsoptionalNumberMaxReadRequestUnitsoptionaldoubleMaxReadRequestUnitsoptional*float64 #Maximum number of read request units for the specified replica of a global table.