@go-to-k/cdkd 0.186.0 → 0.187.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-
|
|
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-BaPUKMxP.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";
|
|
@@ -15988,7 +15988,8 @@ var ApiGatewayV2Provider = class {
|
|
|
15988
15988
|
"AuthorizerUri",
|
|
15989
15989
|
"AuthorizerPayloadFormatVersion",
|
|
15990
15990
|
"AuthorizerResultTtlInSeconds",
|
|
15991
|
-
"EnableSimpleResponses"
|
|
15991
|
+
"EnableSimpleResponses",
|
|
15992
|
+
"IdentityValidationExpression"
|
|
15992
15993
|
])]
|
|
15993
15994
|
]);
|
|
15994
15995
|
/**
|
|
@@ -16282,7 +16283,8 @@ var ApiGatewayV2Provider = class {
|
|
|
16282
16283
|
AuthorizerUri: properties["AuthorizerUri"],
|
|
16283
16284
|
AuthorizerPayloadFormatVersion: properties["AuthorizerPayloadFormatVersion"],
|
|
16284
16285
|
AuthorizerResultTtlInSeconds: properties["AuthorizerResultTtlInSeconds"],
|
|
16285
|
-
EnableSimpleResponses: properties["EnableSimpleResponses"]
|
|
16286
|
+
EnableSimpleResponses: properties["EnableSimpleResponses"],
|
|
16287
|
+
IdentityValidationExpression: properties["IdentityValidationExpression"]
|
|
16286
16288
|
}))).AuthorizerId;
|
|
16287
16289
|
this.logger.debug(`Successfully created API Gateway V2 Authorizer ${logicalId}: ${authorizerId}`);
|
|
16288
16290
|
return {
|
|
@@ -16438,6 +16440,7 @@ var ApiGatewayV2Provider = class {
|
|
|
16438
16440
|
result["AuthorizerPayloadFormatVersion"] = resp.AuthorizerPayloadFormatVersion ?? "";
|
|
16439
16441
|
if (resp.AuthorizerResultTtlInSeconds !== void 0) result["AuthorizerResultTtlInSeconds"] = resp.AuthorizerResultTtlInSeconds;
|
|
16440
16442
|
if (resp.EnableSimpleResponses !== void 0) result["EnableSimpleResponses"] = resp.EnableSimpleResponses;
|
|
16443
|
+
if (resp.IdentityValidationExpression !== void 0) result["IdentityValidationExpression"] = resp.IdentityValidationExpression;
|
|
16441
16444
|
}
|
|
16442
16445
|
return result;
|
|
16443
16446
|
} catch (err) {
|
|
@@ -16780,6 +16783,10 @@ var ApiGatewayV2Provider = class {
|
|
|
16780
16783
|
input.EnableSimpleResponses = properties["EnableSimpleResponses"];
|
|
16781
16784
|
changed = true;
|
|
16782
16785
|
}
|
|
16786
|
+
if (properties["IdentityValidationExpression"] !== void 0 && properties["IdentityValidationExpression"] !== previousProperties["IdentityValidationExpression"]) {
|
|
16787
|
+
input.IdentityValidationExpression = properties["IdentityValidationExpression"];
|
|
16788
|
+
changed = true;
|
|
16789
|
+
}
|
|
16783
16790
|
if (!changed) {
|
|
16784
16791
|
this.logger.debug(`No mutable Authorizer fields changed for ${logicalId}; skipping UpdateAuthorizer`);
|
|
16785
16792
|
return {
|
|
@@ -51556,7 +51563,7 @@ function reorderArgs(argv) {
|
|
|
51556
51563
|
*/
|
|
51557
51564
|
async function main() {
|
|
51558
51565
|
const program = new Command();
|
|
51559
|
-
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.
|
|
51566
|
+
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.187.0");
|
|
51560
51567
|
program.addCommand(createBootstrapCommand());
|
|
51561
51568
|
program.addCommand(createSynthCommand());
|
|
51562
51569
|
program.addCommand(createListCommand());
|