@pulumi/spotinst 3.75.0 → 3.76.0-alpha.1713985268

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 (89) hide show
  1. package/aws/account.d.ts +0 -2
  2. package/aws/account.js +0 -2
  3. package/aws/account.js.map +1 -1
  4. package/aws/credentials.d.ts +0 -2
  5. package/aws/credentials.js +0 -2
  6. package/aws/credentials.js.map +1 -1
  7. package/aws/elastigroup.d.ts +0 -167
  8. package/aws/elastigroup.js +0 -2
  9. package/aws/elastigroup.js.map +1 -1
  10. package/aws/mrScalar.d.ts +0 -429
  11. package/aws/mrScalar.js +0 -6
  12. package/aws/mrScalar.js.map +1 -1
  13. package/aws/ocean.d.ts +3 -30
  14. package/aws/ocean.js.map +1 -1
  15. package/aws/oceanExtendedResourceDefinition.d.ts +0 -2
  16. package/aws/oceanExtendedResourceDefinition.js +0 -2
  17. package/aws/oceanExtendedResourceDefinition.js.map +1 -1
  18. package/aws/oceanLaunchSpec.d.ts +3 -3
  19. package/aws/suspension.d.ts +0 -2
  20. package/aws/suspension.js +0 -2
  21. package/aws/suspension.js.map +1 -1
  22. package/azure/index.d.ts +0 -3
  23. package/azure/index.js +1 -6
  24. package/azure/index.js.map +1 -1
  25. package/azure/ocean.d.ts +6 -8
  26. package/azure/ocean.js +0 -2
  27. package/azure/ocean.js.map +1 -1
  28. package/azure/oceanNp.d.ts +233 -0
  29. package/azure/oceanNp.js +26 -0
  30. package/azure/oceanNp.js.map +1 -1
  31. package/azure/oceanNpVirtualNodeGroup.d.ts +265 -0
  32. package/azure/oceanNpVirtualNodeGroup.js +85 -0
  33. package/azure/oceanNpVirtualNodeGroup.js.map +1 -1
  34. package/azure/oceanVirtualNodeGroup.d.ts +0 -2
  35. package/azure/oceanVirtualNodeGroup.js +0 -2
  36. package/azure/oceanVirtualNodeGroup.js.map +1 -1
  37. package/dataIntegration.d.ts +0 -2
  38. package/dataIntegration.js +0 -2
  39. package/dataIntegration.js.map +1 -1
  40. package/ecs/ocean.d.ts +0 -72
  41. package/ecs/ocean.js.map +1 -1
  42. package/ecs/oceanLaunchSpec.d.ts +3 -5
  43. package/ecs/oceanLaunchSpec.js +0 -2
  44. package/ecs/oceanLaunchSpec.js.map +1 -1
  45. package/gcp/elastigroup.d.ts +0 -98
  46. package/gcp/elastigroup.js +0 -2
  47. package/gcp/elastigroup.js.map +1 -1
  48. package/gke/elastigroup.d.ts +0 -35
  49. package/gke/elastigroup.js +0 -2
  50. package/gke/elastigroup.js.map +1 -1
  51. package/gke/oceanImport.d.ts +0 -20
  52. package/gke/oceanImport.js +0 -2
  53. package/gke/oceanImport.js.map +1 -1
  54. package/gke/oceanLaunchSpec.d.ts +3 -5
  55. package/gke/oceanLaunchSpec.js +0 -2
  56. package/gke/oceanLaunchSpec.js.map +1 -1
  57. package/gke/oceanLaunchSpecImport.d.ts +0 -2
  58. package/gke/oceanLaunchSpecImport.js +0 -2
  59. package/gke/oceanLaunchSpecImport.js.map +1 -1
  60. package/organization/policy.d.ts +0 -2
  61. package/organization/policy.js +0 -2
  62. package/organization/policy.js.map +1 -1
  63. package/organization/programmaticUser.d.ts +0 -2
  64. package/organization/programmaticUser.js +0 -2
  65. package/organization/programmaticUser.js.map +1 -1
  66. package/organization/user.d.ts +0 -2
  67. package/organization/user.js +0 -2
  68. package/organization/user.js.map +1 -1
  69. package/organization/userGroup.d.ts +0 -2
  70. package/organization/userGroup.js +0 -2
  71. package/organization/userGroup.js.map +1 -1
  72. package/package.json +1 -1
  73. package/spark/ocean.d.ts +0 -2
  74. package/spark/ocean.js +0 -2
  75. package/spark/ocean.js.map +1 -1
  76. package/spark/oceanVirtualNodeGroup.d.ts +0 -2
  77. package/spark/oceanVirtualNodeGroup.js +0 -2
  78. package/spark/oceanVirtualNodeGroup.js.map +1 -1
  79. package/statefulNodeAzure.d.ts +0 -2
  80. package/statefulNodeAzure.js +0 -2
  81. package/statefulNodeAzure.js.map +1 -1
  82. package/subscription.d.ts +0 -2
  83. package/subscription.js +0 -2
  84. package/subscription.js.map +1 -1
  85. package/types/input.d.ts +192 -1814
  86. package/types/output.d.ts +192 -1814
  87. package/azure/elastigroup.d.ts +0 -271
  88. package/azure/elastigroup.js +0 -204
  89. package/azure/elastigroup.js.map +0 -1
package/types/output.d.ts CHANGED
@@ -59,16 +59,13 @@ export interface HealthCheckCheck {
59
59
  * The destination for the request.
60
60
  */
61
61
  endpoint?: string;
62
- /**
63
- * The number of consecutive successful health checks that must occur before declaring an instance healthy.
64
- */
65
62
  healthy: number;
66
63
  /**
67
64
  * The amount of time (in seconds) between each health check (minimum: 10).
68
65
  */
69
66
  interval: number;
70
67
  /**
71
- * The port of the Spotinst HCS (default: 80).
68
+ * The port to use to connect with the instance.
72
69
  */
73
70
  port: number;
74
71
  /**
@@ -80,9 +77,6 @@ export interface HealthCheckCheck {
80
77
  * the amount of time (in seconds) to wait when receiving a response from the health check.
81
78
  */
82
79
  timeout?: number;
83
- /**
84
- * The number of consecutive failed health checks that must occur before declaring an instance unhealthy.
85
- */
86
80
  unhealthy: number;
87
81
  }
88
82
  export interface StatefulNodeAzureAttachDataDisk {
@@ -300,13 +294,7 @@ export declare namespace aws {
300
294
  strategies?: outputs.aws.BeanstalkDeploymentPreferencesStrategy[];
301
295
  }
302
296
  interface BeanstalkDeploymentPreferencesStrategy {
303
- /**
304
- * Action to take
305
- */
306
297
  action?: string;
307
- /**
308
- * Bool value if to wait to drain instance
309
- */
310
298
  shouldDrainInstances?: boolean;
311
299
  }
312
300
  interface BeanstalkManagedActions {
@@ -316,17 +304,8 @@ export declare namespace aws {
316
304
  platformUpdate?: outputs.aws.BeanstalkManagedActionsPlatformUpdate;
317
305
  }
318
306
  interface BeanstalkManagedActionsPlatformUpdate {
319
- /**
320
- * Actions to perform (options: timeWindow, never)
321
- */
322
307
  performAt?: string;
323
- /**
324
- * Time Window for when action occurs ex. Mon:23:50-Tue:00:20
325
- */
326
308
  timeWindow?: string;
327
- /**
328
- * Level to update
329
- */
330
309
  updateLevel?: string;
331
310
  }
332
311
  interface BeanstalkScheduledTask {
@@ -459,7 +438,7 @@ export declare namespace aws {
459
438
  }
460
439
  interface ElastigroupImageImage {
461
440
  /**
462
- * The identifier of The S3 data integration to export the logs to.
441
+ * The group ID.
463
442
  */
464
443
  id: string;
465
444
  }
@@ -474,417 +453,150 @@ export declare namespace aws {
474
453
  weight: number;
475
454
  }
476
455
  interface ElastigroupIntegrationBeanstalk {
477
- /**
478
- * Preferences when performing a roll
479
- */
480
456
  deploymentPreferences?: outputs.aws.ElastigroupIntegrationBeanstalkDeploymentPreferences;
481
457
  environmentId?: string;
482
- /**
483
- * Managed Actions parameters
484
- */
485
458
  managedActions?: outputs.aws.ElastigroupIntegrationBeanstalkManagedActions;
486
459
  }
487
460
  interface ElastigroupIntegrationBeanstalkDeploymentPreferences {
488
- /**
489
- * Should roll perform automatically
490
- */
491
461
  automaticRoll?: boolean;
492
- /**
493
- * The percentage size of each batch in the scheduled deployment roll.
494
- */
495
462
  batchSizePercentage?: number;
496
- /**
497
- * The period of time (seconds) to wait before checking a batch's health after it's deployment.
498
- */
499
463
  gracePeriod?: number;
500
- /**
501
- * Strategy parameters
502
- */
503
464
  strategy?: outputs.aws.ElastigroupIntegrationBeanstalkDeploymentPreferencesStrategy;
504
465
  }
505
466
  interface ElastigroupIntegrationBeanstalkDeploymentPreferencesStrategy {
506
- /**
507
- * The action to take when scale up according to step's threshold is needed.
508
- */
509
467
  action?: string;
510
- /**
511
- * Bool value if to wait to drain instance
512
- */
513
468
  shouldDrainInstances?: boolean;
514
469
  }
515
470
  interface ElastigroupIntegrationBeanstalkManagedActions {
516
- /**
517
- * Platform Update parameters
518
- */
519
471
  platformUpdate?: outputs.aws.ElastigroupIntegrationBeanstalkManagedActionsPlatformUpdate;
520
472
  }
521
473
  interface ElastigroupIntegrationBeanstalkManagedActionsPlatformUpdate {
522
- /**
523
- * In the event of a fallback to On-Demand instances, select the time period to revert back to Spot. Supported Arguments – always (default), timeWindow, never. For timeWindow or never to be valid the group must have availabilityOriented OR persistence defined.
524
- */
525
474
  performAt?: string;
526
- /**
527
- * Time Window for when action occurs ex. Mon:23:50-Tue:00:20
528
- */
529
475
  timeWindow?: string;
530
- /**
531
- * Level to update
532
- *
533
- * Usage:
534
- */
535
476
  updateLevel?: string;
536
477
  }
537
478
  interface ElastigroupIntegrationCodedeploy {
538
- /**
539
- * Cleanup automatically after a failed deploy.
540
- */
541
479
  cleanupOnFailure: boolean;
542
- /**
543
- * Specify the deployment groups details.
544
- */
545
480
  deploymentGroups: outputs.aws.ElastigroupIntegrationCodedeployDeploymentGroup[];
546
- /**
547
- * Terminate the instance automatically after a failed deploy.
548
- */
549
481
  terminateInstanceOnFailure: boolean;
550
482
  }
551
483
  interface ElastigroupIntegrationCodedeployDeploymentGroup {
552
- /**
553
- * The application name.
554
- */
555
484
  applicationName: string;
556
- /**
557
- * The deployment group name.
558
- *
559
- * Usage:
560
- */
561
485
  deploymentGroupName: string;
562
486
  }
563
487
  interface ElastigroupIntegrationDockerSwarm {
564
- /**
565
- * The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
566
- */
567
488
  autoscaleCooldown?: number;
568
- /**
569
- * Settings for scale down actions.
570
- */
571
489
  autoscaleDown?: outputs.aws.ElastigroupIntegrationDockerSwarmAutoscaleDown;
572
- /**
573
- * An option to set compute reserve for the cluster.
574
- */
575
490
  autoscaleHeadroom?: outputs.aws.ElastigroupIntegrationDockerSwarmAutoscaleHeadroom;
576
- /**
577
- * Specifies whether the auto scaling feature is enabled.
578
- */
579
491
  autoscaleIsEnabled?: boolean;
580
- /**
581
- * The URL for the Nomad master host.
582
- */
583
492
  masterHost: string;
584
- /**
585
- * The network port for the master host.
586
- */
587
493
  masterPort: number;
588
494
  }
589
495
  interface ElastigroupIntegrationDockerSwarmAutoscaleDown {
590
- /**
591
- * The number of periods over which data is compared to the specified threshold.
592
- */
593
496
  evaluationPeriods?: number;
594
- /**
595
- * Represents the maximum percent to scale-down. Number between 1-100.
596
- */
597
497
  maxScaleDownPercentage?: number;
598
498
  }
599
499
  interface ElastigroupIntegrationDockerSwarmAutoscaleHeadroom {
600
- /**
601
- * How much CPU (MHz) to allocate for headroom unit.
602
- */
603
500
  cpuPerUnit?: number;
604
- /**
605
- * How much Memory allocate for headroom unit.
606
- */
607
501
  memoryPerUnit?: number;
608
- /**
609
- * How many units of headroom to allocate.
610
- */
611
502
  numOfUnits?: number;
612
503
  }
613
504
  interface ElastigroupIntegrationEcs {
614
- /**
615
- * A key/value mapping of tags to assign to the resource.
616
- */
617
505
  autoscaleAttributes?: outputs.aws.ElastigroupIntegrationEcsAutoscaleAttribute[];
618
- /**
619
- * The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
620
- */
621
506
  autoscaleCooldown?: number;
622
- /**
623
- * Settings for scale down actions.
624
- */
625
507
  autoscaleDown?: outputs.aws.ElastigroupIntegrationEcsAutoscaleDown;
626
- /**
627
- * An option to set compute reserve for the cluster.
628
- */
629
508
  autoscaleHeadroom?: outputs.aws.ElastigroupIntegrationEcsAutoscaleHeadroom;
630
- /**
631
- * Enabling the automatic k8s auto-scaler functionality. For more information please see: [Kubernetes auto scaler](https://api.spotinst.com/integration-docs/elastigroup/container-management/kubernetes/autoscaler/).
632
- */
633
509
  autoscaleIsAutoConfig?: boolean;
634
- /**
635
- * Specifies whether the auto scaling feature is enabled.
636
- */
637
510
  autoscaleIsEnabled?: boolean;
638
- /**
639
- * Determines whether to scale down non-service tasks.
640
- */
641
511
  autoscaleScaleDownNonServiceTasks?: boolean;
642
- /**
643
- * Batch configuration object:
644
- */
645
512
  batch?: outputs.aws.ElastigroupIntegrationEcsBatch;
646
- /**
647
- * The name of the EC2 Container Service cluster.
648
- */
649
513
  clusterName: string;
650
514
  }
651
515
  interface ElastigroupIntegrationEcsAutoscaleAttribute {
652
516
  key: string;
653
- /**
654
- * The dimension value.
655
- */
656
517
  value: string;
657
518
  }
658
519
  interface ElastigroupIntegrationEcsAutoscaleDown {
659
- /**
660
- * The number of periods over which data is compared to the specified threshold.
661
- */
662
520
  evaluationPeriods?: number;
663
- /**
664
- * Represents the maximum percent to scale-down. Number between 1-100.
665
- */
666
521
  maxScaleDownPercentage?: number;
667
522
  }
668
523
  interface ElastigroupIntegrationEcsAutoscaleHeadroom {
669
- /**
670
- * How much CPU (MHz) to allocate for headroom unit.
671
- */
672
524
  cpuPerUnit?: number;
673
- /**
674
- * How much Memory allocate for headroom unit.
675
- */
676
525
  memoryPerUnit?: number;
677
- /**
678
- * How many units of headroom to allocate.
679
- */
680
526
  numOfUnits?: number;
681
527
  }
682
528
  interface ElastigroupIntegrationEcsBatch {
683
- /**
684
- * Array of strings.
685
- *
686
- * Usage:
687
- */
688
529
  jobQueueNames: string[];
689
530
  }
690
531
  interface ElastigroupIntegrationGitlab {
691
- /**
692
- * Settings for Gitlab runner.
693
- */
694
532
  runner?: outputs.aws.ElastigroupIntegrationGitlabRunner;
695
533
  }
696
534
  interface ElastigroupIntegrationGitlabRunner {
697
- /**
698
- * Specifies whether the scaling policy described in this block is enabled.
699
- */
700
535
  isEnabled?: boolean;
701
536
  }
702
537
  interface ElastigroupIntegrationKubernetes {
703
- /**
704
- * The public IP of the DC/OS Master.
705
- *
706
- * Usage:
707
- */
708
538
  apiServer?: string;
709
- /**
710
- * The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
711
- */
712
539
  autoscaleCooldown?: number;
713
- /**
714
- * Settings for scale down actions.
715
- */
716
540
  autoscaleDown?: outputs.aws.ElastigroupIntegrationKubernetesAutoscaleDown;
717
- /**
718
- * An option to set compute reserve for the cluster.
719
- */
720
541
  autoscaleHeadroom?: outputs.aws.ElastigroupIntegrationKubernetesAutoscaleHeadroom;
721
- /**
722
- * Enabling the automatic k8s auto-scaler functionality. For more information please see: [Kubernetes auto scaler](https://api.spotinst.com/integration-docs/elastigroup/container-management/kubernetes/autoscaler/).
723
- */
724
542
  autoscaleIsAutoConfig?: boolean;
725
- /**
726
- * Specifies whether the auto scaling feature is enabled.
727
- */
728
543
  autoscaleIsEnabled?: boolean;
729
- /**
730
- * A key/value mapping of tags to assign to the resource.
731
- *
732
- * Usage:
733
- */
734
544
  autoscaleLabels?: outputs.aws.ElastigroupIntegrationKubernetesAutoscaleLabel[];
735
545
  clusterIdentifier?: string;
736
- /**
737
- * Valid values: `"saas"`, `"pod"`.
738
- */
739
546
  integrationMode?: string;
740
- /**
741
- * Kubernetes Token
742
- */
743
547
  token?: string;
744
548
  }
745
549
  interface ElastigroupIntegrationKubernetesAutoscaleDown {
746
- /**
747
- * The number of periods over which data is compared to the specified threshold.
748
- */
749
550
  evaluationPeriods?: number;
750
- /**
751
- * Represents the maximum percent to scale-down. Number between 1-100.
752
- */
753
551
  maxScaleDownPercentage?: number;
754
552
  }
755
553
  interface ElastigroupIntegrationKubernetesAutoscaleHeadroom {
756
- /**
757
- * How much CPU (MHz) to allocate for headroom unit.
758
- */
759
554
  cpuPerUnit?: number;
760
- /**
761
- * How much Memory allocate for headroom unit.
762
- */
763
555
  memoryPerUnit?: number;
764
- /**
765
- * How many units of headroom to allocate.
766
- */
767
556
  numOfUnits?: number;
768
557
  }
769
558
  interface ElastigroupIntegrationKubernetesAutoscaleLabel {
770
559
  key: string;
771
- /**
772
- * The dimension value.
773
- */
774
560
  value: string;
775
561
  }
776
562
  interface ElastigroupIntegrationMesosphere {
777
- /**
778
- * The public IP of the DC/OS Master.
779
- *
780
- * Usage:
781
- */
782
563
  apiServer: string;
783
564
  }
784
565
  interface ElastigroupIntegrationNomad {
785
- /**
786
- * Nomad ACL Token
787
- */
788
566
  aclToken?: string;
789
- /**
790
- * A key/value mapping of tags to assign to the resource.
791
- *
792
- * Usage:
793
- */
794
567
  autoscaleConstraints?: outputs.aws.ElastigroupIntegrationNomadAutoscaleConstraint[];
795
- /**
796
- * The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
797
- */
798
568
  autoscaleCooldown?: number;
799
- /**
800
- * Settings for scale down actions.
801
- */
802
569
  autoscaleDown?: outputs.aws.ElastigroupIntegrationNomadAutoscaleDown;
803
- /**
804
- * An option to set compute reserve for the cluster.
805
- */
806
570
  autoscaleHeadroom?: outputs.aws.ElastigroupIntegrationNomadAutoscaleHeadroom;
807
- /**
808
- * Specifies whether the auto scaling feature is enabled.
809
- */
810
571
  autoscaleIsEnabled?: boolean;
811
- /**
812
- * The URL for the Nomad master host.
813
- */
814
572
  masterHost: string;
815
- /**
816
- * The network port for the master host.
817
- */
818
573
  masterPort: number;
819
574
  }
820
575
  interface ElastigroupIntegrationNomadAutoscaleConstraint {
821
576
  key: string;
822
- /**
823
- * The dimension value.
824
- */
825
577
  value: string;
826
578
  }
827
579
  interface ElastigroupIntegrationNomadAutoscaleDown {
828
- /**
829
- * The number of periods over which data is compared to the specified threshold.
830
- */
831
580
  evaluationPeriods?: number;
832
581
  }
833
582
  interface ElastigroupIntegrationNomadAutoscaleHeadroom {
834
- /**
835
- * How much CPU (MHz) to allocate for headroom unit.
836
- */
837
583
  cpuPerUnit?: number;
838
- /**
839
- * How much Memory allocate for headroom unit.
840
- */
841
584
  memoryPerUnit?: number;
842
- /**
843
- * How many units of headroom to allocate.
844
- */
845
585
  numOfUnits?: number;
846
586
  }
847
587
  interface ElastigroupIntegrationRancher {
848
- /**
849
- * The access key of the Rancher API.
850
- */
851
588
  accessKey: string;
852
- /**
853
- * The URL for the Nomad master host.
854
- */
855
589
  masterHost: string;
856
- /**
857
- * The secret key of the Rancher API.
858
- */
859
590
  secretKey: string;
860
- /**
861
- * The Rancher version. Must be `"1"` or `"2"`. If this field is omitted, it’s assumed that the Rancher cluster is version 1. Note that Kubernetes is required when using Rancher version 2^.
862
- * Usage:
863
- */
864
591
  version?: string;
865
592
  }
866
593
  interface ElastigroupIntegrationRoute53 {
867
- /**
868
- * Collection of one or more domains to register.
869
- */
870
594
  domains: outputs.aws.ElastigroupIntegrationRoute53Domain[];
871
595
  }
872
596
  interface ElastigroupIntegrationRoute53Domain {
873
- /**
874
- * The id associated with a hosted zone.
875
- */
876
597
  hostedZoneId: string;
877
- /**
878
- * The type of the record set. Valid values: `"a"`, `"cname"`.
879
- */
880
598
  recordSetType?: string;
881
- /**
882
- * Collection of records containing authoritative DNS information for the specified domain name.
883
- */
884
599
  recordSets: outputs.aws.ElastigroupIntegrationRoute53DomainRecordSet[];
885
- /**
886
- * The Spotinst account ID that is linked to the AWS account that holds the Route 53 Hosted Zone ID. The default is the user Spotinst account provided as a URL parameter.
887
- */
888
600
  spotinstAcctId?: string;
889
601
  }
890
602
  interface ElastigroupIntegrationRoute53DomainRecordSet {
@@ -892,15 +604,7 @@ export declare namespace aws {
892
604
  * The group name.
893
605
  */
894
606
  name: string;
895
- /**
896
- * Designates whether the DNS address should be exposed to connections outside the VPC.
897
- *
898
- * Usage:
899
- */
900
607
  usePublicDns?: boolean;
901
- /**
902
- * Designates whether the IP address should be exposed to connections outside the VPC.
903
- */
904
608
  usePublicIp?: boolean;
905
609
  }
906
610
  interface ElastigroupItf {
@@ -960,14 +664,11 @@ export declare namespace aws {
960
664
  export?: outputs.aws.ElastigroupLoggingExport;
961
665
  }
962
666
  interface ElastigroupLoggingExport {
963
- /**
964
- * Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
965
- */
966
667
  s3s?: outputs.aws.ElastigroupLoggingExportS3[];
967
668
  }
968
669
  interface ElastigroupLoggingExportS3 {
969
670
  /**
970
- * The identifier of The S3 data integration to export the logs to.
671
+ * The group ID.
971
672
  */
972
673
  id: string;
973
674
  }
@@ -986,19 +687,10 @@ export declare namespace aws {
986
687
  instanceMetadataTags?: string;
987
688
  }
988
689
  interface ElastigroupMultipleMetrics {
989
- /**
990
- * Array of objects (Expression config)
991
- */
992
690
  expressions?: outputs.aws.ElastigroupMultipleMetricsExpression[];
993
- /**
994
- * Array of objects (Metric config)
995
- */
996
691
  metrics?: outputs.aws.ElastigroupMultipleMetricsMetric[];
997
692
  }
998
693
  interface ElastigroupMultipleMetricsExpression {
999
- /**
1000
- * An expression consisting of the metric names listed in the 'metrics' array.
1001
- */
1002
694
  expression: string;
1003
695
  /**
1004
696
  * The group name.
@@ -1006,33 +698,15 @@ export declare namespace aws {
1006
698
  name: string;
1007
699
  }
1008
700
  interface ElastigroupMultipleMetricsMetric {
1009
- /**
1010
- * A list of dimensions describing qualities of the metric.
1011
- */
1012
701
  dimensions?: outputs.aws.ElastigroupMultipleMetricsMetricDimension[];
1013
- /**
1014
- * Percentile statistic. Valid values: `"p0.1"` - `"p100"`.
1015
- */
1016
702
  extendedStatistic?: string;
1017
- /**
1018
- * The name of the metric, with or without spaces.
1019
- */
1020
703
  metricName: string;
1021
704
  /**
1022
705
  * The group name.
1023
706
  */
1024
707
  name: string;
1025
- /**
1026
- * The namespace for the alarm's associated metric.
1027
- */
1028
708
  namespace: string;
1029
- /**
1030
- * The metric statistics to return. For information about specific statistics go to [Statistics](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/index.html?CHAP_TerminologyandKeyConcepts.html#Statistic) in the Amazon CloudWatch Developer Guide.
1031
- */
1032
709
  statistic?: string;
1033
- /**
1034
- * The unit for the alarm's associated metric. Valid values: `"percent`, `"seconds"`, `"microseconds"`, `"milliseconds"`, `"bytes"`, `"kilobytes"`, `"megabytes"`, `"gigabytes"`, `"terabytes"`, `"bits"`, `"kilobits"`, `"megabits"`, `"gigabits"`, `"terabits"`, `"count"`, `"bytes/second"`, `"kilobytes/second"`, `"megabytes/second"`, `"gigabytes/second"`, `"terabytes/second"`, `"bits/second"`, `"kilobits/second"`, `"megabits/second"`, `"gigabits/second"`, `"terabits/second"`, `"count/second"`, `"none"`.
1035
- */
1036
710
  unit?: string;
1037
711
  }
1038
712
  interface ElastigroupMultipleMetricsMetricDimension {
@@ -1040,45 +714,19 @@ export declare namespace aws {
1040
714
  * The group name.
1041
715
  */
1042
716
  name: string;
1043
- /**
1044
- * The dimension value.
1045
- */
1046
717
  value?: string;
1047
718
  }
1048
719
  interface ElastigroupNetworkInterface {
1049
- /**
1050
- * Indicates whether to assign IPV6 addresses to your instance. Requires a subnet with IPV6 CIDR block ranges.
1051
- *
1052
- * Usage:
1053
- */
1054
720
  associateIpv6Address?: boolean;
1055
- /**
1056
- * Indicates whether to assign a public IP address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one.
1057
- */
1058
721
  associatePublicIpAddress?: boolean;
1059
- /**
1060
- * Whether the volume should be destroyed on instance termination.
1061
- */
1062
- deleteOnTermination: boolean;
722
+ deleteOnTermination: boolean;
1063
723
  /**
1064
724
  * The group description.
1065
725
  */
1066
726
  description?: string;
1067
- /**
1068
- * The index of the device on the instance for the network interface attachment.
1069
- */
1070
727
  deviceIndex: string;
1071
- /**
1072
- * The ID of the network interface.
1073
- */
1074
728
  networkInterfaceId?: string;
1075
- /**
1076
- * The private IP address of the network interface.
1077
- */
1078
729
  privateIpAddress?: string;
1079
- /**
1080
- * The number of secondary private IP addresses.
1081
- */
1082
730
  secondaryPrivateIpAddressCount?: string;
1083
731
  }
1084
732
  interface ElastigroupResourceRequirement {
@@ -1184,9 +832,6 @@ export declare namespace aws {
1184
832
  * The name of the metric, with or without spaces.
1185
833
  */
1186
834
  metricName: string;
1187
- /**
1188
- * . The number of the desired target (and minimum) capacity
1189
- */
1190
835
  minTargetCapacity?: string;
1191
836
  /**
1192
837
  * The minimal number of instances to have in the group.
@@ -1222,14 +867,7 @@ export declare namespace aws {
1222
867
  */
1223
868
  target?: string;
1224
869
  /**
1225
- * The value against which the specified statistic is compared in order to determine if a step should be applied.
1226
- *
1227
- *
1228
- * If you do not specify an action type, you can only use – `adjustment`, `minTargetCapacity`, `maxTargetCapacity`.
1229
- * While using action_type, please also set the following:
1230
- *
1231
- * When using `adjustment` – set the field `adjustment`
1232
- * When using `updateCapacity` – set the fields `minimum`, `maximum`, and `target`
870
+ * The value against which the specified statistic is compared. If a `stepAdjustment` object is defined, then it cannot be specified.
1233
871
  */
1234
872
  threshold?: number;
1235
873
  /**
@@ -1239,7 +877,7 @@ export declare namespace aws {
1239
877
  }
1240
878
  interface ElastigroupScalingDownPolicyDimension {
1241
879
  /**
1242
- * The group name.
880
+ * The dimension name.
1243
881
  */
1244
882
  name: string;
1245
883
  /**
@@ -1248,50 +886,16 @@ export declare namespace aws {
1248
886
  value?: string;
1249
887
  }
1250
888
  interface ElastigroupScalingDownPolicyStepAdjustment {
1251
- /**
1252
- * The action to take when scale up according to step's threshold is needed.
1253
- */
1254
889
  action: outputs.aws.ElastigroupScalingDownPolicyStepAdjustmentAction;
1255
- /**
1256
- * The value against which the specified statistic is compared in order to determine if a step should be applied.
1257
- *
1258
- *
1259
- * If you do not specify an action type, you can only use – `adjustment`, `minTargetCapacity`, `maxTargetCapacity`.
1260
- * While using action_type, please also set the following:
1261
- *
1262
- * When using `adjustment` – set the field `adjustment`
1263
- * When using `updateCapacity` – set the fields `minimum`, `maximum`, and `target`
1264
- */
1265
890
  threshold: number;
1266
891
  }
1267
892
  interface ElastigroupScalingDownPolicyStepAdjustmentAction {
1268
- /**
1269
- * The number of instances to add/remove to/from the target capacity when scale is needed. Can be used as advanced expression for scaling of instances to add/remove to/from the target capacity when scale is needed. You can see more information here: Advanced expression. Example value: `"MAX(currCapacity / 5, value * 10)"`
1270
- */
1271
893
  adjustment?: string;
1272
- /**
1273
- * . The number of the desired target (and maximum) capacity
1274
- */
1275
894
  maxTargetCapacity?: string;
1276
- /**
1277
- * The maximal number of instances to have in the group.
1278
- */
1279
895
  maximum?: string;
1280
- /**
1281
- * . The number of the desired target (and minimum) capacity
1282
- */
1283
896
  minTargetCapacity?: string;
1284
- /**
1285
- * The minimal number of instances to have in the group.
1286
- */
1287
897
  minimum?: string;
1288
- /**
1289
- * The target number of instances to have in the group.
1290
- */
1291
898
  target?: string;
1292
- /**
1293
- * The type of the action to take when scale up is needed. Valid types: `"adjustment"`, `"updateCapacity"`, `"setMaxTarget"`, `"percentageAdjustment"`.
1294
- */
1295
899
  type: string;
1296
900
  }
1297
901
  interface ElastigroupScalingStrategy {
@@ -1364,11 +968,11 @@ export declare namespace aws {
1364
968
  }
1365
969
  interface ElastigroupScalingTargetPolicyDimension {
1366
970
  /**
1367
- * The group name.
971
+ * String, the dimension name.
1368
972
  */
1369
973
  name: string;
1370
974
  /**
1371
- * The dimension value.
975
+ * String, the dimension value.
1372
976
  */
1373
977
  value?: string;
1374
978
  }
@@ -1397,9 +1001,6 @@ export declare namespace aws {
1397
1001
  * Specifies whether the scaling policy described in this block is enabled.
1398
1002
  */
1399
1003
  isEnabled?: boolean;
1400
- /**
1401
- * . The number of the desired target (and maximum) capacity
1402
- */
1403
1004
  maxTargetCapacity?: string;
1404
1005
  /**
1405
1006
  * The maximal number of instances to have in the group.
@@ -1447,15 +1048,7 @@ export declare namespace aws {
1447
1048
  */
1448
1049
  target?: string;
1449
1050
  /**
1450
- * The value against which the specified statistic is compared in order to determine if a step should be applied.
1451
- *
1452
- *
1453
- * If you do not specify an action type, you can only use – `adjustment`, `minTargetCapacity`, `maxTargetCapacity`.
1454
- * While using action_type, please also set the following:
1455
- *
1456
- * When using `adjustment` – set the field `adjustment`
1457
- * When using `setMinTarget` – set the field `minTargetCapacity`
1458
- * When using `updateCapacity` – set the fields `minimum`, `maximum`, and `target`
1051
+ * The value against which the specified statistic is compared. If a `stepAdjustment` object is defined, then it cannot be specified.
1459
1052
  */
1460
1053
  threshold?: number;
1461
1054
  /**
@@ -1465,7 +1058,7 @@ export declare namespace aws {
1465
1058
  }
1466
1059
  interface ElastigroupScalingUpPolicyDimension {
1467
1060
  /**
1468
- * The group name.
1061
+ * The dimension name.
1469
1062
  */
1470
1063
  name: string;
1471
1064
  /**
@@ -1474,50 +1067,16 @@ export declare namespace aws {
1474
1067
  value?: string;
1475
1068
  }
1476
1069
  interface ElastigroupScalingUpPolicyStepAdjustment {
1477
- /**
1478
- * The action to take when scale up according to step's threshold is needed.
1479
- */
1480
1070
  action: outputs.aws.ElastigroupScalingUpPolicyStepAdjustmentAction;
1481
- /**
1482
- * The value against which the specified statistic is compared in order to determine if a step should be applied.
1483
- *
1484
- *
1485
- * If you do not specify an action type, you can only use – `adjustment`, `minTargetCapacity`, `maxTargetCapacity`.
1486
- * While using action_type, please also set the following:
1487
- *
1488
- * When using `adjustment` – set the field `adjustment`
1489
- * When using `updateCapacity` – set the fields `minimum`, `maximum`, and `target`
1490
- */
1491
1071
  threshold: number;
1492
1072
  }
1493
1073
  interface ElastigroupScalingUpPolicyStepAdjustmentAction {
1494
- /**
1495
- * The number of instances to add/remove to/from the target capacity when scale is needed. Can be used as advanced expression for scaling of instances to add/remove to/from the target capacity when scale is needed. You can see more information here: Advanced expression. Example value: `"MAX(currCapacity / 5, value * 10)"`
1496
- */
1497
1074
  adjustment?: string;
1498
- /**
1499
- * . The number of the desired target (and maximum) capacity
1500
- */
1501
1075
  maxTargetCapacity?: string;
1502
- /**
1503
- * The maximal number of instances to have in the group.
1504
- */
1505
1076
  maximum?: string;
1506
- /**
1507
- * . The number of the desired target (and minimum) capacity
1508
- */
1509
1077
  minTargetCapacity?: string;
1510
- /**
1511
- * The minimal number of instances to have in the group.
1512
- */
1513
1078
  minimum?: string;
1514
- /**
1515
- * The target number of instances to have in the group.
1516
- */
1517
1079
  target?: string;
1518
- /**
1519
- * The type of the action to take when scale up is needed. Valid types: `"adjustment"`, `"updateCapacity"`, `"setMaxTarget"`, `"percentageAdjustment"`.
1520
- */
1521
1080
  type: string;
1522
1081
  }
1523
1082
  interface ElastigroupScheduledTask {
@@ -1597,123 +1156,50 @@ export declare namespace aws {
1597
1156
  timeout?: number;
1598
1157
  }
1599
1158
  interface ElastigroupStatefulDeallocation {
1600
- /**
1601
- * For stateful groups: remove persistent images.
1602
- */
1603
1159
  shouldDeleteImages?: boolean;
1604
- /**
1605
- * For stateful groups: remove network interfaces.
1606
- */
1607
1160
  shouldDeleteNetworkInterfaces?: boolean;
1608
- /**
1609
- * For stateful groups: remove snapshots.
1610
- *
1611
- * Usage:
1612
- */
1613
1161
  shouldDeleteSnapshots?: boolean;
1614
- /**
1615
- * For stateful groups: remove persistent volumes.
1616
- */
1617
1162
  shouldDeleteVolumes?: boolean;
1618
1163
  }
1619
1164
  interface ElastigroupStatefulInstanceAction {
1620
- /**
1621
- * String, Stateful Instance ID on which the action should be performed.
1622
- */
1623
1165
  statefulInstanceId: string;
1624
- /**
1625
- * String, Action type. Supported action types: `pause`, `resume`, `recycle`, `deallocate`.
1626
- *
1627
- * Usage:
1628
- */
1629
1166
  type: string;
1630
1167
  }
1631
1168
  interface ElastigroupTag {
1632
1169
  key?: string;
1633
- /**
1634
- * The dimension value.
1635
- */
1636
1170
  value?: string;
1637
1171
  }
1638
1172
  interface ElastigroupUpdatePolicy {
1639
- /**
1640
- * Enables updates to tags without rolling the group when set to `true`.
1641
- */
1642
1173
  autoApplyTags?: boolean;
1643
- /**
1644
- * While used, you can control whether the group should perform a deployment after an update to the configuration.
1645
- */
1646
1174
  rollConfig?: outputs.aws.ElastigroupUpdatePolicyRollConfig;
1647
- /**
1648
- * This will apply resuming action for Stateful instances in the Elastigroup upon scale up or capacity changes. Example usage will be for Elastigroups that will have scheduling rules to set a target capacity of 0 instances in the night and automatically restore the same state of the instances in the morning.
1649
- */
1650
1175
  shouldResumeStateful: boolean;
1651
- /**
1652
- * Sets the enablement of the roll option.
1653
- */
1654
1176
  shouldRoll: boolean;
1655
1177
  }
1656
1178
  interface ElastigroupUpdatePolicyRollConfig {
1657
- /**
1658
- * The percentage size of each batch in the scheduled deployment roll.
1659
- */
1660
1179
  batchSizePercentage: number;
1661
- /**
1662
- * The period of time (seconds) to wait before checking a batch's health after it's deployment.
1663
- */
1664
1180
  gracePeriod?: number;
1665
1181
  /**
1666
1182
  * The service that will perform health checks for the instance. Valid values: `"ELB"`, `"HCS"`, `"TARGET_GROUP"`, `"EC2"`, `"K8S_NODE"`, `"NOMAD_NODE"`, `"ECS_CLUSTER_INSTANCE"`.
1667
1183
  */
1668
1184
  healthCheckType?: string;
1669
- /**
1670
- * Strategy parameters
1671
- */
1672
1185
  strategy?: outputs.aws.ElastigroupUpdatePolicyRollConfigStrategy;
1673
- /**
1674
- * For use with `shouldRoll`. Sets minimum % of roll required to complete before continuing the plan. Required if `waitForRollTimeout` is set.
1675
- */
1676
1186
  waitForRollPercentage?: number;
1677
- /**
1678
- * For use with `shouldRoll`. Sets how long to wait for the deployed % of a roll to exceed `waitForRollPercentage` before continuing the plan. Required if `waitForRollPercentage` is set.
1679
- */
1680
1187
  waitForRollTimeout?: number;
1681
1188
  }
1682
1189
  interface ElastigroupUpdatePolicyRollConfigStrategy {
1683
- /**
1684
- * The action to take when scale up according to step's threshold is needed.
1685
- */
1686
1190
  action: string;
1687
- /**
1688
- * Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the deployment will fail. Range `1` - `100`.
1689
- */
1690
1191
  batchMinHealthyPercentage?: number;
1691
- /**
1692
- * Set detach options to the deployment.
1693
- */
1694
1192
  onFailure?: outputs.aws.ElastigroupUpdatePolicyRollConfigStrategyOnFailure;
1695
- /**
1696
- * Bool value if to wait to drain instance
1697
- */
1698
1193
  shouldDrainInstances?: boolean;
1699
1194
  }
1700
1195
  interface ElastigroupUpdatePolicyRollConfigStrategyOnFailure {
1701
- /**
1702
- * The type of action to perform for scaling. Valid values: `"adjustment"`, `"percentageAdjustment"`, `"setMaxTarget"`, `"setMinTarget"`, `"updateCapacity"`. If a `stepAdjustment` object is defined, then it cannot be specified.
1703
- */
1704
1196
  actionType: string;
1705
1197
  batchNum?: number;
1706
1198
  /**
1707
1199
  * The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.
1708
1200
  */
1709
1201
  drainingTimeout?: number;
1710
- /**
1711
- * Decrementing the group target capacity after detaching the instances.
1712
- */
1713
1202
  shouldDecrementTargetCapacity?: boolean;
1714
- /**
1715
- * Indicator if the action should apply to all batches of the deployment or only the latest batch.
1716
- */
1717
1203
  shouldHandleAllBatches?: boolean;
1718
1204
  }
1719
1205
  interface ManagedInstanceBlockDeviceMapping {
@@ -1786,502 +1272,163 @@ export declare namespace aws {
1786
1272
  value?: string;
1787
1273
  }
1788
1274
  interface MrScalarApplication {
1789
- /**
1790
- * Arguments for EMR to pass to the application.
1791
- */
1792
1275
  args?: string[];
1793
1276
  /**
1794
1277
  * The MrScaler name.
1795
1278
  */
1796
1279
  name: string;
1797
- /**
1798
- * T he version of the application.
1799
- */
1800
1280
  version?: string;
1801
1281
  }
1802
1282
  interface MrScalarBootstrapActionsFile {
1803
- /**
1804
- * S3 Bucket name for bootstrap actions.
1805
- */
1806
1283
  bucket: string;
1807
- /**
1808
- * S3 key for bootstrap actions.
1809
- */
1810
1284
  key: string;
1811
1285
  }
1812
1286
  interface MrScalarConfigurationsFile {
1813
- /**
1814
- * S3 Bucket name for bootstrap actions.
1815
- */
1816
1287
  bucket: string;
1817
- /**
1818
- * S3 key for bootstrap actions.
1819
- */
1820
1288
  key: string;
1821
1289
  }
1822
1290
  interface MrScalarCoreEbsBlockDevice {
1823
- /**
1824
- * IOPS for the volume. Required in some volume types, such as io1.
1825
- */
1826
1291
  iops?: number;
1827
- /**
1828
- * Size of the volume, in GBs.
1829
- */
1830
1292
  sizeInGb: number;
1831
- /**
1832
- * volume type. Allowed values are 'gp2', 'io1' and others.
1833
- */
1834
1293
  volumeType: string;
1835
- /**
1836
- * Amount of volumes per instance in the core group.
1837
- */
1838
1294
  volumesPerInstance?: number;
1839
1295
  }
1840
1296
  interface MrScalarCoreScalingDownPolicy {
1841
- /**
1842
- * The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'
1843
- */
1844
1297
  actionType?: string;
1845
- /**
1846
- * The number of instances to add/remove to/from the target capacity when scale is needed.
1847
- */
1848
1298
  adjustment?: string;
1849
- /**
1850
- * The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
1851
- */
1852
1299
  cooldown: number;
1853
- /**
1854
- * A mapping of dimensions describing qualities of the metric.
1855
- */
1856
1300
  dimensions?: {
1857
1301
  [key: string]: any;
1858
1302
  };
1859
- /**
1860
- * The number of periods over which data is compared to the specified threshold.
1861
- */
1862
1303
  evaluationPeriods: number;
1863
- /**
1864
- * Max target capacity for scale down.
1865
- */
1866
1304
  maxTargetCapacity?: string;
1867
- /**
1868
- * The maximum to set when scale is needed.
1869
- */
1870
1305
  maximum?: string;
1871
- /**
1872
- * The name of the metric in CloudWatch which the statement will be based on.
1873
- */
1874
1306
  metricName: string;
1875
- /**
1876
- * Min target capacity for scale up.
1877
- */
1878
1307
  minTargetCapacity?: string;
1879
- /**
1880
- * The minimum to set when scale is needed.
1881
- */
1882
1308
  minimum?: string;
1883
- /**
1884
- * Must contain the value: `AWS/ElasticMapReduce`.
1885
- */
1886
1309
  namespace: string;
1887
- /**
1888
- * The operator to use in order to determine if the policy is applicable. Valid values: `gt` | `gte` | `lt` | `lte`
1889
- */
1890
1310
  operator: string;
1891
- /**
1892
- * The time window in seconds over which the statistic is applied.
1893
- */
1894
1311
  period: number;
1895
- /**
1896
- * The name of the policy.
1897
- */
1898
1312
  policyName: string;
1899
- /**
1900
- * The aggregation method of the given metric. Valid Values: `average` | `sum` | `sampleCount` | `maximum` | `minimum`
1901
- */
1902
1313
  statistic: string;
1903
- /**
1904
- * The number of instances to set when scale is needed.
1905
- */
1906
1314
  target?: string;
1907
- /**
1908
- * The value that the specified statistic is compared to.
1909
- */
1910
1315
  threshold: number;
1911
- /**
1912
- * The unit for a given metric. Valid Values: `seconds` | `microseconds` | `milliseconds` | `bytes` | `kilobytes` | `megabytes` | `gigabytes` | `terabytes` | `bits` | `kilobits` | `megabits` | `gigabits` | `terabits` | `percent` | `count` | `bytes/second` | `kilobytes/second` | `megabytes/second` | `gigabytes/second` | `terabytes/second` | `bits/second` | `kilobits/second` | `megabits/second` | `gigabits/second` | `terabits/second` | `count/second` | `none`
1913
- */
1914
1316
  unit: string;
1915
1317
  }
1916
1318
  interface MrScalarCoreScalingUpPolicy {
1917
- /**
1918
- * The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'
1919
- */
1920
1319
  actionType?: string;
1921
- /**
1922
- * The number of instances to add/remove to/from the target capacity when scale is needed.
1923
- */
1924
1320
  adjustment?: string;
1925
- /**
1926
- * The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
1927
- */
1928
1321
  cooldown: number;
1929
- /**
1930
- * A mapping of dimensions describing qualities of the metric.
1931
- */
1932
1322
  dimensions?: {
1933
1323
  [key: string]: any;
1934
1324
  };
1935
- /**
1936
- * The number of periods over which data is compared to the specified threshold.
1937
- */
1938
1325
  evaluationPeriods: number;
1939
- /**
1940
- * Max target capacity for scale down.
1941
- */
1942
1326
  maxTargetCapacity?: string;
1943
- /**
1944
- * The maximum to set when scale is needed.
1945
- */
1946
1327
  maximum?: string;
1947
- /**
1948
- * The name of the metric in CloudWatch which the statement will be based on.
1949
- */
1950
1328
  metricName: string;
1951
- /**
1952
- * Min target capacity for scale up.
1953
- */
1954
1329
  minTargetCapacity?: string;
1955
- /**
1956
- * The minimum to set when scale is needed.
1957
- */
1958
1330
  minimum?: string;
1959
- /**
1960
- * Must contain the value: `AWS/ElasticMapReduce`.
1961
- */
1962
1331
  namespace: string;
1963
- /**
1964
- * The operator to use in order to determine if the policy is applicable. Valid values: `gt` | `gte` | `lt` | `lte`
1965
- */
1966
1332
  operator: string;
1967
- /**
1968
- * The time window in seconds over which the statistic is applied.
1969
- */
1970
1333
  period: number;
1971
- /**
1972
- * The name of the policy.
1973
- */
1974
1334
  policyName: string;
1975
- /**
1976
- * The aggregation method of the given metric. Valid Values: `average` | `sum` | `sampleCount` | `maximum` | `minimum`
1977
- */
1978
1335
  statistic: string;
1979
- /**
1980
- * The number of instances to set when scale is needed.
1981
- */
1982
1336
  target?: string;
1983
- /**
1984
- * The value that the specified statistic is compared to.
1985
- */
1986
1337
  threshold: number;
1987
- /**
1988
- * The unit for a given metric. Valid Values: `seconds` | `microseconds` | `milliseconds` | `bytes` | `kilobytes` | `megabytes` | `gigabytes` | `terabytes` | `bits` | `kilobits` | `megabits` | `gigabits` | `terabits` | `percent` | `count` | `bytes/second` | `kilobytes/second` | `megabytes/second` | `gigabytes/second` | `terabytes/second` | `bits/second` | `kilobits/second` | `megabits/second` | `gigabits/second` | `terabits/second` | `count/second` | `none`
1989
- */
1990
1338
  unit: string;
1991
1339
  }
1992
1340
  interface MrScalarInstanceWeight {
1993
- /**
1994
- * The type of the instance.
1995
- */
1996
1341
  instanceType: string;
1997
- /**
1998
- * The weight given to the associated instance type.
1999
- */
2000
1342
  weightedCapacity: number;
2001
1343
  }
2002
1344
  interface MrScalarMasterEbsBlockDevice {
2003
- /**
2004
- * IOPS for the volume. Required in some volume types, such as io1.
2005
- */
2006
1345
  iops?: number;
2007
- /**
2008
- * Size of the volume, in GBs.
2009
- */
2010
1346
  sizeInGb: number;
2011
- /**
2012
- * volume type. Allowed values are 'gp2', 'io1' and others.
2013
- */
2014
1347
  volumeType: string;
2015
- /**
2016
- * Amount of volumes per instance in the core group.
2017
- */
2018
1348
  volumesPerInstance?: number;
2019
1349
  }
2020
1350
  interface MrScalarProvisioningTimeout {
2021
- /**
2022
- * The amount of time (minutes) after which the cluster is automatically terminated if it's still in provisioning status. Minimum: '15'.
2023
- */
2024
1351
  timeout: number;
2025
- /**
2026
- * The action to take if the timeout is exceeded. Valid values: `terminate`, `terminateAndRetry`.
2027
- */
2028
1352
  timeoutAction: string;
2029
1353
  }
2030
1354
  interface MrScalarScheduledTask {
2031
- /**
2032
- * A cron expression representing the schedule for the task.
2033
- */
2034
1355
  cron: string;
2035
- /**
2036
- * New desired capacity for the elastigroup.
2037
- */
2038
1356
  desiredCapacity?: string;
2039
- /**
2040
- * Select the EMR instance groups to execute the scheduled task on. Valid values: `task`.
2041
- */
2042
1357
  instanceGroupType: string;
2043
- /**
2044
- * Enable/Disable the specified scheduling task.
2045
- */
2046
1358
  isEnabled?: boolean;
2047
- /**
2048
- * New max capacity for the elastigroup.
2049
- */
2050
1359
  maxCapacity?: string;
2051
- /**
2052
- * New min capacity for the elastigroup.
2053
- */
2054
1360
  minCapacity?: string;
2055
- /**
2056
- * The type of task to be scheduled. Valid values: `setCapacity`.
2057
- */
2058
1361
  taskType: string;
2059
1362
  }
2060
1363
  interface MrScalarStepsFile {
2061
- /**
2062
- * S3 Bucket name for bootstrap actions.
2063
- */
2064
1364
  bucket: string;
2065
- /**
2066
- * S3 key for bootstrap actions.
2067
- */
2068
1365
  key: string;
2069
1366
  }
2070
1367
  interface MrScalarTag {
2071
- /**
2072
- * S3 key for bootstrap actions.
2073
- */
2074
1368
  key: string;
2075
- /**
2076
- * Tag value.
2077
- */
2078
1369
  value: string;
2079
1370
  }
2080
1371
  interface MrScalarTaskEbsBlockDevice {
2081
- /**
2082
- * IOPS for the volume. Required in some volume types, such as io1.
2083
- */
2084
1372
  iops?: number;
2085
- /**
2086
- * Size of the volume, in GBs.
2087
- */
2088
1373
  sizeInGb: number;
2089
- /**
2090
- * volume type. Allowed values are 'gp2', 'io1' and others.
2091
- */
2092
1374
  volumeType: string;
2093
- /**
2094
- * Amount of volumes per instance in the core group.
2095
- */
2096
1375
  volumesPerInstance?: number;
2097
1376
  }
2098
1377
  interface MrScalarTaskScalingDownPolicy {
2099
- /**
2100
- * The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'
2101
- */
2102
1378
  actionType?: string;
2103
- /**
2104
- * The number of instances to add/remove to/from the target capacity when scale is needed.
2105
- */
2106
1379
  adjustment?: string;
2107
- /**
2108
- * The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
2109
- */
2110
1380
  cooldown: number;
2111
- /**
2112
- * A mapping of dimensions describing qualities of the metric.
2113
- */
2114
1381
  dimensions?: {
2115
1382
  [key: string]: any;
2116
1383
  };
2117
- /**
2118
- * The number of periods over which data is compared to the specified threshold.
2119
- */
2120
1384
  evaluationPeriods: number;
2121
- /**
2122
- * Max target capacity for scale down.
2123
- */
2124
1385
  maxTargetCapacity?: string;
2125
- /**
2126
- * The maximum to set when scale is needed.
2127
- */
2128
1386
  maximum?: string;
2129
- /**
2130
- * The name of the metric in CloudWatch which the statement will be based on.
2131
- */
2132
1387
  metricName: string;
2133
- /**
2134
- * Min target capacity for scale up.
2135
- */
2136
1388
  minTargetCapacity?: string;
2137
- /**
2138
- * The minimum to set when scale is needed.
2139
- */
2140
1389
  minimum?: string;
2141
- /**
2142
- * Must contain the value: `AWS/ElasticMapReduce`.
2143
- */
2144
1390
  namespace: string;
2145
- /**
2146
- * The operator to use in order to determine if the policy is applicable. Valid values: `gt` | `gte` | `lt` | `lte`
2147
- */
2148
1391
  operator: string;
2149
- /**
2150
- * The time window in seconds over which the statistic is applied.
2151
- */
2152
1392
  period: number;
2153
- /**
2154
- * The name of the policy.
2155
- */
2156
1393
  policyName: string;
2157
- /**
2158
- * The aggregation method of the given metric. Valid Values: `average` | `sum` | `sampleCount` | `maximum` | `minimum`
2159
- */
2160
1394
  statistic: string;
2161
- /**
2162
- * The number of instances to set when scale is needed.
2163
- */
2164
1395
  target?: string;
2165
- /**
2166
- * The value that the specified statistic is compared to.
2167
- */
2168
1396
  threshold: number;
2169
- /**
2170
- * The unit for a given metric. Valid Values: `seconds` | `microseconds` | `milliseconds` | `bytes` | `kilobytes` | `megabytes` | `gigabytes` | `terabytes` | `bits` | `kilobits` | `megabits` | `gigabits` | `terabits` | `percent` | `count` | `bytes/second` | `kilobytes/second` | `megabytes/second` | `gigabytes/second` | `terabytes/second` | `bits/second` | `kilobits/second` | `megabits/second` | `gigabits/second` | `terabits/second` | `count/second` | `none`
2171
- */
2172
1397
  unit: string;
2173
1398
  }
2174
1399
  interface MrScalarTaskScalingUpPolicy {
2175
- /**
2176
- * The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'
2177
- */
2178
1400
  actionType?: string;
2179
- /**
2180
- * The number of instances to add/remove to/from the target capacity when scale is needed.
2181
- */
2182
1401
  adjustment?: string;
2183
- /**
2184
- * The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
2185
- */
2186
1402
  cooldown: number;
2187
- /**
2188
- * A mapping of dimensions describing qualities of the metric.
2189
- */
2190
1403
  dimensions?: {
2191
1404
  [key: string]: any;
2192
1405
  };
2193
- /**
2194
- * The number of periods over which data is compared to the specified threshold.
2195
- */
2196
1406
  evaluationPeriods: number;
2197
- /**
2198
- * Max target capacity for scale down.
2199
- */
2200
1407
  maxTargetCapacity?: string;
2201
- /**
2202
- * The maximum to set when scale is needed.
2203
- */
2204
1408
  maximum?: string;
2205
- /**
2206
- * The name of the metric in CloudWatch which the statement will be based on.
2207
- */
2208
1409
  metricName: string;
2209
- /**
2210
- * Min target capacity for scale up.
2211
- */
2212
1410
  minTargetCapacity?: string;
2213
- /**
2214
- * The minimum to set when scale is needed.
2215
- */
2216
1411
  minimum?: string;
2217
- /**
2218
- * Must contain the value: `AWS/ElasticMapReduce`.
2219
- */
2220
1412
  namespace: string;
2221
- /**
2222
- * The operator to use in order to determine if the policy is applicable. Valid values: `gt` | `gte` | `lt` | `lte`
2223
- */
2224
1413
  operator: string;
2225
- /**
2226
- * The time window in seconds over which the statistic is applied.
2227
- */
2228
1414
  period: number;
2229
- /**
2230
- * The name of the policy.
2231
- */
2232
1415
  policyName: string;
2233
- /**
2234
- * The aggregation method of the given metric. Valid Values: `average` | `sum` | `sampleCount` | `maximum` | `minimum`
2235
- */
2236
1416
  statistic: string;
2237
- /**
2238
- * The number of instances to set when scale is needed.
2239
- */
2240
1417
  target?: string;
2241
- /**
2242
- * The value that the specified statistic is compared to.
2243
- */
2244
1418
  threshold: number;
2245
- /**
2246
- * The unit for a given metric. Valid Values: `seconds` | `microseconds` | `milliseconds` | `bytes` | `kilobytes` | `megabytes` | `gigabytes` | `terabytes` | `bits` | `kilobits` | `megabits` | `gigabits` | `terabits` | `percent` | `count` | `bytes/second` | `kilobytes/second` | `megabytes/second` | `gigabytes/second` | `terabytes/second` | `bits/second` | `kilobits/second` | `megabits/second` | `gigabits/second` | `terabits/second` | `count/second` | `none`
2247
- */
2248
1419
  unit: string;
2249
1420
  }
2250
1421
  interface MrScalarTerminationPolicy {
2251
1422
  statements: outputs.aws.MrScalarTerminationPolicyStatement[];
2252
1423
  }
2253
1424
  interface MrScalarTerminationPolicyStatement {
2254
- /**
2255
- * The number of periods over which data is compared to the specified threshold.
2256
- */
2257
1425
  evaluationPeriods?: number;
2258
- /**
2259
- * The name of the metric in CloudWatch which the statement will be based on.
2260
- */
2261
1426
  metricName: string;
2262
- /**
2263
- * Must contain the value: `AWS/ElasticMapReduce`.
2264
- */
2265
1427
  namespace: string;
2266
- /**
2267
- * The operator to use in order to determine if the policy is applicable. Valid values: `gt` | `gte` | `lt` | `lte`
2268
- */
2269
1428
  operator?: string;
2270
- /**
2271
- * The time window in seconds over which the statistic is applied.
2272
- */
2273
1429
  period?: number;
2274
- /**
2275
- * The aggregation method of the given metric. Valid Values: `average` | `sum` | `sampleCount` | `maximum` | `minimum`
2276
- */
2277
1430
  statistic?: string;
2278
- /**
2279
- * The value that the specified statistic is compared to.
2280
- */
2281
1431
  threshold: number;
2282
- /**
2283
- * The unit for a given metric. Valid Values: `seconds` | `microseconds` | `milliseconds` | `bytes` | `kilobytes` | `megabytes` | `gigabytes` | `terabytes` | `bits` | `kilobits` | `megabits` | `gigabits` | `terabits` | `percent` | `count` | `bytes/second` | `kilobytes/second` | `megabytes/second` | `gigabytes/second` | `terabytes/second` | `bits/second` | `kilobits/second` | `megabits/second` | `gigabits/second` | `terabits/second` | `count/second` | `none`
2284
- */
2285
1432
  unit?: string;
2286
1433
  }
2287
1434
  interface OceanAutoscaler {
@@ -2307,13 +1454,7 @@ export declare namespace aws {
2307
1454
  numOfUnits?: number;
2308
1455
  }
2309
1456
  interface OceanAutoscalerResourceLimits {
2310
- /**
2311
- * Maximum amount of Memory (GiB).
2312
- */
2313
1457
  maxMemoryGib?: number;
2314
- /**
2315
- * Maximum number of vcpus available.
2316
- */
2317
1458
  maxVcpu?: number;
2318
1459
  }
2319
1460
  interface OceanBlockDeviceMapping {
@@ -2327,67 +1468,25 @@ export declare namespace aws {
2327
1468
  ebs?: outputs.aws.OceanBlockDeviceMappingEbs;
2328
1469
  }
2329
1470
  interface OceanBlockDeviceMappingEbs {
2330
- /**
2331
- * Boolean. Flag to delete the EBS on instance termination.
2332
- */
2333
1471
  deleteOnTermination: boolean;
2334
- /**
2335
- * Set dynamic IOPS properties. When using this object, you cannot use the `iops` attribute. You must use one or the other.
2336
- */
2337
1472
  dynamicIops?: outputs.aws.OceanBlockDeviceMappingEbsDynamicIops;
2338
- /**
2339
- * Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
2340
- */
2341
1473
  dynamicVolumeSize?: outputs.aws.OceanBlockDeviceMappingEbsDynamicVolumeSize;
2342
- /**
2343
- * Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
2344
- */
2345
1474
  encrypted: boolean;
2346
- /**
2347
- * Must be greater than or equal to 0.
2348
- */
2349
1475
  iops?: number;
2350
- /**
2351
- * String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
2352
- */
2353
1476
  kmsKeyId?: string;
2354
- /**
2355
- * (Optional) String. The Snapshot ID to mount by.
2356
- */
2357
1477
  snapshotId?: string;
2358
- /**
2359
- * The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volumeType` = `gp3`.
2360
- */
2361
1478
  throughput?: number;
2362
- /**
2363
- * Int. The size, in GB of the volume.
2364
- */
2365
1479
  volumeSize?: number;
2366
- /**
2367
- * String. The type of the volume. (Example: `gp2`).
2368
- */
2369
1480
  volumeType: string;
2370
1481
  }
2371
1482
  interface OceanBlockDeviceMappingEbsDynamicIops {
2372
- /**
2373
- * Initial size for IOPS.
2374
- */
2375
1483
  baseSize: number;
2376
1484
  resource: string;
2377
- /**
2378
- * Additional size per resource unit (in IOPS). (Example: `baseSize=50`, `sizePerResourceUnit=20`, and an instance with 2 CPU is launched; its IOPS size will be: 90).
2379
- */
2380
1485
  sizePerResourceUnit: number;
2381
1486
  }
2382
1487
  interface OceanBlockDeviceMappingEbsDynamicVolumeSize {
2383
- /**
2384
- * Initial size for IOPS.
2385
- */
2386
1488
  baseSize: number;
2387
1489
  resource: string;
2388
- /**
2389
- * Additional size per resource unit (in IOPS). (Example: `baseSize=50`, `sizePerResourceUnit=20`, and an instance with 2 CPU is launched; its IOPS size will be: 90).
2390
- */
2391
1490
  sizePerResourceUnit: number;
2392
1491
  }
2393
1492
  interface OceanClusterOrientation {
@@ -2397,81 +1496,24 @@ export declare namespace aws {
2397
1496
  availabilityVsCost?: string;
2398
1497
  }
2399
1498
  interface OceanFilters {
2400
- /**
2401
- * The filtered instance types will support at least one of the architectures from this list.
2402
- */
2403
1499
  architectures?: string[];
2404
- /**
2405
- * The filtered instance types will belong to one of the categories types from this list.
2406
- */
2407
1500
  categories?: string[];
2408
- /**
2409
- * The filtered instance types will have one of the disk type from this list.
2410
- */
2411
1501
  diskTypes?: string[];
2412
- /**
2413
- * Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
2414
- */
2415
1502
  excludeFamilies?: string[];
2416
- /**
2417
- * In case excludeMetal is set to true, metal types will not be available for scaling.
2418
- */
2419
1503
  excludeMetal?: boolean;
2420
- /**
2421
- * The filtered instance types will have a hypervisor type from this list.
2422
- */
2423
1504
  hypervisors?: string[];
2424
- /**
2425
- * Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
2426
- */
2427
1505
  includeFamilies?: string[];
2428
- /**
2429
- * Ena is supported or not.
2430
- */
2431
1506
  isEnaSupported?: string;
2432
- /**
2433
- * Maximum total number of GPUs.
2434
- */
2435
1507
  maxGpu?: number;
2436
- /**
2437
- * Maximum amount of Memory (GiB).
2438
- */
2439
1508
  maxMemoryGib?: number;
2440
- /**
2441
- * Maximum Bandwidth in Gib/s of network performance.
2442
- */
2443
1509
  maxNetworkPerformance?: number;
2444
- /**
2445
- * Maximum number of vcpus available.
2446
- */
2447
1510
  maxVcpu?: number;
2448
- /**
2449
- * Minimum number of network interfaces (ENIs).
2450
- */
2451
1511
  minEnis?: number;
2452
- /**
2453
- * Minimum total number of GPUs.
2454
- */
2455
1512
  minGpu?: number;
2456
- /**
2457
- * Minimum amount of Memory (GiB).
2458
- */
2459
1513
  minMemoryGib?: number;
2460
- /**
2461
- * Minimum Bandwidth in Gib/s of network performance.
2462
- */
2463
1514
  minNetworkPerformance?: number;
2464
- /**
2465
- * Minimum number of vcpus available.
2466
- */
2467
1515
  minVcpu?: number;
2468
- /**
2469
- * The filtered instance types will have a root device types from this list.
2470
- */
2471
1516
  rootDeviceTypes?: string[];
2472
- /**
2473
- * The filtered instance types will support at least one of the virtualization types from this list.
2474
- */
2475
1517
  virtualizationTypes?: string[];
2476
1518
  }
2477
1519
  interface OceanInstanceMetadataOptions {
@@ -2530,55 +1572,19 @@ export declare namespace aws {
2530
1572
  virtualName?: string;
2531
1573
  }
2532
1574
  interface OceanLaunchSpecBlockDeviceMappingEbs {
2533
- /**
2534
- * Boolean. Flag to delete the EBS on instance termination.
2535
- */
2536
1575
  deleteOnTermination: boolean;
2537
- /**
2538
- * Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
2539
- */
2540
1576
  dynamicVolumeSize?: outputs.aws.OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSize;
2541
- /**
2542
- * Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
2543
- */
2544
1577
  encrypted: boolean;
2545
- /**
2546
- * Int. The number of I/O operations per second (IOPS) that the volume supports.
2547
- */
2548
1578
  iops?: number;
2549
- /**
2550
- * String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
2551
- */
2552
1579
  kmsKeyId?: string;
2553
- /**
2554
- * (Optional) String. The Snapshot ID to mount by.
2555
- */
2556
1580
  snapshotId?: string;
2557
- /**
2558
- * The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volumeType` = `gp3`.
2559
- */
2560
1581
  throughput?: number;
2561
- /**
2562
- * Int. The size, in GB of the volume.
2563
- */
2564
1582
  volumeSize?: number;
2565
- /**
2566
- * String. The type of the volume. (Example: `gp2`).
2567
- */
2568
1583
  volumeType: string;
2569
1584
  }
2570
1585
  interface OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSize {
2571
- /**
2572
- * Int. Initial size for volume. (Example: 50)
2573
- */
2574
1586
  baseSize: number;
2575
- /**
2576
- * String. Resource type to increase volume size dynamically by. (Valid values: `CPU`)
2577
- */
2578
1587
  resource: string;
2579
- /**
2580
- * Int. Additional size (in GB) per resource unit. (Example: `baseSize=50`, `sizePerResourceUnit=20`, and instance with 2 CPU is launched; its total disk size will be: 90GB)
2581
- */
2582
1588
  sizePerResourceUnit: number;
2583
1589
  }
2584
1590
  interface OceanLaunchSpecCreateOptions {
@@ -2604,13 +1610,7 @@ export declare namespace aws {
2604
1610
  tagSelector?: outputs.aws.OceanLaunchSpecElasticIpPoolTagSelector;
2605
1611
  }
2606
1612
  interface OceanLaunchSpecElasticIpPoolTagSelector {
2607
- /**
2608
- * Elastic IP tag key. The Virtual Node Group will consider all Elastic IPs tagged with this tag as a part of the Elastic IP pool to use.
2609
- */
2610
1613
  tagKey: string;
2611
- /**
2612
- * Elastic IP tag value. Can be null.
2613
- */
2614
1614
  tagValue?: string;
2615
1615
  }
2616
1616
  interface OceanLaunchSpecEphemeralStorage {
@@ -2714,11 +1714,11 @@ export declare namespace aws {
2714
1714
  }
2715
1715
  interface OceanLaunchSpecLabel {
2716
1716
  /**
2717
- * The taint key.
1717
+ * The label key.
2718
1718
  */
2719
1719
  key: string;
2720
1720
  /**
2721
- * The taint value.
1721
+ * The label value.
2722
1722
  */
2723
1723
  value: string;
2724
1724
  }
@@ -2748,7 +1748,7 @@ export declare namespace aws {
2748
1748
  */
2749
1749
  cronExpression: string;
2750
1750
  /**
2751
- * Flag to enable or disable the shutdown hours mechanism. When False, the mechanism is deactivated, and the virtual node group remains in its current state.
1751
+ * Describes whether the task is enabled. When True, the task runs. When False, it does not run.
2752
1752
  */
2753
1753
  isEnabled: boolean;
2754
1754
  /**
@@ -2761,21 +1761,9 @@ export declare namespace aws {
2761
1761
  taskType: string;
2762
1762
  }
2763
1763
  interface OceanLaunchSpecSchedulingTaskTaskHeadroom {
2764
- /**
2765
- * Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
2766
- */
2767
1764
  cpuPerUnit?: number;
2768
- /**
2769
- * Optionally configure the number of GPUS to allocate for each headroom unit.
2770
- */
2771
1765
  gpuPerUnit?: number;
2772
- /**
2773
- * Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
2774
- */
2775
1766
  memoryPerUnit?: number;
2776
- /**
2777
- * The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
2778
- */
2779
1767
  numOfUnits: number;
2780
1768
  }
2781
1769
  interface OceanLaunchSpecStrategy {
@@ -2785,13 +1773,7 @@ export declare namespace aws {
2785
1773
  spotPercentage?: number;
2786
1774
  }
2787
1775
  interface OceanLaunchSpecTag {
2788
- /**
2789
- * The taint key.
2790
- */
2791
1776
  key: string;
2792
- /**
2793
- * The taint value.
2794
- */
2795
1777
  value: string;
2796
1778
  }
2797
1779
  interface OceanLaunchSpecTaint {
@@ -2836,14 +1818,11 @@ export declare namespace aws {
2836
1818
  export?: outputs.aws.OceanLoggingExport;
2837
1819
  }
2838
1820
  interface OceanLoggingExport {
2839
- /**
2840
- * Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
2841
- */
2842
1821
  s3s?: outputs.aws.OceanLoggingExportS3[];
2843
1822
  }
2844
1823
  interface OceanLoggingExportS3 {
2845
1824
  /**
2846
- * The identifier of The S3 data integration to export the logs to.
1825
+ * The Cluster ID.
2847
1826
  */
2848
1827
  id: string;
2849
1828
  }
@@ -2920,157 +1899,6 @@ export declare namespace aws {
2920
1899
  }
2921
1900
  }
2922
1901
  export declare namespace azure {
2923
- interface ElastigroupHealthCheck {
2924
- autoHealing?: boolean;
2925
- gracePeriod?: number;
2926
- healthCheckType: string;
2927
- }
2928
- interface ElastigroupImage {
2929
- customs?: outputs.azure.ElastigroupImageCustom[];
2930
- marketplaces?: outputs.azure.ElastigroupImageMarketplace[];
2931
- }
2932
- interface ElastigroupImageCustom {
2933
- imageName: string;
2934
- /**
2935
- * Name of the Azure Resource Group where the Managed Service Identity is located.
2936
- */
2937
- resourceGroupName: string;
2938
- }
2939
- interface ElastigroupImageMarketplace {
2940
- offer: string;
2941
- publisher: string;
2942
- sku: string;
2943
- }
2944
- interface ElastigroupIntegrationKubernetes {
2945
- clusterIdentifier: string;
2946
- }
2947
- interface ElastigroupIntegrationMultaiRuntime {
2948
- deploymentId: string;
2949
- }
2950
- interface ElastigroupLoadBalancer {
2951
- autoWeight?: boolean;
2952
- balancerId?: string;
2953
- targetSetId?: string;
2954
- type: string;
2955
- }
2956
- interface ElastigroupLogin {
2957
- password?: string;
2958
- sshPublicKey?: string;
2959
- userName: string;
2960
- }
2961
- interface ElastigroupManagedServiceIdentity {
2962
- /**
2963
- * Name of the Managed Service Identity.
2964
- */
2965
- name: string;
2966
- /**
2967
- * Name of the Azure Resource Group where the Managed Service Identity is located.
2968
- */
2969
- resourceGroupName: string;
2970
- }
2971
- interface ElastigroupNetwork {
2972
- additionalIpConfigs?: outputs.azure.ElastigroupNetworkAdditionalIpConfig[];
2973
- assignPublicIp?: boolean;
2974
- /**
2975
- * Name of the Azure Resource Group where the Managed Service Identity is located.
2976
- */
2977
- resourceGroupName: string;
2978
- subnetName: string;
2979
- virtualNetworkName: string;
2980
- }
2981
- interface ElastigroupNetworkAdditionalIpConfig {
2982
- /**
2983
- * Name of the Managed Service Identity.
2984
- */
2985
- name: string;
2986
- privateIpVersion?: string;
2987
- }
2988
- interface ElastigroupScalingDownPolicy {
2989
- actionType?: string;
2990
- adjustment?: string;
2991
- cooldown: number;
2992
- dimensions?: outputs.azure.ElastigroupScalingDownPolicyDimension[];
2993
- evaluationPeriods: number;
2994
- maxTargetCapacity?: string;
2995
- maximum?: string;
2996
- metricName: string;
2997
- minTargetCapacity?: string;
2998
- minimum?: string;
2999
- namespace: string;
3000
- operator: string;
3001
- period: number;
3002
- policyName: string;
3003
- statistic: string;
3004
- target?: string;
3005
- threshold: number;
3006
- unit?: string;
3007
- }
3008
- interface ElastigroupScalingDownPolicyDimension {
3009
- /**
3010
- * Name of the Managed Service Identity.
3011
- */
3012
- name: string;
3013
- /**
3014
- * Tag Value for Vms in Elastigroup.
3015
- */
3016
- value?: string;
3017
- }
3018
- interface ElastigroupScalingUpPolicy {
3019
- actionType?: string;
3020
- adjustment?: string;
3021
- cooldown: number;
3022
- dimensions?: outputs.azure.ElastigroupScalingUpPolicyDimension[];
3023
- evaluationPeriods: number;
3024
- maxTargetCapacity?: string;
3025
- maximum?: string;
3026
- metricName: string;
3027
- minTargetCapacity?: string;
3028
- minimum?: string;
3029
- namespace: string;
3030
- operator: string;
3031
- period: number;
3032
- policyName: string;
3033
- statistic: string;
3034
- target?: string;
3035
- threshold: number;
3036
- unit?: string;
3037
- }
3038
- interface ElastigroupScalingUpPolicyDimension {
3039
- /**
3040
- * Name of the Managed Service Identity.
3041
- */
3042
- name: string;
3043
- /**
3044
- * Tag Value for Vms in Elastigroup.
3045
- */
3046
- value?: string;
3047
- }
3048
- interface ElastigroupScheduledTask {
3049
- adjustment?: string;
3050
- adjustmentPercentage?: string;
3051
- batchSizePercentage?: string;
3052
- cronExpression: string;
3053
- gracePeriod?: string;
3054
- isEnabled?: boolean;
3055
- scaleMaxCapacity?: string;
3056
- scaleMinCapacity?: string;
3057
- scaleTargetCapacity?: string;
3058
- taskType: string;
3059
- }
3060
- interface ElastigroupStrategy {
3061
- drainingTimeout?: number;
3062
- lowPriorityPercentage?: number;
3063
- odCount?: number;
3064
- }
3065
- interface ElastigroupUpdatePolicy {
3066
- rollConfig?: outputs.azure.ElastigroupUpdatePolicyRollConfig;
3067
- shouldRoll: boolean;
3068
- }
3069
- interface ElastigroupUpdatePolicyRollConfig {
3070
- batchSizePercentage: number;
3071
- gracePeriod?: number;
3072
- healthCheckType?: string;
3073
- }
3074
1902
  interface OceanAutoscaler {
3075
1903
  /**
3076
1904
  * Auto Scaling scale down operations.
@@ -3090,35 +1918,17 @@ export declare namespace azure {
3090
1918
  resourceLimits: outputs.azure.OceanAutoscalerResourceLimits;
3091
1919
  }
3092
1920
  interface OceanAutoscalerAutoscaleDown {
3093
- /**
3094
- * Would represent the maximum % to scale-down.
3095
- */
3096
1921
  maxScaleDownPercentage: number;
3097
1922
  }
3098
1923
  interface OceanAutoscalerAutoscaleHeadroom {
3099
- /**
3100
- * Automatic headroom configuration.
3101
- */
3102
1924
  automatic: outputs.azure.OceanAutoscalerAutoscaleHeadroomAutomatic;
3103
1925
  }
3104
1926
  interface OceanAutoscalerAutoscaleHeadroomAutomatic {
3105
- /**
3106
- * Enable automatic headroom. When set to `true`, Ocean configures and optimizes headroom automatically.
3107
- */
3108
1927
  isEnabled: boolean;
3109
- /**
3110
- * Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom. Relevant when `isEnabled` is toggled on.
3111
- */
3112
1928
  percentage: number;
3113
1929
  }
3114
1930
  interface OceanAutoscalerResourceLimits {
3115
- /**
3116
- * The maximum memory in GiB units that can be allocated to the cluster.
3117
- */
3118
1931
  maxMemoryGib: number;
3119
- /**
3120
- * The maximum cpu in vCpu units that can be allocated to the cluster.
3121
- */
3122
1932
  maxVcpu?: number;
3123
1933
  }
3124
1934
  interface OceanExtension {
@@ -3131,15 +1941,12 @@ export declare namespace azure {
3131
1941
  */
3132
1942
  minorVersionAutoUpgrade: boolean;
3133
1943
  /**
3134
- * Name of the Load Balancer.
1944
+ * Extension name.
3135
1945
  */
3136
1946
  name: string;
3137
- /**
3138
- * Image publisher.
3139
- */
3140
1947
  publisher: string;
3141
1948
  /**
3142
- * The type of load balancer. Supported value: `loadBalancer`
1949
+ * Extension type.
3143
1950
  */
3144
1951
  type: string;
3145
1952
  }
@@ -3156,21 +1963,9 @@ export declare namespace azure {
3156
1963
  marketplaces: outputs.azure.OceanImageMarketplace[];
3157
1964
  }
3158
1965
  interface OceanImageMarketplace {
3159
- /**
3160
- * Image name.
3161
- */
3162
1966
  offer: string;
3163
- /**
3164
- * Image publisher.
3165
- */
3166
1967
  publisher: string;
3167
- /**
3168
- * Image Stock Keeping Unit (which is the specific version of the image).
3169
- */
3170
1968
  sku: string;
3171
- /**
3172
- * Image version.
3173
- */
3174
1969
  version: string;
3175
1970
  }
3176
1971
  interface OceanLoadBalancer {
@@ -3197,11 +1992,11 @@ export declare namespace azure {
3197
1992
  }
3198
1993
  interface OceanManagedServiceIdentity {
3199
1994
  /**
3200
- * Name of the Load Balancer.
1995
+ * Name of the Managed Service Identity.
3201
1996
  */
3202
1997
  name: string;
3203
1998
  /**
3204
- * The Resource Group name of the Load Balancer.
1999
+ * Name of the Azure Resource Group where the Managed Service Identity is located.
3205
2000
  */
3206
2001
  resourceGroupName: string;
3207
2002
  }
@@ -3211,7 +2006,7 @@ export declare namespace azure {
3211
2006
  */
3212
2007
  networkInterfaces: outputs.azure.OceanNetworkNetworkInterface[];
3213
2008
  /**
3214
- * The Resource Group name of the Load Balancer.
2009
+ * Vnet resource group name.
3215
2010
  */
3216
2011
  resourceGroupName: string;
3217
2012
  /**
@@ -3220,48 +2015,45 @@ export declare namespace azure {
3220
2015
  virtualNetworkName: string;
3221
2016
  }
3222
2017
  interface OceanNetworkNetworkInterface {
3223
- /**
3224
- * Additional configuration of network interface. The name fields between all the `additionalIpConfig` must be unique.
3225
- */
3226
2018
  additionalIpConfigs: outputs.azure.OceanNetworkNetworkInterfaceAdditionalIpConfig[];
3227
- /**
3228
- * Assign public IP.
3229
- */
3230
2019
  assignPublicIp: boolean;
3231
- /**
3232
- * Defines whether the network interface is primary or not.
3233
- */
3234
2020
  isPrimary: boolean;
3235
2021
  securityGroup: outputs.azure.OceanNetworkNetworkInterfaceSecurityGroup;
3236
- /**
3237
- * Subnet name.
3238
- */
3239
2022
  subnetName: string;
3240
2023
  }
3241
2024
  interface OceanNetworkNetworkInterfaceAdditionalIpConfig {
3242
2025
  /**
3243
- * Name of the Load Balancer.
2026
+ * The Ocean cluster name.
3244
2027
  */
3245
2028
  name: string;
3246
- /**
3247
- * Supported values: `IPv4`, `IPv6`.
3248
- */
3249
2029
  privateIpVersion: string;
3250
2030
  }
3251
2031
  interface OceanNetworkNetworkInterfaceSecurityGroup {
3252
2032
  /**
3253
- * Name of the Load Balancer.
2033
+ * The Ocean cluster name.
3254
2034
  */
3255
2035
  name: string;
3256
2036
  /**
3257
- * The Resource Group name of the Load Balancer.
2037
+ * Name of the Azure Resource Group into which VMs will be launched. Cannot be updated.
3258
2038
  */
3259
2039
  resourceGroupName: string;
3260
2040
  }
3261
2041
  interface OceanNpAutoscaler {
2042
+ /**
2043
+ * Auto Scaling scale down operations.
2044
+ */
3262
2045
  autoscaleDown?: outputs.azure.OceanNpAutoscalerAutoscaleDown;
2046
+ /**
2047
+ * Spare resource capacity management enabling fast assignment of pods without waiting for new resources to launch.
2048
+ */
3263
2049
  autoscaleHeadroom?: outputs.azure.OceanNpAutoscalerAutoscaleHeadroom;
2050
+ /**
2051
+ * Enable the Ocean Kubernetes Autoscaler.
2052
+ */
3264
2053
  autoscaleIsEnabled?: boolean;
2054
+ /**
2055
+ * Optionally set upper and lower bounds on the resource usage of the cluster.
2056
+ */
3265
2057
  resourceLimits?: outputs.azure.OceanNpAutoscalerResourceLimits;
3266
2058
  }
3267
2059
  interface OceanNpAutoscalerAutoscaleDown {
@@ -3279,32 +2071,97 @@ export declare namespace azure {
3279
2071
  maxVcpu?: number;
3280
2072
  }
3281
2073
  interface OceanNpFilters {
2074
+ /**
2075
+ * In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
2076
+ */
3282
2077
  acceleratedNetworking?: string;
2078
+ /**
2079
+ * The filtered vm sizes will support at least one of the architectures from this list. x8664 includes both intel64 and amd64.
2080
+ */
3283
2081
  architectures?: string[];
2082
+ /**
2083
+ * The filtered vm sizes will support at least one of the classes from this list.
2084
+ */
3284
2085
  diskPerformance?: string;
2086
+ /**
2087
+ * Vm sizes belonging to a series from the list will not be available for scaling
2088
+ */
3285
2089
  excludeSeries?: string[];
2090
+ /**
2091
+ * The filtered gpu types will belong to one of the gpu types from this list.
2092
+ *
2093
+ * <a id="update-policy"></a>
2094
+ */
3286
2095
  gpuTypes?: string[];
2096
+ /**
2097
+ * Maximum number of GPUs available.
2098
+ */
3287
2099
  maxGpu?: number;
2100
+ /**
2101
+ * Maximum amount of Memory (GiB).
2102
+ */
3288
2103
  maxMemoryGib?: number;
2104
+ /**
2105
+ * Maximum number of vcpus available.
2106
+ */
3289
2107
  maxVcpu?: number;
2108
+ /**
2109
+ * Minimum number of data disks available.
2110
+ */
3290
2111
  minDisk?: number;
2112
+ /**
2113
+ * Minimum number of GPUs available.
2114
+ */
3291
2115
  minGpu?: number;
2116
+ /**
2117
+ * Minimum amount of Memory (GiB).
2118
+ */
3292
2119
  minMemoryGib?: number;
2120
+ /**
2121
+ * Minimum number of network interfaces.
2122
+ */
3293
2123
  minNics?: number;
2124
+ /**
2125
+ * Minimum number of vcpus available.
2126
+ */
3294
2127
  minVcpu?: number;
2128
+ /**
2129
+ * Vm sizes belonging to a series from the list will be available for scaling. We can specify include list and series can be specified with capital or small letters, with space, without space or with underscore '_' . For example all of these "DSv2", "Ds v2", "dsV2" refer to same DS_v2 series.
2130
+ */
3295
2131
  series?: string[];
2132
+ /**
2133
+ * The filtered vm types will belong to one of the vm types from this list.
2134
+ */
3296
2135
  vmTypes?: string[];
3297
2136
  }
3298
2137
  interface OceanNpHeadroom {
2138
+ /**
2139
+ * Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
2140
+ */
3299
2141
  cpuPerUnit?: number;
2142
+ /**
2143
+ * Amount of GPU to allocate for headroom unit.
2144
+ */
3300
2145
  gpuPerUnit?: number;
2146
+ /**
2147
+ * Configure the amount of memory (MiB) to allocate the headroom.
2148
+ */
3301
2149
  memoryPerUnit?: number;
2150
+ /**
2151
+ * The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
2152
+ */
3302
2153
  numOfUnits?: number;
3303
2154
  }
3304
2155
  interface OceanNpHealth {
2156
+ /**
2157
+ * The amount of time to wait, in seconds, from the moment the instance has launched until monitoring of its health checks begins.
2158
+ */
3305
2159
  gracePeriod?: number;
3306
2160
  }
3307
2161
  interface OceanNpScheduling {
2162
+ /**
2163
+ * [Shutdown Hours](https://docs.spot.io/ocean/features/running-hours?id=shutdown-hours)An object used to specify times that the nodes in the cluster will be taken down.
2164
+ */
3308
2165
  shutdownHours?: outputs.azure.OceanNpSchedulingShutdownHours;
3309
2166
  }
3310
2167
  interface OceanNpSchedulingShutdownHours {
@@ -3312,8 +2169,17 @@ export declare namespace azure {
3312
2169
  timeWindows: string[];
3313
2170
  }
3314
2171
  interface OceanNpTaint {
2172
+ /**
2173
+ * Set taint effect.
2174
+ */
3315
2175
  effect: string;
2176
+ /**
2177
+ * Set taint key. The following taint keys are not allowed: ["node.kubernetes.io/not-ready", "node.kubernetes.io/unreachable", "node.kubernetes.io/unschedulable", "node.kubernetes.io/memory-pressure", "node.kubernetes.io/disk-pressure", "node.kubernetes.io/network-unavailable", "node.kubernetes.io/pid-pressure", "node.kubernetes.io/out-of-service", "node.cloudprovider.kubernetes.io/uninitialized", "node.cloudprovider.kubernetes.io/shutdown", "kubernetes.azure.com/scalesetpriority"]
2178
+ */
3316
2179
  key: string;
2180
+ /**
2181
+ * Set taint value.
2182
+ */
3317
2183
  value: string;
3318
2184
  }
3319
2185
  interface OceanNpUpdatePolicy {
@@ -3332,31 +2198,98 @@ export declare namespace azure {
3332
2198
  vngIds?: string[];
3333
2199
  }
3334
2200
  interface OceanNpVirtualNodeGroupFilters {
2201
+ /**
2202
+ * In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
2203
+ */
3335
2204
  acceleratedNetworking?: string;
2205
+ /**
2206
+ * The filtered vm sizes will support at least one of the architectures from this list. x8664 includes both intel64 and amd64.
2207
+ */
3336
2208
  architectures?: string[];
2209
+ /**
2210
+ * The filtered vm sizes will support at least one of the classes from this list.
2211
+ */
3337
2212
  diskPerformance?: string;
2213
+ /**
2214
+ * Vm sizes belonging to a series from the list will not be available for scaling.
2215
+ */
3338
2216
  excludeSeries?: string[];
2217
+ /**
2218
+ * The filtered gpu types will belong to one of the gpu types from this list.
2219
+ * <a id="update-policy"></a>
2220
+ */
3339
2221
  gpuTypes?: string[];
2222
+ /**
2223
+ * Maximum number of GPUs available.
2224
+ */
3340
2225
  maxGpu?: number;
2226
+ /**
2227
+ * Maximum amount of Memory (GiB).
2228
+ */
3341
2229
  maxMemoryGib?: number;
2230
+ /**
2231
+ * Maximum number of vcpus available.
2232
+ */
3342
2233
  maxVcpu?: number;
2234
+ /**
2235
+ * Minimum number of data disks available.
2236
+ */
3343
2237
  minDisk?: number;
2238
+ /**
2239
+ * Minimum number of GPUs available.
2240
+ */
3344
2241
  minGpu?: number;
2242
+ /**
2243
+ * Minimum amount of Memory (GiB).
2244
+ */
3345
2245
  minMemoryGib?: number;
2246
+ /**
2247
+ * Minimum number of network interfaces.
2248
+ */
3346
2249
  minNics?: number;
2250
+ /**
2251
+ * Minimum number of vcpus available.
2252
+ */
3347
2253
  minVcpu?: number;
2254
+ /**
2255
+ * Vm sizes belonging to a series from the list will be available for scaling.
2256
+ */
3348
2257
  series?: string[];
2258
+ /**
2259
+ * The filtered vm types will belong to one of the vm types from this list.
2260
+ */
3349
2261
  vmTypes?: string[];
3350
2262
  }
3351
2263
  interface OceanNpVirtualNodeGroupHeadroom {
2264
+ /**
2265
+ * Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
2266
+ */
3352
2267
  cpuPerUnit?: number;
2268
+ /**
2269
+ * Amount of GPU to allocate for headroom unit.
2270
+ */
3353
2271
  gpuPerUnit?: number;
2272
+ /**
2273
+ * Configure the amount of memory (MiB) to allocate the headroom.
2274
+ */
3354
2275
  memoryPerUnit?: number;
2276
+ /**
2277
+ * The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
2278
+ */
3355
2279
  numOfUnits?: number;
3356
2280
  }
3357
2281
  interface OceanNpVirtualNodeGroupTaint {
2282
+ /**
2283
+ * Set taint effect.
2284
+ */
3358
2285
  effect: string;
2286
+ /**
2287
+ * Set taint key. The following are not allowed: "kubernetes.azure.com/scalesetpriority".
2288
+ */
3359
2289
  key: string;
2290
+ /**
2291
+ * Set taint value.
2292
+ */
3360
2293
  value: string;
3361
2294
  }
3362
2295
  interface OceanNpVirtualNodeGroupUpdatePolicy {
@@ -3380,7 +2313,7 @@ export declare namespace azure {
3380
2313
  */
3381
2314
  sizeGb: number;
3382
2315
  /**
3383
- * The type of load balancer. Supported value: `loadBalancer`
2316
+ * The type of the OS disk. Supported values: `Standard_LRS`, `Premium_LRS`, `StandardSSD_LRS`.
3384
2317
  */
3385
2318
  type?: string;
3386
2319
  }
@@ -3412,30 +2345,18 @@ export declare namespace azure {
3412
2345
  autoscaleHeadrooms?: outputs.azure.OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom[];
3413
2346
  }
3414
2347
  interface OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom {
3415
- /**
3416
- * Configure the number of CPUs to allocate for the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
3417
- */
3418
2348
  cpuPerUnit?: number;
3419
- /**
3420
- * How many GPU cores should be allocated for headroom unit.
3421
- */
3422
2349
  gpuPerUnit?: number;
3423
- /**
3424
- * Configure the amount of memory (MiB) to allocate the headroom.
3425
- */
3426
2350
  memoryPerUnit?: number;
3427
- /**
3428
- * The number of headroom units to maintain, where each unit has the defined CPU, memory and GPU.
3429
- */
3430
2351
  numOfUnits: number;
3431
2352
  }
3432
2353
  interface OceanVirtualNodeGroupLabel {
3433
2354
  /**
3434
- * Tag Key for Vms in the cluster.
2355
+ * The label key.
3435
2356
  */
3436
2357
  key: string;
3437
2358
  /**
3438
- * Tag Value for VMs in the cluster.
2359
+ * The label value.
3439
2360
  */
3440
2361
  value?: string;
3441
2362
  }
@@ -3454,27 +2375,12 @@ export declare namespace azure {
3454
2375
  tags?: outputs.azure.OceanVirtualNodeGroupLaunchSpecificationTag[];
3455
2376
  }
3456
2377
  interface OceanVirtualNodeGroupLaunchSpecificationOsDisk {
3457
- /**
3458
- * The size of the OS disk in GB, Required if dataDisks is specified.
3459
- */
3460
2378
  sizeGb: number;
3461
- /**
3462
- * The type of the OS disk. Valid values: `"Standard_LRS"`, `"Premium_LRS"`, `"StandardSSD_LRS"`.
3463
- */
3464
2379
  type?: string;
3465
- /**
3466
- * Flag to enable/disable the Ephemeral OS Disk utilization.
3467
- */
3468
2380
  utilizeEphemeralStorage?: boolean;
3469
2381
  }
3470
2382
  interface OceanVirtualNodeGroupLaunchSpecificationTag {
3471
- /**
3472
- * Tag Key for Vms in the cluster.
3473
- */
3474
2383
  key?: string;
3475
- /**
3476
- * Tag Value for VMs in the cluster.
3477
- */
3478
2384
  value?: string;
3479
2385
  }
3480
2386
  interface OceanVirtualNodeGroupResourceLimit {
@@ -3489,11 +2395,11 @@ export declare namespace azure {
3489
2395
  */
3490
2396
  effect: string;
3491
2397
  /**
3492
- * Tag Key for Vms in the cluster.
2398
+ * The taint key.
3493
2399
  */
3494
2400
  key: string;
3495
2401
  /**
3496
- * Tag Value for VMs in the cluster.
2402
+ * The taint value.
3497
2403
  */
3498
2404
  value: string;
3499
2405
  }
@@ -3506,138 +2412,48 @@ export declare namespace azure {
3506
2412
  }
3507
2413
  export declare namespace ecs {
3508
2414
  interface OceanAutoscaler {
3509
- /**
3510
- * The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when `isAutoConfig`= true.
3511
- */
3512
2415
  autoHeadroomPercentage?: number;
3513
- /**
3514
- * Cooldown period between scaling actions.
3515
- */
3516
2416
  cooldown?: number;
3517
- /**
3518
- * Auto Scaling scale down operations.
3519
- */
3520
2417
  down?: outputs.ecs.OceanAutoscalerDown;
3521
- /**
3522
- * When set to true, both automatic and per custom launch specification manual headroom to be saved concurrently and independently in the cluster. prerequisite: isAutoConfig must be true
3523
- */
3524
2418
  enableAutomaticAndManualHeadroom?: boolean;
3525
- /**
3526
- * Spare resource capacity management enabling fast assignment of tasks without waiting for new resources to launch.
3527
- */
3528
2419
  headroom?: outputs.ecs.OceanAutoscalerHeadroom;
3529
- /**
3530
- * Automatically configure and optimize headroom resources.
3531
- */
3532
2420
  isAutoConfig?: boolean;
3533
- /**
3534
- * Enable the Ocean ECS autoscaler.
3535
- */
3536
2421
  isEnabled?: boolean;
3537
- /**
3538
- * Optionally set upper and lower bounds on the resource usage of the cluster.
3539
- */
3540
2422
  resourceLimits?: outputs.ecs.OceanAutoscalerResourceLimits;
3541
- /**
3542
- * Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
3543
- */
3544
2423
  shouldScaleDownNonServiceTasks?: boolean;
3545
2424
  }
3546
2425
  interface OceanAutoscalerDown {
3547
- /**
3548
- * Would represent the maximum % to scale-down. Number between 1-100.
3549
- */
3550
2426
  maxScaleDownPercentage?: number;
3551
2427
  }
3552
2428
  interface OceanAutoscalerHeadroom {
3553
- /**
3554
- * Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
3555
- */
3556
2429
  cpuPerUnit?: number;
3557
- /**
3558
- * Optionally configure the amount of memory (MB) to allocate the headroom.
3559
- */
3560
2430
  memoryPerUnit?: number;
3561
- /**
3562
- * The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
3563
- */
3564
2431
  numOfUnits?: number;
3565
2432
  }
3566
2433
  interface OceanAutoscalerResourceLimits {
3567
- /**
3568
- * Maximum amount of Memory (GiB).
3569
- */
3570
2434
  maxMemoryGib?: number;
3571
- /**
3572
- * Maximum number of vcpus available.
3573
- */
3574
2435
  maxVcpu?: number;
3575
2436
  }
3576
2437
  interface OceanBlockDeviceMapping {
3577
- /**
3578
- * String. Set device name. Example: `/dev/xvda1`.
3579
- */
3580
2438
  deviceName: string;
3581
- /**
3582
- * Object. Set Elastic Block Store properties.
3583
- */
3584
2439
  ebs?: outputs.ecs.OceanBlockDeviceMappingEbs;
3585
- /**
3586
- * String. Suppresses the specified device included in the block device mapping of the AMI.
3587
- */
3588
2440
  noDevice?: string;
3589
2441
  virtualName?: string;
3590
2442
  }
3591
2443
  interface OceanBlockDeviceMappingEbs {
3592
- /**
3593
- * Boolean. Toggles EBS deletion upon instance termination.
3594
- */
3595
2444
  deleteOnTermination: boolean;
3596
- /**
3597
- * Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
3598
- */
3599
2445
  dynamicVolumeSize?: outputs.ecs.OceanBlockDeviceMappingEbsDynamicVolumeSize;
3600
- /**
3601
- * Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
3602
- */
3603
2446
  encrypted: boolean;
3604
- /**
3605
- * Int. The number of I/O operations per second (IOPS) that the volume supports.
3606
- */
3607
2447
  iops?: number;
3608
- /**
3609
- * String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
3610
- */
3611
2448
  kmsKeyId?: string;
3612
- /**
3613
- * (Optional) String. The snapshot ID to mount by.
3614
- */
3615
2449
  snapshotId?: string;
3616
- /**
3617
- * The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volumeType` = gp3.
3618
- */
3619
2450
  throughput?: number;
3620
- /**
3621
- * Int. The size (in GB) of the volume.
3622
- */
3623
2451
  volumeSize?: number;
3624
- /**
3625
- * String. The type of the volume. Example: `gp2`.
3626
- */
3627
2452
  volumeType: string;
3628
2453
  }
3629
2454
  interface OceanBlockDeviceMappingEbsDynamicVolumeSize {
3630
- /**
3631
- * Int. Initial size for volume. Example: `50`.
3632
- */
3633
2455
  baseSize: number;
3634
- /**
3635
- * String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
3636
- */
3637
2456
  resource: string;
3638
- /**
3639
- * Int. Additional size (in GB) per resource unit. Example: When the `baseSize=50`, `sizePerResourceUnit=20`, and instance with two CPUs is launched, its total disk size will be: 90GB.
3640
- */
3641
2457
  sizePerResourceUnit: number;
3642
2458
  }
3643
2459
  interface OceanClusterOrientation {
@@ -3647,81 +2463,24 @@ export declare namespace ecs {
3647
2463
  availabilityVsCost?: string;
3648
2464
  }
3649
2465
  interface OceanFilters {
3650
- /**
3651
- * The filtered instance types will support at least one of the architectures from this list.
3652
- */
3653
2466
  architectures?: string[];
3654
- /**
3655
- * The filtered instance types will belong to one of the categories types from this list.
3656
- */
3657
2467
  categories?: string[];
3658
- /**
3659
- * The filtered instance types will have one of the disk type from this list.
3660
- */
3661
2468
  diskTypes?: string[];
3662
- /**
3663
- * Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
3664
- */
3665
2469
  excludeFamilies?: string[];
3666
- /**
3667
- * In case excludeMetal is set to true, metal types will not be available for scaling.
3668
- */
3669
2470
  excludeMetal?: boolean;
3670
- /**
3671
- * The filtered instance types will have a hypervisor type from this list.
3672
- */
3673
2471
  hypervisors?: string[];
3674
- /**
3675
- * Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
3676
- */
3677
2472
  includeFamilies?: string[];
3678
- /**
3679
- * Ena is supported or not.
3680
- */
3681
2473
  isEnaSupported?: string;
3682
- /**
3683
- * Maximum total number of GPUs.
3684
- */
3685
2474
  maxGpu?: number;
3686
- /**
3687
- * Maximum amount of Memory (GiB).
3688
- */
3689
2475
  maxMemoryGib?: number;
3690
- /**
3691
- * Maximum Bandwidth in Gib/s of network performance.
3692
- */
3693
2476
  maxNetworkPerformance?: number;
3694
- /**
3695
- * Maximum number of vcpus available.
3696
- */
3697
2477
  maxVcpu?: number;
3698
- /**
3699
- * Minimum number of network interfaces (ENIs).
3700
- */
3701
2478
  minEnis?: number;
3702
- /**
3703
- * Minimum total number of GPUs.
3704
- */
3705
2479
  minGpu?: number;
3706
- /**
3707
- * Minimum amount of Memory (GiB).
3708
- */
3709
2480
  minMemoryGib?: number;
3710
- /**
3711
- * Minimum Bandwidth in Gib/s of network performance.
3712
- */
3713
2481
  minNetworkPerformance?: number;
3714
- /**
3715
- * Minimum number of vcpus available.
3716
- */
3717
2482
  minVcpu?: number;
3718
- /**
3719
- * The filtered instance types will have a root device types from this list.
3720
- */
3721
2483
  rootDeviceTypes?: string[];
3722
- /**
3723
- * The filtered instance types will support at least one of the virtualization types from this list.
3724
- */
3725
2484
  virtualizationTypes?: string[];
3726
2485
  }
3727
2486
  interface OceanInstanceMetadataOptions {
@@ -3746,7 +2505,7 @@ export declare namespace ecs {
3746
2505
  }
3747
2506
  interface OceanLaunchSpecAutoscaleHeadroom {
3748
2507
  /**
3749
- * Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
2508
+ * Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in CPU units, where 1024 units = 1 vCPU.
3750
2509
  */
3751
2510
  cpuPerUnit?: number;
3752
2511
  /**
@@ -3754,7 +2513,7 @@ export declare namespace ecs {
3754
2513
  */
3755
2514
  memoryPerUnit?: number;
3756
2515
  /**
3757
- * The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
2516
+ * The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
3758
2517
  */
3759
2518
  numOfUnits: number;
3760
2519
  }
@@ -3815,17 +2574,8 @@ export declare namespace ecs {
3815
2574
  taskType: string;
3816
2575
  }
3817
2576
  interface OceanLaunchSpecSchedulingTaskTaskHeadroom {
3818
- /**
3819
- * Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
3820
- */
3821
2577
  cpuPerUnit?: number;
3822
- /**
3823
- * Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
3824
- */
3825
2578
  memoryPerUnit?: number;
3826
- /**
3827
- * The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
3828
- */
3829
2579
  numOfUnits: number;
3830
2580
  }
3831
2581
  interface OceanLaunchSpecStrategy {
@@ -3837,13 +2587,7 @@ export declare namespace ecs {
3837
2587
  spotPercentage?: number;
3838
2588
  }
3839
2589
  interface OceanLaunchSpecTag {
3840
- /**
3841
- * The label key.
3842
- */
3843
2590
  key: string;
3844
- /**
3845
- * The label value.
3846
- */
3847
2591
  value: string;
3848
2592
  }
3849
2593
  interface OceanLogging {
@@ -3853,63 +2597,30 @@ export declare namespace ecs {
3853
2597
  export?: outputs.ecs.OceanLoggingExport;
3854
2598
  }
3855
2599
  interface OceanLoggingExport {
3856
- /**
3857
- * Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
3858
- */
3859
2600
  s3s?: outputs.ecs.OceanLoggingExportS3[];
3860
2601
  }
3861
2602
  interface OceanLoggingExportS3 {
3862
2603
  /**
3863
- * The identifier of The S3 data integration to export the logs to.
2604
+ * The Spotinst Ocean ID.
3864
2605
  */
3865
2606
  id: string;
3866
2607
  }
3867
2608
  interface OceanOptimizeImages {
3868
- /**
3869
- * String. Valid values: "always" "never" "timeWindow".
3870
- */
3871
2609
  performAt: string;
3872
- /**
3873
- * Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
3874
- */
3875
2610
  shouldOptimizeEcsAmi: boolean;
3876
- /**
3877
- * Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
3878
- */
3879
2611
  timeWindows?: string[];
3880
2612
  }
3881
2613
  interface OceanScheduledTask {
3882
- /**
3883
- * Set shutdown hours for cluster object.
3884
- */
3885
2614
  shutdownHours?: outputs.ecs.OceanScheduledTaskShutdownHours;
3886
- /**
3887
- * The scheduling tasks for the cluster.
3888
- */
3889
2615
  tasks?: outputs.ecs.OceanScheduledTaskTask[];
3890
2616
  }
3891
2617
  interface OceanScheduledTaskShutdownHours {
3892
- /**
3893
- * Enable the Ocean ECS autoscaler.
3894
- */
3895
2618
  isEnabled?: boolean;
3896
- /**
3897
- * Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
3898
- */
3899
2619
  timeWindows: string[];
3900
2620
  }
3901
2621
  interface OceanScheduledTaskTask {
3902
- /**
3903
- * A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of `frequency` or `cronExpression` should be used at a time. Required for `cluster.scheduling.tasks` object. Example: `0 1 * * *`.
3904
- */
3905
2622
  cronExpression: string;
3906
- /**
3907
- * Enable the Ocean ECS autoscaler.
3908
- */
3909
2623
  isEnabled: boolean;
3910
- /**
3911
- * Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
3912
- */
3913
2624
  taskType: string;
3914
2625
  }
3915
2626
  interface OceanTag {
@@ -3923,48 +2634,21 @@ export declare namespace ecs {
3923
2634
  value: string;
3924
2635
  }
3925
2636
  interface OceanUpdatePolicy {
3926
- /**
3927
- * will update instance tags on the fly without rolling the cluster.
3928
- */
3929
2637
  autoApplyTags?: boolean;
3930
- /**
3931
- * Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
3932
- */
3933
2638
  conditionedRoll?: boolean;
3934
2639
  rollConfig?: outputs.ecs.OceanUpdatePolicyRollConfig;
3935
- /**
3936
- * Enables the roll.
3937
- */
3938
2640
  shouldRoll: boolean;
3939
2641
  }
3940
2642
  interface OceanUpdatePolicyRollConfig {
3941
- /**
3942
- * Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
3943
- */
3944
2643
  batchMinHealthyPercentage?: number;
3945
- /**
3946
- * Sets the percentage of the instances to deploy in each batch.
3947
- */
3948
2644
  batchSizePercentage: number;
3949
2645
  }
3950
2646
  }
3951
2647
  export declare namespace gcp {
3952
2648
  interface ElastigroupBackendService {
3953
- /**
3954
- * Sets which location the backend services will be active. Valid values: `regional`, `global`.
3955
- */
3956
2649
  locationType?: string;
3957
- /**
3958
- * Describes a named port and a list of ports.
3959
- */
3960
2650
  namedPorts?: outputs.gcp.ElastigroupBackendServiceNamedPort[];
3961
- /**
3962
- * Use when `locationType` is "regional". Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values: `INTERNAL`, `EXTERNAL`.
3963
- */
3964
2651
  scheme?: string;
3965
- /**
3966
- * The name of the backend service.
3967
- */
3968
2652
  serviceName: string;
3969
2653
  }
3970
2654
  interface ElastigroupBackendServiceNamedPort {
@@ -3972,73 +2656,25 @@ export declare namespace gcp {
3972
2656
  * The group name.
3973
2657
  */
3974
2658
  name: string;
3975
- /**
3976
- * A list of ports.
3977
- *
3978
- * Usage:
3979
- */
3980
2659
  ports: string[];
3981
2660
  }
3982
2661
  interface ElastigroupDisk {
3983
- /**
3984
- * Specifies whether the disk will be auto-deleted when the instance is deleted.
3985
- */
3986
2662
  autoDelete?: boolean;
3987
- /**
3988
- * Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
3989
- */
3990
2663
  boot?: boolean;
3991
- /**
3992
- * Specifies a unique device name of your choice.
3993
- */
3994
2664
  deviceName?: string;
3995
- /**
3996
- * Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance.
3997
- */
3998
2665
  initializeParams?: outputs.gcp.ElastigroupDiskInitializeParam[];
3999
- /**
4000
- * Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
4001
- */
4002
2666
  interface?: string;
4003
- /**
4004
- * The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
4005
- */
4006
2667
  mode?: string;
4007
- /**
4008
- * Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
4009
- */
4010
2668
  source?: string;
4011
- /**
4012
- * Specifies the type of disk, either SCRATCH or PERSISTENT.
4013
- */
4014
2669
  type?: string;
4015
2670
  }
4016
2671
  interface ElastigroupDiskInitializeParam {
4017
- /**
4018
- * Specifies disk size in gigabytes. Must be in increments of 2.
4019
- */
4020
2672
  diskSizeGb?: string;
4021
- /**
4022
- * Specifies the disk type to use to create the instance. Valid values: pd-ssd, local-ssd.
4023
- */
4024
2673
  diskType?: string;
4025
- /**
4026
- * A source image used to create the disk. You can provide a private (custom) image, and Compute Engine will use the corresponding image from your project.
4027
- *
4028
- * Usage:
4029
- */
4030
2674
  sourceImage: string;
4031
2675
  }
4032
2676
  interface ElastigroupGpu {
4033
- /**
4034
- * The number of GPUs. Must be 0, 2, 4, 6, 8.
4035
- *
4036
- * Usage:
4037
- */
4038
2677
  count: number;
4039
- /**
4040
- * The type of GPU instance. Valid values: `nvidia-tesla-v100`, `nvidia-tesla-p100`, `nvidia-tesla-k80`.
4041
- */
4042
2678
  type: string;
4043
2679
  }
4044
2680
  interface ElastigroupInstanceTypesCustom {
@@ -4049,15 +2685,7 @@ export declare namespace gcp {
4049
2685
  vcpu: number;
4050
2686
  }
4051
2687
  interface ElastigroupIntegrationDockerSwarm {
4052
- /**
4053
- * IP or FQDN of one of your swarm managers.
4054
- */
4055
2688
  masterHost: string;
4056
- /**
4057
- * Network port used by your swarm.
4058
- *
4059
- * Usage:
4060
- */
4061
2689
  masterPort: number;
4062
2690
  }
4063
2691
  interface ElastigroupIntegrationGke {
@@ -4072,9 +2700,6 @@ export declare namespace gcp {
4072
2700
  location?: string;
4073
2701
  }
4074
2702
  interface ElastigroupIntegrationGkeAutoscaleDown {
4075
- /**
4076
- * Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
4077
- */
4078
2703
  evaluationPeriods?: number;
4079
2704
  }
4080
2705
  interface ElastigroupIntegrationGkeAutoscaleHeadroom {
@@ -4083,13 +2708,7 @@ export declare namespace gcp {
4083
2708
  numOfUnits?: number;
4084
2709
  }
4085
2710
  interface ElastigroupIntegrationGkeAutoscaleLabel {
4086
- /**
4087
- * Labels key.
4088
- */
4089
2711
  key: string;
4090
- /**
4091
- * Labels value.
4092
- */
4093
2712
  value: string;
4094
2713
  }
4095
2714
  interface ElastigroupLabel {
@@ -4104,23 +2723,17 @@ export declare namespace gcp {
4104
2723
  }
4105
2724
  interface ElastigroupMetadata {
4106
2725
  /**
4107
- * Labels key.
2726
+ * Metadata key.
4108
2727
  */
4109
2728
  key: string;
4110
2729
  /**
4111
- * Labels value.
2730
+ * Metadata value.
4112
2731
  */
4113
2732
  value: string;
4114
2733
  }
4115
2734
  interface ElastigroupNetworkInterface {
4116
- /**
4117
- * Array of configurations.
4118
- */
4119
2735
  accessConfigs?: outputs.gcp.ElastigroupNetworkInterfaceAccessConfig[];
4120
2736
  aliasIpRanges?: outputs.gcp.ElastigroupNetworkInterfaceAliasIpRange[];
4121
- /**
4122
- * Network resource for this group.
4123
- */
4124
2737
  network: string;
4125
2738
  }
4126
2739
  interface ElastigroupNetworkInterfaceAccessConfig {
@@ -4128,9 +2741,6 @@ export declare namespace gcp {
4128
2741
  * The group name.
4129
2742
  */
4130
2743
  name?: string;
4131
- /**
4132
- * Specifies the type of disk, either SCRATCH or PERSISTENT.
4133
- */
4134
2744
  type?: string;
4135
2745
  }
4136
2746
  interface ElastigroupNetworkInterfaceAliasIpRange {
@@ -4138,54 +2748,18 @@ export declare namespace gcp {
4138
2748
  subnetworkRangeName: string;
4139
2749
  }
4140
2750
  interface ElastigroupScalingDownPolicy {
4141
- /**
4142
- * Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
4143
- */
4144
2751
  actionType?: string;
4145
- /**
4146
- * Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
4147
- */
4148
2752
  adjustment?: number;
4149
- /**
4150
- * Time (seconds) to wait after a scaling action before resuming monitoring.
4151
- */
4152
2753
  cooldown: number;
4153
- /**
4154
- * A list of dimensions describing qualities of the metric.
4155
- */
4156
2754
  dimensions?: outputs.gcp.ElastigroupScalingDownPolicyDimension[];
4157
- /**
4158
- * Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
4159
- */
4160
2755
  evaluationPeriods: number;
4161
- /**
4162
- * Metric to monitor. Valid values: "Percentage CPU", "Network In", "Network Out", "Disk Read Bytes", "Disk Write Bytes", "Disk Write Operations/Sec", "Disk Read Operations/Sec".
4163
- */
4164
2756
  metricName: string;
4165
2757
  namespace: string;
4166
- /**
4167
- * The operator used to evaluate the threshold against the current metric value. Valid values: "gt" (greater than), "get" (greater-than or equal), "lt" (less than), "lte" (less than or equal).
4168
- */
4169
2758
  operator: string;
4170
- /**
4171
- * Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
4172
- */
4173
2759
  period: number;
4174
- /**
4175
- * Name of scaling policy.
4176
- */
4177
2760
  policyName: string;
4178
- /**
4179
- * Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
4180
- */
4181
2761
  source: string;
4182
- /**
4183
- * Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
4184
- */
4185
2762
  statistic: string;
4186
- /**
4187
- * The value at which the scaling action is triggered.
4188
- */
4189
2763
  threshold: number;
4190
2764
  unit: string;
4191
2765
  }
@@ -4194,60 +2768,21 @@ export declare namespace gcp {
4194
2768
  * The group name.
4195
2769
  */
4196
2770
  name: string;
4197
- /**
4198
- * Labels value.
4199
- */
4200
2771
  value?: string;
4201
2772
  }
4202
2773
  interface ElastigroupScalingUpPolicy {
4203
- /**
4204
- * Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
4205
- */
4206
2774
  actionType?: string;
4207
- /**
4208
- * Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
4209
- */
4210
2775
  adjustment?: number;
4211
- /**
4212
- * Time (seconds) to wait after a scaling action before resuming monitoring.
4213
- */
4214
2776
  cooldown: number;
4215
- /**
4216
- * A list of dimensions describing qualities of the metric.
4217
- */
4218
2777
  dimensions?: outputs.gcp.ElastigroupScalingUpPolicyDimension[];
4219
- /**
4220
- * Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
4221
- */
4222
2778
  evaluationPeriods: number;
4223
- /**
4224
- * Metric to monitor. Valid values: "Percentage CPU", "Network In", "Network Out", "Disk Read Bytes", "Disk Write Bytes", "Disk Write Operations/Sec", "Disk Read Operations/Sec".
4225
- */
4226
2779
  metricName: string;
4227
2780
  namespace: string;
4228
- /**
4229
- * The operator used to evaluate the threshold against the current metric value. Valid values: "gt" (greater than), "get" (greater-than or equal), "lt" (less than), "lte" (less than or equal).
4230
- */
4231
2781
  operator: string;
4232
- /**
4233
- * Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
4234
- */
4235
2782
  period: number;
4236
- /**
4237
- * Name of scaling policy.
4238
- */
4239
2783
  policyName: string;
4240
- /**
4241
- * Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
4242
- */
4243
2784
  source: string;
4244
- /**
4245
- * Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
4246
- */
4247
2785
  statistic: string;
4248
- /**
4249
- * The value at which the scaling action is triggered.
4250
- */
4251
2786
  threshold: number;
4252
2787
  unit: string;
4253
2788
  }
@@ -4256,9 +2791,6 @@ export declare namespace gcp {
4256
2791
  * The group name.
4257
2792
  */
4258
2793
  name: string;
4259
- /**
4260
- * Labels value.
4261
- */
4262
2794
  value?: string;
4263
2795
  }
4264
2796
  interface ElastigroupScheduledTask {
@@ -4340,54 +2872,21 @@ export declare namespace gke {
4340
2872
  }
4341
2873
  interface ElastigroupIntegrationGke {
4342
2874
  autoUpdate?: boolean;
4343
- /**
4344
- * The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
4345
- */
4346
2875
  autoscaleCooldown?: number;
4347
- /**
4348
- * Enabling scale down.
4349
- */
4350
2876
  autoscaleDown?: outputs.gke.ElastigroupIntegrationGkeAutoscaleDown;
4351
- /**
4352
- * Headroom for the cluster.
4353
- */
4354
2877
  autoscaleHeadroom?: outputs.gke.ElastigroupIntegrationGkeAutoscaleHeadroom;
4355
2878
  autoscaleIsAutoConfig?: boolean;
4356
- /**
4357
- * Specifies whether the auto scaling feature is enabled.
4358
- */
4359
2879
  autoscaleIsEnabled?: boolean;
4360
- /**
4361
- * Labels to assign to the resource.
4362
- */
4363
2880
  autoscaleLabels?: outputs.gke.ElastigroupIntegrationGkeAutoscaleLabel[];
4364
- /**
4365
- * The name of the GKE cluster you wish to import.
4366
- */
4367
2881
  clusterId?: string;
4368
- /**
4369
- * The location of your GKE cluster.
4370
- */
4371
2882
  location?: string;
4372
2883
  }
4373
2884
  interface ElastigroupIntegrationGkeAutoscaleDown {
4374
- /**
4375
- * Amount of cooldown evaluation periods for scale down.
4376
- */
4377
2885
  evaluationPeriods?: number;
4378
2886
  }
4379
2887
  interface ElastigroupIntegrationGkeAutoscaleHeadroom {
4380
- /**
4381
- * Cpu units for compute.
4382
- */
4383
2888
  cpuPerUnit?: number;
4384
- /**
4385
- * RAM units for compute.
4386
- */
4387
2889
  memoryPerUnit?: number;
4388
- /**
4389
- * Amount of units for compute.
4390
- */
4391
2890
  numOfUnits?: number;
4392
2891
  }
4393
2892
  interface ElastigroupIntegrationGkeAutoscaleLabel {
@@ -4420,9 +2919,6 @@ export declare namespace gke {
4420
2919
  adjustment?: number;
4421
2920
  cooldown: number;
4422
2921
  dimensions?: outputs.gke.ElastigroupScalingDownPolicyDimension[];
4423
- /**
4424
- * Amount of cooldown evaluation periods for scale down.
4425
- */
4426
2922
  evaluationPeriods: number;
4427
2923
  metricName: string;
4428
2924
  namespace: string;
@@ -4443,9 +2939,6 @@ export declare namespace gke {
4443
2939
  adjustment?: number;
4444
2940
  cooldown: number;
4445
2941
  dimensions?: outputs.gke.ElastigroupScalingUpPolicyDimension[];
4446
- /**
4447
- * Amount of cooldown evaluation periods for scale down.
4448
- */
4449
2942
  evaluationPeriods: number;
4450
2943
  metricName: string;
4451
2944
  namespace: string;
@@ -4462,75 +2955,27 @@ export declare namespace gke {
4462
2955
  value?: string;
4463
2956
  }
4464
2957
  interface OceanImportAutoscaler {
4465
- /**
4466
- * Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
4467
- */
4468
2958
  autoHeadroomPercentage?: number;
4469
- /**
4470
- * Cooldown period between scaling actions.
4471
- */
4472
2959
  cooldown?: number;
4473
- /**
4474
- * Auto Scaling scale down operations.
4475
- */
4476
2960
  down?: outputs.gke.OceanImportAutoscalerDown;
4477
- /**
4478
- * enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
4479
- */
4480
2961
  enableAutomaticAndManualHeadroom?: boolean;
4481
- /**
4482
- * Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
4483
- */
4484
2962
  headroom?: outputs.gke.OceanImportAutoscalerHeadroom;
4485
- /**
4486
- * Automatically configure and optimize headroom resources.
4487
- */
4488
2963
  isAutoConfig?: boolean;
4489
- /**
4490
- * Enable the Ocean Kubernetes Autoscaler.
4491
- */
4492
2964
  isEnabled?: boolean;
4493
- /**
4494
- * Optionally set upper and lower bounds on the resource usage of the cluster.
4495
- */
4496
2965
  resourceLimits?: outputs.gke.OceanImportAutoscalerResourceLimits;
4497
2966
  }
4498
2967
  interface OceanImportAutoscalerDown {
4499
- /**
4500
- * The number of evaluation periods that should accumulate before a scale down action takes place.
4501
- */
4502
2968
  evaluationPeriods?: number;
4503
- /**
4504
- * Would represent the maximum % to scale-down. Number between 1-100.
4505
- */
4506
2969
  maxScaleDownPercentage?: number;
4507
2970
  }
4508
2971
  interface OceanImportAutoscalerHeadroom {
4509
- /**
4510
- * Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
4511
- */
4512
2972
  cpuPerUnit?: number;
4513
- /**
4514
- * How much GPU allocate for headroom unit.
4515
- */
4516
2973
  gpuPerUnit?: number;
4517
- /**
4518
- * Optionally configure the amount of memory (MiB) to allocate the headroom.
4519
- */
4520
2974
  memoryPerUnit?: number;
4521
- /**
4522
- * The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
4523
- */
4524
2975
  numOfUnits?: number;
4525
2976
  }
4526
2977
  interface OceanImportAutoscalerResourceLimits {
4527
- /**
4528
- * The maximum memory in GiB units that can be allocated to the cluster.
4529
- */
4530
2978
  maxMemoryGib?: number;
4531
- /**
4532
- * The maximum cpu in vCpu units that can be allocated to the cluster.
4533
- */
4534
2979
  maxVcpu?: number;
4535
2980
  }
4536
2981
  interface OceanImportBackendService {
@@ -4550,46 +2995,20 @@ export declare namespace gke {
4550
2995
  }
4551
2996
  interface OceanImportBackendServiceNamedPort {
4552
2997
  name: string;
4553
- /**
4554
- * A list of ports.
4555
- */
4556
2998
  ports: string[];
4557
2999
  }
4558
3000
  interface OceanImportScheduledTask {
4559
- /**
4560
- * Set shutdown hours for cluster object.
4561
- */
4562
3001
  shutdownHours?: outputs.gke.OceanImportScheduledTaskShutdownHours;
4563
- /**
4564
- * The scheduling tasks for the cluster.
4565
- */
4566
3002
  tasks?: outputs.gke.OceanImportScheduledTaskTask[];
4567
3003
  }
4568
3004
  interface OceanImportScheduledTaskShutdownHours {
4569
- /**
4570
- * Enable the Ocean Kubernetes Autoscaler.
4571
- */
4572
3005
  isEnabled?: boolean;
4573
- /**
4574
- * Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled = True. API Times are in UTC
4575
- * Example: Fri:15:30-Wed:14:30
4576
- */
4577
3006
  timeWindows: string[];
4578
3007
  }
4579
3008
  interface OceanImportScheduledTaskTask {
4580
- /**
4581
- * A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object
4582
- * Example: 0 1 * * *
4583
- */
4584
3009
  cronExpression: string;
4585
- /**
4586
- * Enable the Ocean Kubernetes Autoscaler.
4587
- */
4588
3010
  isEnabled: boolean;
4589
3011
  taskParameters?: outputs.gke.OceanImportScheduledTaskTaskTaskParameters;
4590
- /**
4591
- * Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
4592
- */
4593
3012
  taskType: string;
4594
3013
  }
4595
3014
  interface OceanImportScheduledTaskTaskTaskParameters {
@@ -4597,10 +3016,6 @@ export declare namespace gke {
4597
3016
  }
4598
3017
  interface OceanImportScheduledTaskTaskTaskParametersClusterRoll {
4599
3018
  batchMinHealthyPercentage?: number;
4600
- /**
4601
- * Value in % to set size of batch in roll. Valid values are 0-100
4602
- * Example: 20.
4603
- */
4604
3019
  batchSizePercentage?: number;
4605
3020
  comment?: string;
4606
3021
  respectPdb?: boolean;
@@ -4630,10 +3045,6 @@ export declare namespace gke {
4630
3045
  }
4631
3046
  interface OceanImportUpdatePolicyRollConfig {
4632
3047
  batchMinHealthyPercentage?: number;
4633
- /**
4634
- * Value in % to set size of batch in roll. Valid values are 0-100
4635
- * Example: 20.
4636
- */
4637
3048
  batchSizePercentage: number;
4638
3049
  launchSpecIds?: string[];
4639
3050
  respectPdb?: boolean;
@@ -4674,11 +3085,11 @@ export declare namespace gke {
4674
3085
  }
4675
3086
  interface OceanLaunchSpecMetadata {
4676
3087
  /**
4677
- * The label key.
3088
+ * The metadata key.
4678
3089
  */
4679
3090
  key: string;
4680
3091
  /**
4681
- * The label value.
3092
+ * The metadata value.
4682
3093
  */
4683
3094
  value: string;
4684
3095
  }
@@ -4702,24 +3113,13 @@ export declare namespace gke {
4702
3113
  }
4703
3114
  interface OceanLaunchSpecNetworkInterfaceAccessConfig {
4704
3115
  /**
4705
- * The name of the access configuration.
3116
+ * The launch specification name.
4706
3117
  */
4707
3118
  name?: string;
4708
- /**
4709
- * The type of the access configuration.
4710
- */
4711
3119
  type?: string;
4712
3120
  }
4713
3121
  interface OceanLaunchSpecNetworkInterfaceAliasIpRange {
4714
- /**
4715
- * specify the IP address range in CIDR notation that can be used for the alias IP addresses associated with the imported node pool.
4716
- */
4717
3122
  ipCidrRange: string;
4718
- /**
4719
- * specify the IP address range for the subnet secondary IP range.
4720
- *
4721
- * <a id="update-policy"></a>
4722
- */
4723
3123
  subnetworkRangeName: string;
4724
3124
  }
4725
3125
  interface OceanLaunchSpecResourceLimits {
@@ -4751,21 +3151,9 @@ export declare namespace gke {
4751
3151
  taskType: string;
4752
3152
  }
4753
3153
  interface OceanLaunchSpecSchedulingTaskTaskHeadroom {
4754
- /**
4755
- * Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
4756
- */
4757
3154
  cpuPerUnit?: number;
4758
- /**
4759
- * Optionally configure the number of GPUS to allocate for each headroom unit.
4760
- */
4761
3155
  gpuPerUnit?: number;
4762
- /**
4763
- * Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
4764
- */
4765
3156
  memoryPerUnit?: number;
4766
- /**
4767
- * The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
4768
- */
4769
3157
  numOfUnits: number;
4770
3158
  }
4771
3159
  interface OceanLaunchSpecShieldedInstanceConfig {
@@ -4796,11 +3184,11 @@ export declare namespace gke {
4796
3184
  */
4797
3185
  effect: string;
4798
3186
  /**
4799
- * The label key.
3187
+ * The taint key.
4800
3188
  */
4801
3189
  key: string;
4802
3190
  /**
4803
- * The label value.
3191
+ * The taint value.
4804
3192
  */
4805
3193
  value: string;
4806
3194
  }
@@ -4820,18 +3208,8 @@ export declare namespace organization {
4820
3208
  statements: outputs.organization.PolicyPolicyContentStatement[];
4821
3209
  }
4822
3210
  interface PolicyPolicyContentStatement {
4823
- /**
4824
- * Set a list of required actions for this permissions statement.
4825
- * Full list of actions can be found in [https://docs.spot.io/account-user-management/user-management/access-policies-actions/](https://docs.spot.io/account-user-management/user-management/access-policies-actions/).
4826
- */
4827
3211
  actions: string[];
4828
- /**
4829
- * Valid values "ALLOW", "DENY".
4830
- */
4831
3212
  effect: string;
4832
- /**
4833
- * Set a list of resources IDs. In order to include all resources in this statement - use "*".
4834
- */
4835
3213
  resources: string[];
4836
3214
  }
4837
3215
  interface ProgrammaticUserAccount {
@@ -4918,7 +3296,7 @@ export declare namespace spark {
4918
3296
  }
4919
3297
  interface OceanIngressLoadBalancer {
4920
3298
  /**
4921
- * - Should an ingress controller managed by Ocean for Apache Spark be installed on the cluster.
3299
+ * - Should a load balancer managed by Ocean for Apache Spark be provisioned for the cluster. Set this to false if you want to use an existing load balancer (only available on AWS).
4922
3300
  */
4923
3301
  managed?: boolean;
4924
3302
  /**
@@ -4934,7 +3312,7 @@ export declare namespace spark {
4934
3312
  }
4935
3313
  interface OceanIngressPrivateLink {
4936
3314
  /**
4937
- * - Should the Ocean for Apache Spark control plane address the cluster using a custom endpoint. Use this to specify the DNS address of an externally provisioned (unmanaged) load balancer.
3315
+ * - Should the Ocean for Apache Spark control plane address the cluster via an AWS Private Link. Only available on AWS.
4938
3316
  */
4939
3317
  enabled?: boolean;
4940
3318
  /**