@go-to-k/cdkd 0.278.2 → 0.278.3
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/dist/{asg-provider-D2NA5UuZ.js → asg-provider-ACQwFzcN.js} +2 -2
- package/dist/{asg-provider-D2NA5UuZ.js.map → asg-provider-ACQwFzcN.js.map} +1 -1
- package/dist/cli.js +100 -19
- package/dist/cli.js.map +1 -1
- package/dist/{deploy-engine-CunQFmO7.js → deploy-engine-BemRUhiN.js} +3 -3
- package/dist/{deploy-engine-CunQFmO7.js.map → deploy-engine-BemRUhiN.js.map} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { $ as DagBuilder, A as red, At as resolveApp, B as isTerminationProtectionPropagationError, Bt as CFN_TEMPLATE_URL_LIMIT, C as isStatefulRecreateTargetSync, Ct as runDockerStreaming, D as cyan, Dt as synthesisStatusMessage, E as bold, Et as Synthesizer, F as ProviderRegistry, Ft as resolveStateBucketWithDefaultAndSource, G as normalizeAwsTagsToCfn, Gt as AssemblyReader, H as cfnRefValueFromPhysicalId, Ht as findLargeInlineResources, I as findActionableSilentDrops, It as resolveUseCdkBootstrapAssets, J as applyRoleArnIfSet, Jt as resolveBucketRegion, K as resolveExplicitPhysicalId, Kt as processStackMessages, L as CloudControlProvider, Lt as stateBucketExistenceConfirmed, M as IAMRoleProvider, Mt as resolveCaptureObservedState, N as collectInlinePolicyNamesManagedBySiblings, Nt as resolveSkipPrefix, O as gray, Ot as getDefaultStateBucketName, P as clearOnUpdateRemoval, Pt as resolveStateBucketWithDefault, Q as isRetryableTransientError, Qt as setAwsClients, R as slowCcOperationTimeoutMs, Rt as warnDeprecatedNoPrefixCliFlag, S as MULTI_REGION_RECREATE_BLOCKED_TYPES, St as runDockerForeground, T as formatResourceLine, Tt as getDockerImageBySourceHash, U as refStateLookupFromResource, Ut as uploadCfnTemplate, V as IntrinsicFunctionResolver, Vt as MIGRATE_TMP_PREFIX, W as WAFv2WebACLProvider, Wt as expectedOwnerParam, X as describeTypeWithThrottleRetry, Xt as getAwsClients, Y as DiffCalculator, Yt as AwsClients, Z as withRetry, Zt as resetAwsClients, _ as createPreDeleteFinalSnapshot, _t as validateAssetBucketName, a as DeploymentEventsStore, an as LocalMigrateError, at as AssetPublisher, b as unsupportedFinalSnapshotError, bn as normalizeAwsError, bt as formatDockerLoginError, c as replayFailedOperations, cn as MissingCdkCliError, ct as buildAssetRedirectMap, d as IMPLICIT_DELETE_DEPENDENCIES, dn as ProvisioningError, dt as rewriteTemplateAssetReferences, en as CdkdError, et as TemplateParser, f as computeImplicitDeleteEdges, fn as ResourceTimeoutError, ft as AssetModeResolver, g as ccRoutedFinalSnapshotError, gt as parseBootstrapMarker, h as buildFinalSnapshotIdentifier, hn as StackTerminationProtectionError, ht as getBootstrapMarkerKey, i as DeploymentEventsReader, in as LocalInvokeBuildError$1, it as shouldRetainResource, j as yellow, jt as resolveAutoAssetStorage, k as green, kt as getLegacyStateBucketName, l as replayRollback, ln as NestedStackChildDirectDestroyError, lt as createAssetRedirectResolver, m as PRE_DELETE_SNAPSHOT_TYPES, mn as StackHasActiveImportsError, mt as ensureAssetStorage, n as DEFAULT_RESOURCE_WARN_AFTER_MS, nt as S3StateBackend, o as planFailedOps, on as LocalStartServiceError, ot as stringifyValue, p as ATOMIC_FINAL_SNAPSHOT_TYPES, pn as ResourceUpdateNotSupportedError, pt as BOOTSTRAP_MARKER_PREFIX, q as assertRegionMatch, r as DeployEngine, rn as DeployCancelledError, rt as rebuildClientForBucketRegion, s as planRollback, st as WorkGraph, t as DEFAULT_RESOURCE_TIMEOUT_MS, tt as LockManager, u as withResourceDeadline, un as PartialFailureError, ut as loadPublishableAssetManifest, v as isFinalSnapshotError, vt as validateContainerRepoName, w as renderStatefulReason, wt as AssetManifestLoader, x as extractDeploymentEventError, xn as withErrorHandling, xt as getDockerCmd, y as refusesFinalSnapshot, yt as buildDockerImage, z as disableInstanceApiTermination, zt as CFN_TEMPLATE_BODY_LIMIT } from "./deploy-engine-
|
|
2
|
+
import { $ as DagBuilder, A as red, At as resolveApp, B as isTerminationProtectionPropagationError, Bt as CFN_TEMPLATE_URL_LIMIT, C as isStatefulRecreateTargetSync, Ct as runDockerStreaming, D as cyan, Dt as synthesisStatusMessage, E as bold, Et as Synthesizer, F as ProviderRegistry, Ft as resolveStateBucketWithDefaultAndSource, G as normalizeAwsTagsToCfn, Gt as AssemblyReader, H as cfnRefValueFromPhysicalId, Ht as findLargeInlineResources, I as findActionableSilentDrops, It as resolveUseCdkBootstrapAssets, J as applyRoleArnIfSet, Jt as resolveBucketRegion, K as resolveExplicitPhysicalId, Kt as processStackMessages, L as CloudControlProvider, Lt as stateBucketExistenceConfirmed, M as IAMRoleProvider, Mt as resolveCaptureObservedState, N as collectInlinePolicyNamesManagedBySiblings, Nt as resolveSkipPrefix, O as gray, Ot as getDefaultStateBucketName, P as clearOnUpdateRemoval, Pt as resolveStateBucketWithDefault, Q as isRetryableTransientError, Qt as setAwsClients, R as slowCcOperationTimeoutMs, Rt as warnDeprecatedNoPrefixCliFlag, S as MULTI_REGION_RECREATE_BLOCKED_TYPES, St as runDockerForeground, T as formatResourceLine, Tt as getDockerImageBySourceHash, U as refStateLookupFromResource, Ut as uploadCfnTemplate, V as IntrinsicFunctionResolver, Vt as MIGRATE_TMP_PREFIX, W as WAFv2WebACLProvider, Wt as expectedOwnerParam, X as describeTypeWithThrottleRetry, Xt as getAwsClients, Y as DiffCalculator, Yt as AwsClients, Z as withRetry, Zt as resetAwsClients, _ as createPreDeleteFinalSnapshot, _t as validateAssetBucketName, a as DeploymentEventsStore, an as LocalMigrateError, at as AssetPublisher, b as unsupportedFinalSnapshotError, bn as normalizeAwsError, bt as formatDockerLoginError, c as replayFailedOperations, cn as MissingCdkCliError, ct as buildAssetRedirectMap, d as IMPLICIT_DELETE_DEPENDENCIES, dn as ProvisioningError, dt as rewriteTemplateAssetReferences, en as CdkdError, et as TemplateParser, f as computeImplicitDeleteEdges, fn as ResourceTimeoutError, ft as AssetModeResolver, g as ccRoutedFinalSnapshotError, gt as parseBootstrapMarker, h as buildFinalSnapshotIdentifier, hn as StackTerminationProtectionError, ht as getBootstrapMarkerKey, i as DeploymentEventsReader, in as LocalInvokeBuildError$1, it as shouldRetainResource, j as yellow, jt as resolveAutoAssetStorage, k as green, kt as getLegacyStateBucketName, l as replayRollback, ln as NestedStackChildDirectDestroyError, lt as createAssetRedirectResolver, m as PRE_DELETE_SNAPSHOT_TYPES, mn as StackHasActiveImportsError, mt as ensureAssetStorage, n as DEFAULT_RESOURCE_WARN_AFTER_MS, nt as S3StateBackend, o as planFailedOps, on as LocalStartServiceError, ot as stringifyValue, p as ATOMIC_FINAL_SNAPSHOT_TYPES, pn as ResourceUpdateNotSupportedError, pt as BOOTSTRAP_MARKER_PREFIX, q as assertRegionMatch, r as DeployEngine, rn as DeployCancelledError, rt as rebuildClientForBucketRegion, s as planRollback, st as WorkGraph, t as DEFAULT_RESOURCE_TIMEOUT_MS, tt as LockManager, u as withResourceDeadline, un as PartialFailureError, ut as loadPublishableAssetManifest, v as isFinalSnapshotError, vt as validateContainerRepoName, w as renderStatefulReason, wt as AssetManifestLoader, x as extractDeploymentEventError, xn as withErrorHandling, xt as getDockerCmd, y as refusesFinalSnapshot, yt as buildDockerImage, z as disableInstanceApiTermination, zt as CFN_TEMPLATE_BODY_LIMIT } from "./deploy-engine-BemRUhiN.js";
|
|
3
3
|
import { a as getLiveRenderer, c as PATTERN_B_RESOURCE_TYPES, d as generateResourceNameWithFallback, f as withSkipPrefix, i as runStackBuffered, n as getLogger, o as PATTERN_B_NAME_OPTIONS, p as withStackName, s as PATTERN_B_NAME_PROPERTIES, u as generateResourceName } from "./logger-BYMEE-BS.js";
|
|
4
|
-
import { t as ASGProvider } from "./asg-provider-
|
|
4
|
+
import { t as ASGProvider } from "./asg-provider-ACQwFzcN.js";
|
|
5
5
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
6
6
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
7
7
|
import { CopyObjectCommand, CreateBucketCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketNotificationConfigurationCommand, GetBucketPolicyCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetBucketVersioningCommand, GetBucketWebsiteCommand, GetObjectCommand, GetObjectLockConfigurationCommand, GetPublicAccessBlockCommand, HeadBucketCommand, ListBucketAnalyticsConfigurationsCommand, ListBucketIntelligentTieringConfigurationsCommand, ListBucketInventoryConfigurationsCommand, ListBucketMetricsConfigurationsCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, PutBucketAccelerateConfigurationCommand, PutBucketAnalyticsConfigurationCommand, PutBucketCorsCommand, PutBucketEncryptionCommand, PutBucketIntelligentTieringConfigurationCommand, PutBucketInventoryConfigurationCommand, PutBucketLifecycleConfigurationCommand, PutBucketLoggingCommand, PutBucketMetricsConfigurationCommand, PutBucketNotificationConfigurationCommand, PutBucketOwnershipControlsCommand, PutBucketPolicyCommand, PutBucketReplicationCommand, PutBucketTaggingCommand, PutBucketVersioningCommand, PutBucketWebsiteCommand, PutObjectCommand, PutObjectLockConfigurationCommand, PutPublicAccessBlockCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
@@ -10946,15 +10946,15 @@ function buildCommonImageInput(properties) {
|
|
|
10946
10946
|
return input;
|
|
10947
10947
|
}
|
|
10948
10948
|
function mapCodeArtifact(value) {
|
|
10949
|
-
if (!isRecord(value)) return void 0;
|
|
10949
|
+
if (!isRecord$1(value)) return void 0;
|
|
10950
10950
|
const uri = value["Uri"];
|
|
10951
10951
|
return typeof uri === "string" ? { uri } : void 0;
|
|
10952
10952
|
}
|
|
10953
10953
|
function mapLogging(value) {
|
|
10954
|
-
if (!isRecord(value)) return void 0;
|
|
10954
|
+
if (!isRecord$1(value)) return void 0;
|
|
10955
10955
|
if (value["Disabled"] === true) return { disabled: {} };
|
|
10956
10956
|
const cloudWatch = value["CloudWatch"];
|
|
10957
|
-
if (isRecord(cloudWatch)) {
|
|
10957
|
+
if (isRecord$1(cloudWatch)) {
|
|
10958
10958
|
const cw = {};
|
|
10959
10959
|
if (typeof cloudWatch["LogGroup"] === "string") cw.logGroup = cloudWatch["LogGroup"];
|
|
10960
10960
|
if (typeof cloudWatch["LogStream"] === "string") cw.logStream = cloudWatch["LogStream"];
|
|
@@ -10963,11 +10963,11 @@ function mapLogging(value) {
|
|
|
10963
10963
|
}
|
|
10964
10964
|
function mapCpuConfigurations(value) {
|
|
10965
10965
|
if (!Array.isArray(value)) return void 0;
|
|
10966
|
-
return value.filter(isRecord).map((c) => ({ architecture: c["Architecture"] }));
|
|
10966
|
+
return value.filter(isRecord$1).map((c) => ({ architecture: c["Architecture"] }));
|
|
10967
10967
|
}
|
|
10968
10968
|
function mapResources(value) {
|
|
10969
10969
|
if (!Array.isArray(value)) return void 0;
|
|
10970
|
-
return value.filter(isRecord).map((r) => Number(r["MinimumMemoryInMiB"])).filter((n) => Number.isFinite(n)).map((minimumMemoryInMiB) => ({ minimumMemoryInMiB }));
|
|
10970
|
+
return value.filter(isRecord$1).map((r) => Number(r["MinimumMemoryInMiB"])).filter((n) => Number.isFinite(n)).map((minimumMemoryInMiB) => ({ minimumMemoryInMiB }));
|
|
10971
10971
|
}
|
|
10972
10972
|
/**
|
|
10973
10973
|
* Translate the CFn `Hooks` structure (PascalCase keys throughout, all leaf
|
|
@@ -10976,7 +10976,7 @@ function mapResources(value) {
|
|
|
10976
10976
|
* carries no tagged unions and no array-of-record members.
|
|
10977
10977
|
*/
|
|
10978
10978
|
function mapHooks(value) {
|
|
10979
|
-
if (!isRecord(value)) return void 0;
|
|
10979
|
+
if (!isRecord$1(value)) return void 0;
|
|
10980
10980
|
return lowerFirstKeysDeep(value);
|
|
10981
10981
|
}
|
|
10982
10982
|
/**
|
|
@@ -10987,19 +10987,19 @@ function mapHooks(value) {
|
|
|
10987
10987
|
function mapKeyValueListToRecord(value) {
|
|
10988
10988
|
if (!Array.isArray(value)) return void 0;
|
|
10989
10989
|
const out = {};
|
|
10990
|
-
for (const entry of value) if (isRecord(entry) && typeof entry["Key"] === "string") out[entry["Key"]] = typeof entry["Value"] === "string" ? entry["Value"] : "";
|
|
10990
|
+
for (const entry of value) if (isRecord$1(entry) && typeof entry["Key"] === "string") out[entry["Key"]] = typeof entry["Value"] === "string" ? entry["Value"] : "";
|
|
10991
10991
|
return Object.keys(out).length > 0 ? out : void 0;
|
|
10992
10992
|
}
|
|
10993
10993
|
function lowerFirstKeysDeep(value) {
|
|
10994
10994
|
if (Array.isArray(value)) return value.map(lowerFirstKeysDeep);
|
|
10995
|
-
if (isRecord(value)) {
|
|
10995
|
+
if (isRecord$1(value)) {
|
|
10996
10996
|
const out = {};
|
|
10997
10997
|
for (const [k, v] of Object.entries(value)) out[k.charAt(0).toLowerCase() + k.slice(1)] = lowerFirstKeysDeep(v);
|
|
10998
10998
|
return out;
|
|
10999
10999
|
}
|
|
11000
11000
|
return value;
|
|
11001
11001
|
}
|
|
11002
|
-
function isRecord(value) {
|
|
11002
|
+
function isRecord$1(value) {
|
|
11003
11003
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
11004
11004
|
}
|
|
11005
11005
|
|
|
@@ -37384,6 +37384,87 @@ var FSxFileSystemProvider = class {
|
|
|
37384
37384
|
}
|
|
37385
37385
|
};
|
|
37386
37386
|
|
|
37387
|
+
//#endregion
|
|
37388
|
+
//#region src/provisioning/emr-configuration.ts
|
|
37389
|
+
/**
|
|
37390
|
+
* CFn -> SDK shape converters for the two `AWS::EMR::*` nested blobs whose CFn
|
|
37391
|
+
* key spelling diverges from the `@aws-sdk/client-emr` model (issue #1383).
|
|
37392
|
+
*
|
|
37393
|
+
* | CFn key | SDK member |
|
|
37394
|
+
* | ------------------------------------------------ | ------------------------------ |
|
|
37395
|
+
* | `Configuration.ConfigurationProperties` | `Configuration.Properties` |
|
|
37396
|
+
* | `HadoopJarStepConfig.StepProperties` | `HadoopJarStepConfig.Properties` |
|
|
37397
|
+
*
|
|
37398
|
+
* Both are plain renames — the VALUE shapes already match (`Record<string,string>`
|
|
37399
|
+
* for the former, `KeyValue[]` for the latter, verified against the live CFn
|
|
37400
|
+
* registry schema on 2026-08-09). The AWS SDK v3 serializer drops unknown
|
|
37401
|
+
* members, so before this conversion every EMR application configuration
|
|
37402
|
+
* (spark-defaults / hive-site / yarn-site ...) silently vanished while cdkd
|
|
37403
|
+
* reported the deploy as successful.
|
|
37404
|
+
*
|
|
37405
|
+
* `Configurations` nests into itself, so the rename is applied at EVERY level.
|
|
37406
|
+
* Non-object / non-array inputs (an unresolved intrinsic, a malformed template)
|
|
37407
|
+
* pass through untouched so this layer never turns a bad template into a
|
|
37408
|
+
* confusing crash — AWS surfaces the real validation error instead.
|
|
37409
|
+
*/
|
|
37410
|
+
function isRecord(value) {
|
|
37411
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
37412
|
+
}
|
|
37413
|
+
function toSdkConfiguration(raw) {
|
|
37414
|
+
if (!isRecord(raw)) return raw;
|
|
37415
|
+
const { ConfigurationProperties, Configurations, ...rest } = raw;
|
|
37416
|
+
return {
|
|
37417
|
+
...rest,
|
|
37418
|
+
...ConfigurationProperties !== void 0 ? { Properties: ConfigurationProperties } : {},
|
|
37419
|
+
...Configurations !== void 0 ? { Configurations: toSdkConfigurations(Configurations) } : {}
|
|
37420
|
+
};
|
|
37421
|
+
}
|
|
37422
|
+
/**
|
|
37423
|
+
* CFn `Configurations` list -> SDK `Configuration[]`, renaming
|
|
37424
|
+
* `ConfigurationProperties` -> `Properties` at every nesting level.
|
|
37425
|
+
*/
|
|
37426
|
+
function toSdkConfigurations(value) {
|
|
37427
|
+
if (value === void 0) return void 0;
|
|
37428
|
+
if (!Array.isArray(value)) return value;
|
|
37429
|
+
return value.map(toSdkConfiguration);
|
|
37430
|
+
}
|
|
37431
|
+
/**
|
|
37432
|
+
* CFn `Steps` list -> SDK `StepConfig[]`, renaming
|
|
37433
|
+
* `HadoopJarStep.StepProperties` -> `HadoopJarStep.Properties`.
|
|
37434
|
+
*/
|
|
37435
|
+
function toSdkStepConfigs(value) {
|
|
37436
|
+
if (value === void 0) return void 0;
|
|
37437
|
+
if (!Array.isArray(value)) return value;
|
|
37438
|
+
return value.map((step) => {
|
|
37439
|
+
if (!isRecord(step)) return step;
|
|
37440
|
+
const hadoopJarStep = step["HadoopJarStep"];
|
|
37441
|
+
if (!isRecord(hadoopJarStep) || hadoopJarStep["StepProperties"] === void 0) return step;
|
|
37442
|
+
const { StepProperties, ...restHadoopJarStep } = hadoopJarStep;
|
|
37443
|
+
return {
|
|
37444
|
+
...step,
|
|
37445
|
+
HadoopJarStep: {
|
|
37446
|
+
...restHadoopJarStep,
|
|
37447
|
+
Properties: StepProperties
|
|
37448
|
+
}
|
|
37449
|
+
};
|
|
37450
|
+
});
|
|
37451
|
+
}
|
|
37452
|
+
/**
|
|
37453
|
+
* CFn `InstanceTypeConfigs` list -> SDK `InstanceTypeConfig[]`, converting each
|
|
37454
|
+
* element's nested per-instance-type `Configurations`.
|
|
37455
|
+
*/
|
|
37456
|
+
function toSdkInstanceTypeConfigs(value) {
|
|
37457
|
+
if (value === void 0) return void 0;
|
|
37458
|
+
if (!Array.isArray(value)) return value;
|
|
37459
|
+
return value.map((instanceTypeConfig) => {
|
|
37460
|
+
if (!isRecord(instanceTypeConfig) || instanceTypeConfig["Configurations"] === void 0) return instanceTypeConfig;
|
|
37461
|
+
return {
|
|
37462
|
+
...instanceTypeConfig,
|
|
37463
|
+
Configurations: toSdkConfigurations(instanceTypeConfig["Configurations"])
|
|
37464
|
+
};
|
|
37465
|
+
});
|
|
37466
|
+
}
|
|
37467
|
+
|
|
37387
37468
|
//#endregion
|
|
37388
37469
|
//#region src/provisioning/providers/emr-cluster-provider.ts
|
|
37389
37470
|
/**
|
|
@@ -37552,9 +37633,9 @@ var EMRClusterProvider = class {
|
|
|
37552
37633
|
StepConcurrencyLevel: toNumber$2(properties["StepConcurrencyLevel"]),
|
|
37553
37634
|
VisibleToAllUsers: toBoolean(properties["VisibleToAllUsers"]),
|
|
37554
37635
|
Applications: properties["Applications"],
|
|
37555
|
-
Configurations: properties["Configurations"],
|
|
37636
|
+
Configurations: toSdkConfigurations(properties["Configurations"]),
|
|
37556
37637
|
BootstrapActions: properties["BootstrapActions"],
|
|
37557
|
-
Steps: properties["Steps"],
|
|
37638
|
+
Steps: toSdkStepConfigs(properties["Steps"]),
|
|
37558
37639
|
KerberosAttributes: properties["KerberosAttributes"],
|
|
37559
37640
|
PlacementGroupConfigs: properties["PlacementGroupConfigs"],
|
|
37560
37641
|
ManagedScalingPolicy: this.toManagedScalingPolicy(properties["ManagedScalingPolicy"]),
|
|
@@ -37642,7 +37723,7 @@ var EMRClusterProvider = class {
|
|
|
37642
37723
|
Name: raw["Name"],
|
|
37643
37724
|
Market: raw["Market"],
|
|
37644
37725
|
BidPrice: raw["BidPrice"],
|
|
37645
|
-
Configurations: raw["Configurations"],
|
|
37726
|
+
Configurations: toSdkConfigurations(raw["Configurations"]),
|
|
37646
37727
|
EbsConfiguration: raw["EbsConfiguration"],
|
|
37647
37728
|
AutoScalingPolicy: raw["AutoScalingPolicy"],
|
|
37648
37729
|
CustomAmiId: raw["CustomAmiId"]
|
|
@@ -37654,7 +37735,7 @@ var EMRClusterProvider = class {
|
|
|
37654
37735
|
Name: raw["Name"],
|
|
37655
37736
|
TargetOnDemandCapacity: toNumber$2(raw["TargetOnDemandCapacity"]),
|
|
37656
37737
|
TargetSpotCapacity: toNumber$2(raw["TargetSpotCapacity"]),
|
|
37657
|
-
InstanceTypeConfigs: raw["InstanceTypeConfigs"],
|
|
37738
|
+
InstanceTypeConfigs: toSdkInstanceTypeConfigs(raw["InstanceTypeConfigs"]),
|
|
37658
37739
|
LaunchSpecifications: raw["LaunchSpecifications"],
|
|
37659
37740
|
ResizeSpecifications: raw["ResizeSpecifications"]
|
|
37660
37741
|
};
|
|
@@ -38306,7 +38387,7 @@ var EMRInstanceGroupConfigProvider = class {
|
|
|
38306
38387
|
Name: properties["Name"],
|
|
38307
38388
|
Market: properties["Market"],
|
|
38308
38389
|
BidPrice: properties["BidPrice"],
|
|
38309
|
-
Configurations: properties["Configurations"],
|
|
38390
|
+
Configurations: toSdkConfigurations(properties["Configurations"]),
|
|
38310
38391
|
EbsConfiguration: properties["EbsConfiguration"],
|
|
38311
38392
|
AutoScalingPolicy: properties["AutoScalingPolicy"],
|
|
38312
38393
|
CustomAmiId: properties["CustomAmiId"]
|
|
@@ -38617,7 +38698,7 @@ var EMRInstanceFleetConfigProvider = class {
|
|
|
38617
38698
|
Name: properties["Name"],
|
|
38618
38699
|
TargetOnDemandCapacity: toNumber(properties["TargetOnDemandCapacity"]),
|
|
38619
38700
|
TargetSpotCapacity: toNumber(properties["TargetSpotCapacity"]),
|
|
38620
|
-
InstanceTypeConfigs: properties["InstanceTypeConfigs"],
|
|
38701
|
+
InstanceTypeConfigs: toSdkInstanceTypeConfigs(properties["InstanceTypeConfigs"]),
|
|
38621
38702
|
LaunchSpecifications: properties["LaunchSpecifications"],
|
|
38622
38703
|
ResizeSpecifications: properties["ResizeSpecifications"]
|
|
38623
38704
|
};
|
|
@@ -38653,7 +38734,7 @@ var EMRInstanceFleetConfigProvider = class {
|
|
|
38653
38734
|
TargetOnDemandCapacity: toNumber(properties["TargetOnDemandCapacity"]),
|
|
38654
38735
|
TargetSpotCapacity: toNumber(properties["TargetSpotCapacity"]),
|
|
38655
38736
|
ResizeSpecifications: properties["ResizeSpecifications"],
|
|
38656
|
-
InstanceTypeConfigs: properties["InstanceTypeConfigs"]
|
|
38737
|
+
InstanceTypeConfigs: toSdkInstanceTypeConfigs(properties["InstanceTypeConfigs"])
|
|
38657
38738
|
};
|
|
38658
38739
|
await this.getClient().send(new ModifyInstanceFleetCommand({
|
|
38659
38740
|
ClusterId: clusterId,
|
|
@@ -64285,7 +64366,7 @@ function createMigrateCommand() {
|
|
|
64285
64366
|
*/
|
|
64286
64367
|
function buildProgram() {
|
|
64287
64368
|
const program = new Command();
|
|
64288
|
-
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.278.
|
|
64369
|
+
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.278.3");
|
|
64289
64370
|
program.hook("preAction", (_thisCommand, actionCommand) => {
|
|
64290
64371
|
const { profile } = actionCommand.optsWithGlobals();
|
|
64291
64372
|
if (profile !== void 0) process.env["AWS_PROFILE"] = profile;
|