@pulumi/spotinst 3.41.0-alpha.1689316230 → 3.41.0

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/ocean.d.ts CHANGED
@@ -2,6 +2,46 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  import * as outputs from "../types/output";
4
4
  /**
5
+ * ## Auto Scaler
6
+ *
7
+ * * `autoscaler` - (Optional) Describes the Ocean Kubernetes Auto Scaler.
8
+ * * `autoscaleIsEnabled` - (Optional, Default: `true`) Enable the Ocean Kubernetes Auto Scaler.
9
+ * * `autoscaleIsAutoConfig` - (Optional, Default: `true`) Automatically configure and optimize headroom resources.
10
+ * * `autoscaleCooldown` - (Optional, Default: `null`) Cooldown period between scaling actions.
11
+ * * `autoHeadroomPercentage` - (Optional) Set the auto headroom percentage (a number in the range [0, 200]) which controls the percentage of headroom from the cluster. Relevant only when `autoscaleIsAutoConfig` toggled on.
12
+ * * `enableAutomaticAndManualHeadroom` - (Optional, Default: `false`) 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.
13
+ * * `autoscaleHeadroom` - (Optional) Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
14
+ * * `cpuPerUnit` - (Optional) Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
15
+ * * `gpuPerUnit` - (Optional) Optionally configure the number of GPUs to allocate the headroom.
16
+ * * `memoryPerUnit` - (Optional) Optionally configure the amount of memory (MB) to allocate the headroom.
17
+ * * `numOfUnits` - (Optional) The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
18
+ * * `autoscaleDown` - (Optional) Auto Scaling scale down operations.
19
+ * * `maxScaleDownPercentage` - (Optional) Would represent the maximum % to scale-down. Number between 1-100.
20
+ * * `resourceLimits` - (Optional) Optionally set upper and lower bounds on the resource usage of the cluster.
21
+ * * `maxVcpu` - (Optional) The maximum cpu in vCPU units that can be allocated to the cluster.
22
+ * * `maxMemoryGib` - (Optional) The maximum memory in GiB units that can be allocated to the cluster.
23
+ * * `extendedResourceDefinitions` - (Optional) List of Ocean extended resource definitions to use in this cluster.
24
+ *
25
+ * ```typescript
26
+ * import * as pulumi from "@pulumi/pulumi";
27
+ * ```
28
+ *
29
+ * ### Update Policy
30
+ *
31
+ * * `updatePolicy` - (Optional)
32
+ * * `shouldRoll` - (Required) Enables the roll.
33
+ * * `conditionedRoll` - (Optional, Default: false) 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).
34
+ * * `autoApplyTags` - (Optional, Default: false) will update instance tags on the fly without rolling the cluster.
35
+ * * `rollConfig` - (Required) While used, you can control whether the group should perform a deployment after an update to the configuration.
36
+ * * `batchSizePercentage` - (Required) Sets the percentage of the instances to deploy in each batch.
37
+ * * `launchSpecIds` - (Optional) List of virtual node group identifiers to be rolled.
38
+ * * `batchMinHealthyPercentage` - (Optional) 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.
39
+ * * `respectPdb` - (Optional, Default: false) During the roll, if the parameter is set to True we honor PDB during the instance replacement.
40
+ * ```typescript
41
+ * import * as pulumi from "@pulumi/pulumi";
42
+ * ```
43
+ *
44
+ * <a id="scheduled-task"></a>
5
45
  * ## Scheduled Task
6
46
  *
7
47
  * * `scheduledTask` - (Optional) Set scheduling object.
@@ -51,9 +91,6 @@ export declare class Ocean extends pulumi.CustomResource {
51
91
  * Configure public IP address allocation.
52
92
  */
53
93
  readonly associatePublicIpAddress: pulumi.Output<boolean | undefined>;
54
- /**
55
- * Describes the Ocean Kubernetes Auto Scaler.
56
- */
57
94
  readonly autoscaler: pulumi.Output<outputs.aws.OceanAutoscaler | undefined>;
58
95
  /**
59
96
  * Instance types not allowed in the Ocean cluster. Cannot be configured if `whitelist` is configured.
@@ -136,6 +173,10 @@ export declare class Ocean extends pulumi.CustomResource {
136
173
  * The region the cluster will run in.
137
174
  */
138
175
  readonly region: pulumi.Output<string | undefined>;
176
+ /**
177
+ * Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
178
+ */
179
+ readonly resourceTagSpecifications: pulumi.Output<outputs.aws.OceanResourceTagSpecification[] | undefined>;
139
180
  /**
140
181
  * The size (in Gb) to allocate for the root volume. Minimum `20`.
141
182
  */
@@ -204,9 +245,6 @@ export interface OceanState {
204
245
  * Configure public IP address allocation.
205
246
  */
206
247
  associatePublicIpAddress?: pulumi.Input<boolean>;
207
- /**
208
- * Describes the Ocean Kubernetes Auto Scaler.
209
- */
210
248
  autoscaler?: pulumi.Input<inputs.aws.OceanAutoscaler>;
211
249
  /**
212
250
  * Instance types not allowed in the Ocean cluster. Cannot be configured if `whitelist` is configured.
@@ -289,6 +327,10 @@ export interface OceanState {
289
327
  * The region the cluster will run in.
290
328
  */
291
329
  region?: pulumi.Input<string>;
330
+ /**
331
+ * Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
332
+ */
333
+ resourceTagSpecifications?: pulumi.Input<pulumi.Input<inputs.aws.OceanResourceTagSpecification>[]>;
292
334
  /**
293
335
  * The size (in Gb) to allocate for the root volume. Minimum `20`.
294
336
  */
@@ -349,9 +391,6 @@ export interface OceanArgs {
349
391
  * Configure public IP address allocation.
350
392
  */
351
393
  associatePublicIpAddress?: pulumi.Input<boolean>;
352
- /**
353
- * Describes the Ocean Kubernetes Auto Scaler.
354
- */
355
394
  autoscaler?: pulumi.Input<inputs.aws.OceanAutoscaler>;
356
395
  /**
357
396
  * Instance types not allowed in the Ocean cluster. Cannot be configured if `whitelist` is configured.
@@ -434,6 +473,10 @@ export interface OceanArgs {
434
473
  * The region the cluster will run in.
435
474
  */
436
475
  region?: pulumi.Input<string>;
476
+ /**
477
+ * Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
478
+ */
479
+ resourceTagSpecifications?: pulumi.Input<pulumi.Input<inputs.aws.OceanResourceTagSpecification>[]>;
437
480
  /**
438
481
  * The size (in Gb) to allocate for the root volume. Minimum `20`.
439
482
  */
package/aws/ocean.js CHANGED
@@ -6,6 +6,46 @@ exports.Ocean = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
+ * ## Auto Scaler
10
+ *
11
+ * * `autoscaler` - (Optional) Describes the Ocean Kubernetes Auto Scaler.
12
+ * * `autoscaleIsEnabled` - (Optional, Default: `true`) Enable the Ocean Kubernetes Auto Scaler.
13
+ * * `autoscaleIsAutoConfig` - (Optional, Default: `true`) Automatically configure and optimize headroom resources.
14
+ * * `autoscaleCooldown` - (Optional, Default: `null`) Cooldown period between scaling actions.
15
+ * * `autoHeadroomPercentage` - (Optional) Set the auto headroom percentage (a number in the range [0, 200]) which controls the percentage of headroom from the cluster. Relevant only when `autoscaleIsAutoConfig` toggled on.
16
+ * * `enableAutomaticAndManualHeadroom` - (Optional, Default: `false`) 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.
17
+ * * `autoscaleHeadroom` - (Optional) Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
18
+ * * `cpuPerUnit` - (Optional) Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
19
+ * * `gpuPerUnit` - (Optional) Optionally configure the number of GPUs to allocate the headroom.
20
+ * * `memoryPerUnit` - (Optional) Optionally configure the amount of memory (MB) to allocate the headroom.
21
+ * * `numOfUnits` - (Optional) The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
22
+ * * `autoscaleDown` - (Optional) Auto Scaling scale down operations.
23
+ * * `maxScaleDownPercentage` - (Optional) Would represent the maximum % to scale-down. Number between 1-100.
24
+ * * `resourceLimits` - (Optional) Optionally set upper and lower bounds on the resource usage of the cluster.
25
+ * * `maxVcpu` - (Optional) The maximum cpu in vCPU units that can be allocated to the cluster.
26
+ * * `maxMemoryGib` - (Optional) The maximum memory in GiB units that can be allocated to the cluster.
27
+ * * `extendedResourceDefinitions` - (Optional) List of Ocean extended resource definitions to use in this cluster.
28
+ *
29
+ * ```typescript
30
+ * import * as pulumi from "@pulumi/pulumi";
31
+ * ```
32
+ *
33
+ * ### Update Policy
34
+ *
35
+ * * `updatePolicy` - (Optional)
36
+ * * `shouldRoll` - (Required) Enables the roll.
37
+ * * `conditionedRoll` - (Optional, Default: false) 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).
38
+ * * `autoApplyTags` - (Optional, Default: false) will update instance tags on the fly without rolling the cluster.
39
+ * * `rollConfig` - (Required) While used, you can control whether the group should perform a deployment after an update to the configuration.
40
+ * * `batchSizePercentage` - (Required) Sets the percentage of the instances to deploy in each batch.
41
+ * * `launchSpecIds` - (Optional) List of virtual node group identifiers to be rolled.
42
+ * * `batchMinHealthyPercentage` - (Optional) 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.
43
+ * * `respectPdb` - (Optional, Default: false) During the roll, if the parameter is set to True we honor PDB during the instance replacement.
44
+ * ```typescript
45
+ * import * as pulumi from "@pulumi/pulumi";
46
+ * ```
47
+ *
48
+ * <a id="scheduled-task"></a>
9
49
  * ## Scheduled Task
10
50
  *
11
51
  * * `scheduledTask` - (Optional) Set scheduling object.
@@ -83,6 +123,7 @@ class Ocean extends pulumi.CustomResource {
83
123
  resourceInputs["monitoring"] = state ? state.monitoring : undefined;
84
124
  resourceInputs["name"] = state ? state.name : undefined;
85
125
  resourceInputs["region"] = state ? state.region : undefined;
126
+ resourceInputs["resourceTagSpecifications"] = state ? state.resourceTagSpecifications : undefined;
86
127
  resourceInputs["rootVolumeSize"] = state ? state.rootVolumeSize : undefined;
87
128
  resourceInputs["scheduledTasks"] = state ? state.scheduledTasks : undefined;
88
129
  resourceInputs["securityGroups"] = state ? state.securityGroups : undefined;
@@ -129,6 +170,7 @@ class Ocean extends pulumi.CustomResource {
129
170
  resourceInputs["monitoring"] = args ? args.monitoring : undefined;
130
171
  resourceInputs["name"] = args ? args.name : undefined;
131
172
  resourceInputs["region"] = args ? args.region : undefined;
173
+ resourceInputs["resourceTagSpecifications"] = args ? args.resourceTagSpecifications : undefined;
132
174
  resourceInputs["rootVolumeSize"] = args ? args.rootVolumeSize : undefined;
133
175
  resourceInputs["scheduledTasks"] = args ? args.scheduledTasks : undefined;
134
176
  resourceInputs["securityGroups"] = args ? args.securityGroups : undefined;
package/aws/ocean.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"ocean.js","sourceRoot":"","sources":["../../aws/ocean.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU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CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AA9QL,sBA+QC;AAjQG,gBAAgB;AACO,kBAAY,GAAG,0BAA0B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/spotinst",
3
- "version": "v3.41.0-alpha.1689316230+aed3aedf",
3
+ "version": "v3.41.0",
4
4
  "description": "A Pulumi package for creating and managing spotinst cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource spotinst v3.41.0-alpha.1689316230+aed3aedf"
14
+ "install": "node scripts/install-pulumi-plugin.js resource spotinst v3.41.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/types/input.d.ts CHANGED
@@ -2378,70 +2378,24 @@ export declare namespace aws {
2378
2378
  unit?: pulumi.Input<string>;
2379
2379
  }
2380
2380
  interface OceanAutoscaler {
2381
- /**
2382
- * Set the auto headroom percentage (a number in the range [0, 200]) which controls the percentage of headroom from the cluster. Relevant only when `autoscaleIsAutoConfig` toggled on.
2383
- */
2384
2381
  autoHeadroomPercentage?: pulumi.Input<number>;
2385
- /**
2386
- * Cooldown period between scaling actions.
2387
- */
2388
2382
  autoscaleCooldown?: pulumi.Input<number>;
2389
- /**
2390
- * Auto Scaling scale down operations.
2391
- */
2392
2383
  autoscaleDown?: pulumi.Input<inputs.aws.OceanAutoscalerAutoscaleDown>;
2393
- /**
2394
- * Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
2395
- */
2396
2384
  autoscaleHeadroom?: pulumi.Input<inputs.aws.OceanAutoscalerAutoscaleHeadroom>;
2397
- /**
2398
- * Automatically configure and optimize headroom resources.
2399
- */
2400
2385
  autoscaleIsAutoConfig?: pulumi.Input<boolean>;
2401
- /**
2402
- * Enable the Ocean Kubernetes Auto Scaler.
2403
- */
2404
2386
  autoscaleIsEnabled?: pulumi.Input<boolean>;
2405
- /**
2406
- * 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.
2407
- */
2408
2387
  enableAutomaticAndManualHeadroom?: pulumi.Input<boolean>;
2409
- /**
2410
- * List of Ocean extended resource definitions to use in this cluster.
2411
- *
2412
- * ```typescript
2413
- * import * as pulumi from "@pulumi/pulumi";
2414
- * ```
2415
- */
2416
2388
  extendedResourceDefinitions?: pulumi.Input<pulumi.Input<string>[]>;
2417
- /**
2418
- * Optionally set upper and lower bounds on the resource usage of the cluster.
2419
- */
2420
2389
  resourceLimits?: pulumi.Input<inputs.aws.OceanAutoscalerResourceLimits>;
2421
2390
  }
2422
2391
  interface OceanAutoscalerAutoscaleDown {
2423
2392
  evaluationPeriods?: pulumi.Input<number>;
2424
- /**
2425
- * Would represent the maximum % to scale-down. Number between 1-100.
2426
- */
2427
2393
  maxScaleDownPercentage?: pulumi.Input<number>;
2428
2394
  }
2429
2395
  interface OceanAutoscalerAutoscaleHeadroom {
2430
- /**
2431
- * Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
2432
- */
2433
2396
  cpuPerUnit?: pulumi.Input<number>;
2434
- /**
2435
- * Optionally configure the number of GPUs to allocate the headroom.
2436
- */
2437
2397
  gpuPerUnit?: pulumi.Input<number>;
2438
- /**
2439
- * Optionally configure the amount of memory (MB) to allocate the headroom.
2440
- */
2441
2398
  memoryPerUnit?: pulumi.Input<number>;
2442
- /**
2443
- * The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
2444
- */
2445
2399
  numOfUnits?: pulumi.Input<number>;
2446
2400
  }
2447
2401
  interface OceanAutoscalerResourceLimits {
@@ -2892,6 +2846,12 @@ export declare namespace aws {
2892
2846
  */
2893
2847
  id: pulumi.Input<string>;
2894
2848
  }
2849
+ interface OceanResourceTagSpecification {
2850
+ /**
2851
+ * Specify if Volume resources will be tagged with Virtual Node Group tags or Ocean tags.
2852
+ */
2853
+ shouldTagVolumes?: pulumi.Input<boolean>;
2854
+ }
2895
2855
  interface OceanScheduledTask {
2896
2856
  shutdownHours?: pulumi.Input<inputs.aws.OceanScheduledTaskShutdownHours>;
2897
2857
  tasks?: pulumi.Input<pulumi.Input<inputs.aws.OceanScheduledTaskTask>[]>;
@@ -2916,44 +2876,15 @@ export declare namespace aws {
2916
2876
  value: pulumi.Input<string>;
2917
2877
  }
2918
2878
  interface OceanUpdatePolicy {
2919
- /**
2920
- * will update instance tags on the fly without rolling the cluster.
2921
- */
2922
2879
  autoApplyTags?: pulumi.Input<boolean>;
2923
- /**
2924
- * 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).
2925
- */
2926
2880
  conditionedRoll?: pulumi.Input<boolean>;
2927
- /**
2928
- * While used, you can control whether the group should perform a deployment after an update to the configuration.
2929
- */
2930
2881
  rollConfig?: pulumi.Input<inputs.aws.OceanUpdatePolicyRollConfig>;
2931
- /**
2932
- * Enables the roll.
2933
- */
2934
2882
  shouldRoll: pulumi.Input<boolean>;
2935
2883
  }
2936
2884
  interface OceanUpdatePolicyRollConfig {
2937
- /**
2938
- * 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.
2939
- */
2940
2885
  batchMinHealthyPercentage?: pulumi.Input<number>;
2941
- /**
2942
- * Sets the percentage of the instances to deploy in each batch.
2943
- */
2944
2886
  batchSizePercentage: pulumi.Input<number>;
2945
- /**
2946
- * List of virtual node group identifiers to be rolled.
2947
- */
2948
2887
  launchSpecIds?: pulumi.Input<pulumi.Input<string>[]>;
2949
- /**
2950
- * During the roll, if the parameter is set to True we honor PDB during the instance replacement.
2951
- * ```typescript
2952
- * import * as pulumi from "@pulumi/pulumi";
2953
- * ```
2954
- *
2955
- * <a id="scheduled-task"></a>
2956
- */
2957
2888
  respectPdb?: pulumi.Input<boolean>;
2958
2889
  }
2959
2890
  interface SuspensionSuspension {
package/types/output.d.ts CHANGED
@@ -2377,70 +2377,24 @@ export declare namespace aws {
2377
2377
  unit?: string;
2378
2378
  }
2379
2379
  interface OceanAutoscaler {
2380
- /**
2381
- * Set the auto headroom percentage (a number in the range [0, 200]) which controls the percentage of headroom from the cluster. Relevant only when `autoscaleIsAutoConfig` toggled on.
2382
- */
2383
2380
  autoHeadroomPercentage?: number;
2384
- /**
2385
- * Cooldown period between scaling actions.
2386
- */
2387
2381
  autoscaleCooldown?: number;
2388
- /**
2389
- * Auto Scaling scale down operations.
2390
- */
2391
2382
  autoscaleDown?: outputs.aws.OceanAutoscalerAutoscaleDown;
2392
- /**
2393
- * Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
2394
- */
2395
2383
  autoscaleHeadroom?: outputs.aws.OceanAutoscalerAutoscaleHeadroom;
2396
- /**
2397
- * Automatically configure and optimize headroom resources.
2398
- */
2399
2384
  autoscaleIsAutoConfig?: boolean;
2400
- /**
2401
- * Enable the Ocean Kubernetes Auto Scaler.
2402
- */
2403
2385
  autoscaleIsEnabled?: boolean;
2404
- /**
2405
- * 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.
2406
- */
2407
2386
  enableAutomaticAndManualHeadroom?: boolean;
2408
- /**
2409
- * List of Ocean extended resource definitions to use in this cluster.
2410
- *
2411
- * ```typescript
2412
- * import * as pulumi from "@pulumi/pulumi";
2413
- * ```
2414
- */
2415
2387
  extendedResourceDefinitions?: string[];
2416
- /**
2417
- * Optionally set upper and lower bounds on the resource usage of the cluster.
2418
- */
2419
2388
  resourceLimits?: outputs.aws.OceanAutoscalerResourceLimits;
2420
2389
  }
2421
2390
  interface OceanAutoscalerAutoscaleDown {
2422
2391
  evaluationPeriods?: number;
2423
- /**
2424
- * Would represent the maximum % to scale-down. Number between 1-100.
2425
- */
2426
2392
  maxScaleDownPercentage?: number;
2427
2393
  }
2428
2394
  interface OceanAutoscalerAutoscaleHeadroom {
2429
- /**
2430
- * Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
2431
- */
2432
2395
  cpuPerUnit?: number;
2433
- /**
2434
- * Optionally configure the number of GPUs to allocate the headroom.
2435
- */
2436
2396
  gpuPerUnit?: number;
2437
- /**
2438
- * Optionally configure the amount of memory (MB) to allocate the headroom.
2439
- */
2440
2397
  memoryPerUnit?: number;
2441
- /**
2442
- * The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
2443
- */
2444
2398
  numOfUnits?: number;
2445
2399
  }
2446
2400
  interface OceanAutoscalerResourceLimits {
@@ -2891,6 +2845,12 @@ export declare namespace aws {
2891
2845
  */
2892
2846
  id: string;
2893
2847
  }
2848
+ interface OceanResourceTagSpecification {
2849
+ /**
2850
+ * Specify if Volume resources will be tagged with Virtual Node Group tags or Ocean tags.
2851
+ */
2852
+ shouldTagVolumes?: boolean;
2853
+ }
2894
2854
  interface OceanScheduledTask {
2895
2855
  shutdownHours?: outputs.aws.OceanScheduledTaskShutdownHours;
2896
2856
  tasks?: outputs.aws.OceanScheduledTaskTask[];
@@ -2915,44 +2875,15 @@ export declare namespace aws {
2915
2875
  value: string;
2916
2876
  }
2917
2877
  interface OceanUpdatePolicy {
2918
- /**
2919
- * will update instance tags on the fly without rolling the cluster.
2920
- */
2921
2878
  autoApplyTags?: boolean;
2922
- /**
2923
- * 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).
2924
- */
2925
2879
  conditionedRoll?: boolean;
2926
- /**
2927
- * While used, you can control whether the group should perform a deployment after an update to the configuration.
2928
- */
2929
2880
  rollConfig?: outputs.aws.OceanUpdatePolicyRollConfig;
2930
- /**
2931
- * Enables the roll.
2932
- */
2933
2881
  shouldRoll: boolean;
2934
2882
  }
2935
2883
  interface OceanUpdatePolicyRollConfig {
2936
- /**
2937
- * 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.
2938
- */
2939
2884
  batchMinHealthyPercentage?: number;
2940
- /**
2941
- * Sets the percentage of the instances to deploy in each batch.
2942
- */
2943
2885
  batchSizePercentage: number;
2944
- /**
2945
- * List of virtual node group identifiers to be rolled.
2946
- */
2947
2886
  launchSpecIds?: string[];
2948
- /**
2949
- * During the roll, if the parameter is set to True we honor PDB during the instance replacement.
2950
- * ```typescript
2951
- * import * as pulumi from "@pulumi/pulumi";
2952
- * ```
2953
- *
2954
- * <a id="scheduled-task"></a>
2955
- */
2956
2887
  respectPdb?: boolean;
2957
2888
  }
2958
2889
  interface SuspensionSuspension {