aws-cdk-lib.aws_dynamodb.CfnGlobalTable.WriteProvisionedThroughputSettingsProperty

interface WriteProvisionedThroughputSettingsProperty

LanguageType name
.NETAmazon.CDK.AWS.DynamoDB.CfnGlobalTable.WriteProvisionedThroughputSettingsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdynamodb#CfnGlobalTable_WriteProvisionedThroughputSettingsProperty
Javasoftware.amazon.awscdk.services.dynamodb.CfnGlobalTable.WriteProvisionedThroughputSettingsProperty
Pythonaws_cdk.aws_dynamodb.CfnGlobalTable.WriteProvisionedThroughputSettingsProperty
TypeScript aws-cdk-lib » aws_dynamodb » CfnGlobalTable » WriteProvisionedThroughputSettingsProperty

Specifies an auto scaling policy for write capacity.

This policy will be applied to all replicas. This setting must be specified if BillingMode is set to PROVISIONED .

Example

// 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 writeProvisionedThroughputSettingsProperty: dynamodb.CfnGlobalTable.WriteProvisionedThroughputSettingsProperty = {
  writeCapacityAutoScalingSettings: {
    maxCapacity: 123,
    minCapacity: 123,
    targetTrackingScalingPolicyConfiguration: {
      targetValue: 123,

      // the properties below are optional
      disableScaleIn: false,
      scaleInCooldown: 123,
      scaleOutCooldown: 123,
    },

    // the properties below are optional
    seedCapacity: 123,
  },
};

Properties

NameTypeDescription
writeCapacityAutoScalingSettings?IResolvable | CapacityAutoScalingSettingsPropertySpecifies auto scaling settings for the replica table or global secondary index.

writeCapacityAutoScalingSettings?

Type: IResolvable | CapacityAutoScalingSettingsProperty (optional)

Specifies auto scaling settings for the replica table or global secondary index.