@cdkd/cli 0.348.0 → 0.349.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.
Files changed (50) hide show
  1. package/dist/{asg-provider-r1ojkIvF.js → asg-provider-Dvy_jqxt.js} +2 -2
  2. package/dist/{asg-provider-r1ojkIvF.js.map → asg-provider-Dvy_jqxt.js.map} +1 -1
  3. package/dist/aws-partition-DA0r2sr-.js +58 -0
  4. package/dist/aws-partition-DA0r2sr-.js.map +1 -0
  5. package/dist/cli.js +2 -2
  6. package/dist/custom-resource-runtime-Dwnnj7bg.js +1104 -0
  7. package/dist/custom-resource-runtime-Dwnnj7bg.js.map +1 -0
  8. package/dist/{db-instance-modify-retry-BaSXzEMy.js → db-instance-modify-retry-pFWx2ED5.js} +2 -2
  9. package/dist/{db-instance-modify-retry-BaSXzEMy.js.map → db-instance-modify-retry-pFWx2ED5.js.map} +1 -1
  10. package/dist/delete-started-Co5Gt1jH.js +169 -0
  11. package/dist/delete-started-Co5Gt1jH.js.map +1 -0
  12. package/dist/{deploy-engine-2XoVAu4C.js → deploy-engine-DeYSJno7.js} +652 -12015
  13. package/dist/deploy-engine-DeYSJno7.js.map +1 -0
  14. package/dist/diff-calculator-CRkRB1Dg.js +4959 -0
  15. package/dist/diff-calculator-CRkRB1Dg.js.map +1 -0
  16. package/dist/ec2-termination-protection-BM1Zt3Fn.js +1277 -0
  17. package/dist/ec2-termination-protection-BM1Zt3Fn.js.map +1 -0
  18. package/dist/{ecr-uri-C1_heDAt.js → ecr-uri-C3_6QVgR.js} +2 -2
  19. package/dist/{ecr-uri-C1_heDAt.js.map → ecr-uri-C3_6QVgR.js.map} +1 -1
  20. package/dist/expected-bucket-owner-CGoY_YS8.js +88 -0
  21. package/dist/expected-bucket-owner-CGoY_YS8.js.map +1 -0
  22. package/dist/{iam-role-provider-BnLtoKcW.js → iam-role-provider-BaN9MMWs.js} +3 -2
  23. package/dist/iam-role-provider-BaN9MMWs.js.map +1 -0
  24. package/dist/image-plan-D4I8-FhR.js +1940 -0
  25. package/dist/image-plan-D4I8-FhR.js.map +1 -0
  26. package/dist/index.d.ts +3 -1
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +3 -2
  29. package/dist/{neptune-provider-lzti8HIF.js → neptune-provider-BYgFNrtZ.js} +3 -3
  30. package/dist/{neptune-provider-lzti8HIF.js.map → neptune-provider-BYgFNrtZ.js.map} +1 -1
  31. package/dist/{program-DSlYCm_d.js → program-BBGm88gl.js} +629 -1858
  32. package/dist/program-BBGm88gl.js.map +1 -0
  33. package/dist/{provider-classes-RMTfwJPz.js → provider-classes-CRCHL04N.js} +33 -17
  34. package/dist/provider-classes-CRCHL04N.js.map +1 -0
  35. package/dist/{rds-provider-COq1pW0G.js → rds-provider-DKZjtd50.js} +62 -40
  36. package/dist/rds-provider-DKZjtd50.js.map +1 -0
  37. package/dist/{read-replica-sjvqi8Of.js → read-replica-C5e4xpYi.js} +2 -2
  38. package/dist/{read-replica-sjvqi8Of.js.map → read-replica-C5e4xpYi.js.map} +1 -1
  39. package/dist/replacement-rules-01_01yDU.js +4937 -0
  40. package/dist/replacement-rules-01_01yDU.js.map +1 -0
  41. package/dist/resource-deadline-TfDpwRQ_.js +423 -0
  42. package/dist/resource-deadline-TfDpwRQ_.js.map +1 -0
  43. package/dist/{version-DXmr3_M4.js → version-DamSnfI_.js} +2 -2
  44. package/dist/{version-DXmr3_M4.js.map → version-DamSnfI_.js.map} +1 -1
  45. package/package.json +3 -2
  46. package/dist/deploy-engine-2XoVAu4C.js.map +0 -1
  47. package/dist/iam-role-provider-BnLtoKcW.js.map +0 -1
  48. package/dist/program-DSlYCm_d.js.map +0 -1
  49. package/dist/provider-classes-RMTfwJPz.js.map +0 -1
  50. 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-BnLtoKcW.js";
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 { $ as vectorIndexesForCreate, $c as passedNoEchoParametersOf, Aa as waitForGoneAfterDelete, Ac as findSdkUnwiredProperties, At as enclosingDeadlineExpired, Au as rewriteTemplateAssetReferences, B as reverseMapStreamPolicy, Bc as lambdaFunctionNameForMask, Co as s3BucketWebsiteUrl, Ct as maskedLogger, Dt as S3_AUTO_DELETE_OBJECTS_TAG, Ea as getCurrentResourceSecrets, El as dynamicReferenceTokens, Et as ECR_AUTO_DELETE_IMAGES_TAG, F as STREAM_POLICY_KEY, Fc as blockDeviceMappingsDifferOnlyInDeleteOnTermination, Fd as derivePartitionAndUrlSuffix, G as streamTagsMatchDeclared, Ga as reEnableInstanceApiTermination, Gi as maskedSecretSegment, Go as isUsableAttemptedName, Gt as markRefusedBeforeApplying, H as streamDeclaresTags, Ha as isTerminationProtectionPropagationError, I as STREAM_TAGS_KEY, J as planTimeToLive, Jt as isAccessDeniedError, K as isTtlAlreadyDisabled, Ka as onlySecretReferencesDiffer, L as declaredStreamPolicyMember, Lc as ecsServiceLaunchTypeSetOrChanged, Lo as getAccountInfo, Mc as withoutSdkUnwiredProperties, Ml as recoverMaskedOutput, Mo as parseWebACLArn, Mr as getCurrentProducerRegions, Na as slowCcOperationTimeoutMs, Nl as physicalNameCopiesOf, Oa as waitForLambdaFunctionActive, Ot as hasCdkAutoDeleteTag, P as DynamoDBGlobalTableProvider, Pd as canonicalizeRegion, Pl as recordAttributeIdCopy, Po as outputReferenceProvenanceOf, Q as readbackVectorIndexes, Qd as resolveAssemblyPath, R as declaredStreamTagsMember, Ra as deleteSkipReason, Rc as emrClusterInstancesReplaced, Rl as carriesSecretMask, Sc as withheldAccountClause, So as s3BucketRegionalDomainName, St as deleteTableWithIndexBusyRetry, Tt as waitForIndexesSettled, Tu as stringifyValue, U as streamMemberRefusals, Ua as observeThenDisableInstanceApiTermination, V as streamDeclaresPolicy, Va as ec2InstanceProtectionSite, Vc as sameLambdaFunctionAddress, W as streamPolicyMatchesDeclared, Wa as reDisableInstanceApiTermination, Wi as APPSYNC_APIKEY_ARN_RESOURCE_PATH, Wt as getPriorAttempts, X as sendTtlWaitingOutRateLimit, Xd as displayAssemblyPath, Xt as withApiLimit, Y as readTtlSpec, Yd as describeFileReadFailure, Yt as lookupEachName, Z as planVectorIndexUpdates, Zd as renderAssemblyPathEscape, _ as listNestedTemplateRows, _t as resolveDynamoDbDeleteBudgetClock, aa as stringifyIfAssigned, al as redactForState, ar as acquireIdempotencyToken, as as isWarmThroughputDecrease, at as planContributorInsightsOp, bo as s3BucketDomainName, br as redactedDeleteAddressFields, bt as INDEX_SETTLE_POLL_INTERVAL_MS, ca as planTagDiff, ct as reverseMapIndexContributorInsights, da as tagMapAsList, dn as withNestedStackContext, ds as withRetry, dt as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, et as vectorIndexesSettled, fa as tagPlanWarning, ft as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, g as isAbsoluteAssetPath, gc as refuseMalformedResourcesForDestroy, gt as deleteBudgetKey, h as findNestedTemplateTreeDefect, ht as compensateRemovedDeletionProtection, ia as definedAttributes, ii as getStackRecords, il as markSameGenerationBag, is as coerceWarmThroughput$1, it as indexDeclaresContributorInsights, ja as resolvedResourceTimeoutMs, jd as decodeListingKey, jt as enclosingDeadlineRemainingMs, kt as isTruthyCfnBoolean, la as readTagList, lt as reverseMapTableContributorInsights, ma as markDeleteStarted, mt as beginDeleteWait, ni as awaitInFlightSibling, nt as CONTRIBUTOR_INSIGHTS_KEY, oa as DBPROXY_TAGS_WHAT, oc as refuseMalformedNestedChildOutputs, oi as replacedDeleteFailureVerdict, ol as recordReferenceProvenanceEntry, on as revertNestedChildFromJournal, os as toCfnInteger, ot as planIndexContributorInsightsOps, pa as isRefusedByName, ps as passedParameterClassesOf, pt as DYNAMODB_DELETE_POLL_COST_MS, pu as timePhase, q as isTtlRateLimited, qa as unchangedBehindSecretReference, qt as chunks, rn as getNestedRevertRun, rr as reserveStackCreateToken, rs as WARM_THROUGHPUT_MEMBERS, rt as contributorInsightsRefusals, sa as DBPROXY_TAG_OPTIONS, sl as snapshotPassProvenance, ss as toFiniteNumber, st as readContributorInsightsSpec, t as DeployEngine, to as isSettledInstanceState, tr as earliestDefined, tt as vectorIndexesShapeDetail, ua as refuseMalformedDesiredTags, ul as hasMaskableValues, un as getCurrentNestedStackContext, ut as stripIndexContributorInsights, v as renderNestedTemplateTreeDefect, vi as refuseRestoreFromItself, vr as REDACTED_DELETE_ADDRESS_SKIP_REASON, vt as resolveDynamoDbDeleteBudgetMs, wl as withoutPhysicalNameCopies, wt as relayedIndexBusyDelete, xc as accountArgs, xo as s3BucketDualStackDomainName, xr as redactedDeleteAddressSkip, xt as TABLE_INDEX_NOUN, yo as s3BucketArn, yr as isRedactedRecordedValue, yt as DELETE_INDEX_WAIT_PROCEED_NOTE, z as planStreamMemberOps, za as withIndeterminateGuard, zc as canonicalLambdaFunctionName, zi as secretNamedAttributeNamesOf } from "./deploy-engine-2XoVAu4C.js";
7
- import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, o as canonicalizeIpProtocolValue, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-DSlYCm_d.js";
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-BBGm88gl.js";
8
+ import { $ as planVectorIndexUpdates, $o as toFiniteNumber, At as hasCdkAutoDeleteTag, B as declaredStreamTagsMember, Co as outputReferenceProvenanceOf, Cr as REDACTED_DELETE_ADDRESS_SKIP_REASON, Ct as TABLE_INDEX_NOUN, Da as resolvedResourceTimeoutMs, Dc as withoutSdkUnwiredProperties, Dt as waitForIndexesSettled, Ea as waitForGoneAfterDelete, El as decodeListingKey, Er as redactedDeleteAddressSkip, Et as relayedIndexBusyDelete, Fl as displayAssemblyPath, G as streamMemberRefusals, Gi as maskedSecretSegment, H as reverseMapStreamPolicy, I as DynamoDBGlobalTableProvider, J as isTtlAlreadyDisabled, Jt as lookupEachName, K as streamPolicyMatchesDeclared, Kt as chunks, L as STREAM_POLICY_KEY, Ll as renderAssemblyPathEscape, Lr as getCurrentProducerRegions, Na as deleteSkipReason, Ot as ECR_AUTO_DELETE_IMAGES_TAG, Pa as withIndeterminateGuard, Pl as describeFileReadFailure, Q as sendTtlWaitingOutRateLimit, Qo as toCfnInteger, R as STREAM_TAGS_KEY, Rl as resolveAssemblyPath, Sa as getCurrentResourceSecrets, St as INDEX_SETTLE_POLL_INTERVAL_MS, Tr as redactedDeleteAddressFields, Tt as maskedLogger, U as streamDeclaresPolicy, Ut as getPriorAttempts, V as planStreamMemberOps, Va as isSettledInstanceState, W as streamDeclaresTags, Wi as APPSYNC_APIKEY_ARN_RESOURCE_PATH, Wt as markRefusedBeforeApplying, X as planTimeToLive, Xo as coerceWarmThroughput$1, Y as isTtlRateLimited, Yo as WARM_THROUGHPUT_MEMBERS, Yt as withApiLimit, Z as readTtlSpec, Zo as isWarmThroughputDecrease, _ as listNestedTemplateRows, _t as compensateRemovedDeletionProtection, an as revertNestedChildFromJournal, as as passedParameterClassesOf, at as contributorInsightsRefusals, bt as resolveDynamoDbDeleteBudgetMs, co as s3BucketDualStackDomainName, cr as reserveStackCreateToken, ct as planIndexContributorInsightsOps, di as replacedDeleteFailureVerdict, dt as reverseMapTableContributorInsights, ec as refuseMalformedNestedChildOutputs, et as readbackVectorIndexes, ft as stripIndexContributorInsights, g as isAbsoluteAssetPath, gc as withheldAccountClause, gt as beginDeleteWait, h as findNestedTemplateTreeDefect, hc as accountArgs, ht as DYNAMODB_DELETE_POLL_COST_MS, it as CONTRIBUTOR_INSIGHTS_KEY, jt as isTruthyCfnBoolean, ko as getAccountInfo, kt as S3_AUTO_DELETE_OBJECTS_TAG, li as getStackRecords, ln as getCurrentNestedStackContext, lo as s3BucketRegionalDomainName, lt as readContributorInsightsSpec, mt as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, nl as rewriteTemplateAssetReferences, nn as getNestedRevertRun, nt as vectorIndexesSettled, oo as s3BucketArn, or as earliestDefined, ot as indexDeclaresContributorInsights, pt as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, q as streamTagsMatchDeclared, qc as stringifyValue, qt as isAccessDeniedError, rt as vectorIndexesShapeDetail, si as awaitInFlightSibling, so as s3BucketDomainName, st as planContributorInsightsOp, t as DeployEngine, tt as vectorIndexesForCreate, uc as refuseMalformedResourcesForDestroy, un as withNestedStackContext, uo as s3BucketWebsiteUrl, ur as acquireIdempotencyToken, ut as reverseMapIndexContributorInsights, v as renderNestedTemplateTreeDefect, vt as deleteBudgetKey, wa as waitForLambdaFunctionActive, wc as findSdkUnwiredProperties, wr as isRedactedRecordedValue, wt as deleteTableWithIndexBusyRetry, xt as DELETE_INDEX_WAIT_PROCEED_NOTE, yo as parseWebACLArn, yt as resolveDynamoDbDeleteBudgetClock, z as declaredStreamPolicyMember, zi as secretNamedAttributeNamesOf } from "./deploy-engine-DeYSJno7.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 { RDSProvider } from "./rds-provider-COq1pW0G.js";
10
- import { n as modifyDbInstanceWhenAvailable, t as isModifyNotAvailableRefusal } from "./db-instance-modify-retry-BaSXzEMy.js";
11
- import { NeptuneProvider } from "./neptune-provider-lzti8HIF.js";
12
- import { ASGProvider } from "./asg-provider-r1ojkIvF.js";
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
- log.warn(safeMsg`${logicalId} (${resourceType}): its Body embeds a NoEcho parameter value, which cdkd records only as *** and cannot compare, so the OpenAPI definition is not put again. A change to that value alone is NOT applied. To apply one, change a part of the Body that is not masked (its description or a version field, for example) in the same deploy.`);
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-RMTfwJPz.js.map
62951
+ //# sourceMappingURL=provider-classes-CRCHL04N.js.map