@pulumi/spotinst 3.75.0 → 3.76.0-alpha.1713904914
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.
- package/aws/account.d.ts +0 -2
- package/aws/account.js +0 -2
- package/aws/account.js.map +1 -1
- package/aws/credentials.d.ts +0 -2
- package/aws/credentials.js +0 -2
- package/aws/credentials.js.map +1 -1
- package/aws/elastigroup.d.ts +0 -167
- package/aws/elastigroup.js +0 -2
- package/aws/elastigroup.js.map +1 -1
- package/aws/mrScalar.d.ts +0 -429
- package/aws/mrScalar.js +0 -6
- package/aws/mrScalar.js.map +1 -1
- package/aws/ocean.d.ts +3 -30
- package/aws/ocean.js.map +1 -1
- package/aws/oceanExtendedResourceDefinition.d.ts +0 -2
- package/aws/oceanExtendedResourceDefinition.js +0 -2
- package/aws/oceanExtendedResourceDefinition.js.map +1 -1
- package/aws/oceanLaunchSpec.d.ts +3 -3
- package/aws/suspension.d.ts +0 -2
- package/aws/suspension.js +0 -2
- package/aws/suspension.js.map +1 -1
- package/azure/elastigroup.d.ts +6 -8
- package/azure/elastigroup.js +0 -2
- package/azure/elastigroup.js.map +1 -1
- package/azure/ocean.d.ts +6 -8
- package/azure/ocean.js +0 -2
- package/azure/ocean.js.map +1 -1
- package/azure/oceanVirtualNodeGroup.d.ts +0 -2
- package/azure/oceanVirtualNodeGroup.js +0 -2
- package/azure/oceanVirtualNodeGroup.js.map +1 -1
- package/dataIntegration.d.ts +0 -2
- package/dataIntegration.js +0 -2
- package/dataIntegration.js.map +1 -1
- package/ecs/ocean.d.ts +0 -72
- package/ecs/ocean.js.map +1 -1
- package/ecs/oceanLaunchSpec.d.ts +3 -5
- package/ecs/oceanLaunchSpec.js +0 -2
- package/ecs/oceanLaunchSpec.js.map +1 -1
- package/gcp/elastigroup.d.ts +0 -98
- package/gcp/elastigroup.js +0 -2
- package/gcp/elastigroup.js.map +1 -1
- package/gke/elastigroup.d.ts +0 -35
- package/gke/elastigroup.js +0 -2
- package/gke/elastigroup.js.map +1 -1
- package/gke/oceanImport.d.ts +0 -20
- package/gke/oceanImport.js +0 -2
- package/gke/oceanImport.js.map +1 -1
- package/gke/oceanLaunchSpec.d.ts +3 -5
- package/gke/oceanLaunchSpec.js +0 -2
- package/gke/oceanLaunchSpec.js.map +1 -1
- package/gke/oceanLaunchSpecImport.d.ts +0 -2
- package/gke/oceanLaunchSpecImport.js +0 -2
- package/gke/oceanLaunchSpecImport.js.map +1 -1
- package/organization/policy.d.ts +0 -2
- package/organization/policy.js +0 -2
- package/organization/policy.js.map +1 -1
- package/organization/programmaticUser.d.ts +0 -2
- package/organization/programmaticUser.js +0 -2
- package/organization/programmaticUser.js.map +1 -1
- package/organization/user.d.ts +0 -2
- package/organization/user.js +0 -2
- package/organization/user.js.map +1 -1
- package/organization/userGroup.d.ts +0 -2
- package/organization/userGroup.js +0 -2
- package/organization/userGroup.js.map +1 -1
- package/package.json +1 -1
- package/spark/ocean.d.ts +0 -2
- package/spark/ocean.js +0 -2
- package/spark/ocean.js.map +1 -1
- package/spark/oceanVirtualNodeGroup.d.ts +0 -2
- package/spark/oceanVirtualNodeGroup.js +0 -2
- package/spark/oceanVirtualNodeGroup.js.map +1 -1
- package/statefulNodeAzure.d.ts +0 -2
- package/statefulNodeAzure.js +0 -2
- package/statefulNodeAzure.js.map +1 -1
- package/subscription.d.ts +0 -2
- package/subscription.js +0 -2
- package/subscription.js.map +1 -1
- package/types/input.d.ts +46 -1676
- package/types/output.d.ts +46 -1676
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
*
|
|
971
|
+
* String, the dimension name.
|
|
1368
972
|
*/
|
|
1369
973
|
name: string;
|
|
1370
974
|
/**
|
|
1371
|
-
*
|
|
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
|
|
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
|
|
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
|
|
1717
|
+
* The label key.
|
|
2718
1718
|
*/
|
|
2719
1719
|
key: string;
|
|
2720
1720
|
/**
|
|
2721
|
-
* The
|
|
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
|
-
*
|
|
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
|
|
1825
|
+
* The Cluster ID.
|
|
2847
1826
|
*/
|
|
2848
1827
|
id: string;
|
|
2849
1828
|
}
|
|
@@ -2932,7 +1911,7 @@ export declare namespace azure {
|
|
|
2932
1911
|
interface ElastigroupImageCustom {
|
|
2933
1912
|
imageName: string;
|
|
2934
1913
|
/**
|
|
2935
|
-
* Name of the
|
|
1914
|
+
* Name of the Resource Group for Elastigroup.
|
|
2936
1915
|
*/
|
|
2937
1916
|
resourceGroupName: string;
|
|
2938
1917
|
}
|
|
@@ -2960,11 +1939,11 @@ export declare namespace azure {
|
|
|
2960
1939
|
}
|
|
2961
1940
|
interface ElastigroupManagedServiceIdentity {
|
|
2962
1941
|
/**
|
|
2963
|
-
*
|
|
1942
|
+
* The group name.
|
|
2964
1943
|
*/
|
|
2965
1944
|
name: string;
|
|
2966
1945
|
/**
|
|
2967
|
-
* Name of the
|
|
1946
|
+
* Name of the Resource Group for Elastigroup.
|
|
2968
1947
|
*/
|
|
2969
1948
|
resourceGroupName: string;
|
|
2970
1949
|
}
|
|
@@ -2972,7 +1951,7 @@ export declare namespace azure {
|
|
|
2972
1951
|
additionalIpConfigs?: outputs.azure.ElastigroupNetworkAdditionalIpConfig[];
|
|
2973
1952
|
assignPublicIp?: boolean;
|
|
2974
1953
|
/**
|
|
2975
|
-
* Name of the
|
|
1954
|
+
* Name of the Resource Group for Elastigroup.
|
|
2976
1955
|
*/
|
|
2977
1956
|
resourceGroupName: string;
|
|
2978
1957
|
subnetName: string;
|
|
@@ -2980,7 +1959,7 @@ export declare namespace azure {
|
|
|
2980
1959
|
}
|
|
2981
1960
|
interface ElastigroupNetworkAdditionalIpConfig {
|
|
2982
1961
|
/**
|
|
2983
|
-
*
|
|
1962
|
+
* The group name.
|
|
2984
1963
|
*/
|
|
2985
1964
|
name: string;
|
|
2986
1965
|
privateIpVersion?: string;
|
|
@@ -3007,12 +1986,9 @@ export declare namespace azure {
|
|
|
3007
1986
|
}
|
|
3008
1987
|
interface ElastigroupScalingDownPolicyDimension {
|
|
3009
1988
|
/**
|
|
3010
|
-
*
|
|
1989
|
+
* The group name.
|
|
3011
1990
|
*/
|
|
3012
1991
|
name: string;
|
|
3013
|
-
/**
|
|
3014
|
-
* Tag Value for Vms in Elastigroup.
|
|
3015
|
-
*/
|
|
3016
1992
|
value?: string;
|
|
3017
1993
|
}
|
|
3018
1994
|
interface ElastigroupScalingUpPolicy {
|
|
@@ -3037,12 +2013,9 @@ export declare namespace azure {
|
|
|
3037
2013
|
}
|
|
3038
2014
|
interface ElastigroupScalingUpPolicyDimension {
|
|
3039
2015
|
/**
|
|
3040
|
-
*
|
|
2016
|
+
* The group name.
|
|
3041
2017
|
*/
|
|
3042
2018
|
name: string;
|
|
3043
|
-
/**
|
|
3044
|
-
* Tag Value for Vms in Elastigroup.
|
|
3045
|
-
*/
|
|
3046
2019
|
value?: string;
|
|
3047
2020
|
}
|
|
3048
2021
|
interface ElastigroupScheduledTask {
|
|
@@ -3090,35 +2063,17 @@ export declare namespace azure {
|
|
|
3090
2063
|
resourceLimits: outputs.azure.OceanAutoscalerResourceLimits;
|
|
3091
2064
|
}
|
|
3092
2065
|
interface OceanAutoscalerAutoscaleDown {
|
|
3093
|
-
/**
|
|
3094
|
-
* Would represent the maximum % to scale-down.
|
|
3095
|
-
*/
|
|
3096
2066
|
maxScaleDownPercentage: number;
|
|
3097
2067
|
}
|
|
3098
2068
|
interface OceanAutoscalerAutoscaleHeadroom {
|
|
3099
|
-
/**
|
|
3100
|
-
* Automatic headroom configuration.
|
|
3101
|
-
*/
|
|
3102
2069
|
automatic: outputs.azure.OceanAutoscalerAutoscaleHeadroomAutomatic;
|
|
3103
2070
|
}
|
|
3104
2071
|
interface OceanAutoscalerAutoscaleHeadroomAutomatic {
|
|
3105
|
-
/**
|
|
3106
|
-
* Enable automatic headroom. When set to `true`, Ocean configures and optimizes headroom automatically.
|
|
3107
|
-
*/
|
|
3108
2072
|
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
2073
|
percentage: number;
|
|
3113
2074
|
}
|
|
3114
2075
|
interface OceanAutoscalerResourceLimits {
|
|
3115
|
-
/**
|
|
3116
|
-
* The maximum memory in GiB units that can be allocated to the cluster.
|
|
3117
|
-
*/
|
|
3118
2076
|
maxMemoryGib: number;
|
|
3119
|
-
/**
|
|
3120
|
-
* The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
3121
|
-
*/
|
|
3122
2077
|
maxVcpu?: number;
|
|
3123
2078
|
}
|
|
3124
2079
|
interface OceanExtension {
|
|
@@ -3131,15 +2086,12 @@ export declare namespace azure {
|
|
|
3131
2086
|
*/
|
|
3132
2087
|
minorVersionAutoUpgrade: boolean;
|
|
3133
2088
|
/**
|
|
3134
|
-
*
|
|
2089
|
+
* Extension name.
|
|
3135
2090
|
*/
|
|
3136
2091
|
name: string;
|
|
3137
|
-
/**
|
|
3138
|
-
* Image publisher.
|
|
3139
|
-
*/
|
|
3140
2092
|
publisher: string;
|
|
3141
2093
|
/**
|
|
3142
|
-
*
|
|
2094
|
+
* Extension type.
|
|
3143
2095
|
*/
|
|
3144
2096
|
type: string;
|
|
3145
2097
|
}
|
|
@@ -3156,21 +2108,9 @@ export declare namespace azure {
|
|
|
3156
2108
|
marketplaces: outputs.azure.OceanImageMarketplace[];
|
|
3157
2109
|
}
|
|
3158
2110
|
interface OceanImageMarketplace {
|
|
3159
|
-
/**
|
|
3160
|
-
* Image name.
|
|
3161
|
-
*/
|
|
3162
2111
|
offer: string;
|
|
3163
|
-
/**
|
|
3164
|
-
* Image publisher.
|
|
3165
|
-
*/
|
|
3166
2112
|
publisher: string;
|
|
3167
|
-
/**
|
|
3168
|
-
* Image Stock Keeping Unit (which is the specific version of the image).
|
|
3169
|
-
*/
|
|
3170
2113
|
sku: string;
|
|
3171
|
-
/**
|
|
3172
|
-
* Image version.
|
|
3173
|
-
*/
|
|
3174
2114
|
version: string;
|
|
3175
2115
|
}
|
|
3176
2116
|
interface OceanLoadBalancer {
|
|
@@ -3197,11 +2137,11 @@ export declare namespace azure {
|
|
|
3197
2137
|
}
|
|
3198
2138
|
interface OceanManagedServiceIdentity {
|
|
3199
2139
|
/**
|
|
3200
|
-
* Name of the
|
|
2140
|
+
* Name of the Managed Service Identity.
|
|
3201
2141
|
*/
|
|
3202
2142
|
name: string;
|
|
3203
2143
|
/**
|
|
3204
|
-
*
|
|
2144
|
+
* Name of the Azure Resource Group where the Managed Service Identity is located.
|
|
3205
2145
|
*/
|
|
3206
2146
|
resourceGroupName: string;
|
|
3207
2147
|
}
|
|
@@ -3211,7 +2151,7 @@ export declare namespace azure {
|
|
|
3211
2151
|
*/
|
|
3212
2152
|
networkInterfaces: outputs.azure.OceanNetworkNetworkInterface[];
|
|
3213
2153
|
/**
|
|
3214
|
-
*
|
|
2154
|
+
* Vnet resource group name.
|
|
3215
2155
|
*/
|
|
3216
2156
|
resourceGroupName: string;
|
|
3217
2157
|
/**
|
|
@@ -3220,41 +2160,26 @@ export declare namespace azure {
|
|
|
3220
2160
|
virtualNetworkName: string;
|
|
3221
2161
|
}
|
|
3222
2162
|
interface OceanNetworkNetworkInterface {
|
|
3223
|
-
/**
|
|
3224
|
-
* Additional configuration of network interface. The name fields between all the `additionalIpConfig` must be unique.
|
|
3225
|
-
*/
|
|
3226
2163
|
additionalIpConfigs: outputs.azure.OceanNetworkNetworkInterfaceAdditionalIpConfig[];
|
|
3227
|
-
/**
|
|
3228
|
-
* Assign public IP.
|
|
3229
|
-
*/
|
|
3230
2164
|
assignPublicIp: boolean;
|
|
3231
|
-
/**
|
|
3232
|
-
* Defines whether the network interface is primary or not.
|
|
3233
|
-
*/
|
|
3234
2165
|
isPrimary: boolean;
|
|
3235
2166
|
securityGroup: outputs.azure.OceanNetworkNetworkInterfaceSecurityGroup;
|
|
3236
|
-
/**
|
|
3237
|
-
* Subnet name.
|
|
3238
|
-
*/
|
|
3239
2167
|
subnetName: string;
|
|
3240
2168
|
}
|
|
3241
2169
|
interface OceanNetworkNetworkInterfaceAdditionalIpConfig {
|
|
3242
2170
|
/**
|
|
3243
|
-
*
|
|
2171
|
+
* The Ocean cluster name.
|
|
3244
2172
|
*/
|
|
3245
2173
|
name: string;
|
|
3246
|
-
/**
|
|
3247
|
-
* Supported values: `IPv4`, `IPv6`.
|
|
3248
|
-
*/
|
|
3249
2174
|
privateIpVersion: string;
|
|
3250
2175
|
}
|
|
3251
2176
|
interface OceanNetworkNetworkInterfaceSecurityGroup {
|
|
3252
2177
|
/**
|
|
3253
|
-
*
|
|
2178
|
+
* The Ocean cluster name.
|
|
3254
2179
|
*/
|
|
3255
2180
|
name: string;
|
|
3256
2181
|
/**
|
|
3257
|
-
*
|
|
2182
|
+
* Name of the Azure Resource Group into which VMs will be launched. Cannot be updated.
|
|
3258
2183
|
*/
|
|
3259
2184
|
resourceGroupName: string;
|
|
3260
2185
|
}
|
|
@@ -3380,7 +2305,7 @@ export declare namespace azure {
|
|
|
3380
2305
|
*/
|
|
3381
2306
|
sizeGb: number;
|
|
3382
2307
|
/**
|
|
3383
|
-
* The type of
|
|
2308
|
+
* The type of the OS disk. Supported values: `Standard_LRS`, `Premium_LRS`, `StandardSSD_LRS`.
|
|
3384
2309
|
*/
|
|
3385
2310
|
type?: string;
|
|
3386
2311
|
}
|
|
@@ -3412,30 +2337,18 @@ export declare namespace azure {
|
|
|
3412
2337
|
autoscaleHeadrooms?: outputs.azure.OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom[];
|
|
3413
2338
|
}
|
|
3414
2339
|
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
2340
|
cpuPerUnit?: number;
|
|
3419
|
-
/**
|
|
3420
|
-
* How many GPU cores should be allocated for headroom unit.
|
|
3421
|
-
*/
|
|
3422
2341
|
gpuPerUnit?: number;
|
|
3423
|
-
/**
|
|
3424
|
-
* Configure the amount of memory (MiB) to allocate the headroom.
|
|
3425
|
-
*/
|
|
3426
2342
|
memoryPerUnit?: number;
|
|
3427
|
-
/**
|
|
3428
|
-
* The number of headroom units to maintain, where each unit has the defined CPU, memory and GPU.
|
|
3429
|
-
*/
|
|
3430
2343
|
numOfUnits: number;
|
|
3431
2344
|
}
|
|
3432
2345
|
interface OceanVirtualNodeGroupLabel {
|
|
3433
2346
|
/**
|
|
3434
|
-
*
|
|
2347
|
+
* The label key.
|
|
3435
2348
|
*/
|
|
3436
2349
|
key: string;
|
|
3437
2350
|
/**
|
|
3438
|
-
*
|
|
2351
|
+
* The label value.
|
|
3439
2352
|
*/
|
|
3440
2353
|
value?: string;
|
|
3441
2354
|
}
|
|
@@ -3454,27 +2367,12 @@ export declare namespace azure {
|
|
|
3454
2367
|
tags?: outputs.azure.OceanVirtualNodeGroupLaunchSpecificationTag[];
|
|
3455
2368
|
}
|
|
3456
2369
|
interface OceanVirtualNodeGroupLaunchSpecificationOsDisk {
|
|
3457
|
-
/**
|
|
3458
|
-
* The size of the OS disk in GB, Required if dataDisks is specified.
|
|
3459
|
-
*/
|
|
3460
2370
|
sizeGb: number;
|
|
3461
|
-
/**
|
|
3462
|
-
* The type of the OS disk. Valid values: `"Standard_LRS"`, `"Premium_LRS"`, `"StandardSSD_LRS"`.
|
|
3463
|
-
*/
|
|
3464
2371
|
type?: string;
|
|
3465
|
-
/**
|
|
3466
|
-
* Flag to enable/disable the Ephemeral OS Disk utilization.
|
|
3467
|
-
*/
|
|
3468
2372
|
utilizeEphemeralStorage?: boolean;
|
|
3469
2373
|
}
|
|
3470
2374
|
interface OceanVirtualNodeGroupLaunchSpecificationTag {
|
|
3471
|
-
/**
|
|
3472
|
-
* Tag Key for Vms in the cluster.
|
|
3473
|
-
*/
|
|
3474
2375
|
key?: string;
|
|
3475
|
-
/**
|
|
3476
|
-
* Tag Value for VMs in the cluster.
|
|
3477
|
-
*/
|
|
3478
2376
|
value?: string;
|
|
3479
2377
|
}
|
|
3480
2378
|
interface OceanVirtualNodeGroupResourceLimit {
|
|
@@ -3489,11 +2387,11 @@ export declare namespace azure {
|
|
|
3489
2387
|
*/
|
|
3490
2388
|
effect: string;
|
|
3491
2389
|
/**
|
|
3492
|
-
*
|
|
2390
|
+
* The taint key.
|
|
3493
2391
|
*/
|
|
3494
2392
|
key: string;
|
|
3495
2393
|
/**
|
|
3496
|
-
*
|
|
2394
|
+
* The taint value.
|
|
3497
2395
|
*/
|
|
3498
2396
|
value: string;
|
|
3499
2397
|
}
|
|
@@ -3506,138 +2404,48 @@ export declare namespace azure {
|
|
|
3506
2404
|
}
|
|
3507
2405
|
export declare namespace ecs {
|
|
3508
2406
|
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
2407
|
autoHeadroomPercentage?: number;
|
|
3513
|
-
/**
|
|
3514
|
-
* Cooldown period between scaling actions.
|
|
3515
|
-
*/
|
|
3516
2408
|
cooldown?: number;
|
|
3517
|
-
/**
|
|
3518
|
-
* Auto Scaling scale down operations.
|
|
3519
|
-
*/
|
|
3520
2409
|
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
2410
|
enableAutomaticAndManualHeadroom?: boolean;
|
|
3525
|
-
/**
|
|
3526
|
-
* Spare resource capacity management enabling fast assignment of tasks without waiting for new resources to launch.
|
|
3527
|
-
*/
|
|
3528
2411
|
headroom?: outputs.ecs.OceanAutoscalerHeadroom;
|
|
3529
|
-
/**
|
|
3530
|
-
* Automatically configure and optimize headroom resources.
|
|
3531
|
-
*/
|
|
3532
2412
|
isAutoConfig?: boolean;
|
|
3533
|
-
/**
|
|
3534
|
-
* Enable the Ocean ECS autoscaler.
|
|
3535
|
-
*/
|
|
3536
2413
|
isEnabled?: boolean;
|
|
3537
|
-
/**
|
|
3538
|
-
* Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
3539
|
-
*/
|
|
3540
2414
|
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
2415
|
shouldScaleDownNonServiceTasks?: boolean;
|
|
3545
2416
|
}
|
|
3546
2417
|
interface OceanAutoscalerDown {
|
|
3547
|
-
/**
|
|
3548
|
-
* Would represent the maximum % to scale-down. Number between 1-100.
|
|
3549
|
-
*/
|
|
3550
2418
|
maxScaleDownPercentage?: number;
|
|
3551
2419
|
}
|
|
3552
2420
|
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
2421
|
cpuPerUnit?: number;
|
|
3557
|
-
/**
|
|
3558
|
-
* Optionally configure the amount of memory (MB) to allocate the headroom.
|
|
3559
|
-
*/
|
|
3560
2422
|
memoryPerUnit?: number;
|
|
3561
|
-
/**
|
|
3562
|
-
* The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
3563
|
-
*/
|
|
3564
2423
|
numOfUnits?: number;
|
|
3565
2424
|
}
|
|
3566
2425
|
interface OceanAutoscalerResourceLimits {
|
|
3567
|
-
/**
|
|
3568
|
-
* Maximum amount of Memory (GiB).
|
|
3569
|
-
*/
|
|
3570
2426
|
maxMemoryGib?: number;
|
|
3571
|
-
/**
|
|
3572
|
-
* Maximum number of vcpus available.
|
|
3573
|
-
*/
|
|
3574
2427
|
maxVcpu?: number;
|
|
3575
2428
|
}
|
|
3576
2429
|
interface OceanBlockDeviceMapping {
|
|
3577
|
-
/**
|
|
3578
|
-
* String. Set device name. Example: `/dev/xvda1`.
|
|
3579
|
-
*/
|
|
3580
2430
|
deviceName: string;
|
|
3581
|
-
/**
|
|
3582
|
-
* Object. Set Elastic Block Store properties.
|
|
3583
|
-
*/
|
|
3584
2431
|
ebs?: outputs.ecs.OceanBlockDeviceMappingEbs;
|
|
3585
|
-
/**
|
|
3586
|
-
* String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
3587
|
-
*/
|
|
3588
2432
|
noDevice?: string;
|
|
3589
2433
|
virtualName?: string;
|
|
3590
2434
|
}
|
|
3591
2435
|
interface OceanBlockDeviceMappingEbs {
|
|
3592
|
-
/**
|
|
3593
|
-
* Boolean. Toggles EBS deletion upon instance termination.
|
|
3594
|
-
*/
|
|
3595
2436
|
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
2437
|
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
2438
|
encrypted: boolean;
|
|
3604
|
-
/**
|
|
3605
|
-
* Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
3606
|
-
*/
|
|
3607
2439
|
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
2440
|
kmsKeyId?: string;
|
|
3612
|
-
/**
|
|
3613
|
-
* (Optional) String. The snapshot ID to mount by.
|
|
3614
|
-
*/
|
|
3615
2441
|
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
2442
|
throughput?: number;
|
|
3620
|
-
/**
|
|
3621
|
-
* Int. The size (in GB) of the volume.
|
|
3622
|
-
*/
|
|
3623
2443
|
volumeSize?: number;
|
|
3624
|
-
/**
|
|
3625
|
-
* String. The type of the volume. Example: `gp2`.
|
|
3626
|
-
*/
|
|
3627
2444
|
volumeType: string;
|
|
3628
2445
|
}
|
|
3629
2446
|
interface OceanBlockDeviceMappingEbsDynamicVolumeSize {
|
|
3630
|
-
/**
|
|
3631
|
-
* Int. Initial size for volume. Example: `50`.
|
|
3632
|
-
*/
|
|
3633
2447
|
baseSize: number;
|
|
3634
|
-
/**
|
|
3635
|
-
* String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
|
|
3636
|
-
*/
|
|
3637
2448
|
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
2449
|
sizePerResourceUnit: number;
|
|
3642
2450
|
}
|
|
3643
2451
|
interface OceanClusterOrientation {
|
|
@@ -3647,81 +2455,24 @@ export declare namespace ecs {
|
|
|
3647
2455
|
availabilityVsCost?: string;
|
|
3648
2456
|
}
|
|
3649
2457
|
interface OceanFilters {
|
|
3650
|
-
/**
|
|
3651
|
-
* The filtered instance types will support at least one of the architectures from this list.
|
|
3652
|
-
*/
|
|
3653
2458
|
architectures?: string[];
|
|
3654
|
-
/**
|
|
3655
|
-
* The filtered instance types will belong to one of the categories types from this list.
|
|
3656
|
-
*/
|
|
3657
2459
|
categories?: string[];
|
|
3658
|
-
/**
|
|
3659
|
-
* The filtered instance types will have one of the disk type from this list.
|
|
3660
|
-
*/
|
|
3661
2460
|
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
2461
|
excludeFamilies?: string[];
|
|
3666
|
-
/**
|
|
3667
|
-
* In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
3668
|
-
*/
|
|
3669
2462
|
excludeMetal?: boolean;
|
|
3670
|
-
/**
|
|
3671
|
-
* The filtered instance types will have a hypervisor type from this list.
|
|
3672
|
-
*/
|
|
3673
2463
|
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
2464
|
includeFamilies?: string[];
|
|
3678
|
-
/**
|
|
3679
|
-
* Ena is supported or not.
|
|
3680
|
-
*/
|
|
3681
2465
|
isEnaSupported?: string;
|
|
3682
|
-
/**
|
|
3683
|
-
* Maximum total number of GPUs.
|
|
3684
|
-
*/
|
|
3685
2466
|
maxGpu?: number;
|
|
3686
|
-
/**
|
|
3687
|
-
* Maximum amount of Memory (GiB).
|
|
3688
|
-
*/
|
|
3689
2467
|
maxMemoryGib?: number;
|
|
3690
|
-
/**
|
|
3691
|
-
* Maximum Bandwidth in Gib/s of network performance.
|
|
3692
|
-
*/
|
|
3693
2468
|
maxNetworkPerformance?: number;
|
|
3694
|
-
/**
|
|
3695
|
-
* Maximum number of vcpus available.
|
|
3696
|
-
*/
|
|
3697
2469
|
maxVcpu?: number;
|
|
3698
|
-
/**
|
|
3699
|
-
* Minimum number of network interfaces (ENIs).
|
|
3700
|
-
*/
|
|
3701
2470
|
minEnis?: number;
|
|
3702
|
-
/**
|
|
3703
|
-
* Minimum total number of GPUs.
|
|
3704
|
-
*/
|
|
3705
2471
|
minGpu?: number;
|
|
3706
|
-
/**
|
|
3707
|
-
* Minimum amount of Memory (GiB).
|
|
3708
|
-
*/
|
|
3709
2472
|
minMemoryGib?: number;
|
|
3710
|
-
/**
|
|
3711
|
-
* Minimum Bandwidth in Gib/s of network performance.
|
|
3712
|
-
*/
|
|
3713
2473
|
minNetworkPerformance?: number;
|
|
3714
|
-
/**
|
|
3715
|
-
* Minimum number of vcpus available.
|
|
3716
|
-
*/
|
|
3717
2474
|
minVcpu?: number;
|
|
3718
|
-
/**
|
|
3719
|
-
* The filtered instance types will have a root device types from this list.
|
|
3720
|
-
*/
|
|
3721
2475
|
rootDeviceTypes?: string[];
|
|
3722
|
-
/**
|
|
3723
|
-
* The filtered instance types will support at least one of the virtualization types from this list.
|
|
3724
|
-
*/
|
|
3725
2476
|
virtualizationTypes?: string[];
|
|
3726
2477
|
}
|
|
3727
2478
|
interface OceanInstanceMetadataOptions {
|
|
@@ -3746,7 +2497,7 @@ export declare namespace ecs {
|
|
|
3746
2497
|
}
|
|
3747
2498
|
interface OceanLaunchSpecAutoscaleHeadroom {
|
|
3748
2499
|
/**
|
|
3749
|
-
* Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in
|
|
2500
|
+
* Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in CPU units, where 1024 units = 1 vCPU.
|
|
3750
2501
|
*/
|
|
3751
2502
|
cpuPerUnit?: number;
|
|
3752
2503
|
/**
|
|
@@ -3754,7 +2505,7 @@ export declare namespace ecs {
|
|
|
3754
2505
|
*/
|
|
3755
2506
|
memoryPerUnit?: number;
|
|
3756
2507
|
/**
|
|
3757
|
-
* The number of units to retain as headroom, where each unit has the defined headroom CPU
|
|
2508
|
+
* The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
3758
2509
|
*/
|
|
3759
2510
|
numOfUnits: number;
|
|
3760
2511
|
}
|
|
@@ -3815,17 +2566,8 @@ export declare namespace ecs {
|
|
|
3815
2566
|
taskType: string;
|
|
3816
2567
|
}
|
|
3817
2568
|
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
2569
|
cpuPerUnit?: number;
|
|
3822
|
-
/**
|
|
3823
|
-
* Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
3824
|
-
*/
|
|
3825
2570
|
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
2571
|
numOfUnits: number;
|
|
3830
2572
|
}
|
|
3831
2573
|
interface OceanLaunchSpecStrategy {
|
|
@@ -3837,13 +2579,7 @@ export declare namespace ecs {
|
|
|
3837
2579
|
spotPercentage?: number;
|
|
3838
2580
|
}
|
|
3839
2581
|
interface OceanLaunchSpecTag {
|
|
3840
|
-
/**
|
|
3841
|
-
* The label key.
|
|
3842
|
-
*/
|
|
3843
2582
|
key: string;
|
|
3844
|
-
/**
|
|
3845
|
-
* The label value.
|
|
3846
|
-
*/
|
|
3847
2583
|
value: string;
|
|
3848
2584
|
}
|
|
3849
2585
|
interface OceanLogging {
|
|
@@ -3853,63 +2589,30 @@ export declare namespace ecs {
|
|
|
3853
2589
|
export?: outputs.ecs.OceanLoggingExport;
|
|
3854
2590
|
}
|
|
3855
2591
|
interface OceanLoggingExport {
|
|
3856
|
-
/**
|
|
3857
|
-
* Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
|
|
3858
|
-
*/
|
|
3859
2592
|
s3s?: outputs.ecs.OceanLoggingExportS3[];
|
|
3860
2593
|
}
|
|
3861
2594
|
interface OceanLoggingExportS3 {
|
|
3862
2595
|
/**
|
|
3863
|
-
* The
|
|
2596
|
+
* The Spotinst Ocean ID.
|
|
3864
2597
|
*/
|
|
3865
2598
|
id: string;
|
|
3866
2599
|
}
|
|
3867
2600
|
interface OceanOptimizeImages {
|
|
3868
|
-
/**
|
|
3869
|
-
* String. Valid values: "always" "never" "timeWindow".
|
|
3870
|
-
*/
|
|
3871
2601
|
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
2602
|
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
2603
|
timeWindows?: string[];
|
|
3880
2604
|
}
|
|
3881
2605
|
interface OceanScheduledTask {
|
|
3882
|
-
/**
|
|
3883
|
-
* Set shutdown hours for cluster object.
|
|
3884
|
-
*/
|
|
3885
2606
|
shutdownHours?: outputs.ecs.OceanScheduledTaskShutdownHours;
|
|
3886
|
-
/**
|
|
3887
|
-
* The scheduling tasks for the cluster.
|
|
3888
|
-
*/
|
|
3889
2607
|
tasks?: outputs.ecs.OceanScheduledTaskTask[];
|
|
3890
2608
|
}
|
|
3891
2609
|
interface OceanScheduledTaskShutdownHours {
|
|
3892
|
-
/**
|
|
3893
|
-
* Enable the Ocean ECS autoscaler.
|
|
3894
|
-
*/
|
|
3895
2610
|
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
2611
|
timeWindows: string[];
|
|
3900
2612
|
}
|
|
3901
2613
|
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
2614
|
cronExpression: string;
|
|
3906
|
-
/**
|
|
3907
|
-
* Enable the Ocean ECS autoscaler.
|
|
3908
|
-
*/
|
|
3909
2615
|
isEnabled: boolean;
|
|
3910
|
-
/**
|
|
3911
|
-
* Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
|
|
3912
|
-
*/
|
|
3913
2616
|
taskType: string;
|
|
3914
2617
|
}
|
|
3915
2618
|
interface OceanTag {
|
|
@@ -3923,48 +2626,21 @@ export declare namespace ecs {
|
|
|
3923
2626
|
value: string;
|
|
3924
2627
|
}
|
|
3925
2628
|
interface OceanUpdatePolicy {
|
|
3926
|
-
/**
|
|
3927
|
-
* will update instance tags on the fly without rolling the cluster.
|
|
3928
|
-
*/
|
|
3929
2629
|
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
2630
|
conditionedRoll?: boolean;
|
|
3934
2631
|
rollConfig?: outputs.ecs.OceanUpdatePolicyRollConfig;
|
|
3935
|
-
/**
|
|
3936
|
-
* Enables the roll.
|
|
3937
|
-
*/
|
|
3938
2632
|
shouldRoll: boolean;
|
|
3939
2633
|
}
|
|
3940
2634
|
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
2635
|
batchMinHealthyPercentage?: number;
|
|
3945
|
-
/**
|
|
3946
|
-
* Sets the percentage of the instances to deploy in each batch.
|
|
3947
|
-
*/
|
|
3948
2636
|
batchSizePercentage: number;
|
|
3949
2637
|
}
|
|
3950
2638
|
}
|
|
3951
2639
|
export declare namespace gcp {
|
|
3952
2640
|
interface ElastigroupBackendService {
|
|
3953
|
-
/**
|
|
3954
|
-
* Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
3955
|
-
*/
|
|
3956
2641
|
locationType?: string;
|
|
3957
|
-
/**
|
|
3958
|
-
* Describes a named port and a list of ports.
|
|
3959
|
-
*/
|
|
3960
2642
|
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
2643
|
scheme?: string;
|
|
3965
|
-
/**
|
|
3966
|
-
* The name of the backend service.
|
|
3967
|
-
*/
|
|
3968
2644
|
serviceName: string;
|
|
3969
2645
|
}
|
|
3970
2646
|
interface ElastigroupBackendServiceNamedPort {
|
|
@@ -3972,73 +2648,25 @@ export declare namespace gcp {
|
|
|
3972
2648
|
* The group name.
|
|
3973
2649
|
*/
|
|
3974
2650
|
name: string;
|
|
3975
|
-
/**
|
|
3976
|
-
* A list of ports.
|
|
3977
|
-
*
|
|
3978
|
-
* Usage:
|
|
3979
|
-
*/
|
|
3980
2651
|
ports: string[];
|
|
3981
2652
|
}
|
|
3982
2653
|
interface ElastigroupDisk {
|
|
3983
|
-
/**
|
|
3984
|
-
* Specifies whether the disk will be auto-deleted when the instance is deleted.
|
|
3985
|
-
*/
|
|
3986
2654
|
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
2655
|
boot?: boolean;
|
|
3991
|
-
/**
|
|
3992
|
-
* Specifies a unique device name of your choice.
|
|
3993
|
-
*/
|
|
3994
2656
|
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
2657
|
initializeParams?: outputs.gcp.ElastigroupDiskInitializeParam[];
|
|
3999
|
-
/**
|
|
4000
|
-
* Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
|
4001
|
-
*/
|
|
4002
2658
|
interface?: string;
|
|
4003
|
-
/**
|
|
4004
|
-
* The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
|
4005
|
-
*/
|
|
4006
2659
|
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
2660
|
source?: string;
|
|
4011
|
-
/**
|
|
4012
|
-
* Specifies the type of disk, either SCRATCH or PERSISTENT.
|
|
4013
|
-
*/
|
|
4014
2661
|
type?: string;
|
|
4015
2662
|
}
|
|
4016
2663
|
interface ElastigroupDiskInitializeParam {
|
|
4017
|
-
/**
|
|
4018
|
-
* Specifies disk size in gigabytes. Must be in increments of 2.
|
|
4019
|
-
*/
|
|
4020
2664
|
diskSizeGb?: string;
|
|
4021
|
-
/**
|
|
4022
|
-
* Specifies the disk type to use to create the instance. Valid values: pd-ssd, local-ssd.
|
|
4023
|
-
*/
|
|
4024
2665
|
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
2666
|
sourceImage: string;
|
|
4031
2667
|
}
|
|
4032
2668
|
interface ElastigroupGpu {
|
|
4033
|
-
/**
|
|
4034
|
-
* The number of GPUs. Must be 0, 2, 4, 6, 8.
|
|
4035
|
-
*
|
|
4036
|
-
* Usage:
|
|
4037
|
-
*/
|
|
4038
2669
|
count: number;
|
|
4039
|
-
/**
|
|
4040
|
-
* The type of GPU instance. Valid values: `nvidia-tesla-v100`, `nvidia-tesla-p100`, `nvidia-tesla-k80`.
|
|
4041
|
-
*/
|
|
4042
2670
|
type: string;
|
|
4043
2671
|
}
|
|
4044
2672
|
interface ElastigroupInstanceTypesCustom {
|
|
@@ -4049,15 +2677,7 @@ export declare namespace gcp {
|
|
|
4049
2677
|
vcpu: number;
|
|
4050
2678
|
}
|
|
4051
2679
|
interface ElastigroupIntegrationDockerSwarm {
|
|
4052
|
-
/**
|
|
4053
|
-
* IP or FQDN of one of your swarm managers.
|
|
4054
|
-
*/
|
|
4055
2680
|
masterHost: string;
|
|
4056
|
-
/**
|
|
4057
|
-
* Network port used by your swarm.
|
|
4058
|
-
*
|
|
4059
|
-
* Usage:
|
|
4060
|
-
*/
|
|
4061
2681
|
masterPort: number;
|
|
4062
2682
|
}
|
|
4063
2683
|
interface ElastigroupIntegrationGke {
|
|
@@ -4072,9 +2692,6 @@ export declare namespace gcp {
|
|
|
4072
2692
|
location?: string;
|
|
4073
2693
|
}
|
|
4074
2694
|
interface ElastigroupIntegrationGkeAutoscaleDown {
|
|
4075
|
-
/**
|
|
4076
|
-
* Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
4077
|
-
*/
|
|
4078
2695
|
evaluationPeriods?: number;
|
|
4079
2696
|
}
|
|
4080
2697
|
interface ElastigroupIntegrationGkeAutoscaleHeadroom {
|
|
@@ -4083,13 +2700,7 @@ export declare namespace gcp {
|
|
|
4083
2700
|
numOfUnits?: number;
|
|
4084
2701
|
}
|
|
4085
2702
|
interface ElastigroupIntegrationGkeAutoscaleLabel {
|
|
4086
|
-
/**
|
|
4087
|
-
* Labels key.
|
|
4088
|
-
*/
|
|
4089
2703
|
key: string;
|
|
4090
|
-
/**
|
|
4091
|
-
* Labels value.
|
|
4092
|
-
*/
|
|
4093
2704
|
value: string;
|
|
4094
2705
|
}
|
|
4095
2706
|
interface ElastigroupLabel {
|
|
@@ -4104,23 +2715,17 @@ export declare namespace gcp {
|
|
|
4104
2715
|
}
|
|
4105
2716
|
interface ElastigroupMetadata {
|
|
4106
2717
|
/**
|
|
4107
|
-
*
|
|
2718
|
+
* Metadata key.
|
|
4108
2719
|
*/
|
|
4109
2720
|
key: string;
|
|
4110
2721
|
/**
|
|
4111
|
-
*
|
|
2722
|
+
* Metadata value.
|
|
4112
2723
|
*/
|
|
4113
2724
|
value: string;
|
|
4114
2725
|
}
|
|
4115
2726
|
interface ElastigroupNetworkInterface {
|
|
4116
|
-
/**
|
|
4117
|
-
* Array of configurations.
|
|
4118
|
-
*/
|
|
4119
2727
|
accessConfigs?: outputs.gcp.ElastigroupNetworkInterfaceAccessConfig[];
|
|
4120
2728
|
aliasIpRanges?: outputs.gcp.ElastigroupNetworkInterfaceAliasIpRange[];
|
|
4121
|
-
/**
|
|
4122
|
-
* Network resource for this group.
|
|
4123
|
-
*/
|
|
4124
2729
|
network: string;
|
|
4125
2730
|
}
|
|
4126
2731
|
interface ElastigroupNetworkInterfaceAccessConfig {
|
|
@@ -4128,9 +2733,6 @@ export declare namespace gcp {
|
|
|
4128
2733
|
* The group name.
|
|
4129
2734
|
*/
|
|
4130
2735
|
name?: string;
|
|
4131
|
-
/**
|
|
4132
|
-
* Specifies the type of disk, either SCRATCH or PERSISTENT.
|
|
4133
|
-
*/
|
|
4134
2736
|
type?: string;
|
|
4135
2737
|
}
|
|
4136
2738
|
interface ElastigroupNetworkInterfaceAliasIpRange {
|
|
@@ -4138,54 +2740,18 @@ export declare namespace gcp {
|
|
|
4138
2740
|
subnetworkRangeName: string;
|
|
4139
2741
|
}
|
|
4140
2742
|
interface ElastigroupScalingDownPolicy {
|
|
4141
|
-
/**
|
|
4142
|
-
* Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
4143
|
-
*/
|
|
4144
2743
|
actionType?: string;
|
|
4145
|
-
/**
|
|
4146
|
-
* Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
|
|
4147
|
-
*/
|
|
4148
2744
|
adjustment?: number;
|
|
4149
|
-
/**
|
|
4150
|
-
* Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
4151
|
-
*/
|
|
4152
2745
|
cooldown: number;
|
|
4153
|
-
/**
|
|
4154
|
-
* A list of dimensions describing qualities of the metric.
|
|
4155
|
-
*/
|
|
4156
2746
|
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
2747
|
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
2748
|
metricName: string;
|
|
4165
2749
|
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
2750
|
operator: string;
|
|
4170
|
-
/**
|
|
4171
|
-
* Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
|
|
4172
|
-
*/
|
|
4173
2751
|
period: number;
|
|
4174
|
-
/**
|
|
4175
|
-
* Name of scaling policy.
|
|
4176
|
-
*/
|
|
4177
2752
|
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
2753
|
source: string;
|
|
4182
|
-
/**
|
|
4183
|
-
* Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
4184
|
-
*/
|
|
4185
2754
|
statistic: string;
|
|
4186
|
-
/**
|
|
4187
|
-
* The value at which the scaling action is triggered.
|
|
4188
|
-
*/
|
|
4189
2755
|
threshold: number;
|
|
4190
2756
|
unit: string;
|
|
4191
2757
|
}
|
|
@@ -4194,60 +2760,21 @@ export declare namespace gcp {
|
|
|
4194
2760
|
* The group name.
|
|
4195
2761
|
*/
|
|
4196
2762
|
name: string;
|
|
4197
|
-
/**
|
|
4198
|
-
* Labels value.
|
|
4199
|
-
*/
|
|
4200
2763
|
value?: string;
|
|
4201
2764
|
}
|
|
4202
2765
|
interface ElastigroupScalingUpPolicy {
|
|
4203
|
-
/**
|
|
4204
|
-
* Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
4205
|
-
*/
|
|
4206
2766
|
actionType?: string;
|
|
4207
|
-
/**
|
|
4208
|
-
* Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
|
|
4209
|
-
*/
|
|
4210
2767
|
adjustment?: number;
|
|
4211
|
-
/**
|
|
4212
|
-
* Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
4213
|
-
*/
|
|
4214
2768
|
cooldown: number;
|
|
4215
|
-
/**
|
|
4216
|
-
* A list of dimensions describing qualities of the metric.
|
|
4217
|
-
*/
|
|
4218
2769
|
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
2770
|
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
2771
|
metricName: string;
|
|
4227
2772
|
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
2773
|
operator: string;
|
|
4232
|
-
/**
|
|
4233
|
-
* Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
|
|
4234
|
-
*/
|
|
4235
2774
|
period: number;
|
|
4236
|
-
/**
|
|
4237
|
-
* Name of scaling policy.
|
|
4238
|
-
*/
|
|
4239
2775
|
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
2776
|
source: string;
|
|
4244
|
-
/**
|
|
4245
|
-
* Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
4246
|
-
*/
|
|
4247
2777
|
statistic: string;
|
|
4248
|
-
/**
|
|
4249
|
-
* The value at which the scaling action is triggered.
|
|
4250
|
-
*/
|
|
4251
2778
|
threshold: number;
|
|
4252
2779
|
unit: string;
|
|
4253
2780
|
}
|
|
@@ -4256,9 +2783,6 @@ export declare namespace gcp {
|
|
|
4256
2783
|
* The group name.
|
|
4257
2784
|
*/
|
|
4258
2785
|
name: string;
|
|
4259
|
-
/**
|
|
4260
|
-
* Labels value.
|
|
4261
|
-
*/
|
|
4262
2786
|
value?: string;
|
|
4263
2787
|
}
|
|
4264
2788
|
interface ElastigroupScheduledTask {
|
|
@@ -4340,54 +2864,21 @@ export declare namespace gke {
|
|
|
4340
2864
|
}
|
|
4341
2865
|
interface ElastigroupIntegrationGke {
|
|
4342
2866
|
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
2867
|
autoscaleCooldown?: number;
|
|
4347
|
-
/**
|
|
4348
|
-
* Enabling scale down.
|
|
4349
|
-
*/
|
|
4350
2868
|
autoscaleDown?: outputs.gke.ElastigroupIntegrationGkeAutoscaleDown;
|
|
4351
|
-
/**
|
|
4352
|
-
* Headroom for the cluster.
|
|
4353
|
-
*/
|
|
4354
2869
|
autoscaleHeadroom?: outputs.gke.ElastigroupIntegrationGkeAutoscaleHeadroom;
|
|
4355
2870
|
autoscaleIsAutoConfig?: boolean;
|
|
4356
|
-
/**
|
|
4357
|
-
* Specifies whether the auto scaling feature is enabled.
|
|
4358
|
-
*/
|
|
4359
2871
|
autoscaleIsEnabled?: boolean;
|
|
4360
|
-
/**
|
|
4361
|
-
* Labels to assign to the resource.
|
|
4362
|
-
*/
|
|
4363
2872
|
autoscaleLabels?: outputs.gke.ElastigroupIntegrationGkeAutoscaleLabel[];
|
|
4364
|
-
/**
|
|
4365
|
-
* The name of the GKE cluster you wish to import.
|
|
4366
|
-
*/
|
|
4367
2873
|
clusterId?: string;
|
|
4368
|
-
/**
|
|
4369
|
-
* The location of your GKE cluster.
|
|
4370
|
-
*/
|
|
4371
2874
|
location?: string;
|
|
4372
2875
|
}
|
|
4373
2876
|
interface ElastigroupIntegrationGkeAutoscaleDown {
|
|
4374
|
-
/**
|
|
4375
|
-
* Amount of cooldown evaluation periods for scale down.
|
|
4376
|
-
*/
|
|
4377
2877
|
evaluationPeriods?: number;
|
|
4378
2878
|
}
|
|
4379
2879
|
interface ElastigroupIntegrationGkeAutoscaleHeadroom {
|
|
4380
|
-
/**
|
|
4381
|
-
* Cpu units for compute.
|
|
4382
|
-
*/
|
|
4383
2880
|
cpuPerUnit?: number;
|
|
4384
|
-
/**
|
|
4385
|
-
* RAM units for compute.
|
|
4386
|
-
*/
|
|
4387
2881
|
memoryPerUnit?: number;
|
|
4388
|
-
/**
|
|
4389
|
-
* Amount of units for compute.
|
|
4390
|
-
*/
|
|
4391
2882
|
numOfUnits?: number;
|
|
4392
2883
|
}
|
|
4393
2884
|
interface ElastigroupIntegrationGkeAutoscaleLabel {
|
|
@@ -4420,9 +2911,6 @@ export declare namespace gke {
|
|
|
4420
2911
|
adjustment?: number;
|
|
4421
2912
|
cooldown: number;
|
|
4422
2913
|
dimensions?: outputs.gke.ElastigroupScalingDownPolicyDimension[];
|
|
4423
|
-
/**
|
|
4424
|
-
* Amount of cooldown evaluation periods for scale down.
|
|
4425
|
-
*/
|
|
4426
2914
|
evaluationPeriods: number;
|
|
4427
2915
|
metricName: string;
|
|
4428
2916
|
namespace: string;
|
|
@@ -4443,9 +2931,6 @@ export declare namespace gke {
|
|
|
4443
2931
|
adjustment?: number;
|
|
4444
2932
|
cooldown: number;
|
|
4445
2933
|
dimensions?: outputs.gke.ElastigroupScalingUpPolicyDimension[];
|
|
4446
|
-
/**
|
|
4447
|
-
* Amount of cooldown evaluation periods for scale down.
|
|
4448
|
-
*/
|
|
4449
2934
|
evaluationPeriods: number;
|
|
4450
2935
|
metricName: string;
|
|
4451
2936
|
namespace: string;
|
|
@@ -4462,75 +2947,27 @@ export declare namespace gke {
|
|
|
4462
2947
|
value?: string;
|
|
4463
2948
|
}
|
|
4464
2949
|
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
2950
|
autoHeadroomPercentage?: number;
|
|
4469
|
-
/**
|
|
4470
|
-
* Cooldown period between scaling actions.
|
|
4471
|
-
*/
|
|
4472
2951
|
cooldown?: number;
|
|
4473
|
-
/**
|
|
4474
|
-
* Auto Scaling scale down operations.
|
|
4475
|
-
*/
|
|
4476
2952
|
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
2953
|
enableAutomaticAndManualHeadroom?: boolean;
|
|
4481
|
-
/**
|
|
4482
|
-
* Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
|
|
4483
|
-
*/
|
|
4484
2954
|
headroom?: outputs.gke.OceanImportAutoscalerHeadroom;
|
|
4485
|
-
/**
|
|
4486
|
-
* Automatically configure and optimize headroom resources.
|
|
4487
|
-
*/
|
|
4488
2955
|
isAutoConfig?: boolean;
|
|
4489
|
-
/**
|
|
4490
|
-
* Enable the Ocean Kubernetes Autoscaler.
|
|
4491
|
-
*/
|
|
4492
2956
|
isEnabled?: boolean;
|
|
4493
|
-
/**
|
|
4494
|
-
* Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
4495
|
-
*/
|
|
4496
2957
|
resourceLimits?: outputs.gke.OceanImportAutoscalerResourceLimits;
|
|
4497
2958
|
}
|
|
4498
2959
|
interface OceanImportAutoscalerDown {
|
|
4499
|
-
/**
|
|
4500
|
-
* The number of evaluation periods that should accumulate before a scale down action takes place.
|
|
4501
|
-
*/
|
|
4502
2960
|
evaluationPeriods?: number;
|
|
4503
|
-
/**
|
|
4504
|
-
* Would represent the maximum % to scale-down. Number between 1-100.
|
|
4505
|
-
*/
|
|
4506
2961
|
maxScaleDownPercentage?: number;
|
|
4507
2962
|
}
|
|
4508
2963
|
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
2964
|
cpuPerUnit?: number;
|
|
4513
|
-
/**
|
|
4514
|
-
* How much GPU allocate for headroom unit.
|
|
4515
|
-
*/
|
|
4516
2965
|
gpuPerUnit?: number;
|
|
4517
|
-
/**
|
|
4518
|
-
* Optionally configure the amount of memory (MiB) to allocate the headroom.
|
|
4519
|
-
*/
|
|
4520
2966
|
memoryPerUnit?: number;
|
|
4521
|
-
/**
|
|
4522
|
-
* The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
4523
|
-
*/
|
|
4524
2967
|
numOfUnits?: number;
|
|
4525
2968
|
}
|
|
4526
2969
|
interface OceanImportAutoscalerResourceLimits {
|
|
4527
|
-
/**
|
|
4528
|
-
* The maximum memory in GiB units that can be allocated to the cluster.
|
|
4529
|
-
*/
|
|
4530
2970
|
maxMemoryGib?: number;
|
|
4531
|
-
/**
|
|
4532
|
-
* The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
4533
|
-
*/
|
|
4534
2971
|
maxVcpu?: number;
|
|
4535
2972
|
}
|
|
4536
2973
|
interface OceanImportBackendService {
|
|
@@ -4550,46 +2987,20 @@ export declare namespace gke {
|
|
|
4550
2987
|
}
|
|
4551
2988
|
interface OceanImportBackendServiceNamedPort {
|
|
4552
2989
|
name: string;
|
|
4553
|
-
/**
|
|
4554
|
-
* A list of ports.
|
|
4555
|
-
*/
|
|
4556
2990
|
ports: string[];
|
|
4557
2991
|
}
|
|
4558
2992
|
interface OceanImportScheduledTask {
|
|
4559
|
-
/**
|
|
4560
|
-
* Set shutdown hours for cluster object.
|
|
4561
|
-
*/
|
|
4562
2993
|
shutdownHours?: outputs.gke.OceanImportScheduledTaskShutdownHours;
|
|
4563
|
-
/**
|
|
4564
|
-
* The scheduling tasks for the cluster.
|
|
4565
|
-
*/
|
|
4566
2994
|
tasks?: outputs.gke.OceanImportScheduledTaskTask[];
|
|
4567
2995
|
}
|
|
4568
2996
|
interface OceanImportScheduledTaskShutdownHours {
|
|
4569
|
-
/**
|
|
4570
|
-
* Enable the Ocean Kubernetes Autoscaler.
|
|
4571
|
-
*/
|
|
4572
2997
|
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
2998
|
timeWindows: string[];
|
|
4578
2999
|
}
|
|
4579
3000
|
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
3001
|
cronExpression: string;
|
|
4585
|
-
/**
|
|
4586
|
-
* Enable the Ocean Kubernetes Autoscaler.
|
|
4587
|
-
*/
|
|
4588
3002
|
isEnabled: boolean;
|
|
4589
3003
|
taskParameters?: outputs.gke.OceanImportScheduledTaskTaskTaskParameters;
|
|
4590
|
-
/**
|
|
4591
|
-
* Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
|
|
4592
|
-
*/
|
|
4593
3004
|
taskType: string;
|
|
4594
3005
|
}
|
|
4595
3006
|
interface OceanImportScheduledTaskTaskTaskParameters {
|
|
@@ -4597,10 +3008,6 @@ export declare namespace gke {
|
|
|
4597
3008
|
}
|
|
4598
3009
|
interface OceanImportScheduledTaskTaskTaskParametersClusterRoll {
|
|
4599
3010
|
batchMinHealthyPercentage?: number;
|
|
4600
|
-
/**
|
|
4601
|
-
* Value in % to set size of batch in roll. Valid values are 0-100
|
|
4602
|
-
* Example: 20.
|
|
4603
|
-
*/
|
|
4604
3011
|
batchSizePercentage?: number;
|
|
4605
3012
|
comment?: string;
|
|
4606
3013
|
respectPdb?: boolean;
|
|
@@ -4630,10 +3037,6 @@ export declare namespace gke {
|
|
|
4630
3037
|
}
|
|
4631
3038
|
interface OceanImportUpdatePolicyRollConfig {
|
|
4632
3039
|
batchMinHealthyPercentage?: number;
|
|
4633
|
-
/**
|
|
4634
|
-
* Value in % to set size of batch in roll. Valid values are 0-100
|
|
4635
|
-
* Example: 20.
|
|
4636
|
-
*/
|
|
4637
3040
|
batchSizePercentage: number;
|
|
4638
3041
|
launchSpecIds?: string[];
|
|
4639
3042
|
respectPdb?: boolean;
|
|
@@ -4674,11 +3077,11 @@ export declare namespace gke {
|
|
|
4674
3077
|
}
|
|
4675
3078
|
interface OceanLaunchSpecMetadata {
|
|
4676
3079
|
/**
|
|
4677
|
-
* The
|
|
3080
|
+
* The metadata key.
|
|
4678
3081
|
*/
|
|
4679
3082
|
key: string;
|
|
4680
3083
|
/**
|
|
4681
|
-
* The
|
|
3084
|
+
* The metadata value.
|
|
4682
3085
|
*/
|
|
4683
3086
|
value: string;
|
|
4684
3087
|
}
|
|
@@ -4702,24 +3105,13 @@ export declare namespace gke {
|
|
|
4702
3105
|
}
|
|
4703
3106
|
interface OceanLaunchSpecNetworkInterfaceAccessConfig {
|
|
4704
3107
|
/**
|
|
4705
|
-
* The
|
|
3108
|
+
* The launch specification name.
|
|
4706
3109
|
*/
|
|
4707
3110
|
name?: string;
|
|
4708
|
-
/**
|
|
4709
|
-
* The type of the access configuration.
|
|
4710
|
-
*/
|
|
4711
3111
|
type?: string;
|
|
4712
3112
|
}
|
|
4713
3113
|
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
3114
|
ipCidrRange: string;
|
|
4718
|
-
/**
|
|
4719
|
-
* specify the IP address range for the subnet secondary IP range.
|
|
4720
|
-
*
|
|
4721
|
-
* <a id="update-policy"></a>
|
|
4722
|
-
*/
|
|
4723
3115
|
subnetworkRangeName: string;
|
|
4724
3116
|
}
|
|
4725
3117
|
interface OceanLaunchSpecResourceLimits {
|
|
@@ -4751,21 +3143,9 @@ export declare namespace gke {
|
|
|
4751
3143
|
taskType: string;
|
|
4752
3144
|
}
|
|
4753
3145
|
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
3146
|
cpuPerUnit?: number;
|
|
4758
|
-
/**
|
|
4759
|
-
* Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
4760
|
-
*/
|
|
4761
3147
|
gpuPerUnit?: number;
|
|
4762
|
-
/**
|
|
4763
|
-
* Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
4764
|
-
*/
|
|
4765
3148
|
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
3149
|
numOfUnits: number;
|
|
4770
3150
|
}
|
|
4771
3151
|
interface OceanLaunchSpecShieldedInstanceConfig {
|
|
@@ -4796,11 +3176,11 @@ export declare namespace gke {
|
|
|
4796
3176
|
*/
|
|
4797
3177
|
effect: string;
|
|
4798
3178
|
/**
|
|
4799
|
-
* The
|
|
3179
|
+
* The taint key.
|
|
4800
3180
|
*/
|
|
4801
3181
|
key: string;
|
|
4802
3182
|
/**
|
|
4803
|
-
* The
|
|
3183
|
+
* The taint value.
|
|
4804
3184
|
*/
|
|
4805
3185
|
value: string;
|
|
4806
3186
|
}
|
|
@@ -4820,18 +3200,8 @@ export declare namespace organization {
|
|
|
4820
3200
|
statements: outputs.organization.PolicyPolicyContentStatement[];
|
|
4821
3201
|
}
|
|
4822
3202
|
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
3203
|
actions: string[];
|
|
4828
|
-
/**
|
|
4829
|
-
* Valid values "ALLOW", "DENY".
|
|
4830
|
-
*/
|
|
4831
3204
|
effect: string;
|
|
4832
|
-
/**
|
|
4833
|
-
* Set a list of resources IDs. In order to include all resources in this statement - use "*".
|
|
4834
|
-
*/
|
|
4835
3205
|
resources: string[];
|
|
4836
3206
|
}
|
|
4837
3207
|
interface ProgrammaticUserAccount {
|
|
@@ -4918,7 +3288,7 @@ export declare namespace spark {
|
|
|
4918
3288
|
}
|
|
4919
3289
|
interface OceanIngressLoadBalancer {
|
|
4920
3290
|
/**
|
|
4921
|
-
* - Should
|
|
3291
|
+
* - 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
3292
|
*/
|
|
4923
3293
|
managed?: boolean;
|
|
4924
3294
|
/**
|
|
@@ -4934,7 +3304,7 @@ export declare namespace spark {
|
|
|
4934
3304
|
}
|
|
4935
3305
|
interface OceanIngressPrivateLink {
|
|
4936
3306
|
/**
|
|
4937
|
-
* - Should the Ocean for Apache Spark control plane address the cluster
|
|
3307
|
+
* - Should the Ocean for Apache Spark control plane address the cluster via an AWS Private Link. Only available on AWS.
|
|
4938
3308
|
*/
|
|
4939
3309
|
enabled?: boolean;
|
|
4940
3310
|
/**
|