@go-to-k/cdkd 0.180.0 → 0.181.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/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { _ as withSkipPrefix, a as runDockerStreaming, c as getLogger, d as getLiveRenderer, f as PATTERN_B_NAME_PROPERTIES, g as generateResourceNameWithFallback, h as generateResourceName, i as runDockerForeground, n as formatDockerLoginError, p as PATTERN_B_RESOURCE_TYPES, r as getDockerCmd, u as runStackBuffered, v as withStackName } from "./docker-cmd-iDMcWcre.js";
3
- import { A as S3StateBackend, B as resolveCaptureObservedState, C as assertRegionMatch, D as DagBuilder, E as DiffCalculator, F as buildDockerImage, G as CFN_TEMPLATE_BODY_LIMIT, H as resolveStateBucketWithDefault, I as Synthesizer, J as findLargeInlineResources, K as CFN_TEMPLATE_URL_LIMIT, L as getDefaultStateBucketName, M as AssetPublisher, N as stringifyValue, O as TemplateParser, P as WorkGraph, Q as resolveBucketRegion, R as getLegacyStateBucketName, S as CloudControlProvider, T as applyRoleArnIfSet, U as resolveStateBucketWithDefaultAndSource, V as resolveSkipPrefix, W as warnDeprecatedNoPrefixCliFlag, X as AssemblyReader, Y as uploadCfnTemplate, _ as matchesCdkPath, a as withRetry, at as LocalStartServiceError, b as ProviderRegistry, bt as withErrorHandling, c as bold, ct as NestedStackChildDirectDestroyError, d as green, dt as ResourceTimeoutError, et as CdkdError, f as red, ft as ResourceUpdateNotSupportedError, g as CDK_PATH_TAG, h as collectInlinePolicyNamesManagedBySiblings, i as withResourceDeadline, it as LocalMigrateError, j as shouldRetainResource, k as LockManager, l as cyan, lt as PartialFailureError, m as IAMRoleProvider, mt as StackTerminationProtectionError, n as DEFAULT_RESOURCE_WARN_AFTER_MS, o as IMPLICIT_DELETE_DEPENDENCIES, p as yellow, pt as StackHasActiveImportsError, q as MIGRATE_TMP_PREFIX, r as DeployEngine, rt as LocalInvokeBuildError$1, s as formatResourceLine, st as MissingCdkCliError, t as DEFAULT_RESOURCE_TIMEOUT_MS, u as gray, ut as ProvisioningError, v as normalizeAwsTagsToCfn, w as IntrinsicFunctionResolver, x as findActionableSilentDrops, y as resolveExplicitPhysicalId, yt as normalizeAwsError, z as resolveApp } from "./deploy-engine-Db0n6EV_.js";
3
+ import { A as S3StateBackend, B as resolveCaptureObservedState, C as assertRegionMatch, D as DagBuilder, E as DiffCalculator, F as buildDockerImage, G as CFN_TEMPLATE_BODY_LIMIT, H as resolveStateBucketWithDefault, I as Synthesizer, J as findLargeInlineResources, K as CFN_TEMPLATE_URL_LIMIT, L as getDefaultStateBucketName, M as AssetPublisher, N as stringifyValue, O as TemplateParser, P as WorkGraph, Q as resolveBucketRegion, R as getLegacyStateBucketName, S as CloudControlProvider, T as applyRoleArnIfSet, U as resolveStateBucketWithDefaultAndSource, V as resolveSkipPrefix, W as warnDeprecatedNoPrefixCliFlag, X as AssemblyReader, Y as uploadCfnTemplate, _ as matchesCdkPath, a as withRetry, at as LocalStartServiceError, b as ProviderRegistry, bt as withErrorHandling, c as bold, ct as NestedStackChildDirectDestroyError, d as green, dt as ResourceTimeoutError, et as CdkdError, f as red, ft as ResourceUpdateNotSupportedError, g as CDK_PATH_TAG, h as collectInlinePolicyNamesManagedBySiblings, i as withResourceDeadline, it as LocalMigrateError, j as shouldRetainResource, k as LockManager, l as cyan, lt as PartialFailureError, m as IAMRoleProvider, mt as StackTerminationProtectionError, n as DEFAULT_RESOURCE_WARN_AFTER_MS, o as IMPLICIT_DELETE_DEPENDENCIES, p as yellow, pt as StackHasActiveImportsError, q as MIGRATE_TMP_PREFIX, r as DeployEngine, rt as LocalInvokeBuildError$1, s as formatResourceLine, st as MissingCdkCliError, t as DEFAULT_RESOURCE_TIMEOUT_MS, u as gray, ut as ProvisioningError, v as normalizeAwsTagsToCfn, w as IntrinsicFunctionResolver, x as findActionableSilentDrops, y as resolveExplicitPhysicalId, yt as normalizeAwsError, z as resolveApp } from "./deploy-engine-CZ4dDt6U.js";
4
4
  import { a as setAwsClients, i as resetAwsClients, r as getAwsClients, t as AwsClients } from "./aws-clients-B15NAPbL.js";
5
5
  import { AsyncLocalStorage } from "node:async_hooks";
6
6
  import { randomBytes, randomUUID } from "node:crypto";
@@ -22582,7 +22582,8 @@ var Route53Provider = class {
22582
22582
  "MultiValueAnswer",
22583
22583
  "HealthCheckId",
22584
22584
  "Comment",
22585
- "GeoLocation"
22585
+ "GeoLocation",
22586
+ "GeoProximityLocation"
22586
22587
  ])]]);
22587
22588
  getClient() {
22588
22589
  if (!this.route53Client) this.route53Client = new Route53Client(this.providerRegion ? { region: this.providerRegion } : {});
@@ -22811,7 +22812,8 @@ var Route53Provider = class {
22811
22812
  * Handles conversion of CDK-style ResourceRecords (array of strings)
22812
22813
  * to SDK-style ResourceRecords (array of {Value}).
22813
22814
  * Also handles routing policy properties: Weight, Region, Failover,
22814
- * MultiValueAnswer, GeoLocation, SetIdentifier, and HealthCheckId.
22815
+ * MultiValueAnswer, GeoLocation, GeoProximityLocation, SetIdentifier, and
22816
+ * HealthCheckId.
22815
22817
  */
22816
22818
  buildResourceRecordSet(properties) {
22817
22819
  const name = properties["Name"];
@@ -22853,6 +22855,19 @@ var Route53Provider = class {
22853
22855
  ...geoLocation["CountryCode"] !== void 0 ? { CountryCode: geoLocation["CountryCode"] } : {},
22854
22856
  ...geoLocation["SubdivisionCode"] !== void 0 ? { SubdivisionCode: geoLocation["SubdivisionCode"] } : {}
22855
22857
  };
22858
+ const geoProximityLocation = properties["GeoProximityLocation"];
22859
+ if (geoProximityLocation) {
22860
+ const gpl = {};
22861
+ if (geoProximityLocation["AWSRegion"] !== void 0) gpl.AWSRegion = geoProximityLocation["AWSRegion"];
22862
+ if (geoProximityLocation["LocalZoneGroup"] !== void 0) gpl.LocalZoneGroup = geoProximityLocation["LocalZoneGroup"];
22863
+ const coordinates = geoProximityLocation["Coordinates"];
22864
+ if (coordinates) gpl.Coordinates = {
22865
+ Latitude: coordinates["Latitude"],
22866
+ Longitude: coordinates["Longitude"]
22867
+ };
22868
+ if (geoProximityLocation["Bias"] !== void 0) gpl.Bias = Number(geoProximityLocation["Bias"]);
22869
+ recordSet.GeoProximityLocation = gpl;
22870
+ }
22856
22871
  return recordSet;
22857
22872
  }
22858
22873
  /**
@@ -22997,7 +23012,7 @@ var Route53Provider = class {
22997
23012
  * (`{zoneId}|{name}|{type}`). Surfaces TTL, ResourceRecords (with
22998
23013
  * `[{Value}]` -> string[] re-shape to match cdkd state), AliasTarget,
22999
23014
  * Weight, Region, Failover, MultiValueAnswer, HealthCheckId,
23000
- * GeoLocation, SetIdentifier.
23015
+ * GeoLocation, GeoProximityLocation, SetIdentifier.
23001
23016
  *
23002
23017
  * Returns `undefined` when the parent zone is gone (`NoSuchHostedZone`).
23003
23018
  */
@@ -23097,6 +23112,19 @@ var Route53Provider = class {
23097
23112
  if (recordSet.GeoLocation.SubdivisionCode !== void 0) geo["SubdivisionCode"] = recordSet.GeoLocation.SubdivisionCode;
23098
23113
  result["GeoLocation"] = geo;
23099
23114
  }
23115
+ if (recordSet.GeoProximityLocation) {
23116
+ const gpl = {};
23117
+ if (recordSet.GeoProximityLocation.AWSRegion !== void 0) gpl["AWSRegion"] = recordSet.GeoProximityLocation.AWSRegion;
23118
+ if (recordSet.GeoProximityLocation.LocalZoneGroup !== void 0) gpl["LocalZoneGroup"] = recordSet.GeoProximityLocation.LocalZoneGroup;
23119
+ if (recordSet.GeoProximityLocation.Coordinates) {
23120
+ const coords = {};
23121
+ if (recordSet.GeoProximityLocation.Coordinates.Latitude !== void 0) coords["Latitude"] = recordSet.GeoProximityLocation.Coordinates.Latitude;
23122
+ if (recordSet.GeoProximityLocation.Coordinates.Longitude !== void 0) coords["Longitude"] = recordSet.GeoProximityLocation.Coordinates.Longitude;
23123
+ gpl["Coordinates"] = coords;
23124
+ }
23125
+ if (recordSet.GeoProximityLocation.Bias !== void 0) gpl["Bias"] = recordSet.GeoProximityLocation.Bias;
23126
+ result["GeoProximityLocation"] = gpl;
23127
+ }
23100
23128
  return result;
23101
23129
  }
23102
23130
  /**
@@ -51474,7 +51502,7 @@ function reorderArgs(argv) {
51474
51502
  */
51475
51503
  async function main() {
51476
51504
  const program = new Command();
51477
- program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.180.0");
51505
+ program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.181.0");
51478
51506
  program.addCommand(createBootstrapCommand());
51479
51507
  program.addCommand(createSynthCommand());
51480
51508
  program.addCommand(createListCommand());