@awboost/cfn-resource-types 0.1.508 → 0.1.509

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.
@@ -33,6 +33,7 @@ export type ARCRegionSwitchPlanProperties = {
33
33
  * @maxLength `2`
34
34
  */
35
35
  Regions: string[];
36
+ ReportConfiguration?: ReportConfiguration;
36
37
  Tags?: Tags;
37
38
  Triggers?: Trigger[];
38
39
  Workflows: Workflow[];
@@ -148,6 +149,40 @@ export type CustomActionLambdaConfiguration = {
148
149
  TimeoutMinutes?: number;
149
150
  Ungraceful?: LambdaUngraceful;
150
151
  };
152
+ /**
153
+ * Type definition for `AWS::ARCRegionSwitch::Plan.DocumentDbConfiguration`.
154
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-documentdbconfiguration.html}
155
+ */
156
+ export type DocumentDbConfiguration = {
157
+ Behavior: any;
158
+ /**
159
+ * @pattern `^arn:aws[a-zA-Z0-9-]*:iam::[0-9]{12}:role/.+$`
160
+ */
161
+ CrossAccountRole?: string;
162
+ DatabaseClusterArns: string[];
163
+ ExternalId?: string;
164
+ /**
165
+ * @pattern `^[A-Za-z][0-9A-Za-z-:._]*$`
166
+ */
167
+ GlobalClusterIdentifier: string;
168
+ /**
169
+ * @min `1`
170
+ */
171
+ TimeoutMinutes?: number;
172
+ Ungraceful?: DocumentDbUngraceful;
173
+ };
174
+ /**
175
+ * Type definition for `AWS::ARCRegionSwitch::Plan.DocumentDbUngraceful`.
176
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-documentdbungraceful.html}
177
+ */
178
+ export type DocumentDbUngraceful = {
179
+ Ungraceful?: DocumentDbUngracefulBehavior;
180
+ };
181
+ /**
182
+ * Type definition for `AWS::ARCRegionSwitch::Plan.DocumentDbUngracefulBehavior`.
183
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-documentdbungracefulbehavior.html}
184
+ */
185
+ export type DocumentDbUngracefulBehavior = "failover";
151
186
  /**
152
187
  * Type definition for `AWS::ARCRegionSwitch::Plan.Ec2AsgCapacityIncreaseConfiguration`.
153
188
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ec2asgcapacityincreaseconfiguration.html}
@@ -292,12 +327,14 @@ export type ExecutionBlockConfiguration = {
292
327
  EksResourceScalingConfig: EksResourceScalingConfiguration;
293
328
  } | {
294
329
  Route53HealthCheckConfig: Route53HealthCheckConfiguration;
330
+ } | {
331
+ DocumentDbConfig: DocumentDbConfiguration;
295
332
  };
296
333
  /**
297
334
  * Type definition for `AWS::ARCRegionSwitch::Plan.ExecutionBlockType`.
298
335
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-executionblocktype.html}
299
336
  */
300
- export type ExecutionBlockType = "CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck";
337
+ export type ExecutionBlockType = "CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb";
301
338
  /**
302
339
  * Type definition for `AWS::ARCRegionSwitch::Plan.GlobalAuroraConfiguration`.
303
340
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-globalauroraconfiguration.html}
@@ -423,6 +460,24 @@ export type RegionSwitchPlanConfiguration = {
423
460
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-regiontorunin.html}
424
461
  */
425
462
  export type RegionToRunIn = "activatingRegion" | "deactivatingRegion";
463
+ /**
464
+ * Type definition for `AWS::ARCRegionSwitch::Plan.ReportConfiguration`.
465
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-reportconfiguration.html}
466
+ */
467
+ export type ReportConfiguration = {
468
+ /**
469
+ * @minLength `1`
470
+ * @maxLength `1`
471
+ */
472
+ ReportOutput?: ReportOutputConfiguration[];
473
+ };
474
+ /**
475
+ * Type definition for `AWS::ARCRegionSwitch::Plan.ReportOutputConfiguration`.
476
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-reportoutputconfiguration.html}
477
+ */
478
+ export type ReportOutputConfiguration = {
479
+ S3Configuration: S3ReportOutputConfiguration;
480
+ };
426
481
  /**
427
482
  * Type definition for `AWS::ARCRegionSwitch::Plan.Route53HealthCheckConfiguration`.
428
483
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-route53healthcheckconfiguration.html}
@@ -469,6 +524,22 @@ export type Route53ResourceRecordSet = {
469
524
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-routingcontrolstatechange.html}
470
525
  */
471
526
  export type RoutingControlStateChange = "On" | "Off";
527
+ /**
528
+ * Type definition for `AWS::ARCRegionSwitch::Plan.S3ReportOutputConfiguration`.
529
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-s3reportoutputconfiguration.html}
530
+ */
531
+ export type S3ReportOutputConfiguration = {
532
+ /**
533
+ * @pattern `^\d{12}$`
534
+ */
535
+ BucketOwner?: string;
536
+ /**
537
+ * @minLength `3`
538
+ * @maxLength `512`
539
+ * @pattern `^(?:s3://)?[a-z0-9][a-z0-9-]{1,61}[a-z0-9](?:/[^/ ][^/]*)/‍*?$`
540
+ */
541
+ BucketPath?: string;
542
+ };
472
543
  /**
473
544
  * Type definition for `AWS::ARCRegionSwitch::Plan.Service`.
474
545
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-service.html}
@@ -71,6 +71,15 @@ export type AssetPropertyVariant = {
71
71
  IntegerValue?: string;
72
72
  StringValue?: string;
73
73
  };
74
+ /**
75
+ * Type definition for `AWS::IoT::TopicRule.BatchConfig`.
76
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-batchconfig.html}
77
+ */
78
+ export type BatchConfig = {
79
+ MaxBatchOpenMs?: number;
80
+ MaxBatchSize?: number;
81
+ MaxBatchSizeBytes?: number;
82
+ };
74
83
  /**
75
84
  * Type definition for `AWS::IoT::TopicRule.CannedAccessControlList`.
76
85
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cannedaccesscontrollist.html}
@@ -157,7 +166,9 @@ export type FirehoseAction = {
157
166
  */
158
167
  export type HttpAction = {
159
168
  Auth?: HttpAuthorization;
169
+ BatchConfig?: BatchConfig;
160
170
  ConfirmationUrl?: string;
171
+ EnableBatching?: boolean;
161
172
  Headers?: HttpActionHeader[];
162
173
  Url: string;
163
174
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.508",
3
+ "version": "0.1.509",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },