@cdkd/cli 0.348.0 → 0.350.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/{asg-provider-r1ojkIvF.js → asg-provider-Dvy_jqxt.js} +2 -2
- package/dist/{asg-provider-r1ojkIvF.js.map → asg-provider-Dvy_jqxt.js.map} +1 -1
- package/dist/aws-partition-DA0r2sr-.js +58 -0
- package/dist/aws-partition-DA0r2sr-.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/custom-resource-runtime-BJmM5h_B.js +1104 -0
- package/dist/custom-resource-runtime-BJmM5h_B.js.map +1 -0
- package/dist/{db-instance-modify-retry-BaSXzEMy.js → db-instance-modify-retry-pFWx2ED5.js} +2 -2
- package/dist/{db-instance-modify-retry-BaSXzEMy.js.map → db-instance-modify-retry-pFWx2ED5.js.map} +1 -1
- package/dist/delete-started-Co5Gt1jH.js +169 -0
- package/dist/delete-started-Co5Gt1jH.js.map +1 -0
- package/dist/{deploy-engine-2XoVAu4C.js → deploy-engine-C_cFqAUx.js} +784 -12038
- package/dist/deploy-engine-C_cFqAUx.js.map +1 -0
- package/dist/diff-calculator-CLik-y3v.js +4959 -0
- package/dist/diff-calculator-CLik-y3v.js.map +1 -0
- package/dist/ec2-termination-protection-BM1Zt3Fn.js +1277 -0
- package/dist/ec2-termination-protection-BM1Zt3Fn.js.map +1 -0
- package/dist/{ecr-uri-C1_heDAt.js → ecr-uri-C3_6QVgR.js} +2 -2
- package/dist/{ecr-uri-C1_heDAt.js.map → ecr-uri-C3_6QVgR.js.map} +1 -1
- package/dist/expected-bucket-owner-CGoY_YS8.js +88 -0
- package/dist/expected-bucket-owner-CGoY_YS8.js.map +1 -0
- package/dist/{iam-role-provider-BnLtoKcW.js → iam-role-provider-BaN9MMWs.js} +3 -2
- package/dist/iam-role-provider-BaN9MMWs.js.map +1 -0
- package/dist/image-plan-PsGpMjv7.js +1940 -0
- package/dist/image-plan-PsGpMjv7.js.map +1 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/{neptune-provider-lzti8HIF.js → neptune-provider-BYgFNrtZ.js} +3 -3
- package/dist/{neptune-provider-lzti8HIF.js.map → neptune-provider-BYgFNrtZ.js.map} +1 -1
- package/dist/{program-DSlYCm_d.js → program-C7rUgzkB.js} +700 -1901
- package/dist/program-C7rUgzkB.js.map +1 -0
- package/dist/{provider-classes-RMTfwJPz.js → provider-classes-WNwnshId.js} +33 -17
- package/dist/provider-classes-WNwnshId.js.map +1 -0
- package/dist/{rds-provider-COq1pW0G.js → rds-provider-DKZjtd50.js} +62 -40
- package/dist/rds-provider-DKZjtd50.js.map +1 -0
- package/dist/{read-replica-sjvqi8Of.js → read-replica-C5e4xpYi.js} +2 -2
- package/dist/{read-replica-sjvqi8Of.js.map → read-replica-C5e4xpYi.js.map} +1 -1
- package/dist/replacement-rules-01_01yDU.js +4937 -0
- package/dist/replacement-rules-01_01yDU.js.map +1 -0
- package/dist/resource-deadline-TfDpwRQ_.js +423 -0
- package/dist/resource-deadline-TfDpwRQ_.js.map +1 -0
- package/dist/{version-DXmr3_M4.js → version-DeKI8TvP.js} +2 -2
- package/dist/{version-DXmr3_M4.js.map → version-DeKI8TvP.js.map} +1 -1
- package/package.json +3 -2
- package/dist/deploy-engine-2XoVAu4C.js.map +0 -1
- package/dist/iam-role-provider-BnLtoKcW.js.map +0 -1
- package/dist/program-DSlYCm_d.js.map +0 -1
- package/dist/provider-classes-RMTfwJPz.js.map +0 -1
- package/dist/rds-provider-COq1pW0G.js.map +0 -1
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-
|
|
1
|
+
import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-BaN9MMWs.js";
|
|
2
2
|
import { A as configStringRefusal, B as generateResourceName, D as coerceCfnInteger, E as coerceCfnBoolean, F as requireConfigString, J as getCurrentStackName, M as replayWarn, N as requireConfigArray, O as configBooleanRefusal, P as requireConfigObject, U as recordedGeneratedNameKept, V as generateResourceNameWithFallback, Y as isBeforeStateRead, at as asIsMessage, c as VERBOSE_POINTER, ct as displayIdent, d as describeAwsStatusReason, dt as isPasteableIdent, f as isAwsAuthoredFailure, g as verbosePointerTail, h as verbosePointerSentence, j as readConfigString, k as configIntegerRefusal, lt as displaySafe, mt as safeMsg, n as getLogger, nt as SECRET_REF_MAX_CODE_POINTS, p as safeStringify, pt as plainIdentOr, q as getCurrentStackInstanceId, u as describeAwsFailure, ut as displayStackName, w as generatedNameFor } from "./logger-DmQRya0S.js";
|
|
3
3
|
import { d as withApiGatewayPacing, l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-DOkPjjAW.js";
|
|
4
4
|
import { Ct as withheldTargetClause, D as markReplayMayCollide, E as markNameCollision, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, I as isExplicitDenyError, K as wrapMaskedAwsError, M as explicitDenyPolicyKind, O as relayedNameCollision, Q as AccountIdUnavailableError, R as isRetryableTransientError, St as shellQuote, U as isThrottlingError, V as THROTTLING_ERROR_NAMES, W as markNonRetryable, _ as ResourceUpdateNotSupportedError, _t as pasteableCommand, at as ProvisioningError, et as CdkdError, gt as isInertUnquoted, ht as hasClauseBreak, i as credentialFingerprint, mt as commandHole, n as ambientCredentialConfig, r as clientDefaultsFor, t as ambientClientDefaults, yt as plainOrDescribed, z as isTransientServerError } from "./ambient-client-defaults-7acjxfyN.js";
|
|
5
5
|
import { $ as deleteAfterProtectionFlipWithFinalSnapshot, A as setBounded, At as segmentAfterAnchor, B as resolveExplicitPhysicalId, Bt as clearCreatedBeforeFailure, C as AmbiguousCreateLatch, Ct as canonicalizeRoute53QueryName, D as isInsideWindow, Dt as logicalIdShown, E as createAttemptKey, Et as compositeIdSkipResult, F as isQuotableImportValue, Ft as maskDeep, H as assertRegionMatch, I as normalizeAwsTagsToCfn, It as maskerOrIdentity, J as observeThenDisableProtection, Jt as markSupersedesEarlierCreate, K as deleteWithProtectionCompensation, Kt as markAuxiliaryFailure, L as quotedRemedyLogicalId, Lt as withDerivedNameMasks, M as VALUE_NOT_SHOWN, Mt as createMaskedLogSinks, N as isPlainImportJson, Nt as createMaskedRetryLogger, O as replayFollowedAmbiguousAttempt, Ot as packCompositeId, P as isPlainImportValue, Pt as isSecretDerivedValue, Q as PROTECTION_FLIP_RETRY_WAIT_MS, R as refusalTypeShown, S as AMBIGUOUS_LATCH_TTL_MS, St as startInterruptWatch, T as ambiguousAttemptLead, Tt as compositeIdSeparatorRefusal, V as RESOURCE_NOT_FOUND, W as markNotGone, Wt as isAuxiliaryFailure, Y as rdsFamilyProtectionSite, Z as userPoolProtectionSite, _ as onlySecretDerived, _t as renderDisableCommand, a as withRemovalDefaults, at as isTerminalDeleteFailure, b as recordedPrincipalsRepair, cn as injectiveKeyPrefix, ct as ElapsedBudget, f as retractCreatedResource, ft as UNNAMEABLE_ID_CLAUSE, g as holdsSecretDerivedEntry, gt as protectedReplacementAdvice, h as SECRET_DERIVED_READ_LIVE, ht as pasteableAwsCommand, i as removedTemplateKeys, it as ProtectionFlipRegistry, j as withoutServerErrorRetries, jt as stateOrphanRecordRemedy, k as replayedSendWindow, lt as ElapsedBudgetRegistry, mt as isAwsCliLiteral, nt as isTerminalDbWaitStatus, ot as protectionFlipKey, pn as withPasteableAwsProfile, pt as WITHHELD_AWS_COMMAND, q as logGroupProtectionSite, qt as markCreatedBeforeFailure, sn as injectiveKey, t as clearOnUpdateRemoval, tt as isProceedDbStatus, u as reportCreatedResource, v as readPrincipalLists, w as RecentIdSet, wt as compositeIdFormatMessage, xt as isInterruptedWaitError, z as remedyLogicalId } from "./update-removal-D-FspP88.js";
|
|
6
|
-
import {
|
|
7
|
-
import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, o as canonicalizeIpProtocolValue, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-
|
|
6
|
+
import { i as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-Co5Gt1jH.js";
|
|
7
|
+
import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, o as canonicalizeIpProtocolValue, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-C7rUgzkB.js";
|
|
8
|
+
import { $ as vectorIndexesForCreate, $o as toFiniteNumber, B as reverseMapStreamPolicy, Co as outputReferenceProvenanceOf, Cr as REDACTED_DELETE_ADDRESS_SKIP_REASON, Ct as maskedLogger, Da as resolvedResourceTimeoutMs, Dl as decodeListingKey, Dt as S3_AUTO_DELETE_OBJECTS_TAG, Ea as waitForGoneAfterDelete, Er as redactedDeleteAddressSkip, Et as ECR_AUTO_DELETE_IMAGES_TAG, F as STREAM_POLICY_KEY, Fl as describeFileReadFailure, G as streamTagsMatchDeclared, Gi as maskedSecretSegment, H as streamDeclaresTags, I as STREAM_TAGS_KEY, Il as displayAssemblyPath, J as planTimeToLive, Jc as stringifyValue, Jt as lookupEachName, K as isTtlAlreadyDisabled, Kt as chunks, L as declaredStreamPolicyMember, Lr as getCurrentProducerRegions, Na as deleteSkipReason, Oc as withoutSdkUnwiredProperties, Ot as hasCdkAutoDeleteTag, P as DynamoDBGlobalTableProvider, Pa as withIndeterminateGuard, Q as readbackVectorIndexes, Qo as toCfnInteger, R as declaredStreamTagsMember, Rl as renderAssemblyPathEscape, Sa as getCurrentResourceSecrets, St as deleteTableWithIndexBusyRetry, Tc as findSdkUnwiredProperties, Tr as redactedDeleteAddressFields, Tt as waitForIndexesSettled, U as streamMemberRefusals, Ut as getPriorAttempts, V as streamDeclaresPolicy, Va as isSettledInstanceState, W as streamPolicyMatchesDeclared, Wi as APPSYNC_APIKEY_ARN_RESOURCE_PATH, Wt as markRefusedBeforeApplying, X as sendTtlWaitingOutRateLimit, Xo as coerceWarmThroughput$1, Y as readTtlSpec, Yo as WARM_THROUGHPUT_MEMBERS, Yt as withApiLimit, Z as planVectorIndexUpdates, Zo as isWarmThroughputDecrease, _ as listNestedTemplateRows, _c as withheldAccountClause, _t as resolveDynamoDbDeleteBudgetClock, an as revertNestedChildFromJournal, at as planContributorInsightsOp, bt as INDEX_SETTLE_POLL_INTERVAL_MS, co as s3BucketDualStackDomainName, cr as reserveStackCreateToken, ct as reverseMapIndexContributorInsights, dc as refuseMalformedResourcesForDestroy, di as replacedDeleteFailureVerdict, dt as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, et as vectorIndexesSettled, ft as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, g as isAbsoluteAssetPath, gc as accountArgs, gt as deleteBudgetKey, h as findNestedTemplateTreeDefect, ht as compensateRemovedDeletionProtection, it as indexDeclaresContributorInsights, ko as getAccountInfo, kt as isTruthyCfnBoolean, li as getStackRecords, ln as getCurrentNestedStackContext, lo as s3BucketRegionalDomainName, lt as reverseMapTableContributorInsights, mt as beginDeleteWait, nn as getNestedRevertRun, nt as CONTRIBUTOR_INSIGHTS_KEY, oo as s3BucketArn, or as earliestDefined, os as passedParameterClassesOf, ot as planIndexContributorInsightsOps, pt as DYNAMODB_DELETE_POLL_COST_MS, q as isTtlRateLimited, qt as isAccessDeniedError, rl as rewriteTemplateAssetReferences, rt as contributorInsightsRefusals, si as awaitInFlightSibling, so as s3BucketDomainName, st as readContributorInsightsSpec, t as DeployEngine, tc as refuseMalformedNestedChildOutputs, tt as vectorIndexesShapeDetail, un as withNestedStackContext, uo as s3BucketWebsiteUrl, ur as acquireIdempotencyToken, ut as stripIndexContributorInsights, v as renderNestedTemplateTreeDefect, vt as resolveDynamoDbDeleteBudgetMs, wa as waitForLambdaFunctionActive, wr as isRedactedRecordedValue, wt as relayedIndexBusyDelete, xt as TABLE_INDEX_NOUN, yo as parseWebACLArn, yt as DELETE_INDEX_WAIT_PROCEED_NOTE, z as planStreamMemberOps, zi as secretNamedAttributeNamesOf, zl as resolveAssemblyPath } from "./deploy-engine-C_cFqAUx.js";
|
|
9
|
+
import { _ as tagMapAsList, c as refuseRestoreFromItself, d as stringifyIfAssigned, f as DBPROXY_TAGS_WHAT, g as refuseMalformedDesiredTags, h as readTagList, m as planTagDiff, n as enclosingDeadlineRemainingMs, p as DBPROXY_TAG_OPTIONS, t as enclosingDeadlineExpired, u as definedAttributes, v as tagPlanWarning, y as isUsableAttemptedName } from "./resource-deadline-TfDpwRQ_.js";
|
|
10
|
+
import { E as timePhase, a as reDisableInstanceApiTermination, c as unchangedBehindSecretReference, i as observeThenDisableInstanceApiTermination, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, r as isTerminationProtectionPropagationError, s as onlySecretReferencesDiffer, y as withRetry } from "./ec2-termination-protection-BM1Zt3Fn.js";
|
|
11
|
+
import { n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
|
|
8
12
|
import { f as ambientRegion } from "./aws-client-defaults-DAebi99J.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
+
import { $ as snapshotPassProvenance, At as withoutPhysicalNameCopies, C as passedNoEchoParametersOf, I as markSameGenerationBag, Nt as dynamicReferenceTokens, W as redactForState, Z as recordReferenceProvenanceEntry, a as emrClusterInstancesReplaced, an as physicalNameCopiesOf, fn as carriesSecretMask, i as ecsServiceLaunchTypeSetOrChanged, in as recoverMaskedOutput, it as hasMaskableValues, l as sameLambdaFunctionAddress, n as blockDeviceMappingsDifferOnlyInDeleteOnTermination, o as canonicalLambdaFunctionName, on as recordAttributeIdCopy, s as lambdaFunctionNameForMask } from "./replacement-rules-01_01yDU.js";
|
|
14
|
+
import { RDSProvider } from "./rds-provider-DKZjtd50.js";
|
|
15
|
+
import { n as modifyDbInstanceWhenAvailable, t as isModifyNotAvailableRefusal } from "./db-instance-modify-retry-pFWx2ED5.js";
|
|
16
|
+
import { NeptuneProvider } from "./neptune-provider-BYgFNrtZ.js";
|
|
17
|
+
import { ASGProvider } from "./asg-provider-Dvy_jqxt.js";
|
|
13
18
|
import { createHash, randomUUID } from "node:crypto";
|
|
14
19
|
import { CreateBucketCommand, CreateBucketMetadataConfigurationCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketEncryptionCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetadataConfigurationCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketOwnershipControlsCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAbacCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketMetadataConfigurationCommand, GetBucketNotificationConfigurationCommand, GetBucketOwnershipControlsCommand, GetBucketPolicyCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetBucketVersioningCommand, GetBucketWebsiteCommand, GetObjectCommand, GetObjectLockConfigurationCommand, GetPublicAccessBlockCommand, HeadBucketCommand, ListBucketAnalyticsConfigurationsCommand, ListBucketIntelligentTieringConfigurationsCommand, ListBucketInventoryConfigurationsCommand, ListBucketMetricsConfigurationsCommand, ListBucketsCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, PutBucketAbacCommand, PutBucketAccelerateConfigurationCommand, PutBucketAnalyticsConfigurationCommand, PutBucketCorsCommand, PutBucketEncryptionCommand, PutBucketIntelligentTieringConfigurationCommand, PutBucketInventoryConfigurationCommand, PutBucketLifecycleConfigurationCommand, PutBucketLoggingCommand, PutBucketMetricsConfigurationCommand, PutBucketNotificationConfigurationCommand, PutBucketOwnershipControlsCommand, PutBucketPolicyCommand, PutBucketReplicationCommand, PutBucketTaggingCommand, PutBucketVersioningCommand, PutBucketWebsiteCommand, PutObjectLockConfigurationCommand, PutPublicAccessBlockCommand, S3Client, UpdateBucketMetadataAnnotationTableConfigurationCommand, UpdateBucketMetadataInventoryTableConfigurationCommand, UpdateBucketMetadataJournalTableConfigurationCommand } from "@aws-sdk/client-s3";
|
|
15
20
|
import { AddRoleToInstanceProfileCommand, AddUserToGroupCommand, AttachGroupPolicyCommand, AttachRolePolicyCommand, AttachUserPolicyCommand, CreateAccessKeyCommand, CreateGroupCommand, CreateInstanceProfileCommand, CreateLoginProfileCommand, CreatePolicyCommand, CreatePolicyVersionCommand, CreateUserCommand, DeleteAccessKeyCommand, DeleteGroupCommand, DeleteGroupPolicyCommand, DeleteInstanceProfileCommand, DeleteLoginProfileCommand, DeletePolicyCommand, DeletePolicyVersionCommand, DeleteRolePolicyCommand, DeleteUserCommand, DeleteUserPermissionsBoundaryCommand, DeleteUserPolicyCommand, DetachGroupPolicyCommand, DetachRolePolicyCommand, DetachUserPolicyCommand, GetAccessKeyLastUsedCommand, GetGroupCommand, GetGroupPolicyCommand, GetInstanceProfileCommand, GetPolicyCommand, GetPolicyVersionCommand, GetRolePolicyCommand, GetUserCommand, GetUserPolicyCommand, IAMClient, ListAccessKeysCommand, ListAttachedGroupPoliciesCommand, ListAttachedUserPoliciesCommand, ListEntitiesForPolicyCommand, ListGroupPoliciesCommand, ListGroupsForUserCommand, ListPoliciesCommand, ListPolicyTagsCommand, ListPolicyVersionsCommand, ListUserPoliciesCommand, NoSuchEntityException, PutGroupPolicyCommand, PutRolePolicyCommand, PutUserPermissionsBoundaryCommand, PutUserPolicyCommand, RemoveRoleFromInstanceProfileCommand, RemoveUserFromGroupCommand, TagPolicyCommand, TagUserCommand, UntagPolicyCommand, UntagUserCommand, UpdateAccessKeyCommand, UpdateGroupCommand, UpdateLoginProfileCommand, UpdateUserCommand } from "@aws-sdk/client-iam";
|
|
@@ -8054,11 +8059,13 @@ async function applyUpdate$6(logicalId, physicalId, resourceType, properties, pr
|
|
|
8054
8059
|
},
|
|
8055
8060
|
{
|
|
8056
8061
|
name: "ContentBasedDeduplication",
|
|
8057
|
-
prop: "ContentBasedDeduplication"
|
|
8062
|
+
prop: "ContentBasedDeduplication",
|
|
8063
|
+
resetValue: "false"
|
|
8058
8064
|
},
|
|
8059
8065
|
{
|
|
8060
8066
|
name: "TracingConfig",
|
|
8061
|
-
prop: "TracingConfig"
|
|
8067
|
+
prop: "TracingConfig",
|
|
8068
|
+
resetValue: "PassThrough"
|
|
8062
8069
|
},
|
|
8063
8070
|
{
|
|
8064
8071
|
name: "SignatureVersion",
|
|
@@ -8071,7 +8078,8 @@ async function applyUpdate$6(logicalId, physicalId, resourceType, properties, pr
|
|
|
8071
8078
|
{
|
|
8072
8079
|
name: "ArchivePolicy",
|
|
8073
8080
|
prop: "ArchivePolicy",
|
|
8074
|
-
serialize: true
|
|
8081
|
+
serialize: true,
|
|
8082
|
+
resetValue: "{}"
|
|
8075
8083
|
},
|
|
8076
8084
|
{
|
|
8077
8085
|
name: "DataProtectionPolicy",
|
|
@@ -8089,7 +8097,7 @@ async function applyUpdate$6(logicalId, physicalId, resourceType, properties, pr
|
|
|
8089
8097
|
const oldVal = previousProperties[attr.prop];
|
|
8090
8098
|
if (JSON.stringify(newVal) !== JSON.stringify(oldVal)) {
|
|
8091
8099
|
let value;
|
|
8092
|
-
if (newVal === void 0 || newVal === null) value = attr.resetValue ?? "";
|
|
8100
|
+
if (newVal === void 0 || newVal === null || newVal === "" && attr.resetValue !== void 0) value = attr.resetValue ?? "";
|
|
8093
8101
|
else if (attr.serialize && typeof newVal !== "string") value = JSON.stringify(newVal);
|
|
8094
8102
|
else value = stringifyValue(newVal);
|
|
8095
8103
|
await this.snsClient.send(new SetTopicAttributesCommand({
|
|
@@ -8388,6 +8396,13 @@ var SNSTopicProvider = class {
|
|
|
8388
8396
|
getDriftUnknownPaths() {
|
|
8389
8397
|
return [];
|
|
8390
8398
|
}
|
|
8399
|
+
canonicalizeDriftProperties(_resourceType, properties) {
|
|
8400
|
+
if (properties["TracingConfig"] !== "PassThrough") return properties;
|
|
8401
|
+
return {
|
|
8402
|
+
...properties,
|
|
8403
|
+
TracingConfig: ""
|
|
8404
|
+
};
|
|
8405
|
+
}
|
|
8391
8406
|
generatedCreateName(_resourceType, logicalId, properties) {
|
|
8392
8407
|
if (properties["TopicName"]) return void 0;
|
|
8393
8408
|
return generatedNameFor("AWS::SNS::Topic", logicalId, { properties });
|
|
@@ -25529,7 +25544,7 @@ async function update$30(logicalId, physicalId, resourceType, properties, previo
|
|
|
25529
25544
|
case "AWS::ApiGateway::Deployment": return this.updateDeployment(logicalId, physicalId, resourceType, properties, previousProperties, log);
|
|
25530
25545
|
case "AWS::ApiGateway::Stage": return this.updateStage(logicalId, physicalId, resourceType, properties, previousProperties, stageSinks$1(this.logger, context, [[properties["StageName"], physicalId], [previousProperties["StageName"], physicalId]]));
|
|
25531
25546
|
case "AWS::ApiGateway::Method": return this.updateMethod(logicalId, physicalId, resourceType, properties, previousProperties, log, context?.desiredFromAwsReadback === true);
|
|
25532
|
-
case "AWS::ApiGateway::RestApi": return this.updateRestApi(logicalId, physicalId, resourceType, properties, previousProperties, log, context?.changedProperties, context?.noEchoOnlyChangedProperties);
|
|
25547
|
+
case "AWS::ApiGateway::RestApi": return this.updateRestApi(logicalId, physicalId, resourceType, properties, previousProperties, log, context?.changedProperties, context?.noEchoOnlyChangedProperties, context?.keptNoEchoOnlyProperty);
|
|
25533
25548
|
default: throw new ProvisioningError(`Unsupported resource type: ${resourceType}`, resourceType, logicalId, physicalId);
|
|
25534
25549
|
}
|
|
25535
25550
|
}
|
|
@@ -26897,7 +26912,7 @@ async function retireFailedRestApi(restApiId, log) {
|
|
|
26897
26912
|
return ` The REST API ${restApiId} it created could not be deleted (${describeAwsFailure(cleanupError).summary}); delete it with: ` + aws`aws apigateway delete-rest-api --rest-api-id ${restApiId}${regionArg}`.render();
|
|
26898
26913
|
}
|
|
26899
26914
|
}
|
|
26900
|
-
async function updateRestApi(logicalId, physicalId, resourceType, properties, previousProperties, log, changedProperties, noEchoOnlyChanged) {
|
|
26915
|
+
async function updateRestApi(logicalId, physicalId, resourceType, properties, previousProperties, log, changedProperties, noEchoOnlyChanged, keptNoEchoOnly) {
|
|
26901
26916
|
refuseMalformedDesiredTags(properties["Tags"], resourceType, logicalId, physicalId);
|
|
26902
26917
|
try {
|
|
26903
26918
|
let current = previousProperties;
|
|
@@ -26908,7 +26923,8 @@ async function updateRestApi(logicalId, physicalId, resourceType, properties, pr
|
|
|
26908
26923
|
const named = BODY_KEYS.filter((key) => changedProperties.has(key));
|
|
26909
26924
|
if (named.length > 0 && named.every((key) => noEchoOnlyChanged.has(key))) {
|
|
26910
26925
|
bodyChanged = false;
|
|
26911
|
-
|
|
26926
|
+
for (const key of named) keptNoEchoOnly?.(key);
|
|
26927
|
+
log.warn(safeMsg`${logicalId} (${resourceType}): its Body embeds a NoEcho parameter value that cdkd could not compare with the value it last sent, so the OpenAPI definition is not put again, and a change to that value alone is NOT applied by this deploy. cdkd compares it once a deploy can call kms:GenerateMac on the key 'cdkd bootstrap' creates, the Body reads nothing but NoEcho parameters and literals, and a put has recorded the value's MAC. To apply a change now, change a part of the Body that is not masked (its description or a version field, for example) in the same deploy.`);
|
|
26912
26928
|
}
|
|
26913
26929
|
}
|
|
26914
26930
|
if (bodyChanged) {
|
|
@@ -27401,8 +27417,8 @@ var ApiGatewayProvider = class {
|
|
|
27401
27417
|
createRestApi(logicalId, resourceType, properties, log) {
|
|
27402
27418
|
return createRestApi.call(this, logicalId, resourceType, properties, log);
|
|
27403
27419
|
}
|
|
27404
|
-
updateRestApi(logicalId, physicalId, resourceType, properties, previousProperties, log, changedProperties, noEchoOnlyChanged) {
|
|
27405
|
-
return updateRestApi.call(this, logicalId, physicalId, resourceType, properties, previousProperties, log, changedProperties, noEchoOnlyChanged);
|
|
27420
|
+
updateRestApi(logicalId, physicalId, resourceType, properties, previousProperties, log, changedProperties, noEchoOnlyChanged, keptNoEchoOnly) {
|
|
27421
|
+
return updateRestApi.call(this, logicalId, physicalId, resourceType, properties, previousProperties, log, changedProperties, noEchoOnlyChanged, keptNoEchoOnly);
|
|
27406
27422
|
}
|
|
27407
27423
|
deleteRestApi(logicalId, physicalId, resourceType, context) {
|
|
27408
27424
|
return deleteRestApi.call(this, logicalId, physicalId, resourceType, context);
|
|
@@ -62932,4 +62948,4 @@ var ACMCertificateProvider = class {
|
|
|
62932
62948
|
};
|
|
62933
62949
|
|
|
62934
62950
|
export { ACMCertificateProvider, ASGProvider, AgentCoreBrowserProvider, AgentCoreCodeInterpreterProvider, AgentCoreEvaluatorProvider, AgentCoreRuntimeProvider, ApiGatewayProvider, ApiGatewayV2Provider, AppConfigEnvironmentProvider, AppSyncProvider, BudgetsBudgetProvider, CloudFrontDistributionProvider, CloudFrontOACProvider, CloudFrontOAIProvider, CloudTrailProvider, CloudWatchAlarmProvider, CloudWatchAnomalyDetectorProvider, CodeBuildProvider, CodeCommitRepositoryProvider, CognitoUserPoolProvider, DLMLifecyclePolicyProvider, DocDBProvider, DocDBSubnetGroupProvider, DynamoDBGlobalTableProvider, DynamoDBTableProvider, EC2Provider, ECRProvider, ECSProvider, EFSProvider, ELBv2Provider, EMRClusterProvider, EMRInstanceFleetConfigProvider, EMRInstanceGroupConfigProvider, ElastiCacheProvider, EventBridgeBusProvider, EventBridgeRuleProvider, FSxFileSystemProvider, FirehoseProvider, GlueConnectionProvider, GlueCrawlerProvider, GlueJobProvider, GlueProvider, GlueSecurityConfigurationProvider, GlueTriggerProvider, GlueWorkflowProvider, IAMAccessKeyProvider, IAMInstanceProfileProvider, IAMManagedPolicyProvider, IAMPolicyProvider, IAMRoleProvider, IAMUserGroupProvider, KMSProvider, KinesisStreamConsumerProvider, KinesisStreamProvider, LambdaEventInvokeConfigProvider, LambdaEventSourceMappingProvider, LambdaFunctionProvider, LambdaLayerVersionProvider, LambdaMicrovmImageProvider, LambdaNetworkConnectorProvider, LambdaPermissionProvider, LambdaUrlProvider, LambdaWebFunctionEndpointProvider, LambdaWebFunctionRevisionProvider, LogsLogGroupProvider, NeptuneProvider, NestedStackProvider, PipesPipeProvider, RDSDBProxyEndpointProvider, RDSDBProxyProvider, RDSDBProxyTargetGroupProvider, RDSProvider, Route53Provider, S3BucketPolicyProvider, S3BucketProvider, S3DirectoryBucketProvider, S3TablesProvider, S3VectorsProvider, SNSSubscriptionProvider, SNSTopicPolicyProvider, SNSTopicProvider, SQSQueuePolicyProvider, SQSQueueProvider, SSMParameterProvider, SchedulerScheduleProvider, SecretsManagerSecretProvider, ServiceDiscoveryProvider, StepFunctionsProvider, WAFv2WebACLProvider, WaitConditionHandleProvider };
|
|
62935
|
-
//# sourceMappingURL=provider-classes-
|
|
62951
|
+
//# sourceMappingURL=provider-classes-WNwnshId.js.map
|