@awboost/cfn-resource-types 0.1.25 → 0.1.26

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.
Files changed (51) hide show
  1. package/lib/AWS-ApiGateway-Authorizer.d.ts +1 -1
  2. package/lib/AWS-ApiGateway-Method.d.ts +2 -2
  3. package/lib/AWS-CloudFront-Distribution.d.ts +568 -2
  4. package/lib/AWS-CloudFront-Distribution.js +2 -1
  5. package/lib/AWS-Config-ConfigRule.d.ts +61 -43
  6. package/lib/AWS-Config-ConfigRule.js +4 -1
  7. package/lib/AWS-Connect-Prompt.d.ts +1 -1
  8. package/lib/AWS-ControlTower-EnabledControl.d.ts +25 -0
  9. package/lib/AWS-DynamoDB-Table.d.ts +245 -11
  10. package/lib/AWS-DynamoDB-Table.js +5 -1
  11. package/lib/AWS-EC2-ClientVpnEndpoint.d.ts +0 -8
  12. package/lib/AWS-EC2-EC2Fleet.d.ts +1 -0
  13. package/lib/AWS-EC2-EIP.d.ts +31 -19
  14. package/lib/AWS-EC2-EIP.js +4 -1
  15. package/lib/AWS-EC2-LaunchTemplate.d.ts +422 -205
  16. package/lib/AWS-EC2-LaunchTemplate.js +8 -1
  17. package/lib/AWS-EC2-SecurityGroupEgress.d.ts +34 -19
  18. package/lib/AWS-EC2-SecurityGroupEgress.js +6 -1
  19. package/lib/AWS-EC2-SpotFleet.d.ts +1 -0
  20. package/lib/AWS-EC2-Volume.d.ts +68 -20
  21. package/lib/AWS-EC2-Volume.js +9 -1
  22. package/lib/AWS-ElastiCache-ParameterGroup.d.ts +1 -0
  23. package/lib/AWS-GameLift-Fleet.d.ts +1 -1
  24. package/lib/AWS-Glue-DataCatalogEncryptionSettings.d.ts +1 -0
  25. package/lib/AWS-Glue-TableOptimizer.d.ts +2 -2
  26. package/lib/AWS-IAM-GroupPolicy.d.ts +19 -8
  27. package/lib/AWS-IAM-GroupPolicy.js +3 -1
  28. package/lib/AWS-Lambda-Function.d.ts +78 -62
  29. package/lib/AWS-Lambda-Function.js +3 -1
  30. package/lib/AWS-Lambda-Permission.d.ts +29 -19
  31. package/lib/AWS-Lambda-Permission.js +3 -1
  32. package/lib/AWS-MediaPackageV2-Channel.d.ts +32 -4
  33. package/lib/AWS-MediaPackageV2-Channel.js +2 -1
  34. package/lib/AWS-MediaPackageV2-ChannelGroup.d.ts +18 -3
  35. package/lib/AWS-MediaPackageV2-ChannelGroup.js +2 -1
  36. package/lib/AWS-MediaPackageV2-ChannelPolicy.d.ts +6 -4
  37. package/lib/AWS-MediaPackageV2-ChannelPolicy.js +2 -1
  38. package/lib/AWS-MediaPackageV2-OriginEndpoint.d.ts +4 -4
  39. package/lib/AWS-MediaPackageV2-OriginEndpointPolicy.d.ts +7 -5
  40. package/lib/AWS-MediaPackageV2-OriginEndpointPolicy.js +2 -1
  41. package/lib/AWS-RDS-DBCluster.d.ts +0 -4
  42. package/lib/AWS-RDS-DBInstance.d.ts +491 -181
  43. package/lib/AWS-RDS-DBInstance.js +5 -1
  44. package/lib/AWS-RDS-DBParameterGroup.d.ts +41 -15
  45. package/lib/AWS-RDS-DBParameterGroup.js +5 -1
  46. package/lib/AWS-RDS-DBSubnetGroup.d.ts +20 -8
  47. package/lib/AWS-RDS-DBSubnetGroup.js +2 -1
  48. package/lib/AWS-SageMaker-FeatureGroup.d.ts +25 -0
  49. package/lib/AWS-SecretsManager-Secret.d.ts +51 -32
  50. package/lib/AWS-SecretsManager-Secret.js +6 -1
  51. package/package.json +1 -1
@@ -1,27 +1,97 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
3
  /**
4
- * Version: None. Resource Type definition for AWS::DynamoDB::Table
4
+ * The ``AWS::DynamoDB::Table`` resource creates a DDB table. For more information, see [CreateTable](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html) in the *API Reference*.
5
+ You should be aware of the following behaviors when working with DDB tables:
6
+ + CFNlong typically creates DDB tables in parallel. However, if your template includes multiple DDB tables with indexes, you must declare dependencies so that the tables are created sequentially. DDBlong limits the number of tables with secondary indexes that are in the creating state. If you create multiple tables with indexes at the same time, DDB returns an error and the stack operation fails. For an example, see [DynamoDB Table with a DependsOn Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#aws-resource-dynamodb-table--examples--DynamoDB_Table_with_a_DependsOn_Attribute).
7
+
8
+ Our guidance is to use the latest schema documented here for y
5
9
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html}
6
10
  */
7
11
  export type DynamoDBTableProperties = {
12
+ /**
13
+ * A list of attributes that describe the key schema for the table and indexes.
14
+ This property is required to create a DDB table.
15
+ Update requires: [Some interruptions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt). Replacement if you edit an existing AttributeDefinition.
16
+ */
8
17
  AttributeDefinitions?: AttributeDefinition[];
18
+ /**
19
+ * Specify how you are charged for read and write throughput and how you manage capacity.
20
+ Valid values include:
21
+ + ``PROVISIONED`` - We recommend using ``PROVISIONED`` for predictable workloads. ``PROVISIONED`` sets the billing mode to [Provisioned Mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.ProvisionedThroughput.Manual).
22
+ + ``PAY_PER_REQUEST`` - We recommend using ``PAY_PER_REQUEST`` for unpredictable workloads. ``PAY_PER_REQUEST`` sets the billing mode to [On-Demand Mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.OnDemand).
23
+
24
+ If not specified, the default is ``PROVISIONED``.
25
+ */
9
26
  BillingMode?: string;
27
+ /**
28
+ * The settings used to enable or disable CloudWatch Contributor Insights for the specified table.
29
+ */
10
30
  ContributorInsightsSpecification?: ContributorInsightsSpecification;
31
+ /**
32
+ * Determines if a table is protected from deletion. When enabled, the table cannot be deleted by any user or process. This setting is disabled by default. For more information, see [Using deletion protection](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.Basics.html#WorkingWithTables.Basics.DeletionProtection) in the *Developer Guide*.
33
+ */
11
34
  DeletionProtectionEnabled?: boolean;
35
+ /**
36
+ * Global secondary indexes to be created on the table. You can create up to 20 global secondary indexes.
37
+ If you update a table to include a new global secondary index, CFNlong initiates the index creation and then proceeds with the stack update. CFNlong doesn't wait for the index to complete creation because the backfilling phase can take a long time, depending on the size of the table. You can't use the index or update the table until the index's status is ``ACTIVE``. You can track its status by using the DynamoDB [DescribeTable](https://docs.aws.amazon.com/cli/latest/reference/dynamodb/describe-table.html) command.
38
+ If you add or delete an index during an update, we recommend that you don't update any other resources. If your stack fails to update and is rolled back while adding a new index, you must manually delete the index.
39
+ Updates are not supported. The following are exceptions:
40
+ + If you update either the contributor insights specification or the provisioned throughput value
41
+ */
12
42
  GlobalSecondaryIndexes?: GlobalSecondaryIndex[];
43
+ /**
44
+ * Specifies the properties of data being imported from the S3 bucket source to the table.
45
+ If you specify the ``ImportSourceSpecification`` property, and also specify either the ``StreamSpecification``, the ``TableClass`` property, or the ``DeletionProtectionEnabled`` property, the IAM entity creating/updating stack must have ``UpdateTable`` permission.
46
+ */
13
47
  ImportSourceSpecification?: ImportSourceSpecification;
48
+ /**
49
+ * Specifies the attributes that make up the primary key for the table. The attributes in the ``KeySchema`` property must also be defined in the ``AttributeDefinitions`` property.
50
+ */
14
51
  KeySchema: KeySchema[] | Record<string, any>;
52
+ /**
53
+ * The Kinesis Data Streams configuration for the specified table.
54
+ */
15
55
  KinesisStreamSpecification?: KinesisStreamSpecification;
56
+ /**
57
+ * 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.
58
+ */
16
59
  LocalSecondaryIndexes?: LocalSecondaryIndex[];
60
+ /**
61
+ * The settings used to enable point in time recovery.
62
+ */
17
63
  PointInTimeRecoverySpecification?: PointInTimeRecoverySpecification;
64
+ /**
65
+ * Throughput for the specified table, which consists of values for ``ReadCapacityUnits`` and ``WriteCapacityUnits``. For more information about the contents of a provisioned throughput structure, see [Amazon DynamoDB Table ProvisionedThroughput](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ProvisionedThroughput.html).
66
+ If you set ``BillingMode`` as ``PROVISIONED``, you must specify this property. If you set ``BillingMode`` as ``PAY_PER_REQUEST``, you cannot specify this property.
67
+ */
18
68
  ProvisionedThroughput?: ProvisionedThroughput;
19
- ResourcePolicy?: ResourcePolicy;
69
+ /**
70
+ * Specifies the settings to enable server-side encryption.
71
+ */
20
72
  SSESpecification?: SSESpecification;
73
+ /**
74
+ * The settings for the DDB table stream, which capture changes to items stored in the table.
75
+ */
21
76
  StreamSpecification?: StreamSpecification;
77
+ /**
78
+ * The table class of the new table. Valid values are ``STANDARD`` and ``STANDARD_INFREQUENT_ACCESS``.
79
+ */
22
80
  TableClass?: string;
81
+ /**
82
+ * A name for the table. If you don't specify a name, CFNlong generates a unique physical ID and uses that ID for the table name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html).
83
+ If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
84
+ */
23
85
  TableName?: string;
86
+ /**
87
+ * An array of key-value pairs to apply to this resource.
88
+ For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
89
+ */
24
90
  Tags?: Tag[];
91
+ /**
92
+ * Specifies the Time to Live (TTL) settings for the table.
93
+ For detailed information about the limits in DynamoDB, see [Limits in Amazon DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) in the Amazon DynamoDB Developer Guide.
94
+ */
25
95
  TimeToLiveSpecification?: TimeToLiveSpecification;
26
96
  };
27
97
  /**
@@ -34,154 +104,318 @@ export type DynamoDBTableAttributes = {
34
104
  };
35
105
  /**
36
106
  * Type definition for `AWS::DynamoDB::Table.AttributeDefinition`.
107
+ * Represents an attribute for describing the key schema for the table and indexes.
37
108
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-attributedefinition.html}
38
109
  */
39
110
  export type AttributeDefinition = {
111
+ /**
112
+ * A name for the attribute.
113
+ */
40
114
  AttributeName: string;
115
+ /**
116
+ * The data type for the attribute, where:
117
+ + ``S`` - the attribute is of type String
118
+ + ``N`` - the attribute is of type Number
119
+ + ``B`` - the attribute is of type Binary
120
+ */
41
121
  AttributeType: string;
42
122
  };
43
123
  /**
44
124
  * Type definition for `AWS::DynamoDB::Table.ContributorInsightsSpecification`.
125
+ * The settings used to enable or disable CloudWatch Contributor Insights.
45
126
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-contributorinsightsspecification.html}
46
127
  */
47
128
  export type ContributorInsightsSpecification = {
129
+ /**
130
+ * Indicates whether CloudWatch Contributor Insights are to be enabled (true) or disabled (false).
131
+ */
48
132
  Enabled: boolean;
49
133
  };
50
134
  /**
51
135
  * Type definition for `AWS::DynamoDB::Table.Csv`.
136
+ * The options for imported source files in CSV format. The values are Delimiter and HeaderList.
52
137
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-csv.html}
53
138
  */
54
139
  export type Csv = {
140
+ /**
141
+ * The delimiter used for separating items in the CSV file being imported.
142
+ */
55
143
  Delimiter?: string;
144
+ /**
145
+ * List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.
146
+ */
56
147
  HeaderList?: string[];
57
148
  };
58
149
  /**
59
150
  * Type definition for `AWS::DynamoDB::Table.GlobalSecondaryIndex`.
151
+ * Represents the properties of a global secondary index.
60
152
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-globalsecondaryindex.html}
61
153
  */
62
154
  export type GlobalSecondaryIndex = {
155
+ /**
156
+ * The settings used to enable or disable CloudWatch Contributor Insights for the specified global secondary index.
157
+ */
63
158
  ContributorInsightsSpecification?: ContributorInsightsSpecification;
159
+ /**
160
+ * The name of the global secondary index. The name must be unique among all other indexes on this table.
161
+ */
64
162
  IndexName: string;
163
+ /**
164
+ * The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:
165
+ + ``HASH`` - partition key
166
+ + ``RANGE`` - sort key
167
+
168
+ The partition key of an item is also known as its *hash attribute*. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
169
+ 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.
170
+ */
65
171
  KeySchema: KeySchema[];
172
+ /**
173
+ * 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.
174
+ */
66
175
  Projection: Projection;
176
+ /**
177
+ * Represents the provisioned throughput settings for the specified global secondary index.
178
+ For current minimum and maximum provisioned throughput values, see [Service, Account, and Table Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) in the *Amazon DynamoDB Developer Guide*.
179
+ */
67
180
  ProvisionedThroughput?: ProvisionedThroughput;
68
181
  };
69
182
  /**
70
183
  * Type definition for `AWS::DynamoDB::Table.ImportSourceSpecification`.
184
+ * Specifies the properties of data being imported from the S3 bucket source to the table.
71
185
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-importsourcespecification.html}
72
186
  */
73
187
  export type ImportSourceSpecification = {
188
+ /**
189
+ * Type of compression to be used on the input coming from the imported table.
190
+ */
74
191
  InputCompressionType?: string;
192
+ /**
193
+ * The format of the source data. Valid values for ``ImportFormat`` are ``CSV``, ``DYNAMODB_JSON`` or ``ION``.
194
+ */
75
195
  InputFormat: string;
196
+ /**
197
+ * Additional properties that specify how the input is formatted,
198
+ */
76
199
  InputFormatOptions?: InputFormatOptions;
200
+ /**
201
+ * The S3 bucket that provides the source for the import.
202
+ */
77
203
  S3BucketSource: S3BucketSource;
78
204
  };
79
205
  /**
80
206
  * Type definition for `AWS::DynamoDB::Table.InputFormatOptions`.
207
+ * The format options for the data that was imported into the target table. There is one value, CsvOption.
81
208
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-inputformatoptions.html}
82
209
  */
83
210
  export type InputFormatOptions = {
211
+ /**
212
+ * The options for imported source files in CSV format. The values are Delimiter and HeaderList.
213
+ */
84
214
  Csv?: Csv;
85
215
  };
86
216
  /**
87
217
  * Type definition for `AWS::DynamoDB::Table.KeySchema`.
218
+ * Represents *a single element* of a key schema. A key schema specifies the attributes that make up the primary key of a table, or the key attributes of an index.
219
+ A ``KeySchemaElement`` represents exactly one attribute of the primary key. For example, a simple primary key would be represented by one ``KeySchemaElement`` (for the partition key). A composite primary key would require one ``KeySchemaElement`` for the partition key, and another ``KeySchemaElement`` for the sort key.
220
+ A ``KeySchemaElement`` must be a scalar, top-level attribute (not a nested attribute). The data type must be one of String, Number, or Binary. The attribute cannot be nested within a List or a Map.
88
221
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-keyschema.html}
89
222
  */
90
223
  export type KeySchema = {
224
+ /**
225
+ * The name of a key attribute.
226
+ */
91
227
  AttributeName: string;
228
+ /**
229
+ * The role that this key attribute will assume:
230
+ + ``HASH`` - partition key
231
+ + ``RANGE`` - sort key
232
+
233
+ The partition key of an item is also known as its *hash attribute*. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
234
+ 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.
235
+ */
92
236
  KeyType: string;
93
237
  };
94
238
  /**
95
239
  * Type definition for `AWS::DynamoDB::Table.KinesisStreamSpecification`.
240
+ * The Kinesis Data Streams configuration for the specified table.
96
241
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-kinesisstreamspecification.html}
97
242
  */
98
243
  export type KinesisStreamSpecification = {
244
+ /**
245
+ * The precision for the time and date that the stream was created.
246
+ */
99
247
  ApproximateCreationDateTimePrecision?: "MICROSECOND" | "MILLISECOND";
248
+ /**
249
+ * The ARN for a specific Kinesis data stream.
250
+ Length Constraints: Minimum length of 37. Maximum length of 1024.
251
+ */
100
252
  StreamArn: string;
101
253
  };
102
254
  /**
103
255
  * Type definition for `AWS::DynamoDB::Table.LocalSecondaryIndex`.
256
+ * Represents the properties of a local secondary index. A local secondary index can only be created when its parent table is created.
104
257
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-localsecondaryindex.html}
105
258
  */
106
259
  export type LocalSecondaryIndex = {
260
+ /**
261
+ * The name of the local secondary index. The name must be unique among all other indexes on this table.
262
+ */
107
263
  IndexName: string;
264
+ /**
265
+ * The complete key schema for the local secondary index, consisting of one or more pairs of attribute names and key types:
266
+ + ``HASH`` - partition key
267
+ + ``RANGE`` - sort key
268
+
269
+ The partition key of an item is also known as its *hash attribute*. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
270
+ 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.
271
+ */
108
272
  KeySchema: KeySchema[];
273
+ /**
274
+ * Represents attributes that are copied (projected) from the table into the local secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
275
+ */
109
276
  Projection: Projection;
110
277
  };
111
278
  /**
112
279
  * Type definition for `AWS::DynamoDB::Table.PointInTimeRecoverySpecification`.
280
+ * The settings used to enable point in time recovery.
113
281
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-pointintimerecoveryspecification.html}
114
282
  */
115
283
  export type PointInTimeRecoverySpecification = {
284
+ /**
285
+ * Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.
286
+ */
116
287
  PointInTimeRecoveryEnabled?: boolean;
117
288
  };
118
289
  /**
119
290
  * Type definition for `AWS::DynamoDB::Table.Projection`.
291
+ * Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
120
292
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-projection.html}
121
293
  */
122
294
  export type Projection = {
295
+ /**
296
+ * Represents the non-key attribute names which will be projected into the index.
297
+ For local secondary indexes, the total count of ``NonKeyAttributes`` summed across all of the local secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.
298
+ */
123
299
  NonKeyAttributes?: string[];
300
+ /**
301
+ * The set of attributes that are projected into the index:
302
+ + ``KEYS_ONLY`` - Only the index and primary keys are projected into the index.
303
+ + ``INCLUDE`` - In addition to the attributes described in ``KEYS_ONLY``, the secondary index will include other non-key attributes that you specify.
304
+ + ``ALL`` - All of the table attributes are projected into the index.
305
+ */
124
306
  ProjectionType?: string;
125
307
  };
126
308
  /**
127
309
  * Type definition for `AWS::DynamoDB::Table.ProvisionedThroughput`.
310
+ * Throughput for the specified table, which consists of values for ``ReadCapacityUnits`` and ``WriteCapacityUnits``. For more information about the contents of a provisioned throughput structure, see [Table ProvisionedThroughput](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ProvisionedThroughput.html).
128
311
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-provisionedthroughput.html}
129
312
  */
130
313
  export type ProvisionedThroughput = {
314
+ /**
315
+ * The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ``ThrottlingException``. For more information, see [Specifying Read and Write Requirements](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html) in the *Amazon DynamoDB Developer Guide*.
316
+ If read/write capacity mode is ``PAY_PER_REQUEST`` the value is set to 0.
317
+ */
131
318
  ReadCapacityUnits: number;
319
+ /**
320
+ * The maximum number of writes consumed per second before DynamoDB returns a ``ThrottlingException``. For more information, see [Specifying Read and Write Requirements](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html) in the *Amazon DynamoDB Developer Guide*.
321
+ If read/write capacity mode is ``PAY_PER_REQUEST`` the value is set to 0.
322
+ */
132
323
  WriteCapacityUnits: number;
133
324
  };
134
- /**
135
- * Type definition for `AWS::DynamoDB::Table.ResourcePolicy`.
136
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-resourcepolicy.html}
137
- */
138
- export type ResourcePolicy = {
139
- PolicyDocument: Record<string, any>;
140
- };
141
325
  /**
142
326
  * Type definition for `AWS::DynamoDB::Table.S3BucketSource`.
327
+ * The S3 bucket that is being imported from.
143
328
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-s3bucketsource.html}
144
329
  */
145
330
  export type S3BucketSource = {
331
+ /**
332
+ * The S3 bucket that is being imported from.
333
+ */
146
334
  S3Bucket: string;
335
+ /**
336
+ * The account number of the S3 bucket that is being imported from. If the bucket is owned by the requester this is optional.
337
+ */
147
338
  S3BucketOwner?: string;
339
+ /**
340
+ * The key prefix shared by all S3 Objects that are being imported.
341
+ */
148
342
  S3KeyPrefix?: string;
149
343
  };
150
344
  /**
151
345
  * Type definition for `AWS::DynamoDB::Table.SSESpecification`.
346
+ * Represents the settings used to enable server-side encryption.
152
347
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ssespecification.html}
153
348
  */
154
349
  export type SSESpecification = {
350
+ /**
351
+ * The KMS key that should be used for the KMS encryption. To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB key ``alias/aws/dynamodb``.
352
+ */
155
353
  KMSMasterKeyId?: string;
354
+ /**
355
+ * Indicates whether server-side encryption is done using an AWS managed key or an AWS owned key. If enabled (true), server-side encryption type is set to ``KMS`` and an AWS managed key is used (KMS charges apply). If disabled (false) or not specified, server-side encryption is set to AWS owned key.
356
+ */
156
357
  SSEEnabled: boolean;
358
+ /**
359
+ * Server-side encryption type. The only supported value is:
360
+ + ``KMS`` - Server-side encryption that uses KMSlong. The key is stored in your account and is managed by KMS (KMS charges apply).
361
+ */
157
362
  SSEType?: string;
158
363
  };
159
364
  /**
160
365
  * Type definition for `AWS::DynamoDB::Table.StreamSpecification`.
366
+ * Represents the DynamoDB Streams configuration for a table in DynamoDB.
161
367
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-streamspecification.html}
162
368
  */
163
369
  export type StreamSpecification = {
164
- ResourcePolicy?: ResourcePolicy;
370
+ /**
371
+ * When an item in the table is modified, ``StreamViewType`` determines what information is written to the stream for this table. Valid values for ``StreamViewType`` are:
372
+ + ``KEYS_ONLY`` - Only the key attributes of the modified item are written to the stream.
373
+ + ``NEW_IMAGE`` - The entire item, as it appears after it was modified, is written to the stream.
374
+ + ``OLD_IMAGE`` - The entire item, as it appeared before it was modified, is written to the stream.
375
+ + ``NEW_AND_OLD_IMAGES`` - Both the new and the old item images of the item are written to the stream.
376
+ */
165
377
  StreamViewType: string;
166
378
  };
167
379
  /**
168
380
  * Type definition for `AWS::DynamoDB::Table.Tag`.
381
+ * Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a single DynamoDB table.
382
+ AWS-assigned tag names and values are automatically assigned the ``aws:`` prefix, which the user cannot assign. AWS-assigned tag names do not count towards the tag limit of 50. User-assigned tag names have the prefix ``user:`` in the Cost Allocation Report. You cannot backdate the application of a tag.
383
+ For an overview on tagging DynamoDB resources, see [Tagging for DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html) in the *Amazon DynamoDB Developer Guide*.
169
384
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-tag.html}
170
385
  */
171
386
  export type Tag = {
387
+ /**
388
+ * The key of the tag. Tag keys are case sensitive. Each DynamoDB table can only have up to one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value.
389
+ */
172
390
  Key: string;
391
+ /**
392
+ * The value of the tag. Tag values are case-sensitive and can be null.
393
+ */
173
394
  Value: string;
174
395
  };
175
396
  /**
176
397
  * Type definition for `AWS::DynamoDB::Table.TimeToLiveSpecification`.
398
+ * Represents the settings used to enable or disable Time to Live (TTL) for the specified table.
177
399
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-timetolivespecification.html}
178
400
  */
179
401
  export type TimeToLiveSpecification = {
402
+ /**
403
+ * The name of the TTL attribute used to store the expiration time for items in the table.
404
+ + The ``AttributeName`` property is required when enabling the TTL, or when TTL is already enabled.
405
+ + To update this property, you must first disable TTL and then enable TTL with the new attribute name.
406
+ */
180
407
  AttributeName?: string;
408
+ /**
409
+ * Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
410
+ */
181
411
  Enabled: boolean;
182
412
  };
183
413
  /**
184
- * Version: None. Resource Type definition for AWS::DynamoDB::Table
414
+ * The ``AWS::DynamoDB::Table`` resource creates a DDB table. For more information, see [CreateTable](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html) in the *API Reference*.
415
+ You should be aware of the following behaviors when working with DDB tables:
416
+ + CFNlong typically creates DDB tables in parallel. However, if your template includes multiple DDB tables with indexes, you must declare dependencies so that the tables are created sequentially. DDBlong limits the number of tables with secondary indexes that are in the creating state. If you create multiple tables with indexes at the same time, DDB returns an error and the stack operation fails. For an example, see [DynamoDB Table with a DependsOn Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#aws-resource-dynamodb-table--examples--DynamoDB_Table_with_a_DependsOn_Attribute).
417
+
418
+ Our guidance is to use the latest schema documented here for y
185
419
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html}
186
420
  */
187
421
  export declare class DynamoDBTable extends $Resource<"AWS::DynamoDB::Table", DynamoDBTableProperties, DynamoDBTableAttributes> {
@@ -1,6 +1,10 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * Version: None. Resource Type definition for AWS::DynamoDB::Table
3
+ * The ``AWS::DynamoDB::Table`` resource creates a DDB table. For more information, see [CreateTable](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html) in the *API Reference*.
4
+ You should be aware of the following behaviors when working with DDB tables:
5
+ + CFNlong typically creates DDB tables in parallel. However, if your template includes multiple DDB tables with indexes, you must declare dependencies so that the tables are created sequentially. DDBlong limits the number of tables with secondary indexes that are in the creating state. If you create multiple tables with indexes at the same time, DDB returns an error and the stack operation fails. For an example, see [DynamoDB Table with a DependsOn Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#aws-resource-dynamodb-table--examples--DynamoDB_Table_with_a_DependsOn_Attribute).
6
+
7
+ Our guidance is to use the latest schema documented here for y
4
8
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html}
5
9
  */
6
10
  export class DynamoDBTable extends $Resource {
@@ -9,7 +9,6 @@ export type EC2ClientVpnEndpointProperties = {
9
9
  ClientCidrBlock: string;
10
10
  ClientConnectOptions?: ClientConnectOptions;
11
11
  ClientLoginBannerOptions?: ClientLoginBannerOptions;
12
- ClientRouteMonitoringOptions?: ClientRouteMonitoringOptions;
13
12
  ConnectionLogOptions: ConnectionLogOptions;
14
13
  Description?: string;
15
14
  DnsServers?: string[];
@@ -63,13 +62,6 @@ export type ClientLoginBannerOptions = {
63
62
  BannerText?: string;
64
63
  Enabled: boolean;
65
64
  };
66
- /**
67
- * Type definition for `AWS::EC2::ClientVpnEndpoint.ClientRouteMonitoringOptions`.
68
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-clientvpnendpoint-clientroutemonitoringoptions.html}
69
- */
70
- export type ClientRouteMonitoringOptions = {
71
- Enabled?: boolean;
72
- };
73
65
  /**
74
66
  * Type definition for `AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions`.
75
67
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-clientvpnendpoint-connectionlogoptions.html}
@@ -122,6 +122,7 @@ export type InstanceRequirementsRequest = {
122
122
  InstanceGenerations?: ("current" | "previous")[];
123
123
  LocalStorage?: "included" | "required" | "excluded";
124
124
  LocalStorageTypes?: ("hdd" | "ssd")[];
125
+ MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number;
125
126
  MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest;
126
127
  MemoryMiB?: MemoryMiBRequest;
127
128
  NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest;
@@ -1,32 +1,40 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
3
  /**
4
- * Resource Type definition for AWS::EC2::EIP
4
+ * Resource type definition for `AWS::EC2::EIP`.
5
+ * Specifies an Elastic IP (EIP) address and can, optionally, associate it with an Amazon EC2 instance.
6
+ You can allocate an Elastic IP address from an address pool owned by AWS or from an address pool created from a public IPv4 address range that you have brought to AWS for use with your AWS resources using bring your own IP addresses (BYOIP). For more information, see [Bring Your Own IP Addresses (BYOIP)](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html) in the *Amazon EC2 User Guide*.
7
+ For more information, see [Elastic IP Addresses](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html) in the *Amazon EC2 User Guide*.
5
8
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html}
6
9
  */
7
10
  export type EC2EIPProperties = {
8
11
  /**
9
- * Indicates whether the Elastic IP address is for use with instances in a VPC or instance in EC2-Classic.
10
- */
12
+ * The network (``vpc``).
13
+ If you define an Elastic IP address and associate it with a VPC that is defined in the same template, you must declare a dependency on the VPC-gateway attachment by using the [DependsOn Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) on this resource.
14
+ */
11
15
  Domain?: string;
12
16
  /**
13
- * The ID of the instance.
14
- */
17
+ * The ID of the instance.
18
+ Updates to the ``InstanceId`` property may require *some interruptions*. Updates on an EIP reassociates the address on its associated resource.
19
+ */
15
20
  InstanceId?: string;
16
21
  /**
17
- * A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
18
- */
22
+ * A unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.
23
+ Use [DescribeAvailabilityZones](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html) to view the network border groups.
24
+ */
19
25
  NetworkBorderGroup?: string;
20
26
  /**
21
- * The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.
22
- */
27
+ * The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.
28
+ Updates to the ``PublicIpv4Pool`` property may require *some interruptions*. Updates on an EIP reassociates the address on its associated resource.
29
+ */
23
30
  PublicIpv4Pool?: string;
24
31
  /**
25
- * Any tags assigned to the EIP.
26
- */
32
+ * Any tags assigned to the Elastic IP address.
33
+ Updates to the ``Tags`` property may require *some interruptions*. Updates on an EIP reassociates the address on its associated resource.
34
+ */
27
35
  Tags?: Tag[];
28
36
  /**
29
- * The PublicIP of the EIP generated by resource through transfer from another account
37
+ * The Elastic IP address you are accepting for transfer. You can only accept one transferred address. For more information on Elastic IP address transfers, see [Transfer Elastic IP addresses](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro) in the *Amazon Virtual Private Cloud User Guide*.
30
38
  */
31
39
  TransferAddress?: string;
32
40
  };
@@ -35,25 +43,29 @@ export type EC2EIPProperties = {
35
43
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html#aws-resource-ec2-eip-return-values}
36
44
  */
37
45
  export type EC2EIPAttributes = {
38
- /**
39
- * The Allocation ID of the EIP generated by resource.
40
- */
41
46
  AllocationId: string;
42
- /**
43
- * The PublicIP of the EIP generated by resource.
44
- */
45
47
  PublicIp: string;
46
48
  };
47
49
  /**
48
50
  * Type definition for `AWS::EC2::EIP.Tag`.
51
+ * Specifies a tag. For more information, see [Add tags to a resource](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#cloudformation-add-tag-specifications).
49
52
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip-tag.html}
50
53
  */
51
54
  export type Tag = {
55
+ /**
56
+ * The tag key.
57
+ */
52
58
  Key: string;
59
+ /**
60
+ * The tag value.
61
+ */
53
62
  Value: string;
54
63
  };
55
64
  /**
56
- * Resource Type definition for AWS::EC2::EIP
65
+ * Resource type definition for `AWS::EC2::EIP`.
66
+ * Specifies an Elastic IP (EIP) address and can, optionally, associate it with an Amazon EC2 instance.
67
+ You can allocate an Elastic IP address from an address pool owned by AWS or from an address pool created from a public IPv4 address range that you have brought to AWS for use with your AWS resources using bring your own IP addresses (BYOIP). For more information, see [Bring Your Own IP Addresses (BYOIP)](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html) in the *Amazon EC2 User Guide*.
68
+ For more information, see [Elastic IP Addresses](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html) in the *Amazon EC2 User Guide*.
57
69
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html}
58
70
  */
59
71
  export declare class EC2EIP extends $Resource<"AWS::EC2::EIP", EC2EIPProperties, EC2EIPAttributes> {
@@ -1,6 +1,9 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * Resource Type definition for AWS::EC2::EIP
3
+ * Resource type definition for `AWS::EC2::EIP`.
4
+ * Specifies an Elastic IP (EIP) address and can, optionally, associate it with an Amazon EC2 instance.
5
+ You can allocate an Elastic IP address from an address pool owned by AWS or from an address pool created from a public IPv4 address range that you have brought to AWS for use with your AWS resources using bring your own IP addresses (BYOIP). For more information, see [Bring Your Own IP Addresses (BYOIP)](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html) in the *Amazon EC2 User Guide*.
6
+ For more information, see [Elastic IP Addresses](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html) in the *Amazon EC2 User Guide*.
4
7
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html}
5
8
  */
6
9
  export class EC2EIP extends $Resource {