@awboost/cfn-resource-types 0.1.69 → 0.1.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -25,6 +25,7 @@ export type DynamoDBGlobalTableProperties = {
|
|
|
25
25
|
StreamSpecification?: StreamSpecification;
|
|
26
26
|
TableName?: string;
|
|
27
27
|
TimeToLiveSpecification?: TimeToLiveSpecification;
|
|
28
|
+
WriteOnDemandThroughputSettings?: WriteOnDemandThroughputSettings;
|
|
28
29
|
WriteProvisionedThroughputSettings?: WriteProvisionedThroughputSettings;
|
|
29
30
|
};
|
|
30
31
|
/**
|
|
@@ -90,6 +91,7 @@ export type GlobalSecondaryIndex = {
|
|
|
90
91
|
*/
|
|
91
92
|
KeySchema: KeySchema[];
|
|
92
93
|
Projection: Projection;
|
|
94
|
+
WriteOnDemandThroughputSettings?: WriteOnDemandThroughputSettings;
|
|
93
95
|
WriteProvisionedThroughputSettings?: WriteProvisionedThroughputSettings;
|
|
94
96
|
};
|
|
95
97
|
/**
|
|
@@ -146,6 +148,16 @@ export type Projection = {
|
|
|
146
148
|
NonKeyAttributes?: string[];
|
|
147
149
|
ProjectionType?: string;
|
|
148
150
|
};
|
|
151
|
+
/**
|
|
152
|
+
* Type definition for `AWS::DynamoDB::GlobalTable.ReadOnDemandThroughputSettings`.
|
|
153
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-readondemandthroughputsettings.html}
|
|
154
|
+
*/
|
|
155
|
+
export type ReadOnDemandThroughputSettings = {
|
|
156
|
+
/**
|
|
157
|
+
* @min `1`
|
|
158
|
+
*/
|
|
159
|
+
MaxReadRequestUnits?: number;
|
|
160
|
+
};
|
|
149
161
|
/**
|
|
150
162
|
* Type definition for `AWS::DynamoDB::GlobalTable.ReadProvisionedThroughputSettings`.
|
|
151
163
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-readprovisionedthroughputsettings.html}
|
|
@@ -168,6 +180,7 @@ export type ReplicaGlobalSecondaryIndexSpecification = {
|
|
|
168
180
|
* @maxLength `255`
|
|
169
181
|
*/
|
|
170
182
|
IndexName: string;
|
|
183
|
+
ReadOnDemandThroughputSettings?: ReadOnDemandThroughputSettings;
|
|
171
184
|
ReadProvisionedThroughputSettings?: ReadProvisionedThroughputSettings;
|
|
172
185
|
};
|
|
173
186
|
/**
|
|
@@ -180,6 +193,7 @@ export type ReplicaSpecification = {
|
|
|
180
193
|
GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndexSpecification[];
|
|
181
194
|
KinesisStreamSpecification?: KinesisStreamSpecification;
|
|
182
195
|
PointInTimeRecoverySpecification?: PointInTimeRecoverySpecification;
|
|
196
|
+
ReadOnDemandThroughputSettings?: ReadOnDemandThroughputSettings;
|
|
183
197
|
ReadProvisionedThroughputSettings?: ReadProvisionedThroughputSettings;
|
|
184
198
|
Region: string;
|
|
185
199
|
ReplicaStreamSpecification?: ReplicaStreamSpecification;
|
|
@@ -256,6 +270,16 @@ export type TimeToLiveSpecification = {
|
|
|
256
270
|
AttributeName?: string;
|
|
257
271
|
Enabled: boolean;
|
|
258
272
|
};
|
|
273
|
+
/**
|
|
274
|
+
* Type definition for `AWS::DynamoDB::GlobalTable.WriteOnDemandThroughputSettings`.
|
|
275
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-writeondemandthroughputsettings.html}
|
|
276
|
+
*/
|
|
277
|
+
export type WriteOnDemandThroughputSettings = {
|
|
278
|
+
/**
|
|
279
|
+
* @min `1`
|
|
280
|
+
*/
|
|
281
|
+
MaxWriteRequestUnits?: number;
|
|
282
|
+
};
|
|
259
283
|
/**
|
|
260
284
|
* Type definition for `AWS::DynamoDB::GlobalTable.WriteProvisionedThroughputSettings`.
|
|
261
285
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-writeprovisionedthroughputsettings.html}
|
|
@@ -58,6 +58,7 @@ export type DynamoDBTableProperties = {
|
|
|
58
58
|
* Local secondary indexes to be created on the table. You can create up to 5 local secondary indexes. Each index is scoped to a given hash key value. The size of each hash key can be up to 10 gigabytes.
|
|
59
59
|
*/
|
|
60
60
|
LocalSecondaryIndexes?: LocalSecondaryIndex[];
|
|
61
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
61
62
|
/**
|
|
62
63
|
* The settings used to enable point in time recovery.
|
|
63
64
|
*/
|
|
@@ -175,6 +176,7 @@ export type GlobalSecondaryIndex = {
|
|
|
175
176
|
The sort key of an item is also known as its *range attribute*. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
|
|
176
177
|
*/
|
|
177
178
|
KeySchema: KeySchema[];
|
|
179
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
178
180
|
/**
|
|
179
181
|
* Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
|
|
180
182
|
*/
|
|
@@ -281,6 +283,20 @@ export type LocalSecondaryIndex = {
|
|
|
281
283
|
*/
|
|
282
284
|
Projection: Projection;
|
|
283
285
|
};
|
|
286
|
+
/**
|
|
287
|
+
* Type definition for `AWS::DynamoDB::Table.OnDemandThroughput`.
|
|
288
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ondemandthroughput.html}
|
|
289
|
+
*/
|
|
290
|
+
export type OnDemandThroughput = {
|
|
291
|
+
/**
|
|
292
|
+
* @min `1`
|
|
293
|
+
*/
|
|
294
|
+
MaxReadRequestUnits?: number;
|
|
295
|
+
/**
|
|
296
|
+
* @min `1`
|
|
297
|
+
*/
|
|
298
|
+
MaxWriteRequestUnits?: number;
|
|
299
|
+
};
|
|
284
300
|
/**
|
|
285
301
|
* Type definition for `AWS::DynamoDB::Table.PointInTimeRecoverySpecification`.
|
|
286
302
|
* The settings used to enable point in time recovery.
|