-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsdynamodb_CfnGlobalTable_ReadProvisionedThroughputSettingsProperty.go
38 lines (35 loc) · 1.71 KB
/
awsdynamodb_CfnGlobalTable_ReadProvisionedThroughputSettingsProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package awsdynamodb
// 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` .
//
// You must specify a value for either `ReadCapacityUnits` or `ReadCapacityAutoScalingSettings` , but not both. You can switch between fixed capacity and auto scaling.
//
// Example:
// // 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"
//
// readProvisionedThroughputSettingsProperty := &readProvisionedThroughputSettingsProperty{
// readCapacityAutoScalingSettings: &capacityAutoScalingSettingsProperty{
// maxCapacity: jsii.Number(123),
// minCapacity: jsii.Number(123),
// targetTrackingScalingPolicyConfiguration: &targetTrackingScalingPolicyConfigurationProperty{
// targetValue: jsii.Number(123),
//
// // the properties below are optional
// disableScaleIn: jsii.Boolean(false),
// scaleInCooldown: jsii.Number(123),
// scaleOutCooldown: jsii.Number(123),
// },
//
// // the properties below are optional
// seedCapacity: jsii.Number(123),
// },
// readCapacityUnits: jsii.Number(123),
// }
//
type CfnGlobalTable_ReadProvisionedThroughputSettingsProperty struct {
// Specifies auto scaling settings for the replica table or global secondary index.
ReadCapacityAutoScalingSettings interface{} `field:"optional" json:"readCapacityAutoScalingSettings" yaml:"readCapacityAutoScalingSettings"`
// Specifies a fixed read capacity for the replica table or global secondary index.
ReadCapacityUnits *float64 `field:"optional" json:"readCapacityUnits" yaml:"readCapacityUnits"`
}