@go-to-k/cdkd 0.177.0 → 0.179.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-C4CvmQbh.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-CTfmNriv.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";
@@ -15932,28 +15932,39 @@ var ApiGatewayV2Provider = class {
15932
15932
  "ProtocolType",
15933
15933
  "Description",
15934
15934
  "CorsConfiguration",
15935
- "Tags"
15935
+ "Tags",
15936
+ "DisableExecuteApiEndpoint",
15937
+ "Version",
15938
+ "RouteSelectionExpression",
15939
+ "ApiKeySelectionExpression"
15936
15940
  ])],
15937
15941
  ["AWS::ApiGatewayV2::Stage", new Set([
15938
15942
  "ApiId",
15939
15943
  "StageName",
15940
15944
  "AutoDeploy",
15941
15945
  "Description",
15942
- "Tags"
15946
+ "Tags",
15947
+ "StageVariables",
15948
+ "DefaultRouteSettings"
15943
15949
  ])],
15944
15950
  ["AWS::ApiGatewayV2::Integration", new Set([
15945
15951
  "ApiId",
15946
15952
  "IntegrationType",
15947
15953
  "IntegrationUri",
15948
15954
  "IntegrationMethod",
15949
- "PayloadFormatVersion"
15955
+ "PayloadFormatVersion",
15956
+ "TimeoutInMillis",
15957
+ "RequestParameters",
15958
+ "Description"
15950
15959
  ])],
15951
15960
  ["AWS::ApiGatewayV2::Route", new Set([
15952
15961
  "ApiId",
15953
15962
  "RouteKey",
15954
15963
  "Target",
15955
15964
  "AuthorizationType",
15956
- "AuthorizerId"
15965
+ "AuthorizerId",
15966
+ "AuthorizationScopes",
15967
+ "OperationName"
15957
15968
  ])],
15958
15969
  ["AWS::ApiGatewayV2::Authorizer", new Set([
15959
15970
  "ApiId",
@@ -15962,7 +15973,9 @@ var ApiGatewayV2Provider = class {
15962
15973
  "IdentitySource",
15963
15974
  "JwtConfiguration",
15964
15975
  "AuthorizerUri",
15965
- "AuthorizerPayloadFormatVersion"
15976
+ "AuthorizerPayloadFormatVersion",
15977
+ "AuthorizerResultTtlInSeconds",
15978
+ "EnableSimpleResponses"
15966
15979
  ])]
15967
15980
  ]);
15968
15981
  /**
@@ -15982,7 +15995,10 @@ var ApiGatewayV2Provider = class {
15982
15995
  ["BodyS3Location", "OpenAPI/Swagger spec on S3; routed through ImportApi, not the field-by-field CreateApi path."],
15983
15996
  ["FailOnWarnings", "OpenAPI-import-only flag; meaningful only on the ImportApi code path."],
15984
15997
  ["DisableSchemaValidation", "Schema-validation toggle on CreateApi/UpdateApi that AWS docs scope to WebSocket APIs using AWS::ApiGatewayV2::Model — that resource type is not yet registered in cdkd, so the toggle has no effect to wire."],
15985
- ["BasePath", "OpenAPI-import-only basePath override; meaningful only on the ImportApi code path."]
15998
+ ["BasePath", "OpenAPI-import-only basePath override; meaningful only on the ImportApi code path."],
15999
+ ["RouteKey", "Quick-create shortcut: CreateApi inline-creates a default route+integration from RouteKey/Target/CredentialsArn. cdkd models routes/integrations as explicit AWS::ApiGatewayV2::Route/::Integration resources, so this convenience field is not wired."],
16000
+ ["Target", "Quick-create shortcut (paired with RouteKey/CredentialsArn); cdkd models the integration as an explicit AWS::ApiGatewayV2::Integration resource instead."],
16001
+ ["CredentialsArn", "Quick-create shortcut (paired with RouteKey/Target); cdkd models the integration as an explicit AWS::ApiGatewayV2::Integration resource instead."]
15986
16002
  ])]]);
15987
16003
  getClient() {
15988
16004
  if (!this.client) this.client = new ApiGatewayV2Client(this.providerRegion ? { region: this.providerRegion } : {});
@@ -16052,6 +16068,10 @@ var ApiGatewayV2Provider = class {
16052
16068
  ProtocolType: protocolType,
16053
16069
  Description: properties["Description"],
16054
16070
  CorsConfiguration: properties["CorsConfiguration"],
16071
+ DisableExecuteApiEndpoint: properties["DisableExecuteApiEndpoint"],
16072
+ Version: properties["Version"],
16073
+ RouteSelectionExpression: properties["RouteSelectionExpression"],
16074
+ ApiKeySelectionExpression: properties["ApiKeySelectionExpression"],
16055
16075
  Tags: this.cfnTagsToRecord(properties["Tags"])
16056
16076
  }));
16057
16077
  const apiId = response.ApiId;
@@ -16098,6 +16118,8 @@ var ApiGatewayV2Provider = class {
16098
16118
  StageName: stageName,
16099
16119
  AutoDeploy: properties["AutoDeploy"],
16100
16120
  Description: properties["Description"],
16121
+ StageVariables: properties["StageVariables"],
16122
+ DefaultRouteSettings: properties["DefaultRouteSettings"],
16101
16123
  Tags: this.cfnTagsToRecord(properties["Tags"])
16102
16124
  }));
16103
16125
  this.logger.debug(`Successfully created API Gateway V2 Stage ${logicalId}: ${stageName}`);
@@ -16144,7 +16166,10 @@ var ApiGatewayV2Provider = class {
16144
16166
  IntegrationType: integrationType,
16145
16167
  IntegrationUri: properties["IntegrationUri"],
16146
16168
  IntegrationMethod: properties["IntegrationMethod"],
16147
- PayloadFormatVersion: properties["PayloadFormatVersion"]
16169
+ PayloadFormatVersion: properties["PayloadFormatVersion"],
16170
+ TimeoutInMillis: properties["TimeoutInMillis"],
16171
+ RequestParameters: properties["RequestParameters"],
16172
+ Description: properties["Description"]
16148
16173
  }))).IntegrationId;
16149
16174
  this.logger.debug(`Successfully created API Gateway V2 Integration ${logicalId}: ${integrationId}`);
16150
16175
  return {
@@ -16190,7 +16215,9 @@ var ApiGatewayV2Provider = class {
16190
16215
  RouteKey: routeKey,
16191
16216
  Target: properties["Target"],
16192
16217
  AuthorizationType: properties["AuthorizationType"],
16193
- AuthorizerId: properties["AuthorizerId"]
16218
+ AuthorizerId: properties["AuthorizerId"],
16219
+ AuthorizationScopes: properties["AuthorizationScopes"],
16220
+ OperationName: properties["OperationName"]
16194
16221
  }))).RouteId;
16195
16222
  this.logger.debug(`Successfully created API Gateway V2 Route ${logicalId}: ${routeId}`);
16196
16223
  return {
@@ -16239,7 +16266,9 @@ var ApiGatewayV2Provider = class {
16239
16266
  IdentitySource: properties["IdentitySource"] ? typeof properties["IdentitySource"] === "string" ? [properties["IdentitySource"]] : properties["IdentitySource"] : void 0,
16240
16267
  JwtConfiguration: properties["JwtConfiguration"],
16241
16268
  AuthorizerUri: properties["AuthorizerUri"],
16242
- AuthorizerPayloadFormatVersion: properties["AuthorizerPayloadFormatVersion"]
16269
+ AuthorizerPayloadFormatVersion: properties["AuthorizerPayloadFormatVersion"],
16270
+ AuthorizerResultTtlInSeconds: properties["AuthorizerResultTtlInSeconds"],
16271
+ EnableSimpleResponses: properties["EnableSimpleResponses"]
16243
16272
  }))).AuthorizerId;
16244
16273
  this.logger.debug(`Successfully created API Gateway V2 Authorizer ${logicalId}: ${authorizerId}`);
16245
16274
  return {
@@ -16301,6 +16330,9 @@ var ApiGatewayV2Provider = class {
16301
16330
  result["Description"] = resp.Description ?? "";
16302
16331
  if (resp.ProtocolType === "HTTP") result["CorsConfiguration"] = resp.CorsConfiguration ?? {};
16303
16332
  if (resp.ProtocolType === "WEBSOCKET" && resp.RouteSelectionExpression !== void 0) result["RouteSelectionExpression"] = resp.RouteSelectionExpression;
16333
+ if (resp.ProtocolType === "WEBSOCKET" && resp.ApiKeySelectionExpression !== void 0) result["ApiKeySelectionExpression"] = resp.ApiKeySelectionExpression;
16334
+ if (resp.DisableExecuteApiEndpoint !== void 0) result["DisableExecuteApiEndpoint"] = resp.DisableExecuteApiEndpoint;
16335
+ if (resp.Version !== void 0) result["Version"] = resp.Version;
16304
16336
  result["Tags"] = normalizeAwsTagsToCfn(resp.Tags);
16305
16337
  return result;
16306
16338
  } catch (err) {
@@ -16320,6 +16352,8 @@ var ApiGatewayV2Provider = class {
16320
16352
  if (resp.StageName !== void 0) result["StageName"] = resp.StageName;
16321
16353
  result["AutoDeploy"] = resp.AutoDeploy ?? false;
16322
16354
  result["Description"] = resp.Description ?? "";
16355
+ if (resp.StageVariables !== void 0) result["StageVariables"] = resp.StageVariables;
16356
+ if (resp.DefaultRouteSettings !== void 0) result["DefaultRouteSettings"] = resp.DefaultRouteSettings;
16323
16357
  return result;
16324
16358
  } catch (err) {
16325
16359
  if (err instanceof NotFoundException$3) return void 0;
@@ -16339,6 +16373,9 @@ var ApiGatewayV2Provider = class {
16339
16373
  if (resp.IntegrationType === "AWS" || resp.IntegrationType === "AWS_PROXY" || resp.IntegrationType === "HTTP" || resp.IntegrationType === "HTTP_PROXY") result["IntegrationUri"] = resp.IntegrationUri ?? "";
16340
16374
  result["IntegrationMethod"] = resp.IntegrationMethod ?? "";
16341
16375
  result["PayloadFormatVersion"] = resp.PayloadFormatVersion ?? "";
16376
+ if (resp.TimeoutInMillis !== void 0) result["TimeoutInMillis"] = resp.TimeoutInMillis;
16377
+ if (resp.RequestParameters !== void 0) result["RequestParameters"] = resp.RequestParameters;
16378
+ if (resp.Description !== void 0) result["Description"] = resp.Description;
16342
16379
  return result;
16343
16380
  } catch (err) {
16344
16381
  if (err instanceof NotFoundException$3) return void 0;
@@ -16361,6 +16398,7 @@ var ApiGatewayV2Provider = class {
16361
16398
  result["AuthorizerId"] = resp.AuthorizerId ?? "";
16362
16399
  result["AuthorizationScopes"] = resp.AuthorizationScopes ? [...resp.AuthorizationScopes] : [];
16363
16400
  }
16401
+ if (resp.OperationName !== void 0) result["OperationName"] = resp.OperationName;
16364
16402
  return result;
16365
16403
  } catch (err) {
16366
16404
  if (err instanceof NotFoundException$3) return void 0;
@@ -16383,6 +16421,8 @@ var ApiGatewayV2Provider = class {
16383
16421
  else if (resp.AuthorizerType === "REQUEST") {
16384
16422
  result["AuthorizerUri"] = resp.AuthorizerUri ?? "";
16385
16423
  result["AuthorizerPayloadFormatVersion"] = resp.AuthorizerPayloadFormatVersion ?? "";
16424
+ if (resp.AuthorizerResultTtlInSeconds !== void 0) result["AuthorizerResultTtlInSeconds"] = resp.AuthorizerResultTtlInSeconds;
16425
+ if (resp.EnableSimpleResponses !== void 0) result["EnableSimpleResponses"] = resp.EnableSimpleResponses;
16386
16426
  }
16387
16427
  return result;
16388
16428
  } catch (err) {
@@ -16440,9 +16480,11 @@ var ApiGatewayV2Provider = class {
16440
16480
  /**
16441
16481
  * `UpdateApi` accepts the full Update input shape (not JSON Patch).
16442
16482
  * Mutable fields cdkd manages: `Name` / `Description` /
16443
- * `CorsConfiguration`. `ProtocolType` is immutable — the deploy
16444
- * engine handles changes via the replacement path; we surface a
16445
- * `ResourceUpdateNotSupportedError` if it ever reaches us anyway.
16483
+ * `CorsConfiguration` / `DisableExecuteApiEndpoint` / `Version` /
16484
+ * `RouteSelectionExpression` / `ApiKeySelectionExpression`.
16485
+ * `ProtocolType` is immutable the deploy engine handles changes via
16486
+ * the replacement path; we surface a `ResourceUpdateNotSupportedError`
16487
+ * if it ever reaches us anyway.
16446
16488
  */
16447
16489
  async updateApi(logicalId, physicalId, resourceType, properties, previousProperties) {
16448
16490
  if (properties["ProtocolType"] !== void 0 && previousProperties["ProtocolType"] !== void 0 && properties["ProtocolType"] !== previousProperties["ProtocolType"]) throw new ResourceUpdateNotSupportedError(resourceType, logicalId, "ProtocolType is immutable on AWS::ApiGatewayV2::Api; re-deploy with cdkd deploy --replace");
@@ -16460,6 +16502,22 @@ var ApiGatewayV2Provider = class {
16460
16502
  input.CorsConfiguration = properties["CorsConfiguration"];
16461
16503
  changed = true;
16462
16504
  }
16505
+ if (properties["DisableExecuteApiEndpoint"] !== void 0 && properties["DisableExecuteApiEndpoint"] !== previousProperties["DisableExecuteApiEndpoint"]) {
16506
+ input.DisableExecuteApiEndpoint = properties["DisableExecuteApiEndpoint"];
16507
+ changed = true;
16508
+ }
16509
+ if (properties["Version"] !== void 0 && properties["Version"] !== previousProperties["Version"]) {
16510
+ input.Version = properties["Version"];
16511
+ changed = true;
16512
+ }
16513
+ if (properties["RouteSelectionExpression"] !== void 0 && properties["RouteSelectionExpression"] !== previousProperties["RouteSelectionExpression"]) {
16514
+ input.RouteSelectionExpression = properties["RouteSelectionExpression"];
16515
+ changed = true;
16516
+ }
16517
+ if (properties["ApiKeySelectionExpression"] !== void 0 && properties["ApiKeySelectionExpression"] !== previousProperties["ApiKeySelectionExpression"]) {
16518
+ input.ApiKeySelectionExpression = properties["ApiKeySelectionExpression"];
16519
+ changed = true;
16520
+ }
16463
16521
  if (!changed) {
16464
16522
  this.logger.debug(`No mutable Api fields changed for ${logicalId}; skipping UpdateApi`);
16465
16523
  return {
@@ -16482,8 +16540,9 @@ var ApiGatewayV2Provider = class {
16482
16540
  /**
16483
16541
  * `UpdateStage` keys on `(ApiId, StageName)` — `StageName` is the
16484
16542
  * physicalId and immutable. Mutable fields cdkd manages:
16485
- * `AutoDeploy` / `Description`. `ApiId` is also immutable (a stage
16486
- * cannot be moved between APIs).
16543
+ * `AutoDeploy` / `Description` / `StageVariables` /
16544
+ * `DefaultRouteSettings`. `ApiId` is also immutable (a stage cannot be
16545
+ * moved between APIs).
16487
16546
  */
16488
16547
  async updateStage(logicalId, physicalId, resourceType, properties, previousProperties) {
16489
16548
  const apiId = properties["ApiId"] ?? previousProperties["ApiId"];
@@ -16503,6 +16562,14 @@ var ApiGatewayV2Provider = class {
16503
16562
  input.Description = properties["Description"];
16504
16563
  changed = true;
16505
16564
  }
16565
+ if (properties["StageVariables"] !== void 0 && !this.deepEqual(properties["StageVariables"], previousProperties["StageVariables"])) {
16566
+ input.StageVariables = properties["StageVariables"];
16567
+ changed = true;
16568
+ }
16569
+ if (properties["DefaultRouteSettings"] !== void 0 && !this.deepEqual(properties["DefaultRouteSettings"], previousProperties["DefaultRouteSettings"])) {
16570
+ input.DefaultRouteSettings = properties["DefaultRouteSettings"];
16571
+ changed = true;
16572
+ }
16506
16573
  if (!changed) {
16507
16574
  this.logger.debug(`No mutable Stage fields changed for ${logicalId}; skipping UpdateStage`);
16508
16575
  return {
@@ -16525,7 +16592,8 @@ var ApiGatewayV2Provider = class {
16525
16592
  /**
16526
16593
  * `UpdateIntegration` keys on `(ApiId, IntegrationId)`. Mutable
16527
16594
  * fields cdkd manages: `IntegrationType` / `IntegrationUri` /
16528
- * `IntegrationMethod` / `PayloadFormatVersion`.
16595
+ * `IntegrationMethod` / `PayloadFormatVersion` / `TimeoutInMillis` /
16596
+ * `RequestParameters` / `Description`.
16529
16597
  */
16530
16598
  async updateIntegration(logicalId, physicalId, resourceType, properties, previousProperties) {
16531
16599
  const apiId = properties["ApiId"] ?? previousProperties["ApiId"];
@@ -16552,6 +16620,18 @@ var ApiGatewayV2Provider = class {
16552
16620
  input.PayloadFormatVersion = properties["PayloadFormatVersion"];
16553
16621
  changed = true;
16554
16622
  }
16623
+ if (properties["TimeoutInMillis"] !== void 0 && properties["TimeoutInMillis"] !== previousProperties["TimeoutInMillis"]) {
16624
+ input.TimeoutInMillis = properties["TimeoutInMillis"];
16625
+ changed = true;
16626
+ }
16627
+ if (properties["RequestParameters"] !== void 0 && !this.deepEqual(properties["RequestParameters"], previousProperties["RequestParameters"])) {
16628
+ input.RequestParameters = properties["RequestParameters"];
16629
+ changed = true;
16630
+ }
16631
+ if (properties["Description"] !== void 0 && properties["Description"] !== previousProperties["Description"]) {
16632
+ input.Description = properties["Description"];
16633
+ changed = true;
16634
+ }
16555
16635
  if (!changed) {
16556
16636
  this.logger.debug(`No mutable Integration fields changed for ${logicalId}; skipping UpdateIntegration`);
16557
16637
  return {
@@ -16574,7 +16654,7 @@ var ApiGatewayV2Provider = class {
16574
16654
  /**
16575
16655
  * `UpdateRoute` keys on `(ApiId, RouteId)`. Mutable fields cdkd
16576
16656
  * manages: `RouteKey` / `Target` / `AuthorizationType` /
16577
- * `AuthorizerId` / `AuthorizationScopes`.
16657
+ * `AuthorizerId` / `AuthorizationScopes` / `OperationName`.
16578
16658
  */
16579
16659
  async updateRoute(logicalId, physicalId, resourceType, properties, previousProperties) {
16580
16660
  const apiId = properties["ApiId"] ?? previousProperties["ApiId"];
@@ -16605,6 +16685,10 @@ var ApiGatewayV2Provider = class {
16605
16685
  input.AuthorizationScopes = properties["AuthorizationScopes"];
16606
16686
  changed = true;
16607
16687
  }
16688
+ if (properties["OperationName"] !== void 0 && properties["OperationName"] !== previousProperties["OperationName"]) {
16689
+ input.OperationName = properties["OperationName"];
16690
+ changed = true;
16691
+ }
16608
16692
  if (!changed) {
16609
16693
  this.logger.debug(`No mutable Route fields changed for ${logicalId}; skipping UpdateRoute`);
16610
16694
  return {
@@ -16628,7 +16712,8 @@ var ApiGatewayV2Provider = class {
16628
16712
  * `UpdateAuthorizer` keys on `(ApiId, AuthorizerId)`. Mutable fields
16629
16713
  * cdkd manages: `AuthorizerType` / `Name` / `IdentitySource` /
16630
16714
  * `JwtConfiguration` / `AuthorizerUri` /
16631
- * `AuthorizerPayloadFormatVersion`.
16715
+ * `AuthorizerPayloadFormatVersion` / `AuthorizerResultTtlInSeconds` /
16716
+ * `EnableSimpleResponses`.
16632
16717
  */
16633
16718
  async updateAuthorizer(logicalId, physicalId, resourceType, properties, previousProperties) {
16634
16719
  const apiId = properties["ApiId"] ?? previousProperties["ApiId"];
@@ -16667,6 +16752,14 @@ var ApiGatewayV2Provider = class {
16667
16752
  input.AuthorizerPayloadFormatVersion = properties["AuthorizerPayloadFormatVersion"];
16668
16753
  changed = true;
16669
16754
  }
16755
+ if (properties["AuthorizerResultTtlInSeconds"] !== void 0 && properties["AuthorizerResultTtlInSeconds"] !== previousProperties["AuthorizerResultTtlInSeconds"]) {
16756
+ input.AuthorizerResultTtlInSeconds = properties["AuthorizerResultTtlInSeconds"];
16757
+ changed = true;
16758
+ }
16759
+ if (properties["EnableSimpleResponses"] !== void 0 && properties["EnableSimpleResponses"] !== previousProperties["EnableSimpleResponses"]) {
16760
+ input.EnableSimpleResponses = properties["EnableSimpleResponses"];
16761
+ changed = true;
16762
+ }
16670
16763
  if (!changed) {
16671
16764
  this.logger.debug(`No mutable Authorizer fields changed for ${logicalId}; skipping UpdateAuthorizer`);
16672
16765
  return {
@@ -51378,7 +51471,7 @@ function reorderArgs(argv) {
51378
51471
  */
51379
51472
  async function main() {
51380
51473
  const program = new Command();
51381
- program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.177.0");
51474
+ program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.179.0");
51382
51475
  program.addCommand(createBootstrapCommand());
51383
51476
  program.addCommand(createSynthCommand());
51384
51477
  program.addCommand(createListCommand());