@go-to-k/cdkd 0.224.0 → 0.225.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,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-DZGYMsjN.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-D0CE-sUC.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";
@@ -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.224.0";
1556
+ return "0.225.0";
1557
1557
  }
1558
1558
  /**
1559
1559
  * Generate a time-sortable unique run id, e.g.
@@ -17323,6 +17323,7 @@ var ApiGatewayV2Provider = class {
17323
17323
  "IdentitySource",
17324
17324
  "JwtConfiguration",
17325
17325
  "AuthorizerUri",
17326
+ "AuthorizerCredentialsArn",
17326
17327
  "AuthorizerPayloadFormatVersion",
17327
17328
  "AuthorizerResultTtlInSeconds",
17328
17329
  "EnableSimpleResponses",
@@ -17618,6 +17619,7 @@ var ApiGatewayV2Provider = class {
17618
17619
  IdentitySource: properties["IdentitySource"] ? typeof properties["IdentitySource"] === "string" ? [properties["IdentitySource"]] : properties["IdentitySource"] : void 0,
17619
17620
  JwtConfiguration: properties["JwtConfiguration"],
17620
17621
  AuthorizerUri: properties["AuthorizerUri"],
17622
+ AuthorizerCredentialsArn: properties["AuthorizerCredentialsArn"],
17621
17623
  AuthorizerPayloadFormatVersion: properties["AuthorizerPayloadFormatVersion"],
17622
17624
  AuthorizerResultTtlInSeconds: properties["AuthorizerResultTtlInSeconds"],
17623
17625
  EnableSimpleResponses: properties["EnableSimpleResponses"],
@@ -17775,6 +17777,7 @@ var ApiGatewayV2Provider = class {
17775
17777
  else if (resp.AuthorizerType === "REQUEST") {
17776
17778
  result["AuthorizerUri"] = resp.AuthorizerUri ?? "";
17777
17779
  result["AuthorizerPayloadFormatVersion"] = resp.AuthorizerPayloadFormatVersion ?? "";
17780
+ if (resp.AuthorizerCredentialsArn !== void 0) result["AuthorizerCredentialsArn"] = resp.AuthorizerCredentialsArn;
17778
17781
  if (resp.AuthorizerResultTtlInSeconds !== void 0) result["AuthorizerResultTtlInSeconds"] = resp.AuthorizerResultTtlInSeconds;
17779
17782
  if (resp.EnableSimpleResponses !== void 0) result["EnableSimpleResponses"] = resp.EnableSimpleResponses;
17780
17783
  if (resp.IdentityValidationExpression !== void 0) result["IdentityValidationExpression"] = resp.IdentityValidationExpression;
@@ -18071,7 +18074,7 @@ var ApiGatewayV2Provider = class {
18071
18074
  /**
18072
18075
  * `UpdateAuthorizer` keys on `(ApiId, AuthorizerId)`. Mutable fields
18073
18076
  * cdkd manages: `AuthorizerType` / `Name` / `IdentitySource` /
18074
- * `JwtConfiguration` / `AuthorizerUri` /
18077
+ * `JwtConfiguration` / `AuthorizerUri` / `AuthorizerCredentialsArn` /
18075
18078
  * `AuthorizerPayloadFormatVersion` / `AuthorizerResultTtlInSeconds` /
18076
18079
  * `EnableSimpleResponses`.
18077
18080
  */
@@ -18108,6 +18111,10 @@ var ApiGatewayV2Provider = class {
18108
18111
  input.AuthorizerUri = properties["AuthorizerUri"];
18109
18112
  changed = true;
18110
18113
  }
18114
+ if (properties["AuthorizerCredentialsArn"] !== void 0 && properties["AuthorizerCredentialsArn"] !== previousProperties["AuthorizerCredentialsArn"]) {
18115
+ input.AuthorizerCredentialsArn = properties["AuthorizerCredentialsArn"];
18116
+ changed = true;
18117
+ }
18111
18118
  if (properties["AuthorizerPayloadFormatVersion"] !== void 0 && properties["AuthorizerPayloadFormatVersion"] !== previousProperties["AuthorizerPayloadFormatVersion"]) {
18112
18119
  input.AuthorizerPayloadFormatVersion = properties["AuthorizerPayloadFormatVersion"];
18113
18120
  changed = true;
@@ -54608,7 +54615,7 @@ function reorderArgs(argv) {
54608
54615
  async function main() {
54609
54616
  installPipeCloseHandler();
54610
54617
  const program = new Command();
54611
- program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.224.0");
54618
+ program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.225.0");
54612
54619
  program.addCommand(createBootstrapCommand());
54613
54620
  program.addCommand(createSynthCommand());
54614
54621
  program.addCommand(createListCommand());