@go-to-k/cdkd 0.221.11 → 0.221.12

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/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { A as withErrorHandling, B as generateResourceNameWithFallback, C as StackHasActiveImportsError, F as getLiveRenderer, H as withStackName, I as PATTERN_B_NAME_PROPERTIES, L as PATTERN_B_RESOURCE_TYPES, M as getLogger, P as runStackBuffered, S as ResourceUpdateNotSupportedError, V as withSkipPrefix, _ as MissingCdkCliError, a as assertRegionMatch, b as ProvisioningError, f as LocalInvokeBuildError$1, i as resolveExplicitPhysicalId, k as normalizeAwsError, l as CdkdError, m as LocalStartServiceError, n as matchesCdkPath, o as disableInstanceApiTermination, p as LocalMigrateError, r as normalizeAwsTagsToCfn, s as isTerminationProtectionPropagationError, t as CDK_PATH_TAG, v as NestedStackChildDirectDestroyError, w as StackTerminationProtectionError, x as ResourceTimeoutError, y as PartialFailureError, z as generateResourceName } from "./import-helpers-wLipXr5g.js";
3
3
  import { a as setAwsClients, i as resetAwsClients, r as getAwsClients, t as AwsClients } from "./aws-clients-pjPwZz1r.js";
4
- import { $ as AssemblyReader, A as shouldRetainResource, B as getDefaultStateBucketName, C as applyRoleArnIfSet, D as LockManager, E as TemplateParser, F as formatDockerLoginError, G as resolveStateBucketWithDefault, H as resolveApp, I as getDockerCmd, J as CFN_TEMPLATE_BODY_LIMIT, K as resolveStateBucketWithDefaultAndSource, L as runDockerForeground, M as stringifyValue, N as WorkGraph, O as S3StateBackend, P as buildDockerImage, Q as uploadCfnTemplate, R as runDockerStreaming, S as IntrinsicFunctionResolver, T as DagBuilder, U as resolveCaptureObservedState, V as getLegacyStateBucketName, W as resolveSkipPrefix, X as MIGRATE_TMP_PREFIX, Y as CFN_TEMPLATE_URL_LIMIT, Z as findLargeInlineResources, _ as IAMRoleProvider, a as withRetry, b as findActionableSilentDrops, c as computeImplicitDeleteEdges, d as bold, f as cyan, g as yellow, h as red, i as withResourceDeadline, j as AssetPublisher, k as rebuildClientForBucketRegion, l as extractDeploymentEventError, m as green, n as DEFAULT_RESOURCE_WARN_AFTER_MS, o as isRetryableTransientError, p as gray, q as warnDeprecatedNoPrefixCliFlag, r as DeployEngine, s as IMPLICIT_DELETE_DEPENDENCIES, t as DEFAULT_RESOURCE_TIMEOUT_MS, tt as resolveBucketRegion, u as formatResourceLine, v as collectInlinePolicyNamesManagedBySiblings, w as DiffCalculator, x as CloudControlProvider, y as ProviderRegistry, z as Synthesizer } from "./deploy-engine-C4sRo95X.js";
4
+ import { $ as AssemblyReader, A as shouldRetainResource, B as getDefaultStateBucketName, C as applyRoleArnIfSet, D as LockManager, E as TemplateParser, F as formatDockerLoginError, G as resolveStateBucketWithDefault, H as resolveApp, I as getDockerCmd, J as CFN_TEMPLATE_BODY_LIMIT, K as resolveStateBucketWithDefaultAndSource, L as runDockerForeground, M as stringifyValue, N as WorkGraph, O as S3StateBackend, P as buildDockerImage, Q as uploadCfnTemplate, R as runDockerStreaming, S as IntrinsicFunctionResolver, T as DagBuilder, U as resolveCaptureObservedState, V as getLegacyStateBucketName, W as resolveSkipPrefix, X as MIGRATE_TMP_PREFIX, Y as CFN_TEMPLATE_URL_LIMIT, Z as findLargeInlineResources, _ as IAMRoleProvider, a as withRetry, b as findActionableSilentDrops, c as computeImplicitDeleteEdges, d as bold, f as cyan, g as yellow, h as red, i as withResourceDeadline, j as AssetPublisher, k as rebuildClientForBucketRegion, l as extractDeploymentEventError, m as green, n as DEFAULT_RESOURCE_WARN_AFTER_MS, o as isRetryableTransientError, p as gray, q as warnDeprecatedNoPrefixCliFlag, r as DeployEngine, s as IMPLICIT_DELETE_DEPENDENCIES, t as DEFAULT_RESOURCE_TIMEOUT_MS, tt as resolveBucketRegion, u as formatResourceLine, v as collectInlinePolicyNamesManagedBySiblings, w as DiffCalculator, x as CloudControlProvider, y as ProviderRegistry, z as Synthesizer } from "./deploy-engine-DZLu8l6Z.js";
5
5
  import { t as ASGProvider } from "./asg-provider-B_hrCxRx.js";
6
6
  import { AsyncLocalStorage } from "node:async_hooks";
7
7
  import { randomBytes, randomUUID } from "node:crypto";
@@ -35,6 +35,7 @@ import { CreateAliasCommand, CreateKeyCommand, DeleteAliasCommand, DescribeKeyCo
35
35
  import { CreateRepositoryCommand, DeleteLifecyclePolicyCommand, DeleteRepositoryCommand, DeleteRepositoryPolicyCommand, DescribeRepositoriesCommand, ECRClient, GetAuthorizationTokenCommand, GetLifecyclePolicyCommand, LifecyclePolicyNotFoundException, ListTagsForResourceCommand as ListTagsForResourceCommand$7, PutImageScanningConfigurationCommand, PutImageTagMutabilityCommand, PutLifecyclePolicyCommand, RepositoryNotFoundException, SetRepositoryPolicyCommand, TagResourceCommand as TagResourceCommand$10 } from "@aws-sdk/client-ecr";
36
36
  import graphlib from "graphlib";
37
37
  import { AddTagsToResourceCommand as AddTagsToResourceCommand$1, CreateDBClusterCommand, CreateDBInstanceCommand, CreateDBProxyCommand, CreateDBProxyEndpointCommand, CreateDBSubnetGroupCommand, DBProxyEndpointNotFoundFault, DBProxyNotFoundFault, DBProxyTargetGroupNotFoundFault, DBProxyTargetNotFoundFault, DeleteDBClusterCommand, DeleteDBInstanceCommand, DeleteDBProxyCommand, DeleteDBProxyEndpointCommand, DeleteDBSubnetGroupCommand, DeregisterDBProxyTargetsCommand, DescribeDBClustersCommand, DescribeDBInstancesCommand, DescribeDBProxiesCommand, DescribeDBProxyEndpointsCommand, DescribeDBProxyTargetGroupsCommand, DescribeDBProxyTargetsCommand, DescribeDBSubnetGroupsCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$8, ModifyDBClusterCommand, ModifyDBInstanceCommand, ModifyDBProxyCommand, ModifyDBProxyEndpointCommand, ModifyDBProxyTargetGroupCommand, ModifyDBSubnetGroupCommand, RDSClient, RegisterDBProxyTargetsCommand, RemoveTagsFromResourceCommand as RemoveTagsFromResourceCommand$1 } from "@aws-sdk/client-rds";
38
+ import { AddTagsToResourceCommand as AddTagsToResourceCommand$2, CreateCacheClusterCommand, CreateCacheSubnetGroupCommand, DeleteCacheClusterCommand, DeleteCacheSubnetGroupCommand, DescribeCacheClustersCommand, DescribeCacheSubnetGroupsCommand, ElastiCacheClient, ListTagsForResourceCommand as ListTagsForResourceCommand$9, ModifyCacheClusterCommand, ModifyCacheSubnetGroupCommand, RemoveTagsFromResourceCommand as RemoveTagsFromResourceCommand$2 } from "@aws-sdk/client-elasticache";
38
39
  import { Command, Option } from "commander";
39
40
  import { writeFileSync as writeFileSync$1 } from "fs";
40
41
  import { join as join$1 } from "path";
@@ -43,13 +44,12 @@ import readline from "node:readline/promises";
43
44
  import * as zlib from "node:zlib";
44
45
  import { ApplicationAutoScalingClient, DeleteScalingPolicyCommand, DeregisterScalableTargetCommand, DescribeScalableTargetsCommand, DescribeScalingPoliciesCommand, PutScalingPolicyCommand, RegisterScalableTargetCommand } from "@aws-sdk/client-application-auto-scaling";
45
46
  import { ApiGatewayV2Client, CreateApiCommand, CreateAuthorizerCommand as CreateAuthorizerCommand$1, CreateIntegrationCommand, CreateRouteCommand as CreateRouteCommand$1, CreateStageCommand as CreateStageCommand$1, DeleteApiCommand, DeleteAuthorizerCommand as DeleteAuthorizerCommand$1, DeleteIntegrationCommand, DeleteRouteCommand as DeleteRouteCommand$1, DeleteStageCommand as DeleteStageCommand$1, GetApiCommand, GetApisCommand, GetAuthorizerCommand as GetAuthorizerCommand$1, GetIntegrationCommand, GetRouteCommand, GetStageCommand as GetStageCommand$1, NotFoundException as NotFoundException$3, UpdateApiCommand, UpdateAuthorizerCommand as UpdateAuthorizerCommand$1, UpdateIntegrationCommand, UpdateRouteCommand, UpdateStageCommand as UpdateStageCommand$1 } from "@aws-sdk/client-apigatewayv2";
46
- import { CreateStateMachineCommand, DeleteStateMachineCommand, DescribeStateMachineCommand, ListStateMachinesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$9, SFNClient, StateMachineDoesNotExist, TagResourceCommand as TagResourceCommand$11, UntagResourceCommand as UntagResourceCommand$10, UpdateStateMachineCommand } from "@aws-sdk/client-sfn";
47
- import { CreateClusterCommand, CreateServiceCommand, DeleteClusterCommand, DeleteServiceCommand, DeregisterTaskDefinitionCommand, DescribeClustersCommand, DescribeServicesCommand, DescribeTaskDefinitionCommand, ECSClient, ListClustersCommand, ListServicesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$10, PutClusterCapacityProvidersCommand, RegisterTaskDefinitionCommand, TagResourceCommand as TagResourceCommand$12, UntagResourceCommand as UntagResourceCommand$11, UpdateClusterCommand, UpdateServiceCommand } from "@aws-sdk/client-ecs";
48
- import { AddTagsToResourceCommand as AddTagsToResourceCommand$2, CreateDBClusterCommand as CreateDBClusterCommand$1, CreateDBInstanceCommand as CreateDBInstanceCommand$1, CreateDBSubnetGroupCommand as CreateDBSubnetGroupCommand$1, DeleteDBClusterCommand as DeleteDBClusterCommand$1, DeleteDBInstanceCommand as DeleteDBInstanceCommand$1, DeleteDBSubnetGroupCommand as DeleteDBSubnetGroupCommand$1, DescribeDBClustersCommand as DescribeDBClustersCommand$1, DescribeDBInstancesCommand as DescribeDBInstancesCommand$1, DescribeDBSubnetGroupsCommand as DescribeDBSubnetGroupsCommand$1, DocDBClient, ListTagsForResourceCommand as ListTagsForResourceCommand$11, ModifyDBClusterCommand as ModifyDBClusterCommand$1, ModifyDBInstanceCommand as ModifyDBInstanceCommand$1, ModifyDBSubnetGroupCommand as ModifyDBSubnetGroupCommand$1, RemoveTagsFromResourceCommand as RemoveTagsFromResourceCommand$2 } from "@aws-sdk/client-docdb";
49
- import { AddTagsToResourceCommand as AddTagsToResourceCommand$3, CreateDBClusterCommand as CreateDBClusterCommand$2, CreateDBInstanceCommand as CreateDBInstanceCommand$2, CreateDBSubnetGroupCommand as CreateDBSubnetGroupCommand$2, DeleteDBClusterCommand as DeleteDBClusterCommand$2, DeleteDBInstanceCommand as DeleteDBInstanceCommand$2, DeleteDBSubnetGroupCommand as DeleteDBSubnetGroupCommand$2, DescribeDBClustersCommand as DescribeDBClustersCommand$2, DescribeDBInstancesCommand as DescribeDBInstancesCommand$2, DescribeDBSubnetGroupsCommand as DescribeDBSubnetGroupsCommand$2, ListTagsForResourceCommand as ListTagsForResourceCommand$12, ModifyDBClusterCommand as ModifyDBClusterCommand$2, ModifyDBInstanceCommand as ModifyDBInstanceCommand$2, ModifyDBSubnetGroupCommand as ModifyDBSubnetGroupCommand$2, NeptuneClient, RemoveTagsFromResourceCommand as RemoveTagsFromResourceCommand$3 } from "@aws-sdk/client-neptune";
50
- import { CreateWebACLCommand, DeleteWebACLCommand, GetWebACLCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$13, ListWebACLsCommand, TagResourceCommand as TagResourceCommand$13, UntagResourceCommand as UntagResourceCommand$12, UpdateWebACLCommand, WAFNonexistentItemException, WAFV2Client } from "@aws-sdk/client-wafv2";
51
- import { CognitoIdentityProviderClient, CreateUserPoolCommand, DeleteUserPoolCommand, DescribeUserPoolCommand, GetUserPoolMfaConfigCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$14, ListUserPoolsCommand, ResourceNotFoundException as ResourceNotFoundException$7, SetUserPoolMfaConfigCommand, UpdateUserPoolCommand } from "@aws-sdk/client-cognito-identity-provider";
52
- import { AddTagsToResourceCommand as AddTagsToResourceCommand$4, CreateCacheClusterCommand, CreateCacheSubnetGroupCommand, DeleteCacheClusterCommand, DeleteCacheSubnetGroupCommand, DescribeCacheClustersCommand, DescribeCacheSubnetGroupsCommand, ElastiCacheClient, ListTagsForResourceCommand as ListTagsForResourceCommand$15, ModifyCacheClusterCommand, ModifyCacheSubnetGroupCommand, RemoveTagsFromResourceCommand as RemoveTagsFromResourceCommand$4 } from "@aws-sdk/client-elasticache";
47
+ import { CreateStateMachineCommand, DeleteStateMachineCommand, DescribeStateMachineCommand, ListStateMachinesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$10, SFNClient, StateMachineDoesNotExist, TagResourceCommand as TagResourceCommand$11, UntagResourceCommand as UntagResourceCommand$10, UpdateStateMachineCommand } from "@aws-sdk/client-sfn";
48
+ import { CreateClusterCommand, CreateServiceCommand, DeleteClusterCommand, DeleteServiceCommand, DeregisterTaskDefinitionCommand, DescribeClustersCommand, DescribeServicesCommand, DescribeTaskDefinitionCommand, ECSClient, ListClustersCommand, ListServicesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$11, PutClusterCapacityProvidersCommand, RegisterTaskDefinitionCommand, TagResourceCommand as TagResourceCommand$12, UntagResourceCommand as UntagResourceCommand$11, UpdateClusterCommand, UpdateServiceCommand } from "@aws-sdk/client-ecs";
49
+ import { AddTagsToResourceCommand as AddTagsToResourceCommand$3, CreateDBClusterCommand as CreateDBClusterCommand$1, CreateDBInstanceCommand as CreateDBInstanceCommand$1, CreateDBSubnetGroupCommand as CreateDBSubnetGroupCommand$1, DeleteDBClusterCommand as DeleteDBClusterCommand$1, DeleteDBInstanceCommand as DeleteDBInstanceCommand$1, DeleteDBSubnetGroupCommand as DeleteDBSubnetGroupCommand$1, DescribeDBClustersCommand as DescribeDBClustersCommand$1, DescribeDBInstancesCommand as DescribeDBInstancesCommand$1, DescribeDBSubnetGroupsCommand as DescribeDBSubnetGroupsCommand$1, DocDBClient, ListTagsForResourceCommand as ListTagsForResourceCommand$12, ModifyDBClusterCommand as ModifyDBClusterCommand$1, ModifyDBInstanceCommand as ModifyDBInstanceCommand$1, ModifyDBSubnetGroupCommand as ModifyDBSubnetGroupCommand$1, RemoveTagsFromResourceCommand as RemoveTagsFromResourceCommand$3 } from "@aws-sdk/client-docdb";
50
+ import { AddTagsToResourceCommand as AddTagsToResourceCommand$4, CreateDBClusterCommand as CreateDBClusterCommand$2, CreateDBInstanceCommand as CreateDBInstanceCommand$2, CreateDBSubnetGroupCommand as CreateDBSubnetGroupCommand$2, DeleteDBClusterCommand as DeleteDBClusterCommand$2, DeleteDBInstanceCommand as DeleteDBInstanceCommand$2, DeleteDBSubnetGroupCommand as DeleteDBSubnetGroupCommand$2, DescribeDBClustersCommand as DescribeDBClustersCommand$2, DescribeDBInstancesCommand as DescribeDBInstancesCommand$2, DescribeDBSubnetGroupsCommand as DescribeDBSubnetGroupsCommand$2, ListTagsForResourceCommand as ListTagsForResourceCommand$13, ModifyDBClusterCommand as ModifyDBClusterCommand$2, ModifyDBInstanceCommand as ModifyDBInstanceCommand$2, ModifyDBSubnetGroupCommand as ModifyDBSubnetGroupCommand$2, NeptuneClient, RemoveTagsFromResourceCommand as RemoveTagsFromResourceCommand$4 } from "@aws-sdk/client-neptune";
51
+ import { CreateWebACLCommand, DeleteWebACLCommand, GetWebACLCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$14, ListWebACLsCommand, TagResourceCommand as TagResourceCommand$13, UntagResourceCommand as UntagResourceCommand$12, UpdateWebACLCommand, WAFNonexistentItemException, WAFV2Client } from "@aws-sdk/client-wafv2";
52
+ import { CognitoIdentityProviderClient, CreateUserPoolCommand, DeleteUserPoolCommand, DescribeUserPoolCommand, GetUserPoolMfaConfigCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$15, ListUserPoolsCommand, ResourceNotFoundException as ResourceNotFoundException$7, SetUserPoolMfaConfigCommand, UpdateUserPoolCommand } from "@aws-sdk/client-cognito-identity-provider";
53
53
  import { CreatePrivateDnsNamespaceCommand, CreateServiceCommand as CreateServiceCommand$1, DeleteNamespaceCommand, DeleteServiceCommand as DeleteServiceCommand$1, GetNamespaceCommand, GetOperationCommand, GetServiceCommand, ListNamespacesCommand, ListServicesCommand as ListServicesCommand$1, ListTagsForResourceCommand as ListTagsForResourceCommand$16, NamespaceNotFound, ServiceDiscoveryClient, ServiceNotFound, UpdatePrivateDnsNamespaceCommand, UpdateServiceCommand as UpdateServiceCommand$1 } from "@aws-sdk/client-servicediscovery";
54
54
  import { AppSyncClient, CreateApiKeyCommand, CreateDataSourceCommand, CreateGraphqlApiCommand, CreateResolverCommand, DeleteApiKeyCommand, DeleteDataSourceCommand, DeleteGraphqlApiCommand, DeleteResolverCommand, GetDataSourceCommand, GetGraphqlApiCommand, GetIntrospectionSchemaCommand, GetResolverCommand, ListApiKeysCommand, ListGraphqlApisCommand, NotFoundException as NotFoundException$4, StartSchemaCreationCommand, TagResourceCommand as TagResourceCommand$14, UntagResourceCommand as UntagResourceCommand$13, UpdateApiKeyCommand, UpdateDataSourceCommand, UpdateGraphqlApiCommand, UpdateResolverCommand } from "@aws-sdk/client-appsync";
55
55
  import { parse, print } from "graphql";
@@ -1553,7 +1553,7 @@ const FLUSH_INTERVAL_MS = 2e3;
1553
1553
  const FLUSH_EVENT_THRESHOLD = 50;
1554
1554
  /** Build-time cdkd version, with a dev fallback for non-built contexts. */
1555
1555
  function getCdkdVersion() {
1556
- return "0.221.11";
1556
+ return "0.221.12";
1557
1557
  }
1558
1558
  /**
1559
1559
  * Generate a time-sortable unique run id, e.g.
@@ -19122,7 +19122,7 @@ var StepFunctionsProvider = class {
19122
19122
  result["EncryptionConfiguration"] = ec;
19123
19123
  }
19124
19124
  try {
19125
- result["Tags"] = normalizeAwsTagsToCfn((await this.getClient().send(new ListTagsForResourceCommand$9({ resourceArn: physicalId }))).tags);
19125
+ result["Tags"] = normalizeAwsTagsToCfn((await this.getClient().send(new ListTagsForResourceCommand$10({ resourceArn: physicalId }))).tags);
19126
19126
  } catch (err) {
19127
19127
  if (!(err instanceof StateMachineDoesNotExist)) throw err;
19128
19128
  }
@@ -19160,7 +19160,7 @@ var StepFunctionsProvider = class {
19160
19160
  const list = await this.getClient().send(new ListStateMachinesCommand({ ...nextToken && { nextToken } }));
19161
19161
  for (const sm of list.stateMachines ?? []) {
19162
19162
  if (!sm.stateMachineArn) continue;
19163
- const tagsResp = await this.getClient().send(new ListTagsForResourceCommand$9({ resourceArn: sm.stateMachineArn }));
19163
+ const tagsResp = await this.getClient().send(new ListTagsForResourceCommand$10({ resourceArn: sm.stateMachineArn }));
19164
19164
  if (this.tagsMatchCdkPath(tagsResp.tags, input.cdkPath)) return {
19165
19165
  physicalId: sm.stateMachineArn,
19166
19166
  attributes: {}
@@ -20284,7 +20284,7 @@ var ECSProvider = class {
20284
20284
  do {
20285
20285
  const list = await this.getClient().send(new ListClustersCommand({ ...nextToken && { nextToken } }));
20286
20286
  for (const arn of list.clusterArns ?? []) {
20287
- const tagsResp = await this.getClient().send(new ListTagsForResourceCommand$10({ resourceArn: arn }));
20287
+ const tagsResp = await this.getClient().send(new ListTagsForResourceCommand$11({ resourceArn: arn }));
20288
20288
  if (this.tagsMatchCdkPath(tagsResp.tags, input.cdkPath)) return {
20289
20289
  physicalId: arn.substring(arn.lastIndexOf("/") + 1),
20290
20290
  attributes: {}
@@ -20311,7 +20311,7 @@ var ECSProvider = class {
20311
20311
  ...svcToken && { nextToken: svcToken }
20312
20312
  }));
20313
20313
  for (const svcArn of svcList.serviceArns ?? []) {
20314
- const tagsResp = await this.getClient().send(new ListTagsForResourceCommand$10({ resourceArn: svcArn }));
20314
+ const tagsResp = await this.getClient().send(new ListTagsForResourceCommand$11({ resourceArn: svcArn }));
20315
20315
  if (this.tagsMatchCdkPath(tagsResp.tags, input.cdkPath)) return {
20316
20316
  physicalId: `${clusterArn}|${svcArn.substring(svcArn.lastIndexOf("/") + 1)}`,
20317
20317
  attributes: {}
@@ -23165,14 +23165,14 @@ var DocDBProvider = class {
23165
23165
  const tagsToRemove = [];
23166
23166
  for (const k of oldMap.keys()) if (!newMap.has(k)) tagsToRemove.push(k);
23167
23167
  if (tagsToRemove.length > 0) {
23168
- await this.getClient().send(new RemoveTagsFromResourceCommand$2({
23168
+ await this.getClient().send(new RemoveTagsFromResourceCommand$3({
23169
23169
  ResourceName: arn,
23170
23170
  TagKeys: tagsToRemove
23171
23171
  }));
23172
23172
  this.logger.debug(`Removed ${tagsToRemove.length} tag(s) from DocDB resource ${arn}`);
23173
23173
  }
23174
23174
  if (tagsToAdd.length > 0) {
23175
- await this.getClient().send(new AddTagsToResourceCommand$2({
23175
+ await this.getClient().send(new AddTagsToResourceCommand$3({
23176
23176
  ResourceName: arn,
23177
23177
  Tags: tagsToAdd
23178
23178
  }));
@@ -23375,7 +23375,7 @@ var DocDBProvider = class {
23375
23375
  */
23376
23376
  async attachTags(result, arn) {
23377
23377
  try {
23378
- result["Tags"] = normalizeAwsTagsToCfn((await this.getClient().send(new ListTagsForResourceCommand$11({ ResourceName: arn }))).TagList);
23378
+ result["Tags"] = normalizeAwsTagsToCfn((await this.getClient().send(new ListTagsForResourceCommand$12({ ResourceName: arn }))).TagList);
23379
23379
  } catch (err) {
23380
23380
  this.logger.debug(`DocDB ListTagsForResource(${arn}) failed: ${err instanceof Error ? err.message : String(err)}`);
23381
23381
  }
@@ -23398,7 +23398,7 @@ var DocDBProvider = class {
23398
23398
  const list = await this.getClient().send(new DescribeDBInstancesCommand$1({ ...marker && { Marker: marker } }));
23399
23399
  for (const inst of list.DBInstances ?? []) {
23400
23400
  if (!inst.DBInstanceIdentifier || !inst.DBInstanceArn) continue;
23401
- if (matchesCdkPath((await this.getClient().send(new ListTagsForResourceCommand$11({ ResourceName: inst.DBInstanceArn }))).TagList, input.cdkPath)) return {
23401
+ if (matchesCdkPath((await this.getClient().send(new ListTagsForResourceCommand$12({ ResourceName: inst.DBInstanceArn }))).TagList, input.cdkPath)) return {
23402
23402
  physicalId: inst.DBInstanceIdentifier,
23403
23403
  attributes: {}
23404
23404
  };
@@ -23425,7 +23425,7 @@ var DocDBProvider = class {
23425
23425
  const list = await this.getClient().send(new DescribeDBClustersCommand$1({ ...marker && { Marker: marker } }));
23426
23426
  for (const c of list.DBClusters ?? []) {
23427
23427
  if (!c.DBClusterIdentifier || !c.DBClusterArn) continue;
23428
- if (matchesCdkPath((await this.getClient().send(new ListTagsForResourceCommand$11({ ResourceName: c.DBClusterArn }))).TagList, input.cdkPath)) return {
23428
+ if (matchesCdkPath((await this.getClient().send(new ListTagsForResourceCommand$12({ ResourceName: c.DBClusterArn }))).TagList, input.cdkPath)) return {
23429
23429
  physicalId: c.DBClusterIdentifier,
23430
23430
  attributes: {}
23431
23431
  };
@@ -23452,7 +23452,7 @@ var DocDBProvider = class {
23452
23452
  const list = await this.getClient().send(new DescribeDBSubnetGroupsCommand$1({ ...marker && { Marker: marker } }));
23453
23453
  for (const sg of list.DBSubnetGroups ?? []) {
23454
23454
  if (!sg.DBSubnetGroupName || !sg.DBSubnetGroupArn) continue;
23455
- if (matchesCdkPath((await this.getClient().send(new ListTagsForResourceCommand$11({ ResourceName: sg.DBSubnetGroupArn }))).TagList, input.cdkPath)) return {
23455
+ if (matchesCdkPath((await this.getClient().send(new ListTagsForResourceCommand$12({ ResourceName: sg.DBSubnetGroupArn }))).TagList, input.cdkPath)) return {
23456
23456
  physicalId: sg.DBSubnetGroupName,
23457
23457
  attributes: {}
23458
23458
  };
@@ -23843,14 +23843,14 @@ var NeptuneProvider = class {
23843
23843
  const tagsToRemove = [];
23844
23844
  for (const k of oldMap.keys()) if (!newMap.has(k)) tagsToRemove.push(k);
23845
23845
  if (tagsToRemove.length > 0) {
23846
- await this.getClient().send(new RemoveTagsFromResourceCommand$3({
23846
+ await this.getClient().send(new RemoveTagsFromResourceCommand$4({
23847
23847
  ResourceName: arn,
23848
23848
  TagKeys: tagsToRemove
23849
23849
  }));
23850
23850
  this.logger.debug(`Removed ${tagsToRemove.length} tag(s) from Neptune resource ${arn}`);
23851
23851
  }
23852
23852
  if (tagsToAdd.length > 0) {
23853
- await this.getClient().send(new AddTagsToResourceCommand$3({
23853
+ await this.getClient().send(new AddTagsToResourceCommand$4({
23854
23854
  ResourceName: arn,
23855
23855
  Tags: tagsToAdd
23856
23856
  }));
@@ -24045,7 +24045,7 @@ var NeptuneProvider = class {
24045
24045
  */
24046
24046
  async attachTags(result, arn) {
24047
24047
  try {
24048
- result["Tags"] = normalizeAwsTagsToCfn((await this.getClient().send(new ListTagsForResourceCommand$12({ ResourceName: arn }))).TagList);
24048
+ result["Tags"] = normalizeAwsTagsToCfn((await this.getClient().send(new ListTagsForResourceCommand$13({ ResourceName: arn }))).TagList);
24049
24049
  } catch (err) {
24050
24050
  this.logger.debug(`Neptune ListTagsForResource(${arn}) failed: ${err instanceof Error ? err.message : String(err)}`);
24051
24051
  }
@@ -24068,7 +24068,7 @@ var NeptuneProvider = class {
24068
24068
  const list = await this.getClient().send(new DescribeDBInstancesCommand$2({ ...marker && { Marker: marker } }));
24069
24069
  for (const inst of list.DBInstances ?? []) {
24070
24070
  if (!inst.DBInstanceIdentifier || !inst.DBInstanceArn) continue;
24071
- if (matchesCdkPath((await this.getClient().send(new ListTagsForResourceCommand$12({ ResourceName: inst.DBInstanceArn }))).TagList, input.cdkPath)) return {
24071
+ if (matchesCdkPath((await this.getClient().send(new ListTagsForResourceCommand$13({ ResourceName: inst.DBInstanceArn }))).TagList, input.cdkPath)) return {
24072
24072
  physicalId: inst.DBInstanceIdentifier,
24073
24073
  attributes: {}
24074
24074
  };
@@ -24095,7 +24095,7 @@ var NeptuneProvider = class {
24095
24095
  const list = await this.getClient().send(new DescribeDBClustersCommand$2({ ...marker && { Marker: marker } }));
24096
24096
  for (const c of list.DBClusters ?? []) {
24097
24097
  if (!c.DBClusterIdentifier || !c.DBClusterArn) continue;
24098
- if (matchesCdkPath((await this.getClient().send(new ListTagsForResourceCommand$12({ ResourceName: c.DBClusterArn }))).TagList, input.cdkPath)) return {
24098
+ if (matchesCdkPath((await this.getClient().send(new ListTagsForResourceCommand$13({ ResourceName: c.DBClusterArn }))).TagList, input.cdkPath)) return {
24099
24099
  physicalId: c.DBClusterIdentifier,
24100
24100
  attributes: {}
24101
24101
  };
@@ -24122,7 +24122,7 @@ var NeptuneProvider = class {
24122
24122
  const list = await this.getClient().send(new DescribeDBSubnetGroupsCommand$2({ ...marker && { Marker: marker } }));
24123
24123
  for (const sg of list.DBSubnetGroups ?? []) {
24124
24124
  if (!sg.DBSubnetGroupName || !sg.DBSubnetGroupArn) continue;
24125
- if (matchesCdkPath((await this.getClient().send(new ListTagsForResourceCommand$12({ ResourceName: sg.DBSubnetGroupArn }))).TagList, input.cdkPath)) return {
24125
+ if (matchesCdkPath((await this.getClient().send(new ListTagsForResourceCommand$13({ ResourceName: sg.DBSubnetGroupArn }))).TagList, input.cdkPath)) return {
24126
24126
  physicalId: sg.DBSubnetGroupName,
24127
24127
  attributes: {}
24128
24128
  };
@@ -25172,7 +25172,7 @@ var WAFv2WebACLProvider = class {
25172
25172
  result["TokenDomains"] = webACL.TokenDomains ? [...webACL.TokenDomains] : [];
25173
25173
  if (webACL.AssociationConfig) result["AssociationConfig"] = webACL.AssociationConfig;
25174
25174
  try {
25175
- result["Tags"] = normalizeAwsTagsToCfn((await this.getClient().send(new ListTagsForResourceCommand$13({ ResourceARN: physicalId }))).TagInfoForResource?.TagList);
25175
+ result["Tags"] = normalizeAwsTagsToCfn((await this.getClient().send(new ListTagsForResourceCommand$14({ ResourceARN: physicalId }))).TagInfoForResource?.TagList);
25176
25176
  } catch (err) {
25177
25177
  this.logger.debug(`WAFv2 ListTagsForResource(${physicalId}) failed: ${err instanceof Error ? err.message : String(err)}`);
25178
25178
  }
@@ -25217,7 +25217,7 @@ var WAFv2WebACLProvider = class {
25217
25217
  }));
25218
25218
  for (const item of list.WebACLs ?? []) {
25219
25219
  if (!item.ARN) continue;
25220
- const tagList = (await this.getClient().send(new ListTagsForResourceCommand$13({ ResourceARN: item.ARN }))).TagInfoForResource?.TagList;
25220
+ const tagList = (await this.getClient().send(new ListTagsForResourceCommand$14({ ResourceARN: item.ARN }))).TagInfoForResource?.TagList;
25221
25221
  if (matchesCdkPath(tagList, input.cdkPath)) return {
25222
25222
  physicalId: item.ARN,
25223
25223
  attributes: {}
@@ -25698,7 +25698,7 @@ var CognitoUserPoolProvider = class {
25698
25698
  if (input.cdkPath) try {
25699
25699
  const arn = (await this.getClient().send(new DescribeUserPoolCommand({ UserPoolId: pool.Id }))).UserPool?.Arn;
25700
25700
  if (!arn) continue;
25701
- if ((await this.getClient().send(new ListTagsForResourceCommand$14({ ResourceArn: arn }))).Tags?.["aws:cdk:path"] === input.cdkPath) return {
25701
+ if ((await this.getClient().send(new ListTagsForResourceCommand$15({ ResourceArn: arn }))).Tags?.["aws:cdk:path"] === input.cdkPath) return {
25702
25702
  physicalId: pool.Id,
25703
25703
  attributes: {}
25704
25704
  };
@@ -25982,14 +25982,14 @@ var ElastiCacheProvider = class {
25982
25982
  const tagsToRemove = [];
25983
25983
  for (const k of oldMap.keys()) if (!newMap.has(k)) tagsToRemove.push(k);
25984
25984
  if (tagsToRemove.length > 0) {
25985
- await this.getClient().send(new RemoveTagsFromResourceCommand$4({
25985
+ await this.getClient().send(new RemoveTagsFromResourceCommand$2({
25986
25986
  ResourceName: arn,
25987
25987
  TagKeys: tagsToRemove
25988
25988
  }));
25989
25989
  this.logger.debug(`Removed ${tagsToRemove.length} tag(s) from ElastiCache resource ${arn}`);
25990
25990
  }
25991
25991
  if (tagsToAdd.length > 0) {
25992
- await this.getClient().send(new AddTagsToResourceCommand$4({
25992
+ await this.getClient().send(new AddTagsToResourceCommand$2({
25993
25993
  ResourceName: arn,
25994
25994
  Tags: tagsToAdd
25995
25995
  }));
@@ -26136,7 +26136,7 @@ var ElastiCacheProvider = class {
26136
26136
  /** Best-effort tag fetch — failures omit the key without breaking the read. */
26137
26137
  async attachTags(result, arn) {
26138
26138
  try {
26139
- result["Tags"] = normalizeAwsTagsToCfn((await this.getClient().send(new ListTagsForResourceCommand$15({ ResourceName: arn }))).TagList);
26139
+ result["Tags"] = normalizeAwsTagsToCfn((await this.getClient().send(new ListTagsForResourceCommand$9({ ResourceName: arn }))).TagList);
26140
26140
  } catch (err) {
26141
26141
  this.logger.debug(`ElastiCache ListTagsForResource(${arn}) failed: ${err instanceof Error ? err.message : String(err)}`);
26142
26142
  }
@@ -26182,7 +26182,7 @@ var ElastiCacheProvider = class {
26182
26182
  for (const c of list.CacheClusters ?? []) {
26183
26183
  if (!c.CacheClusterId) continue;
26184
26184
  const arn = c.ARN ?? await this.buildClusterArn(c.CacheClusterId);
26185
- if (matchesCdkPath((await this.getClient().send(new ListTagsForResourceCommand$15({ ResourceName: arn }))).TagList, input.cdkPath)) return {
26185
+ if (matchesCdkPath((await this.getClient().send(new ListTagsForResourceCommand$9({ ResourceName: arn }))).TagList, input.cdkPath)) return {
26186
26186
  physicalId: c.CacheClusterId,
26187
26187
  attributes: {}
26188
26188
  };
@@ -26210,7 +26210,7 @@ var ElastiCacheProvider = class {
26210
26210
  for (const g of list.CacheSubnetGroups ?? []) {
26211
26211
  if (!g.CacheSubnetGroupName) continue;
26212
26212
  const arn = g.ARN ?? await this.buildSubnetGroupArn(g.CacheSubnetGroupName);
26213
- if (matchesCdkPath((await this.getClient().send(new ListTagsForResourceCommand$15({ ResourceName: arn }))).TagList, input.cdkPath)) return {
26213
+ if (matchesCdkPath((await this.getClient().send(new ListTagsForResourceCommand$9({ ResourceName: arn }))).TagList, input.cdkPath)) return {
26214
26214
  physicalId: g.CacheSubnetGroupName,
26215
26215
  attributes: {}
26216
26216
  };
@@ -54024,7 +54024,7 @@ function reorderArgs(argv) {
54024
54024
  async function main() {
54025
54025
  installPipeCloseHandler();
54026
54026
  const program = new Command();
54027
- program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.221.11");
54027
+ program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.221.12");
54028
54028
  program.addCommand(createBootstrapCommand());
54029
54029
  program.addCommand(createSynthCommand());
54030
54030
  program.addCommand(createListCommand());