@awboost/cfn-resource-types 0.1.286 → 0.1.287

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.
@@ -28,6 +28,7 @@ export type ApiGatewayV2DomainNameProperties = {
28
28
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html#aws-resource-apigatewayv2-domainname-return-values}
29
29
  */
30
30
  export type ApiGatewayV2DomainNameAttributes = {
31
+ DomainNameArn: string;
31
32
  RegionalDomainName: string;
32
33
  RegionalHostedZoneId: string;
33
34
  };
@@ -17,6 +17,12 @@ export type ApplicationSignalsServiceLevelObjectiveProperties = {
17
17
  * @maxLength `1024`
18
18
  */
19
19
  Description?: string;
20
+ /**
21
+ * Each object in this array defines a time exclusion window for this SLO. The time exclusion window is used to exclude breaching data points from affecting attainment rate, error budget, and burn rate metrics.
22
+ * @minLength `0`
23
+ * @maxLength `10`
24
+ */
25
+ ExclusionWindows?: ExclusionWindow[];
20
26
  /**
21
27
  * A structure that contains the attributes that determine the goal of the SLO. This includes the time period for evaluation and the attainment threshold.
22
28
  */
@@ -88,12 +94,12 @@ export type BurnRateConfiguration = {
88
94
  */
89
95
  export type CalendarInterval = {
90
96
  /**
91
- * Specifies the duration of each calendar interval. For example, if `Duration` is 1 and `DurationUnit` is `MONTH`, each interval is one month, aligned with the calendar.
97
+ * Specifies the duration of each interval. For example, if `Duration` is 1 and `DurationUnit` is `MONTH`, each interval is one month, aligned with the calendar.
92
98
  * @min `1`
93
99
  */
94
100
  Duration: number;
95
101
  /**
96
- * Specifies the calendar interval unit.
102
+ * Specifies the interval unit.
97
103
  */
98
104
  DurationUnit: DurationUnit;
99
105
  /**
@@ -120,10 +126,35 @@ export type Dimension = {
120
126
  };
121
127
  /**
122
128
  * Type definition for `AWS::ApplicationSignals::ServiceLevelObjective.DurationUnit`.
123
- * Specifies the calendar interval unit.
129
+ * Specifies the interval unit.
124
130
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-durationunit.html}
125
131
  */
126
- export type DurationUnit = "DAY" | "MONTH";
132
+ export type DurationUnit = "MINUTE" | "HOUR" | "DAY" | "MONTH";
133
+ /**
134
+ * Type definition for `AWS::ApplicationSignals::ServiceLevelObjective.ExclusionWindow`.
135
+ * This object defines a time exclusion window for this SLO. The time exclusion window is used to exclude breaching data points from affecting attainment rate, error budget, and burn rate metrics.
136
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-exclusionwindow.html}
137
+ */
138
+ export type ExclusionWindow = {
139
+ /**
140
+ * An optional reason for scheduling this time exclusion window. Default is 'No reason'.
141
+ * @minLength `1`
142
+ * @maxLength `1024`
143
+ */
144
+ Reason?: string;
145
+ /**
146
+ * This object defines how often to repeat a time exclusion window.
147
+ */
148
+ RecurrenceRule?: RecurrenceRule;
149
+ /**
150
+ * The time you want the exclusion window to start at. Note that time exclusion windows can only be scheduled in the future, not the past.
151
+ */
152
+ StartTime?: string;
153
+ /**
154
+ * This object defines the length of time an exclusion window should span.
155
+ */
156
+ Window: Window;
157
+ };
127
158
  /**
128
159
  * Type definition for `AWS::ApplicationSignals::ServiceLevelObjective.Goal`.
129
160
  * A structure that contains the attributes that determine the goal of the SLO. This includes the time period for evaluation and the attainment threshold.
@@ -252,6 +283,19 @@ export type MonitoredRequestCountMetric = {
252
283
  */
253
284
  GoodCountMetric?: MetricDataQuery[];
254
285
  };
286
+ /**
287
+ * Type definition for `AWS::ApplicationSignals::ServiceLevelObjective.RecurrenceRule`.
288
+ * This object defines how often to repeat a time exclusion window.
289
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-recurrencerule.html}
290
+ */
291
+ export type RecurrenceRule = {
292
+ /**
293
+ * A cron or rate expression denoting how often to repeat this exclusion window.
294
+ * @minLength `1`
295
+ * @maxLength `1024`
296
+ */
297
+ Expression: string;
298
+ };
255
299
  /**
256
300
  * Type definition for `AWS::ApplicationSignals::ServiceLevelObjective.RequestBasedSli`.
257
301
  * This structure contains information about the performance metric that a request-based SLO monitors.
@@ -307,12 +351,12 @@ export type RequestBasedSliMetric = {
307
351
  */
308
352
  export type RollingInterval = {
309
353
  /**
310
- * Specifies the duration of each calendar interval. For example, if `Duration` is 1 and `DurationUnit` is `MONTH`, each interval is one month, aligned with the calendar.
354
+ * Specifies the duration of each interval. For example, if `Duration` is 1 and `DurationUnit` is `MONTH`, each interval is one month, aligned with the calendar.
311
355
  * @min `1`
312
356
  */
313
357
  Duration: number;
314
358
  /**
315
- * Specifies the calendar interval unit.
359
+ * Specifies the interval unit.
316
360
  */
317
361
  DurationUnit: DurationUnit;
318
362
  };
@@ -391,6 +435,22 @@ export type Tag = {
391
435
  */
392
436
  Value: string;
393
437
  };
438
+ /**
439
+ * Type definition for `AWS::ApplicationSignals::ServiceLevelObjective.Window`.
440
+ * This object defines the length of time an exclusion window should span.
441
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-window.html}
442
+ */
443
+ export type Window = {
444
+ /**
445
+ * Specifies the duration of each interval. For example, if `Duration` is 1 and `DurationUnit` is `MONTH`, each interval is one month, aligned with the calendar.
446
+ * @min `1`
447
+ */
448
+ Duration: number;
449
+ /**
450
+ * Specifies the interval unit.
451
+ */
452
+ DurationUnit: DurationUnit;
453
+ };
394
454
  /**
395
455
  * Resource Type definition for AWS::ApplicationSignals::ServiceLevelObjective
396
456
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationsignals-servicelevelobjective.html}
@@ -27,9 +27,33 @@ export type EC2CapacityReservationProperties = {
27
27
  */
28
28
  export type EC2CapacityReservationAttributes = {
29
29
  AvailableInstanceCount: number;
30
+ CapacityAllocationSet: {
31
+ AllocationType: string;
32
+ Count: number;
33
+ }[];
34
+ CapacityReservationArn: string;
35
+ CapacityReservationFleetId: string;
36
+ CommitmentInfo: {
37
+ CommitmentEndDate: string;
38
+ CommittedInstanceCount: number;
39
+ };
40
+ CreateDate: string;
41
+ DeliveryPreference: string;
30
42
  Id: string;
43
+ OwnerId: string;
44
+ ReservationType: string;
45
+ StartDate: string;
46
+ State: string;
31
47
  TotalInstanceCount: number;
32
48
  };
49
+ /**
50
+ * Type definition for `AWS::EC2::CapacityReservation.CapacityAllocation`.
51
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservation-capacityallocation.html}
52
+ */
53
+ export type CapacityAllocation = {
54
+ AllocationType?: string;
55
+ Count?: number;
56
+ };
33
57
  /**
34
58
  * Type definition for `AWS::EC2::CapacityReservation.Tag`.
35
59
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservation-tag.html}
@@ -14,6 +14,10 @@ export type EC2VPCEndpointServiceProperties = {
14
14
  * Specify which Ip Address types are supported for VPC endpoint service.
15
15
  */
16
16
  SupportedIpAddressTypes?: IpAddressType[];
17
+ /**
18
+ * The Regions from which service consumers can access the service.
19
+ */
20
+ SupportedRegions?: string[];
17
21
  /**
18
22
  * The tags to add to the VPC endpoint service.
19
23
  */
@@ -51,6 +51,9 @@ export type S3BucketProperties = {
51
51
  * Settings that define where logs are stored.
52
52
  */
53
53
  LoggingConfiguration?: LoggingConfiguration;
54
+ /**
55
+ * The metadata table configuration of an S3 general purpose bucket. For more information, see [Accelerating data discovery with S3 Metadata](https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html) and [Setting up permissions for configuring metadata tables](https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html).
56
+ */
54
57
  MetadataTableConfiguration?: MetadataTableConfiguration;
55
58
  /**
56
59
  * Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For more information, see [PutBucketMetricsConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTMetricConfiguration.html).
@@ -110,14 +113,20 @@ export type S3BucketAttributes = {
110
113
  Arn: string;
111
114
  DomainName: string;
112
115
  DualStackDomainName: string;
116
+ /**
117
+ * The metadata table configuration of an S3 general purpose bucket. For more information, see [Accelerating data discovery with S3 Metadata](https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html) and [Setting up permissions for configuring metadata tables](https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html).
118
+ */
113
119
  MetadataTableConfiguration: {
120
+ /**
121
+ * The destination information for the metadata table configuration. The destination table bucket must be in the same Region and AWS-account as the general purpose bucket. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
122
+ */
114
123
  S3TablesDestination: {
115
124
  /**
116
- * The Amazon Resource Name (ARN) for the metadata table in the metadata table configuration. The specified metadata table name must be unique within the <code>aws_s3_metadata</code> namespace in the destination table bucket.
125
+ * The Amazon Resource Name (ARN) for the metadata table in the metadata table configuration. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
117
126
  */
118
127
  TableArn: string;
119
128
  /**
120
- * The table bucket namespace for the metadata table in your metadata table configuration. This value is always <code>aws_s3_metadata</code>.
129
+ * The table bucket namespace for the metadata table in your metadata table configuration. This value is always ``aws_s3_metadata``.
121
130
  */
122
131
  TableNamespace: string;
123
132
  };
@@ -478,9 +487,13 @@ export type LoggingConfiguration = {
478
487
  };
479
488
  /**
480
489
  * Type definition for `AWS::S3::Bucket.MetadataTableConfiguration`.
490
+ * The metadata table configuration of an S3 general purpose bucket. For more information, see [Accelerating data discovery with S3 Metadata](https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html) and [Setting up permissions for configuring metadata tables](https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html).
481
491
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-metadatatableconfiguration.html}
482
492
  */
483
493
  export type MetadataTableConfiguration = {
494
+ /**
495
+ * The destination information for the metadata table configuration. The destination table bucket must be in the same Region and AWS-account as the general purpose bucket. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
496
+ */
484
497
  S3TablesDestination: S3TablesDestination;
485
498
  };
486
499
  /**
@@ -1055,15 +1068,16 @@ export type S3KeyFilter = {
1055
1068
  };
1056
1069
  /**
1057
1070
  * Type definition for `AWS::S3::Bucket.S3TablesDestination`.
1071
+ * The destination information for the metadata table configuration. The destination table bucket must be in the same Region and AWS-account as the general purpose bucket. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
1058
1072
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3tablesdestination.html}
1059
1073
  */
1060
1074
  export type S3TablesDestination = {
1061
1075
  /**
1062
- * The Amazon Resource Name (ARN) for the table bucket that's specified as the destination in the metadata table configuration. The destination table bucket must be in the same Region and AWS account as the general purpose bucket.
1076
+ * The Amazon Resource Name (ARN) for the table bucket that's specified as the destination in the metadata table configuration. The destination table bucket must be in the same Region and AWS-account as the general purpose bucket.
1063
1077
  */
1064
1078
  TableBucketArn: string;
1065
1079
  /**
1066
- * The name for the metadata table in your metadata table configuration. The specified metadata table name must be unique within the <code>aws_s3_metadata</code> namespace in the destination table bucket.
1080
+ * The name for the metadata table in your metadata table configuration. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
1067
1081
  */
1068
1082
  TableName: string;
1069
1083
  };
@@ -16,6 +16,10 @@ export type WAFv2WebACLProperties = {
16
16
  * Custom response key and body map.
17
17
  */
18
18
  CustomResponseBodies?: CustomResponseBodies;
19
+ /**
20
+ * Collection of dataProtects.
21
+ */
22
+ DataProtectionConfig?: DataProtectionConfig;
19
23
  /**
20
24
  * Default Action WebACL will take against ingress traffic when there is no matching Rule.
21
25
  */
@@ -371,6 +375,34 @@ export type CustomResponseBody = {
371
375
  */
372
376
  ContentType: ResponseContentType;
373
377
  };
378
+ /**
379
+ * Type definition for `AWS::WAFv2::WebACL.DataProtect`.
380
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-dataprotect.html}
381
+ */
382
+ export type DataProtect = {
383
+ Action: DataProtectionAction;
384
+ ExcludeRateBasedDetails?: boolean;
385
+ ExcludeRuleMatchDetails?: boolean;
386
+ /**
387
+ * Field in log to protect.
388
+ */
389
+ Field: FieldToProtect;
390
+ };
391
+ /**
392
+ * Type definition for `AWS::WAFv2::WebACL.DataProtectionAction`.
393
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-dataprotectionaction.html}
394
+ */
395
+ export type DataProtectionAction = "SUBSTITUTION" | "HASH";
396
+ /**
397
+ * Type definition for `AWS::WAFv2::WebACL.DataProtectionConfig`.
398
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-dataprotectionconfig.html}
399
+ */
400
+ export type DataProtectionConfig = {
401
+ /**
402
+ * @minLength `1`
403
+ */
404
+ DataProtections: DataProtect[];
405
+ };
374
406
  /**
375
407
  * Type definition for `AWS::WAFv2::WebACL.DefaultAction`.
376
408
  * Default Action WebACL will take against ingress traffic when there is no matching Rule.
@@ -471,6 +503,21 @@ export type FieldToMatch = {
471
503
  */
472
504
  UriPath?: Record<string, any>;
473
505
  };
506
+ /**
507
+ * Type definition for `AWS::WAFv2::WebACL.FieldToProtect`.
508
+ * Field in log to protect.
509
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-fieldtoprotect.html}
510
+ */
511
+ export type FieldToProtect = {
512
+ /**
513
+ * List of field keys to protect
514
+ */
515
+ FieldKeys?: string[];
516
+ /**
517
+ * Field type to protect
518
+ */
519
+ FieldType: "SINGLE_HEADER" | "SINGLE_COOKIE" | "SINGLE_QUERY_ARGUMENT" | "QUERY_STRING" | "BODY";
520
+ };
474
521
  /**
475
522
  * Type definition for `AWS::WAFv2::WebACL.ForwardedIPConfiguration`.
476
523
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-forwardedipconfiguration.html}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.286",
3
+ "version": "0.1.287",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },