@awboost/cfn-resource-types 0.1.213 → 0.1.214

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.
@@ -18,6 +18,9 @@ export type ApplicationAutoScalingScalingPolicyProperties = {
18
18
  ``StepScaling``—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
19
19
  */
20
20
  PolicyType: string;
21
+ /**
22
+ * The predictive scaling policy configuration.
23
+ */
21
24
  PredictiveScalingPolicyConfiguration?: PredictiveScalingPolicyConfiguration;
22
25
  /**
23
26
  * The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
@@ -174,13 +177,18 @@ export type PredefinedMetricSpecification = {
174
177
  };
175
178
  /**
176
179
  * Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingCustomizedCapacityMetric`.
180
+ * Represents a CloudWatch metric of your choosing for a predictive scaling policy.
177
181
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingcustomizedcapacitymetric.html}
178
182
  */
179
183
  export type PredictiveScalingCustomizedCapacityMetric = {
184
+ /**
185
+ * One or more metric data queries to provide data points for a metric specification.
186
+ */
180
187
  MetricDataQueries: PredictiveScalingMetricDataQuery[];
181
188
  };
182
189
  /**
183
190
  * Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingCustomizedLoadMetric`.
191
+ * The customized load metric specification.
184
192
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingcustomizedloadmetric.html}
185
193
  */
186
194
  export type PredictiveScalingCustomizedLoadMetric = {
@@ -188,18 +196,23 @@ export type PredictiveScalingCustomizedLoadMetric = {
188
196
  };
189
197
  /**
190
198
  * Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingCustomizedScalingMetric`.
199
+ * One or more metric data queries to provide data points for a metric specification.
191
200
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingcustomizedscalingmetric.html}
192
201
  */
193
202
  export type PredictiveScalingCustomizedScalingMetric = {
203
+ /**
204
+ * One or more metric data queries to provide data points for a metric specification.
205
+ */
194
206
  MetricDataQueries: PredictiveScalingMetricDataQuery[];
195
207
  };
196
208
  /**
197
209
  * Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingMetric`.
210
+ * Describes the scaling metric.
198
211
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingmetric.html}
199
212
  */
200
213
  export type PredictiveScalingMetric = {
201
214
  /**
202
- * The dimensions for the metric.
215
+ * Describes the dimensions of the metric.
203
216
  */
204
217
  Dimensions?: PredictiveScalingMetricDimension[];
205
218
  /**
@@ -213,15 +226,17 @@ export type PredictiveScalingMetric = {
213
226
  };
214
227
  /**
215
228
  * Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingMetricDataQuery`.
229
+ * The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.
216
230
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingmetricdataquery.html}
217
231
  */
218
232
  export type PredictiveScalingMetricDataQuery = {
219
233
  /**
220
- * The math expression to perform on the returned data, if this object is performing a math expression.
221
- */
234
+ * The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the ``Id`` of the other metrics to refer to those metrics, and can also use the ``Id`` of other expressions to use the result of those expressions.
235
+ Conditional: Within each ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat``, but not both.
236
+ */
222
237
  Expression?: string;
223
238
  /**
224
- * A short name that identifies the object's results in the response.
239
+ * A short name that identifies the object's results in the response. This name must be unique among all ``MetricDataQuery`` objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.
225
240
  */
226
241
  Id?: string;
227
242
  /**
@@ -229,16 +244,20 @@ export type PredictiveScalingMetricDataQuery = {
229
244
  */
230
245
  Label?: string;
231
246
  /**
232
- * Information about the metric data to return.
233
- */
247
+ * Information about the metric data to return.
248
+ Conditional: Within each ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat``, but not both.
249
+ */
234
250
  MetricStat?: PredictiveScalingMetricStat;
235
251
  /**
236
- * Indicates whether to return the timestamps and raw data values of this metric.
237
- */
252
+ * Indicates whether to return the timestamps and raw data values of this metric.
253
+ If you use any math expressions, specify ``true`` for this value for only the final math expression that the metric specification is based on. You must specify ``false`` for ``ReturnData`` for all the other metrics and expressions used in the metric specification.
254
+ If you are only retrieving metrics and not performing any math expressions, do not specify anything for ``ReturnData``. This sets it to its default (``true``).
255
+ */
238
256
  ReturnData?: boolean;
239
257
  };
240
258
  /**
241
259
  * Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingMetricDimension`.
260
+ * Describes the dimension of a metric.
242
261
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingmetricdimension.html}
243
262
  */
244
263
  export type PredictiveScalingMetricDimension = {
@@ -253,68 +272,135 @@ export type PredictiveScalingMetricDimension = {
253
272
  };
254
273
  /**
255
274
  * Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification`.
275
+ * This structure specifies the metrics and target utilization settings for a predictive scaling policy.
276
+ You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.
256
277
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingmetricspecification.html}
257
278
  */
258
279
  export type PredictiveScalingMetricSpecification = {
280
+ /**
281
+ * The customized capacity metric specification.
282
+ */
259
283
  CustomizedCapacityMetricSpecification?: PredictiveScalingCustomizedCapacityMetric;
284
+ /**
285
+ * The customized load metric specification.
286
+ */
260
287
  CustomizedLoadMetricSpecification?: PredictiveScalingCustomizedLoadMetric;
288
+ /**
289
+ * The customized scaling metric specification.
290
+ */
261
291
  CustomizedScalingMetricSpecification?: PredictiveScalingCustomizedScalingMetric;
292
+ /**
293
+ * The predefined load metric specification.
294
+ */
262
295
  PredefinedLoadMetricSpecification?: PredictiveScalingPredefinedLoadMetric;
296
+ /**
297
+ * The predefined metric pair specification that determines the appropriate scaling metric and load metric to use.
298
+ */
263
299
  PredefinedMetricPairSpecification?: PredictiveScalingPredefinedMetricPair;
300
+ /**
301
+ * The predefined scaling metric specification.
302
+ */
264
303
  PredefinedScalingMetricSpecification?: PredictiveScalingPredefinedScalingMetric;
304
+ /**
305
+ * Specifies the target utilization.
306
+ */
265
307
  TargetValue: number;
266
308
  };
267
309
  /**
268
310
  * Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingMetricStat`.
311
+ * This structure defines the CloudWatch metric to return, along with the statistic and unit.
269
312
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingmetricstat.html}
270
313
  */
271
314
  export type PredictiveScalingMetricStat = {
272
315
  /**
273
- * The CloudWatch metric to return, including the metric name, namespace, and dimensions.
316
+ * The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).
274
317
  */
275
318
  Metric?: PredictiveScalingMetric;
276
319
  /**
277
- * The statistic to return. It can include any CloudWatch statistic or extended statistic.
278
- */
320
+ * The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide*.
321
+ The most commonly used metrics for predictive scaling are ``Average`` and ``Sum``.
322
+ */
279
323
  Stat?: string;
280
324
  /**
281
- * The unit to use for the returned data points.
325
+ * The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.
282
326
  */
283
327
  Unit?: string;
284
328
  };
285
329
  /**
286
330
  * Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingPolicyConfiguration`.
331
+ * Represents a predictive scaling policy configuration.
287
332
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingpolicyconfiguration.html}
288
333
  */
289
334
  export type PredictiveScalingPolicyConfiguration = {
335
+ /**
336
+ * Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity. Defaults to ``HonorMaxCapacity`` if not specified.
337
+ */
290
338
  MaxCapacityBreachBehavior?: string;
339
+ /**
340
+ * The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55.
341
+ Required if the ``MaxCapacityBreachBehavior`` property is set to ``IncreaseMaxCapacity``, and cannot be used otherwise.
342
+ */
291
343
  MaxCapacityBuffer?: number;
344
+ /**
345
+ * This structure includes the metrics and target utilization to use for predictive scaling.
346
+ This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric.
347
+ */
292
348
  MetricSpecifications: PredictiveScalingMetricSpecification[];
349
+ /**
350
+ * The predictive scaling mode. Defaults to ``ForecastOnly`` if not specified.
351
+ */
293
352
  Mode?: string;
353
+ /**
354
+ * The amount of time, in seconds, that the start time can be advanced.
355
+ The value must be less than the forecast interval duration of 3600 seconds (60 minutes). Defaults to 300 seconds if not specified.
356
+ */
294
357
  SchedulingBufferTime?: number;
295
358
  };
296
359
  /**
297
360
  * Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric`.
361
+ * Describes a load metric for a predictive scaling policy.
362
+ When returned in the output of ``DescribePolicies``, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.
298
363
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingpredefinedloadmetric.html}
299
364
  */
300
365
  export type PredictiveScalingPredefinedLoadMetric = {
366
+ /**
367
+ * The metric type.
368
+ */
301
369
  PredefinedMetricType: string;
370
+ /**
371
+ * A label that uniquely identifies a target group.
372
+ */
302
373
  ResourceLabel?: string;
303
374
  };
304
375
  /**
305
376
  * Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair`.
377
+ * Represents a metric pair for a predictive scaling policy.
306
378
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingpredefinedmetricpair.html}
307
379
  */
308
380
  export type PredictiveScalingPredefinedMetricPair = {
381
+ /**
382
+ * Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load metric and one is a scaling metric.
383
+ */
309
384
  PredefinedMetricType: string;
385
+ /**
386
+ * A label that uniquely identifies a specific target group from which to determine the total and average request count.
387
+ */
310
388
  ResourceLabel?: string;
311
389
  };
312
390
  /**
313
391
  * Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric`.
392
+ * Describes a scaling metric for a predictive scaling policy.
393
+ When returned in the output of ``DescribePolicies``, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.
314
394
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingpredefinedscalingmetric.html}
315
395
  */
316
396
  export type PredictiveScalingPredefinedScalingMetric = {
397
+ /**
398
+ * The metric type.
399
+ */
317
400
  PredefinedMetricType: string;
401
+ /**
402
+ * A label that uniquely identifies a specific target group from which to determine the average request count.
403
+ */
318
404
  ResourceLabel?: string;
319
405
  };
320
406
  /**
@@ -166,6 +166,30 @@ export type AnalysisRuleList = {
166
166
  JoinColumns: string[];
167
167
  ListColumns: string[];
168
168
  };
169
+ /**
170
+ * Type definition for `AWS::CleanRooms::ConfiguredTable.AthenaTableReference`.
171
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-athenatablereference.html}
172
+ */
173
+ export type AthenaTableReference = {
174
+ /**
175
+ * @maxLength `128`
176
+ */
177
+ DatabaseName: string;
178
+ /**
179
+ * @minLength `8`
180
+ * @maxLength `1024`
181
+ */
182
+ OutputLocation?: string;
183
+ /**
184
+ * @maxLength `128`
185
+ */
186
+ TableName: string;
187
+ /**
188
+ * @minLength `1`
189
+ * @maxLength `128`
190
+ */
191
+ WorkGroup: string;
192
+ };
169
193
  /**
170
194
  * Type definition for `AWS::CleanRooms::ConfiguredTable.ConfiguredTableAnalysisRulePolicy`.
171
195
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-configuredtableanalysisrulepolicy.html}
@@ -237,12 +261,72 @@ export type JoinRequiredOption = "QUERY_RUNNER";
237
261
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-scalarfunctions.html}
238
262
  */
239
263
  export type ScalarFunctions = "TRUNC" | "ABS" | "CEILING" | "FLOOR" | "LN" | "LOG" | "ROUND" | "SQRT" | "CAST" | "LOWER" | "RTRIM" | "UPPER" | "COALESCE" | "CONVERT" | "CURRENT_DATE" | "DATEADD" | "EXTRACT" | "GETDATE" | "SUBSTRING" | "TO_CHAR" | "TO_DATE" | "TO_NUMBER" | "TO_TIMESTAMP" | "TRIM";
264
+ /**
265
+ * Type definition for `AWS::CleanRooms::ConfiguredTable.SnowflakeTableReference`.
266
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-snowflaketablereference.html}
267
+ */
268
+ export type SnowflakeTableReference = {
269
+ /**
270
+ * @minLength `3`
271
+ * @maxLength `256`
272
+ */
273
+ AccountIdentifier: string;
274
+ /**
275
+ * @minLength `1`
276
+ * @maxLength `256`
277
+ */
278
+ DatabaseName: string;
279
+ /**
280
+ * @minLength `1`
281
+ * @maxLength `256`
282
+ */
283
+ SchemaName: string;
284
+ /**
285
+ * @maxLength `256`
286
+ */
287
+ SecretArn: string;
288
+ /**
289
+ * @minLength `1`
290
+ * @maxLength `256`
291
+ */
292
+ TableName: string;
293
+ TableSchema: SnowflakeTableSchema;
294
+ };
295
+ /**
296
+ * Type definition for `AWS::CleanRooms::ConfiguredTable.SnowflakeTableSchema`.
297
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-snowflaketableschema.html}
298
+ */
299
+ export type SnowflakeTableSchema = {
300
+ /**
301
+ * @minLength `1`
302
+ * @maxLength `250`
303
+ */
304
+ V1: SnowflakeTableSchemaV1[];
305
+ };
306
+ /**
307
+ * Type definition for `AWS::CleanRooms::ConfiguredTable.SnowflakeTableSchemaV1`.
308
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-snowflaketableschemav1.html}
309
+ */
310
+ export type SnowflakeTableSchemaV1 = {
311
+ /**
312
+ * @maxLength `128`
313
+ */
314
+ ColumnName: string;
315
+ /**
316
+ * @maxLength `255`
317
+ */
318
+ ColumnType: string;
319
+ };
240
320
  /**
241
321
  * Type definition for `AWS::CleanRooms::ConfiguredTable.TableReference`.
242
322
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-tablereference.html}
243
323
  */
244
324
  export type TableReference = {
245
325
  Glue: GlueTableReference;
326
+ } | {
327
+ Snowflake: SnowflakeTableReference;
328
+ } | {
329
+ Athena: AthenaTableReference;
246
330
  };
247
331
  /**
248
332
  * Type definition for `AWS::CleanRooms::ConfiguredTable.Tag`.
@@ -49,7 +49,7 @@ export type CleanRoomsConfiguredTableAssociationProperties = {
49
49
  */
50
50
  export type CleanRoomsConfiguredTableAssociationAttributes = {
51
51
  /**
52
- * @maxLength `100`
52
+ * @maxLength `256`
53
53
  */
54
54
  Arn: string;
55
55
  /**
@@ -61,6 +61,11 @@ export type ConnectTaskTemplateProperties = {
61
61
  * @maxLength `100`
62
62
  */
63
63
  Name?: string;
64
+ /**
65
+ * The identifier of the contact flow.
66
+ * @pattern `^$|arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]/‍*contact-flow/[-a-zA-Z0-9]*$`
67
+ */
68
+ SelfAssignContactFlowArn?: string;
64
69
  /**
65
70
  * The status of the task template
66
71
  */
@@ -42,8 +42,8 @@ export type DynamoDBTableProperties = {
42
42
  */
43
43
  GlobalSecondaryIndexes?: GlobalSecondaryIndex[];
44
44
  /**
45
- * Specifies the properties of data being imported from the S3 bucket source to the table.
46
- 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.
45
+ * Specifies the properties of data being imported from the S3 bucket source to the" table.
46
+ If you specify the ``ImportSourceSpecification`` property, and also specify either the ``StreamSpecification``, the ``TableClass`` property, the ``DeletionProtectionEnabled`` property, or the ``WarmThroughput`` property, the IAM entity creating/updating stack must have ``UpdateTable`` permission.
47
47
  */
48
48
  ImportSourceSpecification?: ImportSourceSpecification;
49
49
  /**
@@ -29,6 +29,7 @@ export type ECSTaskDefinitionProperties = {
29
29
  This option requires Linux platform ``1.4.0`` or later.
30
30
  */
31
31
  Cpu?: string;
32
+ EnableFaultInjection?: boolean;
32
33
  /**
33
34
  * The ephemeral storage settings to use for tasks run with the task definition.
34
35
  */
@@ -56,6 +56,10 @@ export type EMRServerlessApplicationProperties = {
56
56
  * Runtime configuration for batch and interactive JobRun.
57
57
  */
58
58
  RuntimeConfiguration?: ConfigurationObject[];
59
+ /**
60
+ * The scheduler configuration for batch and streaming jobs running on this application. Supported with release labels emr-7.0.0 and above.
61
+ */
62
+ SchedulerConfiguration?: SchedulerConfiguration;
59
63
  /**
60
64
  * Tag map with key and value
61
65
  */
@@ -342,6 +346,21 @@ export type S3MonitoringConfiguration = {
342
346
  */
343
347
  LogUri?: string;
344
348
  };
349
+ /**
350
+ * Type definition for `AWS::EMRServerless::Application.SchedulerConfiguration`.
351
+ * The scheduler configuration for batch and streaming jobs running on this application. Supported with release labels emr-7.0.0 and above.
352
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-schedulerconfiguration.html}
353
+ */
354
+ export type SchedulerConfiguration = {
355
+ /**
356
+ * The maximum concurrent job runs on this application. If scheduler configuration is enabled on your application, the default value is 15. The valid range is 1 to 1000.
357
+ */
358
+ MaxConcurrentRuns?: number;
359
+ /**
360
+ * The maximum duration in minutes for the job in QUEUED state. If scheduler configuration is enabled on your application, the default value is 360 minutes (6 hours). The valid range is from 15 to 720.
361
+ */
362
+ QueueTimeoutMinutes?: number;
363
+ };
345
364
  /**
346
365
  * Type definition for `AWS::EMRServerless::Application.Tag`.
347
366
  * A key-value pair to associate with a resource.
@@ -0,0 +1,160 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
+ /**
4
+ * Resource type definition for `AWS::IoT::Command`.
5
+ * Represents the resource definition of AWS IoT Command.
6
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html}
7
+ */
8
+ export type IoTCommandProperties = {
9
+ /**
10
+ * The unique identifier for the command.
11
+ * @minLength `1`
12
+ * @maxLength `64`
13
+ * @pattern `^[a-zA-Z0-9_-]+$`
14
+ */
15
+ CommandId: string;
16
+ /**
17
+ * The date and time when the command was created.
18
+ */
19
+ CreatedAt?: string;
20
+ /**
21
+ * A flag indicating whether the command is deprecated.
22
+ */
23
+ Deprecated?: boolean;
24
+ /**
25
+ * The description of the command.
26
+ * @maxLength `2028`
27
+ */
28
+ Description?: string;
29
+ /**
30
+ * The display name for the command.
31
+ */
32
+ DisplayName?: string;
33
+ /**
34
+ * The date and time when the command was last updated.
35
+ */
36
+ LastUpdatedAt?: string;
37
+ /**
38
+ * The list of mandatory parameters for the command.
39
+ * @minLength `1`
40
+ */
41
+ MandatoryParameters?: CommandParameter[];
42
+ /**
43
+ * The namespace to which the command belongs.
44
+ */
45
+ Namespace?: "AWS-IoT" | "AWS-IoT-FleetWise";
46
+ /**
47
+ * The payload associated with the command.
48
+ */
49
+ Payload?: CommandPayload;
50
+ /**
51
+ * A flag indicating whether the command is pending deletion.
52
+ */
53
+ PendingDeletion?: boolean;
54
+ /**
55
+ * The customer role associated with the command.
56
+ * @minLength `20`
57
+ * @maxLength `2028`
58
+ */
59
+ RoleArn?: string;
60
+ /**
61
+ * The tags to be associated with the command.
62
+ */
63
+ Tags?: Tag[];
64
+ };
65
+ /**
66
+ * Attribute type definition for `AWS::IoT::Command`.
67
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html#aws-resource-iot-command-return-values}
68
+ */
69
+ export type IoTCommandAttributes = {
70
+ /**
71
+ * The Amazon Resource Name (ARN) of the command.
72
+ */
73
+ CommandArn: string;
74
+ };
75
+ /**
76
+ * Type definition for `AWS::IoT::Command.CommandParameter`.
77
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-command-commandparameter.html}
78
+ */
79
+ export type CommandParameter = {
80
+ DefaultValue?: CommandParameterValue;
81
+ /**
82
+ * @maxLength `2028`
83
+ */
84
+ Description?: string;
85
+ /**
86
+ * @minLength `1`
87
+ * @maxLength `192`
88
+ * @pattern `^[.$a-zA-Z0-9_-]+$`
89
+ */
90
+ Name: string;
91
+ Value?: CommandParameterValue;
92
+ };
93
+ /**
94
+ * Type definition for `AWS::IoT::Command.CommandParameterValue`.
95
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-command-commandparametervalue.html}
96
+ */
97
+ export type CommandParameterValue = {
98
+ B?: boolean;
99
+ /**
100
+ * @minLength `1`
101
+ */
102
+ BIN?: string;
103
+ D?: number;
104
+ I?: number;
105
+ /**
106
+ * @maxLength `19`
107
+ * @pattern `^-?\d+$`
108
+ */
109
+ L?: string;
110
+ /**
111
+ * @minLength `1`
112
+ */
113
+ S?: string;
114
+ /**
115
+ * @minLength `1`
116
+ * @maxLength `20`
117
+ * @pattern `^[0-9]*$`
118
+ */
119
+ UL?: string;
120
+ };
121
+ /**
122
+ * Type definition for `AWS::IoT::Command.CommandPayload`.
123
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-command-commandpayload.html}
124
+ */
125
+ export type CommandPayload = {
126
+ Content?: string;
127
+ /**
128
+ * @minLength `1`
129
+ */
130
+ ContentType?: string;
131
+ };
132
+ /**
133
+ * Type definition for `AWS::IoT::Command.Tag`.
134
+ * A key-value pair to associate with a resource.
135
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-command-tag.html}
136
+ */
137
+ export type Tag = {
138
+ /**
139
+ * The tag's key.
140
+ * @minLength `1`
141
+ * @maxLength `128`
142
+ */
143
+ Key: string;
144
+ /**
145
+ * The tag's value.
146
+ * @minLength `1`
147
+ * @maxLength `256`
148
+ */
149
+ Value: string;
150
+ };
151
+ /**
152
+ * Resource type definition for `AWS::IoT::Command`.
153
+ * Represents the resource definition of AWS IoT Command.
154
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html}
155
+ */
156
+ export declare class IoTCommand extends $Resource<"AWS::IoT::Command", IoTCommandProperties, IoTCommandAttributes> {
157
+ static readonly Type = "AWS::IoT::Command";
158
+ constructor(logicalId: string, properties: IoTCommandProperties, options?: $ResourceOptions);
159
+ }
160
+ //# sourceMappingURL=AWS-IoT-Command.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource type definition for `AWS::IoT::Command`.
4
+ * Represents the resource definition of AWS IoT Command.
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html}
6
+ */
7
+ export class IoTCommand extends $Resource {
8
+ static Type = "AWS::IoT::Command";
9
+ constructor(logicalId, properties, options) {
10
+ super(logicalId, IoTCommand.Type, properties, options);
11
+ }
12
+ }
13
+ //# sourceMappingURL=AWS-IoT-Command.js.map
@@ -14,6 +14,7 @@ export type LogsLogGroupProperties = {
14
14
  For more information, including a list of types of data that can be audited and masked, see [Protect sensitive log data with masking](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data.html).
15
15
  */
16
16
  DataProtectionPolicy?: Record<string, any>;
17
+ FieldIndexPolicies?: Record<string, any>[];
17
18
  /**
18
19
  * The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data.
19
20
  To associate an KMS key with the log group, specify the ARN of that KMS key here. If you do so, ingested data is encrypted using this key. This association is stored as long as the data encrypted with the KMS key is still within CWL. This enables CWL to decrypt this data whenever it is requested.
@@ -6,6 +6,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
6
6
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html}
7
7
  */
8
8
  export type LogsMetricFilterProperties = {
9
+ ApplyOnTransformedLogs?: boolean;
9
10
  /**
10
11
  * The name of the metric filter.
11
12
  * @minLength `1`
@@ -16,6 +16,10 @@ export type LogsQueryDefinitionProperties = {
16
16
  * @maxLength `255`
17
17
  */
18
18
  Name: string;
19
+ /**
20
+ * Query language of the query string. Possible values are CWLI, SQL, PPL, with CWLI being the default.
21
+ */
22
+ QueryLanguage?: "CWLI" | "SQL" | "PPL";
19
23
  /**
20
24
  * The query string to use for this definition
21
25
  * @minLength `1`
@@ -11,6 +11,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
11
11
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html}
12
12
  */
13
13
  export type LogsSubscriptionFilterProperties = {
14
+ ApplyOnTransformedLogs?: boolean;
14
15
  /**
15
16
  * The Amazon Resource Name (ARN) of the destination.
16
17
  */