-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsdynamodb_CfnGlobalTable_ReplicaSpecificationProperty.go
110 lines (107 loc) · 4.72 KB
/
awsdynamodb_CfnGlobalTable_ReplicaSpecificationProperty.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
package awsdynamodb
import (
"github.com/aws/aws-cdk-go/awscdk"
)
// Defines settings specific to a single replica of a global table.
//
// 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"
//
// replicaSpecificationProperty := &replicaSpecificationProperty{
// region: jsii.String("region"),
//
// // the properties below are optional
// contributorInsightsSpecification: &contributorInsightsSpecificationProperty{
// enabled: jsii.Boolean(false),
// },
// globalSecondaryIndexes: []interface{}{
// &replicaGlobalSecondaryIndexSpecificationProperty{
// indexName: jsii.String("indexName"),
//
// // the properties below are optional
// contributorInsightsSpecification: &contributorInsightsSpecificationProperty{
// enabled: jsii.Boolean(false),
// },
// readProvisionedThroughputSettings: &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),
// },
// },
// },
// pointInTimeRecoverySpecification: &pointInTimeRecoverySpecificationProperty{
// pointInTimeRecoveryEnabled: jsii.Boolean(false),
// },
// readProvisionedThroughputSettings: &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),
// },
// sseSpecification: &replicaSSESpecificationProperty{
// kmsMasterKeyId: jsii.String("kmsMasterKeyId"),
// },
// tableClass: jsii.String("tableClass"),
// tags: []cfnTag{
// &cfnTag{
// key: jsii.String("key"),
// value: jsii.String("value"),
// },
// },
// }
//
type CfnGlobalTable_ReplicaSpecificationProperty struct {
// The region in which this replica exists.
Region *string `field:"required" json:"region" yaml:"region"`
// The settings used to enable or disable CloudWatch Contributor Insights for the specified replica.
//
// When not specified, defaults to contributor insights disabled for the replica.
ContributorInsightsSpecification interface{} `field:"optional" json:"contributorInsightsSpecification" yaml:"contributorInsightsSpecification"`
// Defines additional settings for the global secondary indexes of this replica.
GlobalSecondaryIndexes interface{} `field:"optional" json:"globalSecondaryIndexes" yaml:"globalSecondaryIndexes"`
// The settings used to enable point in time recovery.
//
// When not specified, defaults to point in time recovery disabled for the replica.
PointInTimeRecoverySpecification interface{} `field:"optional" json:"pointInTimeRecoverySpecification" yaml:"pointInTimeRecoverySpecification"`
// Defines read capacity settings for the replica table.
ReadProvisionedThroughputSettings interface{} `field:"optional" json:"readProvisionedThroughputSettings" yaml:"readProvisionedThroughputSettings"`
// Allows you to specify a customer-managed key for the replica.
//
// When using customer-managed keys for server-side encryption, this property must have a value in all replicas.
SseSpecification interface{} `field:"optional" json:"sseSpecification" yaml:"sseSpecification"`
// The table class of the specified table.
//
// Valid values are `STANDARD` and `STANDARD_INFREQUENT_ACCESS` .
TableClass *string `field:"optional" json:"tableClass" yaml:"tableClass"`
// An array of key-value pairs to apply to this replica.
//
// For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}