@cdkd/cli 0.360.1 → 0.362.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 (58) hide show
  1. package/dist/{ambient-client-defaults-7ZUTgwyy.js → ambient-client-defaults-lvt_quOX.js} +4 -3
  2. package/dist/ambient-client-defaults-lvt_quOX.js.map +1 -0
  3. package/dist/{asg-provider-Bw8ajB1r.js → asg-provider-fEPlW1VD.js} +26 -8
  4. package/dist/asg-provider-fEPlW1VD.js.map +1 -0
  5. package/dist/cli.js +3 -3
  6. package/dist/{custom-resource-runtime-CAP2Al4I.js → custom-resource-runtime-DWIcvRGQ.js} +6 -6
  7. package/dist/{custom-resource-runtime-CAP2Al4I.js.map → custom-resource-runtime-DWIcvRGQ.js.map} +1 -1
  8. package/dist/{db-associated-roles-DSeRoEq5.js → db-associated-roles-bxCMZbZE.js} +2 -2
  9. package/dist/{db-associated-roles-DSeRoEq5.js.map → db-associated-roles-bxCMZbZE.js.map} +1 -1
  10. package/dist/{delete-started-DHIp8imD.js → delete-started-CdhzmNUy.js} +212 -6
  11. package/dist/delete-started-CdhzmNUy.js.map +1 -0
  12. package/dist/{deploy-engine-Bo8PtTbG.js → deploy-engine-XCVGar9z.js} +836 -188
  13. package/dist/deploy-engine-XCVGar9z.js.map +1 -0
  14. package/dist/{ec2-termination-protection-CRkl8_Wy.js → ec2-termination-protection-CprPM9CV.js} +6 -6
  15. package/dist/{ec2-termination-protection-CRkl8_Wy.js.map → ec2-termination-protection-CprPM9CV.js.map} +1 -1
  16. package/dist/{ecr-uri-DaIBuz4E.js → ecr-uri-Bco-bZxQ.js} +2 -2
  17. package/dist/{ecr-uri-DaIBuz4E.js.map → ecr-uri-Bco-bZxQ.js.map} +1 -1
  18. package/dist/{expected-bucket-owner-BjRKj3hF.js → expected-bucket-owner-DNrpjI15.js} +2 -2
  19. package/dist/{expected-bucket-owner-BjRKj3hF.js.map → expected-bucket-owner-DNrpjI15.js.map} +1 -1
  20. package/dist/{iam-role-provider-CcK9C-mY.js → iam-role-provider-n08e_UqG.js} +9 -9
  21. package/dist/{iam-role-provider-CcK9C-mY.js.map → iam-role-provider-n08e_UqG.js.map} +1 -1
  22. package/dist/{image-plan-CwiLyeAj.js → image-plan-PkDml11o.js} +8 -8
  23. package/dist/{image-plan-CwiLyeAj.js.map → image-plan-PkDml11o.js.map} +1 -1
  24. package/dist/index.d.ts +7 -0
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/index.js +5 -5
  27. package/dist/{logger-CjGMINd9.js → logger-CS467GaW.js} +2 -2
  28. package/dist/{logger-CjGMINd9.js.map → logger-CS467GaW.js.map} +1 -1
  29. package/dist/{neptune-provider-D-jHbjCG.js → neptune-provider-B6VK2Cbj.js} +7 -7
  30. package/dist/{neptune-provider-D-jHbjCG.js.map → neptune-provider-B6VK2Cbj.js.map} +1 -1
  31. package/dist/{program-BHLjuXmA.js → program-BgTzsbxH.js} +55 -22
  32. package/dist/program-BgTzsbxH.js.map +1 -0
  33. package/dist/{provider-classes-D5IgG-fE.js → provider-classes-BPg5qXSB.js} +493 -71
  34. package/dist/provider-classes-BPg5qXSB.js.map +1 -0
  35. package/dist/{rds-provider-BSDygv5j.js → rds-provider-6MbfXMoG.js} +98 -14
  36. package/dist/rds-provider-6MbfXMoG.js.map +1 -0
  37. package/dist/{read-replica-a4eZWjUH.js → read-replica-Zx5KMOal.js} +3 -3
  38. package/dist/{read-replica-a4eZWjUH.js.map → read-replica-Zx5KMOal.js.map} +1 -1
  39. package/dist/{replacement-rules-JS1D0m-r.js → replacement-rules-D_XjAts6.js} +3 -3
  40. package/dist/{replacement-rules-JS1D0m-r.js.map → replacement-rules-D_XjAts6.js.map} +1 -1
  41. package/dist/{resource-deadline-DtW_JiNE.js → resource-deadline-o6RvWixc.js} +21 -21
  42. package/dist/{resource-deadline-DtW_JiNE.js.map → resource-deadline-o6RvWixc.js.map} +1 -1
  43. package/dist/{restore-source-guard-BPEKIvrh.js → restore-source-guard-ORkhNnNg.js} +4 -4
  44. package/dist/{restore-source-guard-BPEKIvrh.js.map → restore-source-guard-ORkhNnNg.js.map} +1 -1
  45. package/dist/{run-cli-F87YOoqR.js → run-cli-Dp5c7Am8.js} +2 -2
  46. package/dist/{run-cli-F87YOoqR.js.map → run-cli-Dp5c7Am8.js.map} +1 -1
  47. package/dist/{settle-own-write-members-DmDIpP0O.js → settle-own-write-members-SaiOYQGZ.js} +12 -12
  48. package/dist/{settle-own-write-members-DmDIpP0O.js.map → settle-own-write-members-SaiOYQGZ.js.map} +1 -1
  49. package/dist/{version-MMfHOVaa.js → version-DFX4Mg8N.js} +2 -2
  50. package/dist/{version-MMfHOVaa.js.map → version-DFX4Mg8N.js.map} +1 -1
  51. package/package.json +1 -1
  52. package/dist/ambient-client-defaults-7ZUTgwyy.js.map +0 -1
  53. package/dist/asg-provider-Bw8ajB1r.js.map +0 -1
  54. package/dist/delete-started-DHIp8imD.js.map +0 -1
  55. package/dist/deploy-engine-Bo8PtTbG.js.map +0 -1
  56. package/dist/program-BHLjuXmA.js.map +0 -1
  57. package/dist/provider-classes-D5IgG-fE.js.map +0 -1
  58. package/dist/rds-provider-BSDygv5j.js.map +0 -1
@@ -1,24 +1,24 @@
1
- import { a as restoreOwnWriteRemovals, c as isEntityAlreadyExists, i as recordOwnWriteRemoval, l as IamCreateClientCache, n as collectInlinePolicyNamesManagedBySiblings, o as takeOwnWriteRemovals, r as clearOwnWriteRemovals, s as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-CcK9C-mY.js";
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, c as VERBOSE_POINTER, d as describeAwsStatusReason, f as isAwsAuthoredFailure, g as verbosePointerTail, h as verbosePointerSentence, j as readConfigString, k as configIntegerRefusal, n as getLogger, p as safeStringify, q as getCurrentStackInstanceId, u as describeAwsFailure, w as generatedNameFor } from "./logger-CjGMINd9.js";
1
+ import { a as restoreOwnWriteRemovals, c as isEntityAlreadyExists, i as recordOwnWriteRemoval, l as IamCreateClientCache, n as collectInlinePolicyNamesManagedBySiblings, o as takeOwnWriteRemovals, r as clearOwnWriteRemovals, s as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-n08e_UqG.js";
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, c as VERBOSE_POINTER, d as describeAwsStatusReason, f as isAwsAuthoredFailure, g as verbosePointerTail, h as verbosePointerSentence, j as readConfigString, k as configIntegerRefusal, n as getLogger, p as safeStringify, q as getCurrentStackInstanceId, u as describeAwsFailure, w as generatedNameFor } from "./logger-CS467GaW.js";
3
3
  import { d as withApiGatewayPacing, l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-DOkPjjAW.js";
4
- import { D as markReplayMayCollide, E as markNameCollision, F as isAmbiguousOutcomeError, G as markRedactedCause, I as isExplicitDenyError, K as wrapMaskedAwsError, M as explicitDenyPolicyKind, O as relayedNameCollision, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, W as markNonRetryable, _ as ResourceUpdateNotSupportedError, at as ProvisioningError, et as CdkdError, i as credentialFingerprint, n as ambientCredentialConfig, r as clientDefaultsFor, t as ambientClientDefaults, x as hasReplayMayCollide, z as isTransientServerError } from "./ambient-client-defaults-7ZUTgwyy.js";
5
- import { $ as isProceedDbStatus, $t as markAuxiliaryFailure, A as isPlainImportJson, At as canonicalizeRoute53QueryName, B as assertRegionMatch, Bt as createMaskedRetryLogger, C as isInsideWindow, Ct as SECRET_DERIVED_READ_LIVE, D as withoutServerErrorRetries, E as setBounded, Et as readPrincipalLists, F as refusalTypeShown, Ft as packCompositeId, G as logGroupProtectionSite, H as markNotGone, Ht as maskDeep, I as remedyLogicalId, K as observeThenDisableProtection, L as resolveExplicitPhysicalId, Lt as segmentAfterAnchor, M as isQuotableImportValue, Mt as compositeIdSeparatorRefusal, N as normalizeAwsTagsToCfn, Nt as compositeIdSkipResult, O as VALUE_NOT_SHOWN, Ot as recordedPrincipalsRepair, P as quotedRemedyLogicalId, Pt as logicalIdShown, R as DriftReadRefusedError, Rt as stateOrphanRecordRemedy, S as createAttemptKey, T as replayedSendWindow, Tt as onlySecretDerived, Ut as maskerOrIdentity, Vt as isSecretDerivedValue, W as deleteWithProtectionCompensation, Wt as withDerivedNameMasks, X as PROTECTION_FLIP_RETRY_WAIT_MS, Y as userPoolProtectionSite, Z as deleteAfterProtectionFlipWithFinalSnapshot, Zt as isAuxiliaryFailure, _ as AMBIGUOUS_LATCH_TTL_MS, _n as withPasteableAwsProfile, a as clearOnUpdateRemoval, b as RecentIdSet, bt as startInterruptWatch, c as removedTemplateKeys, dt as WITHHELD_AWS_COMMAND, en as markCreatedBeforeFailure, et as isTerminalDbWaitStatus, ft as isAwsCliLiteral, g as retractCreatedResource, ht as renderDisableCommand, it as protectionFlipKey, j as isPlainImportValue, jt as compositeIdFormatMessage, k as importRemedyCommand, l as withRemovalDefaults, m as reportCreatedResource, mt as protectedReplacementAdvice, n as enclosingDeadlineRemainingMs, nt as ProtectionFlipRegistry, ot as ElapsedBudget, pt as pasteableAwsCommand, q as rdsFamilyProtectionSite, qt as clearCreatedBeforeFailure, rt as isTerminalDeleteFailure, st as ElapsedBudgetRegistry, t as enclosingDeadlineExpired, tn as markSupersedesEarlierCreate, ut as UNNAMEABLE_ID_CLAUSE, v as AmbiguousCreateLatch, vn as injectiveKey, w as replayFollowedAmbiguousAttempt, wt as holdsSecretDerivedEntry, x as ambiguousAttemptLead, y as CREATION_DATE_SKEW_MARGIN_MS, yn as injectiveKeyPrefix, yt as isInterruptedWaitError, z as RESOURCE_NOT_FOUND, zt as createMaskedLogSinks } from "./resource-deadline-DtW_JiNE.js";
6
- import { A as displayStackName, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, c as deployReplaceCommand, d as pasteableCommand, j as isPasteableIdent, k as displaySafe, l as hasClauseBreak, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, u as isInertUnquoted, v as withheldTargetClause } from "./version-MMfHOVaa.js";
7
- import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-DHIp8imD.js";
8
- import { $ as effectiveInventoryItem, A as tagListsMatch, B as LIFECYCLE_DEFAULT_STATUS, C as reconcileSgRules, D as singleSecurityGroupRuleId, E as sgRuleKey, F as clearLifecycleWritesOf, G as canonicalizeItemList, H as LIFECYCLE_RULE_PATH, I as lifecycleSettleTarget, J as lifecycleUsesFilterForm, K as effectiveLifecycleConfiguration, L as recordLifecycleWrite, M as sgRemovalRuleKey, N as sgRuleListMember, O as stackIngressRuleHolder, P as LIFECYCLE_BASELINE_REREAD_DELAYS_MS, Q as effectiveIntelligentTieringItem, R as settleLifecycleRead, S as narrowIngressIpProtocol, T as securityGroupRuleMatchesCfnIngress, U as LIFECYCLE_TAG_FILTERS_PATH, V as LIFECYCLE_FILTER_PATH, W as canonicalizeBlock, X as EVENTBRIDGE_CONFIG_PATH, Y as parseCfnTimestamp, Z as effectiveAnalyticsItem, _ as flattenIpPermissions, a as resolveSecretDerivedPrincipals, at as declaresBucketObjectLock, b as isDefaultEgressRule, c as readSgIngressById, ct as isPlainObject$4, d as SG_RULE_PAGE_SIZE, dt as shownLifecycleRuleId, et as effectiveNotificationConfiguration, f as authorizeDefinitelyNotApplied, g as descriptionKey, h as comparableIngressIdentity, i as isResolvableSecretPrincipalList, it as configItemId, j as markCopiesAgreed, k as survivingRecordOfRuleId, l as siblingIdOwnedSgRules, lt as manualBucketDeletionClause, m as canonicalizeSgRuleProtocol, n as runDestroyForStack, nt as caughtErrorName, o as refuseRevertRevokingSiblingRules, ot as declaresNestedObjectLock, p as canonicalizeSgInlineRuleProtocols, q as lifecycleRuleScope, r as holdsUnprovenSecretPrincipalToken, rt as coerceCfnNumber, s as sgRuleDiffKey, st as describeValue$1, t as canonicalizeIpv4Cidr, tt as eventBridgeEnabledOf, u as SG_READBACK_RETRY_DELAY_MS, ut as mergeLegacySingular, v as ingressRuleIdentity, w as securityGroupReadbackDelays, x as isResendableSocketFailure, y as isConnectTimeout, z as takeLifecycleWrite } from "./program-BHLjuXmA.js";
9
- import { $ as recordTagWrite, $r as redactedDeleteAddressSkip, At as DELETE_INDEX_WAIT_PROCEED_NOTE, B as declaredStreamTagsMember, Ba as SNS_DEFAULT_POLICY_ID, Bt as isTruthyCfnBoolean, Ct as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, Dl as refuseMalformedResourcesForDestroy, Do as RecordedIdentityError, Dt as deleteBudgetKey, Eo as waitForGoneAfterDelete, Et as compensateRemovedDeletionProtection, Fa as withoutSiblingAttachedArns, Fo as deleteSkipReason, Fs as outputReferenceProvenanceOf, Ft as relayedIndexBusyDelete, G as streamDeclaresTags, Ga as memberReadFailure, Go as isSettledInstanceState, Ha as declaredPolicyDocument, I as DynamoDBGlobalTableProvider, Ia as withoutSiblingOwned, Ii as getStackRecords, Io as withIndeterminateGuard, Ir as acquireIdempotencyToken, It as waitForIndexesSettled, J as streamTagsMatchDeclared, Ja as settleDeclaredMember, Jo as maskedSecretSegment, K as streamMemberRefusals, Ka as policyDocumentMatchesDeclared, Ki as replacedDeleteFailureVerdict, Ko as APPSYNC_APIKEY_ARN_RESOURCE_PATH, L as STREAM_POLICY_KEY, La as KMS_DEFAULT_KEY_POLICY_ID, Lt as ECR_AUTO_DELETE_IMAGES_TAG, Lu as rewriteTemplateAssetReferences, Ma as collectManagedPolicyArnsAttachedBySiblings, Ml as accountArgs, Mr as earliestDefined, Mt as TABLE_INDEX_NOUN, Na as collectPrincipalsAttachingPolicy, Nl as withheldAccountClause, Nt as deleteTableWithIndexBusyRetry, Oo as RecordedIdentityMismatchError, Ot as resolveDynamoDbDeleteBudgetClock, Pa as isStoredExpression, Pi as awaitInFlightSibling, Pr as reserveStackCreateToken, Pt as maskedLogger, Q as isDynamoDBTableArnIn, Qa as policyContentKey, Qr as redactedDeleteAddressFields, Qt as licensedNameHolder, R as STREAM_TAGS_KEY, Rt as S3_AUTO_DELETE_OBJECTS_TAG, Sc as passedParameterClassesOf, St as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, Tt as beginDeleteWait, Tu as decodeListingKey, U as reverseMapStreamPolicy, Ua as efsPolicyMatchesDeclared, V as planStreamMemberOps, Va as declaredMemberDocument, Vl as findSdkUnwiredProperties, Vs as getAccountInfo, W as streamDeclaresPolicy, Wa as lambdaPermissionMatchesDeclared, Wl as withoutSdkUnwiredProperties, X as clearTagWrites, Xa as verbatimEchoDriftKeys, Xr as REDACTED_DELETE_ADDRESS_SKIP_REASON, Y as TAGS_BASELINE_REREAD_DELAYS_MS, Ya as warnUnsettledMember, Za as attemptedPolicyDocument, Zr as isRedactedRecordedValue, _l as refuseMalformedNestedChildOutputs, _n as getCurrentNestedStackContext, _s as s3BucketArn, _t as planIndexContributorInsightsOps, _u as listNestedTemplateRows, ao as classifyHandleUrl, at as planTimeToLive, bs as s3BucketRegionalDomainName, bt as reverseMapTableContributorInsights, ct as planVectorIndexUpdates, dc as isWarmThroughputDecrease, dd as describeFileReadFailure, dr as withoutSiblingOwnedSgRules, dt as vectorIndexesSettled, ec as LEGACY_HANDLE_ID_PREFIX, en as chunks, et as settleWrittenTags, fc as toCfnInteger, fd as displayAssemblyPath, fr as SG_RULE_ID_PATTERN, ft as vectorIndexesShapeDetail, ga as secretNamedAttributeNamesOf, gt as planContributorInsightsOp, gu as isAbsoluteAssetPath, hd as resolveAssemblyPath, hr as sgProtocolKey, ht as indexDeclaresContributorInsights, hu as findNestedTemplateTreeDefect, io as WaitConditionSignalStore, it as isTtlRateLimited, ja as collectGroupsAddedBySiblings, js as parseWebACLArn, jt as INDEX_SETTLE_POLL_INTERVAL_MS, ko as assertRecordedIdentity, kt as resolveDynamoDbDeleteBudgetMs, lc as WARM_THROUGHPUT_MEMBERS, lr as siblingOwnedSgRuleIdentities, lt as readbackVectorIndexes, md as renderAssemblyPathEscape, mo as getCurrentResourceSecrets, mr as recordedSgRuleId, mt as contributorInsightsRefusals, nn as lookupEachName, nt as takeTagWrite, oo as evaluateSignals, ot as readTtlSpec, pc as toFiniteNumber, pn as revertNestedChildFromJournal, pr as cfnIngressPortValue, pt as CONTRIBUTOR_INSIGHTS_KEY, pu as stringifyValue, q as streamPolicyMatchesDeclared, qa as reReadUntilSettled, rn as withApiLimit, rt as isTtlAlreadyDisabled, st as sendTtlWaitingOutRateLimit, t as DeployEngine, tc as isLegacyHandleId, tn as isAccessDeniedError, uc as coerceWarmThroughput$1, ui as getCurrentProducerRegions, un as getNestedRevertRun, ut as vectorIndexesForCreate, vn as withNestedStackContext, vs as s3BucketDomainName, vt as readContributorInsightsSpec, vu as renderNestedTemplateTreeDefect, wo as waitForLambdaFunctionActive, wr as calculateResourceDrift, wt as DYNAMODB_DELETE_POLL_COST_MS, xs as s3BucketWebsiteUrl, xt as stripIndexContributorInsights, ys as s3BucketDualStackDomainName, yt as reverseMapIndexContributorInsights, z as declaredStreamPolicyMember, za as OWN_WRITE_REREAD_DELAYS_MS, zo as markWaitAbandoned, zt as hasCdkAutoDeleteTag } from "./deploy-engine-Bo8PtTbG.js";
10
- import { _ as isUsableAttemptedName, c as planTagDiff, d as tagMapAsList, f as tagPlanWarning, g as stringifyIfAssigned, h as definedAttributes, i as refuseRestoreFromItself, l as readTagList, m as modifyDbInstanceWhenAvailable, o as DBPROXY_TAGS_WHAT, p as isModifyNotAvailableRefusal, s as DBPROXY_TAG_OPTIONS, u as refuseMalformedDesiredTags } from "./restore-source-guard-BPEKIvrh.js";
11
- import { W as timePhase, _ as onlySecretReferencesDiffer, a as reDisableInstanceApiTermination, c as resolvedResourceTimeoutMs, f as markRefusedBeforeApplying, i as observeThenDisableInstanceApiTermination, j as withRetry, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, r as isTerminationProtectionPropagationError, s as resolvedPerTypeResourceTimeoutMs, u as getPriorAttempts, v as unchangedBehindSecretReference } from "./ec2-termination-protection-CRkl8_Wy.js";
12
- import { a as principalOwnWriteMembers, c as stringListMember, d as normalizeRecordName, f as planSubscriptionAttributes, n as declaredStringList, o as settleOwnWriteMembers } from "./settle-own-write-members-DmDIpP0O.js";
4
+ import { D as markReplayMayCollide, E as markNameCollision, F as isAmbiguousOutcomeError, G as markRedactedCause, I as isExplicitDenyError, K as wrapMaskedAwsError, M as explicitDenyPolicyKind, O as relayedNameCollision, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, W as markNonRetryable, _ as ResourceUpdateNotSupportedError, at as ProvisioningError, et as CdkdError, i as credentialFingerprint, n as ambientCredentialConfig, r as clientDefaultsFor, t as ambientClientDefaults, x as hasReplayMayCollide, z as isTransientServerError } from "./ambient-client-defaults-lvt_quOX.js";
5
+ import { $ as isProceedDbStatus, $t as markAuxiliaryFailure, A as assertRegionMatch, At as canonicalizeRoute53QueryName, B as resolveExplicitPhysicalId, Bt as createMaskedRetryLogger, C as isInsideWindow, Ct as SECRET_DERIVED_READ_LIVE, D as withoutServerErrorRetries, E as setBounded, Et as readPrincipalLists, F as isQuotableImportValue, Ft as packCompositeId, G as logGroupProtectionSite, H as markNotGone, Ht as maskDeep, I as normalizeAwsTagsToCfn, K as observeThenDisableProtection, L as quotedRemedyLogicalId, Lt as segmentAfterAnchor, M as importRemedyCommand, Mt as compositeIdSeparatorRefusal, N as isPlainImportJson, Nt as compositeIdSkipResult, O as DriftReadRefusedError, Ot as recordedPrincipalsRepair, P as isPlainImportValue, Pt as logicalIdShown, R as refusalTypeShown, Rt as stateOrphanRecordRemedy, S as createAttemptKey, T as replayedSendWindow, Tt as onlySecretDerived, Ut as maskerOrIdentity, Vt as isSecretDerivedValue, W as deleteWithProtectionCompensation, Wt as withDerivedNameMasks, X as PROTECTION_FLIP_RETRY_WAIT_MS, Y as userPoolProtectionSite, Z as deleteAfterProtectionFlipWithFinalSnapshot, Zt as isAuxiliaryFailure, _ as AMBIGUOUS_LATCH_TTL_MS, _n as withPasteableAwsProfile, a as clearOnUpdateRemoval, b as RecentIdSet, bt as startInterruptWatch, c as removedTemplateKeys, dt as WITHHELD_AWS_COMMAND, en as markCreatedBeforeFailure, et as isTerminalDbWaitStatus, ft as isAwsCliLiteral, g as retractCreatedResource, ht as renderDisableCommand, it as protectionFlipKey, j as VALUE_NOT_SHOWN, jt as compositeIdFormatMessage, k as RESOURCE_NOT_FOUND, l as withRemovalDefaults, m as reportCreatedResource, mt as protectedReplacementAdvice, n as enclosingDeadlineRemainingMs, nt as ProtectionFlipRegistry, ot as ElapsedBudget, pt as pasteableAwsCommand, q as rdsFamilyProtectionSite, qt as clearCreatedBeforeFailure, rt as isTerminalDeleteFailure, st as ElapsedBudgetRegistry, t as enclosingDeadlineExpired, tn as markSupersedesEarlierCreate, ut as UNNAMEABLE_ID_CLAUSE, v as AmbiguousCreateLatch, vn as injectiveKey, w as replayFollowedAmbiguousAttempt, wt as holdsSecretDerivedEntry, x as ambiguousAttemptLead, y as CREATION_DATE_SKEW_MARGIN_MS, yn as injectiveKeyPrefix, yt as isInterruptedWaitError, z as remedyLogicalId, zt as createMaskedLogSinks } from "./resource-deadline-o6RvWixc.js";
6
+ import { A as displayStackName, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, c as deployReplaceCommand, d as pasteableCommand, j as isPasteableIdent, k as displaySafe, l as hasClauseBreak, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, u as isInertUnquoted, v as withheldTargetClause } from "./version-DFX4Mg8N.js";
7
+ import { At as identityTimestamp, Ct as assertRecordedIdentity, Dt as slowCcOperationTimeoutMs, Et as recordedIdentityId, It as isoTimestampAttribute, St as RecordedIdentityMismatchError, _t as chunks, bt as withApiLimit, gt as deniedIdentityReadRefusal, n as isRefusedByName, r as markDeleteStarted, vt as isAccessDeniedError, xt as RecordedIdentityError, yt as lookupEachName } from "./delete-started-CdhzmNUy.js";
8
+ import { $ as recordTagWrite, $a as policyContentKey, $r as redactedDeleteAddressFields, Al as withheldAccountClause, At as DELETE_INDEX_WAIT_PROCEED_NOTE, B as declaredStreamTagsMember, Ba as OWN_WRITE_REREAD_DELAYS_MS, Bt as isTruthyCfnBoolean, Ct as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, Do as waitForGoneAfterDelete, Dt as deleteBudgetKey, Et as compensateRemovedDeletionProtection, Fa as isStoredExpression, Fi as awaitInFlightSibling, Fr as reserveStackCreateToken, Ft as relayedIndexBusyDelete, G as streamDeclaresTags, Ga as lambdaPermissionMatchesDeclared, Go as maskedSecretSegment, Ha as declaredMemberDocument, Ho as isSettledInstanceState, I as DynamoDBGlobalTableProvider, Ia as withoutSiblingAttachedArns, Io as markWaitAbandoned, It as waitForIndexesSettled, J as streamTagsMatchDeclared, Ja as reReadUntilSettled, K as streamMemberRefusals, Ka as memberReadFailure, L as STREAM_POLICY_KEY, La as withoutSiblingOwned, Li as getStackRecords, Lr as acquireIdempotencyToken, Lt as ECR_AUTO_DELETE_IMAGES_TAG, Ma as collectGroupsAddedBySiblings, Mo as deleteSkipReason, Ms as outputReferenceProvenanceOf, Mt as TABLE_INDEX_NOUN, Na as collectManagedPolicyArnsAttachedBySiblings, No as withIndeterminateGuard, Nr as earliestDefined, Nt as deleteTableWithIndexBusyRetry, Os as parseWebACLArn, Ot as resolveDynamoDbDeleteBudgetClock, Pa as collectPrincipalsAttachingPolicy, Pt as maskedLogger, Pu as rewriteTemplateAssetReferences, Q as isDynamoDBTableArnIn, Qa as attemptedPolicyDocument, Qr as isRedactedRecordedValue, Qs as isLegacyHandleId, R as STREAM_TAGS_KEY, Ra as KMS_DEFAULT_KEY_POLICY_ID, Rl as findSdkUnwiredProperties, Rs as getAccountInfo, Rt as S3_AUTO_DELETE_OBJECTS_TAG, St as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, Su as decodeListingKey, To as waitForLambdaFunctionActive, Tr as calculateResourceDrift, Tt as beginDeleteWait, U as reverseMapStreamPolicy, Ua as declaredPolicyDocument, Uo as APPSYNC_APIKEY_ARN_RESOURCE_PATH, V as planStreamMemberOps, Va as SNS_DEFAULT_POLICY_ID, Vl as withoutSdkUnwiredProperties, W as streamDeclaresPolicy, Wa as efsPolicyMatchesDeclared, X as clearTagWrites, Xa as warnUnsettledMember, Y as TAGS_BASELINE_REREAD_DELAYS_MS, Ya as settleDeclaredMember, Za as verbatimEchoDriftKeys, Zr as REDACTED_DELETE_ADDRESS_SKIP_REASON, Zs as LEGACY_HANDLE_ID_PREFIX, _a as secretNamedAttributeNamesOf, _n as withNestedStackContext, _s as s3BucketRegionalDomainName, _t as planIndexContributorInsightsOps, ao as WaitConditionSignalStore, at as planTimeToLive, bt as reverseMapTableContributorInsights, cc as isWarmThroughputDecrease, cd as describeFileReadFailure, cr as siblingOwnedSgRuleIdentities, ct as planVectorIndexUpdates, dd as renderAssemblyPathEscape, di as getCurrentProducerRegions, dr as SG_RULE_ID_PATTERN, dt as vectorIndexesSettled, ei as redactedDeleteAddressSkip, et as settleWrittenTags, fd as resolveAssemblyPath, fn as revertNestedChildFromJournal, fr as cfnIngressPortValue, ft as vectorIndexesShapeDetail, fu as findNestedTemplateTreeDefect, gn as getCurrentNestedStackContext, gs as s3BucketDualStackDomainName, gt as planContributorInsightsOp, ho as getCurrentResourceSecrets, hs as s3BucketDomainName, ht as indexDeclaresContributorInsights, hu as renderNestedTemplateTreeDefect, it as isTtlRateLimited, jt as INDEX_SETTLE_POLL_INTERVAL_MS, kl as accountArgs, kt as resolveDynamoDbDeleteBudgetMs, lc as toCfnInteger, ld as displayAssemblyPath, ln as getNestedRevertRun, lt as readbackVectorIndexes, ml as refuseMalformedNestedChildOutputs, mr as sgProtocolKey, ms as s3BucketArn, mt as contributorInsightsRefusals, mu as listNestedTemplateRows, nt as takeTagWrite, oc as WARM_THROUGHPUT_MEMBERS, oo as classifyHandleUrl, ot as readTtlSpec, pr as recordedSgRuleId, pt as CONTRIBUTOR_INSIGHTS_KEY, pu as isAbsoluteAssetPath, q as streamPolicyMatchesDeclared, qa as policyDocumentMatchesDeclared, qi as replacedDeleteFailureVerdict, rt as isTtlAlreadyDisabled, sc as coerceWarmThroughput$1, so as evaluateSignals, st as sendTtlWaitingOutRateLimit, t as DeployEngine, tn as licensedNameHolder, uc as toFiniteNumber, ur as withoutSiblingOwnedSgRules, ut as vectorIndexesForCreate, uu as stringifyValue, vs as s3BucketWebsiteUrl, vt as readContributorInsightsSpec, wl as refuseMalformedResourcesForDestroy, wt as DYNAMODB_DELETE_POLL_COST_MS, xt as stripIndexContributorInsights, yc as passedParameterClassesOf, yt as reverseMapIndexContributorInsights, z as declaredStreamPolicyMember, zt as hasCdkAutoDeleteTag } from "./deploy-engine-XCVGar9z.js";
9
+ import { $ as effectiveInventoryItem, A as tagListsMatch, B as LIFECYCLE_DEFAULT_STATUS, C as reconcileSgRules, D as singleSecurityGroupRuleId, E as sgRuleKey, F as clearLifecycleWritesOf, G as canonicalizeItemList, H as LIFECYCLE_RULE_PATH, I as lifecycleSettleTarget, J as lifecycleUsesFilterForm, K as effectiveLifecycleConfiguration, L as recordLifecycleWrite, M as sgRemovalRuleKey, N as sgRuleListMember, O as stackIngressRuleHolder, P as LIFECYCLE_BASELINE_REREAD_DELAYS_MS, Q as effectiveIntelligentTieringItem, R as settleLifecycleRead, S as narrowIngressIpProtocol, T as securityGroupRuleMatchesCfnIngress, U as LIFECYCLE_TAG_FILTERS_PATH, V as LIFECYCLE_FILTER_PATH, W as canonicalizeBlock, X as EVENTBRIDGE_CONFIG_PATH, Y as parseCfnTimestamp, Z as effectiveAnalyticsItem, _ as flattenIpPermissions, a as resolveSecretDerivedPrincipals, at as declaresBucketObjectLock, b as isDefaultEgressRule, c as readSgIngressById, ct as isPlainObject$4, d as SG_RULE_PAGE_SIZE, dt as shownLifecycleRuleId, et as effectiveNotificationConfiguration, f as authorizeDefinitelyNotApplied, g as descriptionKey, h as comparableIngressIdentity, i as isResolvableSecretPrincipalList, it as configItemId, j as markCopiesAgreed, k as survivingRecordOfRuleId, l as siblingIdOwnedSgRules, lt as manualBucketDeletionClause, m as canonicalizeSgRuleProtocol, n as runDestroyForStack, nt as caughtErrorName, o as refuseRevertRevokingSiblingRules, ot as declaresNestedObjectLock, p as canonicalizeSgInlineRuleProtocols, q as lifecycleRuleScope, r as holdsUnprovenSecretPrincipalToken, rt as coerceCfnNumber, s as sgRuleDiffKey, st as describeValue$1, t as canonicalizeIpv4Cidr, tt as eventBridgeEnabledOf, u as SG_READBACK_RETRY_DELAY_MS, ut as mergeLegacySingular, v as ingressRuleIdentity, w as securityGroupReadbackDelays, x as isResendableSocketFailure, y as isConnectTimeout, z as takeLifecycleWrite } from "./program-BgTzsbxH.js";
10
+ import { _ as isUsableAttemptedName, c as planTagDiff, d as tagMapAsList, f as tagPlanWarning, g as stringifyIfAssigned, h as definedAttributes, i as refuseRestoreFromItself, l as readTagList, m as modifyDbInstanceWhenAvailable, o as DBPROXY_TAGS_WHAT, p as isModifyNotAvailableRefusal, s as DBPROXY_TAG_OPTIONS, u as refuseMalformedDesiredTags } from "./restore-source-guard-ORkhNnNg.js";
11
+ import { W as timePhase, _ as onlySecretReferencesDiffer, a as reDisableInstanceApiTermination, c as resolvedResourceTimeoutMs, f as markRefusedBeforeApplying, i as observeThenDisableInstanceApiTermination, j as withRetry, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, r as isTerminationProtectionPropagationError, s as resolvedPerTypeResourceTimeoutMs, u as getPriorAttempts, v as unchangedBehindSecretReference } from "./ec2-termination-protection-CprPM9CV.js";
12
+ import { a as principalOwnWriteMembers, c as stringListMember, d as normalizeRecordName, f as planSubscriptionAttributes, n as declaredStringList, o as settleOwnWriteMembers } from "./settle-own-write-members-SaiOYQGZ.js";
13
13
  import { n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
14
14
  import { f as ambientRegion, r as awsEndpointOverrideActive } from "./aws-client-defaults-DAebi99J.js";
15
- import { $ as snapshotPassProvenance, At as withoutPhysicalNameCopies, C as passedNoEchoParametersOf, I as markSameGenerationBag, Nt as dynamicReferenceTokens, W as redactForState, Z as recordReferenceProvenanceEntry, a as emrClusterInstancesReplaced, cn as recordAttributeIdCopy, i as ecsServiceLaunchTypeSetOrChanged, it as hasMaskableValues, l as sameLambdaFunctionAddress, mn as carriesSecretMask, n as blockDeviceMappingsDifferOnlyInDeleteOnTermination, o as canonicalLambdaFunctionName, on as recoverMaskedOutput, s as lambdaFunctionNameForMask, sn as physicalNameCopiesOf } from "./replacement-rules-JS1D0m-r.js";
16
- import { RDSProvider } from "./rds-provider-BSDygv5j.js";
17
- import { NeptuneProvider } from "./neptune-provider-D-jHbjCG.js";
18
- import { ASGProvider } from "./asg-provider-Bw8ajB1r.js";
15
+ import { $ as snapshotPassProvenance, At as withoutPhysicalNameCopies, C as passedNoEchoParametersOf, I as markSameGenerationBag, Nt as dynamicReferenceTokens, W as redactForState, Z as recordReferenceProvenanceEntry, a as emrClusterInstancesReplaced, cn as recordAttributeIdCopy, i as ecsServiceLaunchTypeSetOrChanged, it as hasMaskableValues, l as sameLambdaFunctionAddress, mn as carriesSecretMask, n as blockDeviceMappingsDifferOnlyInDeleteOnTermination, o as canonicalLambdaFunctionName, on as recoverMaskedOutput, s as lambdaFunctionNameForMask, sn as physicalNameCopiesOf } from "./replacement-rules-D_XjAts6.js";
16
+ import { RDSProvider } from "./rds-provider-6MbfXMoG.js";
17
+ import { NeptuneProvider } from "./neptune-provider-B6VK2Cbj.js";
18
+ import { ASGProvider } from "./asg-provider-fEPlW1VD.js";
19
19
  import { createHash, randomUUID } from "node:crypto";
20
20
  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";
21
- 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";
21
+ 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, GetRoleCommand, 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";
22
22
  import { CreateQueueCommand, DeleteQueueCommand, GetQueueAttributesCommand, GetQueueUrlCommand, ListQueueTagsCommand, QueueDoesNotExist, SQSClient, SetQueueAttributesCommand, TagQueueCommand, UntagQueueCommand } from "@aws-sdk/client-sqs";
23
23
  import { AuthorizationErrorException, CreateTopicCommand, DeleteTopicCommand, GetSubscriptionAttributesCommand, GetTopicAttributesCommand, InvalidParameterException, ListSubscriptionsByTopicCommand, ListTagsForResourceCommand, ListTopicsCommand, NotFoundException, SNSClient, SetSubscriptionAttributesCommand, SetTopicAttributesCommand, SubscribeCommand, TagResourceCommand, UnsubscribeCommand, UntagResourceCommand } from "@aws-sdk/client-sns";
24
24
  import { AddPermissionCommand, CreateEventSourceMappingCommand, CreateFunctionCommand, CreateFunctionUrlConfigCommand, DeleteEventSourceMappingCommand, DeleteFunctionCodeSigningConfigCommand, DeleteFunctionCommand, DeleteFunctionConcurrencyCommand, DeleteFunctionEventInvokeConfigCommand, DeleteFunctionUrlConfigCommand, DeleteLayerVersionCommand, GetEventSourceMappingCommand, GetFunctionCodeSigningConfigCommand, GetFunctionCommand, GetFunctionConcurrencyCommand, GetFunctionConfigurationCommand, GetFunctionEventInvokeConfigCommand, GetFunctionRecursionConfigCommand, GetFunctionScalingConfigCommand, GetFunctionUrlConfigCommand, GetLayerVersionByArnCommand, GetPolicyCommand as GetPolicyCommand$1, GetRuntimeManagementConfigCommand, LambdaClient, ListEventSourceMappingsCommand, ListLayerVersionsCommand, ListTagsCommand, PublishLayerVersionCommand, PublishVersionCommand, PutFunctionCodeSigningConfigCommand, PutFunctionConcurrencyCommand, PutFunctionEventInvokeConfigCommand, PutFunctionRecursionConfigCommand, PutFunctionScalingConfigCommand, PutRuntimeManagementConfigCommand, RemovePermissionCommand, ResourceNotFoundException, TagResourceCommand as TagResourceCommand$1, UntagResourceCommand as UntagResourceCommand$1, UpdateEventSourceMappingCommand, UpdateFunctionCodeCommand, UpdateFunctionConfigurationCommand, UpdateFunctionUrlConfigCommand, waitUntilFunctionActiveV2, waitUntilFunctionUpdatedV2 } from "@aws-sdk/client-lambda";
@@ -244,6 +244,140 @@ function revertReplacementRefusal(resourceType, logicalId, reason) {
244
244
  return new ResourceUpdateNotSupportedError(resourceType, logicalId, `${reason}, so reverting it would replace it, and a drift revert never replaces a resource. Nothing was changed; re-deploy with ${deployReplaceCommand()} to replace it`);
245
245
  }
246
246
 
247
+ // src/provisioning/providers/iam-policy/principal-identity.ts
248
+ const PRINCIPAL_SPECS = {
249
+ role: {
250
+ resourceType: "AWS::IAM::Role",
251
+ label: "IAM role",
252
+ attribute: "RoleId",
253
+ read: async (client, name) => (await client.send(new GetRoleCommand({ RoleName: name }))).Role?.RoleId
254
+ },
255
+ group: {
256
+ resourceType: "AWS::IAM::Group",
257
+ label: "IAM group",
258
+ attribute: "GroupId",
259
+ read: async (client, name) => (await client.send(new GetGroupCommand({
260
+ GroupName: name,
261
+ MaxItems: 1
262
+ }))).Group?.GroupId
263
+ },
264
+ user: {
265
+ resourceType: "AWS::IAM::User",
266
+ label: "IAM user",
267
+ attribute: "UserId",
268
+ read: async (client, name) => (await client.send(new GetUserCommand({ UserName: name }))).User?.UserId
269
+ }
270
+ };
271
+ function inStackRecordedIds(kind, name) {
272
+ const view = getStackRecords();
273
+ if (view === void 0) return void 0;
274
+ const { resourceType } = PRINCIPAL_SPECS[kind];
275
+ let found;
276
+ for (const [logicalId, record] of view.live()) {
277
+ if (record.resourceType !== resourceType || record.physicalId !== name) continue;
278
+ const recorded = recordedIdentityId(resourceType, { recordedAttributes: record.attributes });
279
+ if (recorded === void 0) continue;
280
+ if (found === void 0) found = {
281
+ logicalId,
282
+ key: recorded.key,
283
+ values: []
284
+ };
285
+ if (!found.values.includes(recorded.value)) found.values.push(recorded.value);
286
+ }
287
+ return found;
288
+ }
289
+ async function verifyInlinePolicyPrincipal(params) {
290
+ const { client, kind, name, policyLogicalId, physicalId, operation } = params;
291
+ const recorded = inStackRecordedIds(kind, name);
292
+ if (recorded === void 0) return { kind: "unchecked" };
293
+ const spec = PRINCIPAL_SPECS[kind];
294
+ const value = recorded.values[0];
295
+ const read = async () => {
296
+ const id = await spec.read(client, name);
297
+ return id !== void 0 && recorded.values.includes(id) ? value : id;
298
+ };
299
+ try {
300
+ await assertRecordedIdentity({
301
+ label: spec.label,
302
+ resourceType: spec.resourceType,
303
+ logicalId: recorded.logicalId,
304
+ physicalId: name,
305
+ liveId: await read(),
306
+ reread: read,
307
+ context: { recordedAttributes: { [recorded.key]: value } }
308
+ });
309
+ return { kind: "verified" };
310
+ } catch (error) {
311
+ if (error instanceof NoSuchEntityException) return { kind: "gone" };
312
+ if (error instanceof RecordedIdentityMismatchError) return {
313
+ kind: "mismatch",
314
+ principalLogicalId: recorded.logicalId,
315
+ label: spec.label,
316
+ attribute: error.attribute
317
+ };
318
+ if (error instanceof RecordedIdentityError) throw new InlinePolicyPrincipalUnconfirmedError(policyLogicalId, physicalId, `${spec.label} ${recorded.logicalId}`, recorded.key, operation);
319
+ throw error;
320
+ }
321
+ }
322
+ const PRINCIPAL_READ_CONCURRENCY = 5;
323
+ async function verifyInlinePolicyPrincipals(params) {
324
+ const { client, principals, policyLogicalId, physicalId, operation } = params;
325
+ const distinct = principals.filter(([kind, name], i) => principals.findIndex(([k, n]) => injectiveKey(k, n) === injectiveKey(kind, name)) === i);
326
+ const results = [];
327
+ let next = 0;
328
+ const worker = async () => {
329
+ while (next < distinct.length) {
330
+ const index = next++;
331
+ const [kind, name] = distinct[index];
332
+ try {
333
+ results[index] = {
334
+ status: "fulfilled",
335
+ value: await verifyInlinePolicyPrincipal({
336
+ client,
337
+ kind,
338
+ name,
339
+ policyLogicalId,
340
+ physicalId,
341
+ operation
342
+ })
343
+ };
344
+ } catch (reason) {
345
+ results[index] = {
346
+ status: "rejected",
347
+ reason
348
+ };
349
+ }
350
+ }
351
+ };
352
+ await Promise.all(Array.from({ length: Math.min(5, distinct.length) }, worker));
353
+ const verdicts = /* @__PURE__ */ new Map();
354
+ for (const [index, result] of results.entries()) {
355
+ if (result.status === "rejected") throw result.reason;
356
+ const [kind, name] = distinct[index];
357
+ verdicts.set(injectiveKey(kind, name), result.value);
358
+ }
359
+ return verdicts;
360
+ }
361
+ var InlinePolicyPrincipalUnconfirmedError = class InlinePolicyPrincipalUnconfirmedError extends RecordedIdentityError {
362
+ constructor(policyLogicalId, physicalId, principal, attribute, operation) {
363
+ super((operation === "update" ? `Cannot remove IAM policy ${policyLogicalId} from ${principal} during an update: ` : `Cannot delete IAM policy ${policyLogicalId} from ${principal}: `) + `AWS answered without its ${attribute}, so cdkd cannot confirm it is the one cdkd created; nothing was sent to it and the record is kept. Re-run the operation.`, "AWS::IAM::Policy", policyLogicalId, physicalId);
364
+ Object.setPrototypeOf(this, InlinePolicyPrincipalUnconfirmedError.prototype);
365
+ this.name = "InlinePolicyPrincipalUnconfirmedError";
366
+ markNotGone(this);
367
+ }
368
+ };
369
+ var InlinePolicyPrincipalMismatchError = class InlinePolicyPrincipalMismatchError extends RecordedIdentityError {
370
+ constructor(params) {
371
+ const { policyLogicalId, physicalId, mismatches, context } = params;
372
+ const named = mismatches.map((m) => `${m.label} ${m.principalLogicalId} (its ${m.attribute} differs)`).join(", ");
373
+ super(`Cannot delete IAM policy ${policyLogicalId} from ${named}: the principal holding the name cdkd recorded is not the one cdkd created, so cdkd sent it no delete and kept the record (the principal's own record refuses its delete the same way). Leave that principal alone; if the one cdkd created is gone (its inline policy went with it), drop the record with ${stateOrphanRecordRemedy(context, policyLogicalId)}.`, "AWS::IAM::Policy", policyLogicalId, physicalId);
374
+ Object.setPrototypeOf(this, InlinePolicyPrincipalMismatchError.prototype);
375
+ this.name = "InlinePolicyPrincipalMismatchError";
376
+ markNonRetryable(this);
377
+ markNotGone(this);
378
+ }
379
+ };
380
+
247
381
  // src/provisioning/providers/iam-policy/update.ts
248
382
  async function update$42(logicalId, physicalId, resourceType, properties, previousProperties, context) {
249
383
  const oldPolicyName = physicalId.includes(":") ? physicalId.split(":")[0] : physicalId;
@@ -330,6 +464,40 @@ async function update$42(logicalId, physicalId, resourceType, properties, previo
330
464
  }
331
465
  ];
332
466
  const renamedAway = oldPolicyNames.filter((name) => name.toLowerCase() !== newPolicyName.toLowerCase());
467
+ const claimAnswers = /* @__PURE__ */ new Map();
468
+ const isClaimed = (kind, name, policyName) => {
469
+ const key = injectiveKey(kind, name, policyName);
470
+ let answer = claimAnswers.get(key);
471
+ if (answer === void 0) {
472
+ answer = context?.inlinePolicyClaimed?.(kind, name, policyName) === true;
473
+ claimAnswers.set(key, answer);
474
+ }
475
+ return answer;
476
+ };
477
+ const leaving = kinds.flatMap(({ kind, desired, recorded }) => {
478
+ const stays = new Set([...desired].map((name) => name.toLowerCase()));
479
+ return [...recorded].filter((name) => !stays.has(name.toLowerCase())).filter((name) => oldPolicyNames.some((policyName) => !isClaimed(kind, name, policyName))).map((name) => [kind, name]);
480
+ });
481
+ const verdicts = await verifyInlinePolicyPrincipals({
482
+ client: this.iamClient,
483
+ principals: leaving,
484
+ policyLogicalId: logicalId,
485
+ physicalId,
486
+ operation: "update"
487
+ });
488
+ const warned = /* @__PURE__ */ new Set();
489
+ const settledByVerdict = (kind, name) => {
490
+ const key = injectiveKey(kind, name);
491
+ const verdict = verdicts.get(key);
492
+ if (verdict?.kind === "mismatch") {
493
+ if (!warned.has(key)) {
494
+ warned.add(key);
495
+ log.warn(`IAM policy ${logicalId}: the ${verdict.label} ${verdict.principalLogicalId} leaving its principals is not the one cdkd created (its ${verdict.attribute} differs from the recorded one), so cdkd sent it no removal: the one cdkd created is gone, and its inline policy with it. Leave that ${verdict.label} alone.`);
496
+ }
497
+ return true;
498
+ }
499
+ return verdict?.kind === "gone";
500
+ };
333
501
  for (const { kind, desired, recorded, put, remove } of kinds) {
334
502
  for (const name of desired) {
335
503
  await put(name, newPolicyName);
@@ -337,10 +505,11 @@ async function update$42(logicalId, physicalId, resourceType, properties, previo
337
505
  }
338
506
  const stays = new Set([...desired].map((name) => name.toLowerCase()));
339
507
  for (const name of recorded) for (const policyName of stays.has(name.toLowerCase()) ? renamedAway : oldPolicyNames) {
340
- if (context?.inlinePolicyClaimed?.(kind, name, policyName) === true) {
508
+ if (isClaimed(kind, name, policyName)) {
341
509
  log.debug(`Kept inline policy ${v(policyName)} on ${kind} ${v(name)}: another resource of this deploy or rollback wrote it`);
342
510
  continue;
343
511
  }
512
+ if (!stays.has(name.toLowerCase()) && settledByVerdict(kind, name)) continue;
344
513
  try {
345
514
  await remove(name, policyName);
346
515
  log.debug(`Removed inline policy ${v(policyName)} from ${kind} ${v(name)}`);
@@ -356,6 +525,7 @@ async function update$42(logicalId, physicalId, resourceType, properties, previo
356
525
  attributes: { PolicyName: newPolicyName }
357
526
  };
358
527
  } catch (error) {
528
+ if (error instanceof RecordedIdentityError) throw error;
359
529
  const cause = error instanceof Error ? error : void 0;
360
530
  throw this.wrapMaskedError(log.mask, error, (text) => new ProvisioningError(`Failed to update IAM policy ${logicalId}: ${text}`, resourceType, logicalId, physicalId, cause));
361
531
  }
@@ -444,8 +614,18 @@ async function deleteImpl$40(logicalId, physicalId, resourceType, properties, co
444
614
  removedAny = true;
445
615
  if (fromSecret(kind, name)) detached?.add(injectiveKey(kind, name));
446
616
  };
617
+ const claimAnswers = /* @__PURE__ */ new Map();
618
+ const isClaimed = (kind, name) => {
619
+ const key = injectiveKey(kind, name);
620
+ let answer = claimAnswers.get(key);
621
+ if (answer === void 0) {
622
+ answer = context?.inlinePolicyClaimed?.(kind, name, policyName) === true;
623
+ claimAnswers.set(key, answer);
624
+ }
625
+ return answer;
626
+ };
447
627
  const claimed = (kind, name) => {
448
- if (context?.inlinePolicyClaimed?.(kind, name, policyName) !== true) return false;
628
+ if (!isClaimed(kind, name)) return false;
449
629
  this.logger.debug(safeMsg`Kept inline policy ${policyName} on ${kind} ${mask(name)}: another resource of this deploy or rollback wrote it`);
450
630
  return true;
451
631
  };
@@ -454,8 +634,35 @@ async function deleteImpl$40(logicalId, physicalId, resourceType, properties, co
454
634
  assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, `${physicalId} (${target})`);
455
635
  if (principal !== void 0 && fromSecret(principal.kind, principal.name) && detached?.has(injectiveKey(principal.kind, principal.name)) !== true) secretPrincipalLacksGrant = true;
456
636
  };
637
+ const verdicts = /* @__PURE__ */ new Map();
638
+ const mismatches = [];
639
+ const settledByVerdict = async (kind, name, target, principal) => {
640
+ const verdict = verdicts.get(injectiveKey(kind, name));
641
+ if (verdict?.kind === "mismatch") {
642
+ if (!mismatches.includes(verdict)) mismatches.push(verdict);
643
+ return true;
644
+ }
645
+ if (verdict?.kind === "gone") {
646
+ await onNotFound(target, principal);
647
+ return true;
648
+ }
649
+ return false;
650
+ };
457
651
  try {
458
- if (legacyRoleFromPhysicalId && !claimed("role", legacyRoleFromPhysicalId)) {
652
+ const toVerify = [
653
+ ...legacyRoleFromPhysicalId ? [["role", legacyRoleFromPhysicalId]] : [],
654
+ ...(roles ?? []).map((name) => ["role", name]),
655
+ ...(groups ?? []).map((name) => ["group", name]),
656
+ ...(users ?? []).map((name) => ["user", name])
657
+ ].filter(([kind, name]) => !isClaimed(kind, name));
658
+ for (const [key, verdict] of await verifyInlinePolicyPrincipals({
659
+ client: this.iamClient,
660
+ principals: toVerify,
661
+ policyLogicalId: logicalId,
662
+ physicalId,
663
+ operation: "delete"
664
+ })) verdicts.set(key, verdict);
665
+ if (legacyRoleFromPhysicalId && !claimed("role", legacyRoleFromPhysicalId) && !await settledByVerdict("role", legacyRoleFromPhysicalId, `role ${mask(legacyRoleFromPhysicalId)}`)) {
459
666
  const firstRole = legacyRoleFromPhysicalId;
460
667
  try {
461
668
  await this.iamClient.send(new DeleteRolePolicyCommand({
@@ -470,6 +677,11 @@ async function deleteImpl$40(logicalId, physicalId, resourceType, properties, co
470
677
  }
471
678
  if (roles) for (const roleName of roles) {
472
679
  if (claimed("role", roleName)) continue;
680
+ const roleTarget = {
681
+ kind: "Roles",
682
+ name: roleName
683
+ };
684
+ if (await settledByVerdict("role", roleName, `role ${mask(roleName)}`, roleTarget)) continue;
473
685
  try {
474
686
  await this.iamClient.send(new DeleteRolePolicyCommand({
475
687
  RoleName: roleName,
@@ -487,6 +699,11 @@ async function deleteImpl$40(logicalId, physicalId, resourceType, properties, co
487
699
  }
488
700
  if (groups) for (const groupName of groups) {
489
701
  if (claimed("group", groupName)) continue;
702
+ const groupTarget = {
703
+ kind: "Groups",
704
+ name: groupName
705
+ };
706
+ if (await settledByVerdict("group", groupName, `group ${mask(groupName)}`, groupTarget)) continue;
490
707
  try {
491
708
  await this.iamClient.send(new DeleteGroupPolicyCommand({
492
709
  GroupName: groupName,
@@ -504,6 +721,11 @@ async function deleteImpl$40(logicalId, physicalId, resourceType, properties, co
504
721
  }
505
722
  if (users) for (const userName of users) {
506
723
  if (claimed("user", userName)) continue;
724
+ const userTarget = {
725
+ kind: "Users",
726
+ name: userName
727
+ };
728
+ if (await settledByVerdict("user", userName, `user ${mask(userName)}`, userTarget)) continue;
507
729
  try {
508
730
  await this.iamClient.send(new DeleteUserPolicyCommand({
509
731
  UserName: userName,
@@ -519,6 +741,12 @@ async function deleteImpl$40(logicalId, physicalId, resourceType, properties, co
519
741
  else throw error;
520
742
  }
521
743
  }
744
+ if (mismatches.length > 0) throw new InlinePolicyPrincipalMismatchError({
745
+ policyLogicalId: logicalId,
746
+ physicalId,
747
+ mismatches,
748
+ context
749
+ });
522
750
  if (secretPrincipalLacksGrant) {
523
751
  this.logger.warn(safeMsg`IAM policy ${logicalId}: a principal the secret's CURRENT value names does not hold this inline policy. The value may have rotated since the policy was attached, so a principal only the OLD value named may still hold it; or an earlier cdkd run already removed it there, or that principal was deleted first. The record is KEPT rather than read as deleted: delete the inline policy from any old principal by hand (the principals the current value names are done), then drop this record with ${pasteableCommand("cdkd orphan", [{ hole: "constructPath" }]).command}, or, with no CDK app, ${stateOrphanRecordRemedy(context, logicalId)}.`);
524
752
  return {
@@ -528,6 +756,7 @@ async function deleteImpl$40(logicalId, physicalId, resourceType, properties, co
528
756
  }
529
757
  this.logger.debug(`Successfully deleted IAM policy ${logicalId}`);
530
758
  } catch (error) {
759
+ if (error instanceof RecordedIdentityError) throw removedAny ? markDeleteStarted(error) : error;
531
760
  const cause = error instanceof Error ? error : void 0;
532
761
  const opMask = createMaskedLogSinks(this.logger, context?.maskSecrets).mask;
533
762
  const failure = this.wrapMaskedError((text) => mask(opMask(text)), error, (text) => new ProvisioningError(`Failed to delete IAM policy ${logicalId}: ${text}`, resourceType, logicalId, physicalId, cause));
@@ -730,12 +959,6 @@ var IAMPolicyProvider = class {
730
959
  }
731
960
  };
732
961
 
733
- // src/provisioning/attribute-timestamp.ts
734
- function isoTimestampAttribute(value) {
735
- if (!(value instanceof Date) || Number.isNaN(value.getTime())) return void 0;
736
- return value.toISOString().replace(/\.000Z$/, "Z");
737
- }
738
-
739
962
  // src/provisioning/providers/iam-managed-policy/shared.ts
740
963
  function managedPolicyAttributes(policyArn, policy) {
741
964
  return definedAttributes({
@@ -14240,29 +14463,30 @@ async function deleteTableResource(logicalId, physicalId, resourceType, context,
14240
14463
  this.logger.debug(`Deleting DynamoDB table ${logicalId}: ${physicalId}`);
14241
14464
  const loopLogger = maskedLogger(this.logger, context?.maskSecrets, physicalId);
14242
14465
  const budget = this.deleteBudgets.acquire(deleteBudgetKey(physicalId, context?.expectedRegion), resolveDynamoDbDeleteBudgetMs(), resolveDynamoDbDeleteBudgetClock(), DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS);
14243
- if (context?.removeProtection === true) try {
14244
- let observedProtectionOn = false;
14245
- try {
14246
- observedProtectionOn = (await this.dynamoDBClient.send(new DescribeTableCommand({ TableName: physicalId }))).Table?.DeletionProtectionEnabled === true;
14247
- } catch (observeError) {
14248
- const mask = maskerOrIdentity(context?.maskSecrets);
14249
- this.logger.debug(mask(safeMsg`Could not read DeletionProtectionEnabled on ${mask(physicalId)} before disabling it: ${mask(describeAwsFailure(observeError).detail)}`));
14250
- }
14251
- await this.dynamoDBClient.send(new UpdateTableCommand({
14252
- TableName: physicalId,
14253
- DeletionProtectionEnabled: false
14254
- }));
14255
- if (observedProtectionOn) flip.flippedOffByThisRun = true;
14256
- this.logger.debug(`Disabled DeletionProtectionEnabled on DynamoDB table ${logicalId}, waiting for ACTIVE`);
14257
- try {
14258
- await this.waitForTableActiveAfterUpdate(physicalId, 60, budget);
14259
- } catch (waitErr) {
14260
- this.logger.debug(maskerOrIdentity(context?.maskSecrets)(`Could not wait for table ${physicalId} ACTIVE after disabling protection: ${describeAwsFailure(waitErr).detail}`));
14261
- }
14262
- } catch (flipError) {
14263
- if (!(flipError instanceof ResourceNotFoundException$1)) this.logger.debug(maskerOrIdentity(context?.maskSecrets)(`Could not disable DeletionProtectionEnabled on ${physicalId}: ${describeAwsFailure(flipError).detail}`));
14264
- }
14265
14466
  try {
14467
+ const identityRead = await readRecordedTableIdentity.call(this, logicalId, physicalId, resourceType, context);
14468
+ if (context?.removeProtection === true) try {
14469
+ let observedProtectionOn = false;
14470
+ try {
14471
+ observedProtectionOn = (identityRead ?? await this.dynamoDBClient.send(new DescribeTableCommand({ TableName: physicalId }))).Table?.DeletionProtectionEnabled === true;
14472
+ } catch (observeError) {
14473
+ const mask = maskerOrIdentity(context?.maskSecrets);
14474
+ this.logger.debug(mask(safeMsg`Could not read DeletionProtectionEnabled on ${mask(physicalId)} before disabling it: ${mask(describeAwsFailure(observeError).detail)}`));
14475
+ }
14476
+ await this.dynamoDBClient.send(new UpdateTableCommand({
14477
+ TableName: physicalId,
14478
+ DeletionProtectionEnabled: false
14479
+ }));
14480
+ if (observedProtectionOn) flip.flippedOffByThisRun = true;
14481
+ this.logger.debug(`Disabled DeletionProtectionEnabled on DynamoDB table ${logicalId}, waiting for ACTIVE`);
14482
+ try {
14483
+ await this.waitForTableActiveAfterUpdate(physicalId, 60, budget);
14484
+ } catch (waitErr) {
14485
+ this.logger.debug(maskerOrIdentity(context?.maskSecrets)(`Could not wait for table ${physicalId} ACTIVE after disabling protection: ${describeAwsFailure(waitErr).detail}`));
14486
+ }
14487
+ } catch (flipError) {
14488
+ if (!(flipError instanceof ResourceNotFoundException$1)) this.logger.debug(maskerOrIdentity(context?.maskSecrets)(`Could not disable DeletionProtectionEnabled on ${physicalId}: ${describeAwsFailure(flipError).detail}`));
14489
+ }
14266
14490
  const reArmPolls = () => {
14267
14491
  const wait = beginDeleteWait(900, budget);
14268
14492
  return {
@@ -14317,6 +14541,13 @@ async function deleteTableResource(logicalId, physicalId, resourceType, context,
14317
14541
  this.deleteBudgets.release(deleteBudgetKey(physicalId, context?.expectedRegion));
14318
14542
  this.protectionFlips.release(deleteBudgetKey(physicalId, context?.expectedRegion));
14319
14543
  } catch (error) {
14544
+ if (error instanceof RecordedIdentityError) {
14545
+ if (flip.flippedOffByThisRun && !flip.deleteAccepted) {
14546
+ flip.flippedOffByThisRun = false;
14547
+ this.logger.warn(safeMsg`DynamoDB table ${logicalId}: an earlier attempt of this delete turned its deletion protection off, ` + "and cdkd did not turn it back on because it cannot confirm the DynamoDB table now under the name is the one it recorded; check the deletion protection of the one you keep.");
14548
+ }
14549
+ throw error;
14550
+ }
14320
14551
  if (error instanceof ResourceNotFoundException$1) {
14321
14552
  const clientRegion = await this.dynamoDBClient.config.region();
14322
14553
  assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
@@ -14331,6 +14562,38 @@ async function deleteTableResource(logicalId, physicalId, resourceType, context,
14331
14562
  throw error instanceof Error && error.name.includes("NotFound") ? markNotGone(thrown) : thrown;
14332
14563
  }
14333
14564
  }
14565
+ async function readRecordedTableIdentity(logicalId, physicalId, resourceType, context) {
14566
+ if (recordedIdentityId(resourceType, context) === void 0) return void 0;
14567
+ const describe = async () => {
14568
+ try {
14569
+ return await this.dynamoDBClient.send(new DescribeTableCommand({ TableName: physicalId }));
14570
+ } catch (error) {
14571
+ throw deniedIdentityReadRefusal(error, {
14572
+ label: "DynamoDB table",
14573
+ permission: "dynamodb:DescribeTable",
14574
+ resourceType,
14575
+ logicalId,
14576
+ physicalId,
14577
+ context
14578
+ }) ?? error;
14579
+ }
14580
+ };
14581
+ let latest = await describe();
14582
+ await assertRecordedIdentity({
14583
+ label: "DynamoDB table",
14584
+ replacedBy: "a restore from a backup or to a point in time under the same table name",
14585
+ resourceType,
14586
+ logicalId,
14587
+ physicalId,
14588
+ liveId: latest.Table?.TableId,
14589
+ reread: async () => {
14590
+ latest = await describe();
14591
+ return latest.Table?.TableId;
14592
+ },
14593
+ context
14594
+ });
14595
+ return latest;
14596
+ }
14334
14597
 
14335
14598
  // src/provisioning/providers/dynamodb-table/drift.ts
14336
14599
  function getDriftUnorderedPaths$7(resourceType) {
@@ -16234,6 +16497,12 @@ function assertUsableRetention(raw, coerced, logicalId, resourceType) {
16234
16497
  if (detail === void 0) return;
16235
16498
  throw new ProvisioningError(`${logicalId} (${resourceType}): RetentionInDays must be a positive CloudFormation Integer (optional sign then decimal digits, as a number or a string — 30 or '30'); ${detail}`, resourceType, logicalId);
16236
16499
  }
16500
+ function logGroupIdentityToken(group) {
16501
+ return group.creationTime === void 0 ? void 0 : `${group.arn}@${group.creationTime}`;
16502
+ }
16503
+ function listedCreationTime(created) {
16504
+ return typeof created === "number" && Number.isSafeInteger(created) && created > 0 ? created : void 0;
16505
+ }
16237
16506
 
16238
16507
  // src/provisioning/providers/logs-loggroup/own-replay.ts
16239
16508
  const createLogGroupLatch = new AmbiguousCreateLatch("CreateLogGroup");
@@ -16366,7 +16635,7 @@ async function create$33(logicalId, resourceType, properties, context) {
16366
16635
  this.logger.debug(`Successfully created log group ${logicalId}: ${logGroupName}`);
16367
16636
  return {
16368
16637
  physicalId: logGroupName,
16369
- attributes: { Arn: await this.buildArn(logGroupName) }
16638
+ attributes: await this.createdAttributes(logGroupName)
16370
16639
  };
16371
16640
  } catch (error) {
16372
16641
  const cause = error instanceof Error ? error : void 0;
@@ -16512,7 +16781,7 @@ async function applyUpdate$4(logicalId, physicalId, resourceType, properties, pr
16512
16781
  return {
16513
16782
  physicalId,
16514
16783
  wasReplaced: false,
16515
- attributes: { Arn: await this.buildArn(physicalId) }
16784
+ attributes: await this.createdAttributes(physicalId)
16516
16785
  };
16517
16786
  }
16518
16787
 
@@ -16538,6 +16807,39 @@ async function deleteImpl$33(logicalId, physicalId, resourceType, _properties, c
16538
16807
  }
16539
16808
  async function deleteOnce$2(logicalId, physicalId, resourceType, context, flip) {
16540
16809
  this.logger.debug(`Deleting log group ${logicalId}: ${physicalId}`);
16810
+ let identityRead;
16811
+ if (recordedIdentityId(resourceType, context) !== void 0) {
16812
+ const read = async () => {
16813
+ identityRead = await this.readIdentityIfExists(physicalId);
16814
+ return identityRead;
16815
+ };
16816
+ try {
16817
+ const first = await read();
16818
+ if (first !== void 0) await assertRecordedIdentity({
16819
+ label: "log group",
16820
+ resourceType,
16821
+ logicalId,
16822
+ physicalId,
16823
+ liveId: logGroupIdentityToken(first),
16824
+ reread: async () => {
16825
+ const again = await read();
16826
+ return again === void 0 ? void 0 : logGroupIdentityToken(again);
16827
+ },
16828
+ context,
16829
+ recreatedBy: "for example Lambda writing to its /aws/lambda/<function> group"
16830
+ });
16831
+ } catch (error) {
16832
+ if (error instanceof RecordedIdentityError) throw error;
16833
+ throw deniedIdentityReadRefusal(error, {
16834
+ label: "log group",
16835
+ permission: "logs:DescribeLogGroups",
16836
+ resourceType,
16837
+ logicalId,
16838
+ physicalId,
16839
+ context
16840
+ }) ?? this.wrapDeleteError(logicalId, physicalId, resourceType, context, error);
16841
+ }
16842
+ }
16541
16843
  if (context?.removeProtection === true) try {
16542
16844
  await observeThenDisableProtection({
16543
16845
  flip,
@@ -16546,6 +16848,7 @@ async function deleteOnce$2(logicalId, physicalId, resourceType, context, flip)
16546
16848
  mask: context?.maskSecrets,
16547
16849
  guardName: "DeletionProtectionEnabled",
16548
16850
  observe: async () => {
16851
+ if (identityRead !== void 0) return identityRead.deletionProtectionEnabled;
16549
16852
  return ((await this.logsClient.send(new DescribeLogGroupsCommand({ logGroupNamePrefix: physicalId }))).logGroups?.find((g) => g.logGroupName === physicalId))?.deletionProtectionEnabled === true;
16550
16853
  },
16551
16854
  disable: async () => {
@@ -16570,11 +16873,14 @@ async function deleteOnce$2(logicalId, physicalId, resourceType, context, flip)
16570
16873
  this.logGoneOnDelete(logicalId, physicalId, context);
16571
16874
  return;
16572
16875
  }
16573
- const cause = error instanceof Error ? error : void 0;
16574
- const thrown = this.wrapCaughtError(maskerOrIdentity(context?.maskSecrets), error, (text) => new ProvisioningError(`Failed to delete log group ${logicalId}: ${text}`, resourceType, logicalId, physicalId, cause));
16575
- throw error instanceof Error && error.name.includes("NotFound") ? markNotGone(thrown) : thrown;
16876
+ throw this.wrapDeleteError(logicalId, physicalId, resourceType, context, error);
16576
16877
  }
16577
16878
  }
16879
+ function wrapDeleteError$5(logicalId, physicalId, resourceType, context, error) {
16880
+ const cause = error instanceof Error ? error : void 0;
16881
+ const thrown = this.wrapCaughtError(maskerOrIdentity(context?.maskSecrets), error, (text) => new ProvisioningError(`Failed to delete log group ${logicalId}: ${text}`, resourceType, logicalId, physicalId, cause));
16882
+ return error instanceof Error && error.name.includes("NotFound") ? markNotGone(thrown) : thrown;
16883
+ }
16578
16884
  function logGoneOnDelete(logicalId, physicalId, context) {
16579
16885
  if (context?.failedCreateOrphan === true) this.logger.info(safeMsg` Log group ${physicalId} (${logicalId}), which a failed deploy created, is already gone; nothing to delete`);
16580
16886
  else this.logger.debug(`Log group ${physicalId} does not exist, skipping deletion`);
@@ -16598,8 +16904,21 @@ async function resourceIdentity$3(physicalId, resourceType, context) {
16598
16904
  if (await this.logsClient.config.region() !== context.expectedRegion) return void 0;
16599
16905
  const group = await this.readIdentityIfExists(physicalId);
16600
16906
  if (group === void 0) return RESOURCE_NOT_FOUND;
16601
- if (group.creationTime === void 0) return void 0;
16602
- return `${group.arn}@${group.creationTime}`;
16907
+ return logGroupIdentityToken(group);
16908
+ }
16909
+ async function createdAttributes(name) {
16910
+ let group;
16911
+ try {
16912
+ group = await this.readIdentityIfExists(name);
16913
+ } catch (error) {
16914
+ this.logger.debug(safeMsg`Could not read log group identity after writing it: ${describeAwsFailure(error).summary}`);
16915
+ }
16916
+ const listedArn = group === void 0 ? void 0 : `${group.arn}:*`;
16917
+ const arn = listedArn !== void 0 && listedArn.endsWith(`:log-group:${name}:*`) ? listedArn : await this.buildArn(name);
16918
+ return {
16919
+ Arn: arn,
16920
+ ...definedAttributes({ LogGroupIdentity: group !== void 0 && listedArn === arn ? logGroupIdentityToken(group) : void 0 })
16921
+ };
16603
16922
  }
16604
16923
  async function readIdentityIfExists(name) {
16605
16924
  let found;
@@ -16614,10 +16933,10 @@ async function readIdentityIfExists(name) {
16614
16933
  if (found === void 0) return void 0;
16615
16934
  const arn = found.logGroupArn;
16616
16935
  if (typeof arn !== "string" || arn === "") throw new Error("CloudWatch Logs returned no logGroupArn");
16617
- const created = found.creationTime;
16618
16936
  return {
16619
16937
  arn,
16620
- creationTime: typeof created === "number" && Number.isSafeInteger(created) && created > 0 ? created : void 0
16938
+ creationTime: listedCreationTime(found.creationTime),
16939
+ deletionProtectionEnabled: found.deletionProtectionEnabled === true
16621
16940
  };
16622
16941
  }
16623
16942
  async function buildArn(logGroupName) {
@@ -16701,10 +17020,17 @@ async function readCurrentState$33(physicalId, logicalId, _resourceType, propert
16701
17020
  async function importImpl$33(input) {
16702
17021
  const explicit = resolveExplicitPhysicalId(input, "LogGroupName");
16703
17022
  if (explicit) try {
16704
- return (await this.logsClient.send(new DescribeLogGroupsCommand({ logGroupNamePrefix: explicit }))).logGroups?.find((g) => g.logGroupName === explicit) ? {
17023
+ const found = (await this.logsClient.send(new DescribeLogGroupsCommand({ logGroupNamePrefix: explicit }))).logGroups?.find((g) => g.logGroupName === explicit);
17024
+ if (!found) return null;
17025
+ const arn = found.logGroupArn;
17026
+ return {
16705
17027
  physicalId: explicit,
16706
- attributes: {}
16707
- } : null;
17028
+ attributes: definedAttributes({ LogGroupIdentity: typeof arn === "string" && arn !== "" ? logGroupIdentityToken({
17029
+ arn,
17030
+ creationTime: listedCreationTime(found.creationTime),
17031
+ deletionProtectionEnabled: found.deletionProtectionEnabled === true
17032
+ }) : void 0 })
17033
+ };
16708
17034
  } catch (err) {
16709
17035
  if (err instanceof ResourceNotFoundException$5) return null;
16710
17036
  throw err;
@@ -16766,6 +17092,9 @@ var LogsLogGroupProvider = class {
16766
17092
  logGoneOnDelete(logicalId, physicalId, context) {
16767
17093
  return logGoneOnDelete.call(this, logicalId, physicalId, context);
16768
17094
  }
17095
+ wrapDeleteError(logicalId, physicalId, resourceType, context, error) {
17096
+ return wrapDeleteError$5.call(this, logicalId, physicalId, resourceType, context, error);
17097
+ }
16769
17098
  isSameResource(journaledPhysicalId, record, resourceType, context) {
16770
17099
  return isSameResource$7.call(this, journaledPhysicalId, record, resourceType, context);
16771
17100
  }
@@ -16775,6 +17104,9 @@ var LogsLogGroupProvider = class {
16775
17104
  readIdentityIfExists(name) {
16776
17105
  return readIdentityIfExists.call(this, name);
16777
17106
  }
17107
+ createdAttributes(name) {
17108
+ return createdAttributes.call(this, name);
17109
+ }
16778
17110
  buildArn(logGroupName) {
16779
17111
  return buildArn.call(this, logGroupName);
16780
17112
  }
@@ -32436,7 +32768,8 @@ async function update$27(logicalId, physicalId, resourceType, properties, previo
32436
32768
  attributes: {
32437
32769
  Arn: physicalId,
32438
32770
  Name: describeResponse.name,
32439
- StateMachineRevisionId: stateMachineRevisionId(describeResponse)
32771
+ StateMachineRevisionId: stateMachineRevisionId(describeResponse),
32772
+ ...definedAttributes({ CreationDate: identityTimestamp(describeResponse.creationDate) })
32440
32773
  }
32441
32774
  };
32442
32775
  } catch (error) {
@@ -32523,7 +32856,8 @@ async function importImpl$26(input) {
32523
32856
  attributes: definedAttributes({
32524
32857
  Arn: input.knownPhysicalId,
32525
32858
  Name: resp.name,
32526
- StateMachineRevisionId: stateMachineRevisionId(resp)
32859
+ StateMachineRevisionId: stateMachineRevisionId(resp),
32860
+ CreationDate: identityTimestamp(resp.creationDate)
32527
32861
  })
32528
32862
  };
32529
32863
  } catch (err) {
@@ -32597,8 +32931,11 @@ var StepFunctionsProvider = class {
32597
32931
  this.logger.debug(`Successfully created Step Functions state machine ${logicalId}: ${stateMachineArn}`);
32598
32932
  const name = stateMachineArn.split(":").pop() || stateMachineName;
32599
32933
  let revisionId;
32934
+ let creationDate;
32600
32935
  try {
32601
- revisionId = stateMachineRevisionId(await this.getClient().send(new DescribeStateMachineCommand({ stateMachineArn })));
32936
+ const described = await this.getClient().send(new DescribeStateMachineCommand({ stateMachineArn }));
32937
+ revisionId = stateMachineRevisionId(described);
32938
+ creationDate = described.creationDate;
32602
32939
  } catch (describeError) {
32603
32940
  this.logger.debug(`Could not read the revision id of ${logicalId} after create: ${describeAwsFailure(describeError).detail}`);
32604
32941
  }
@@ -32607,7 +32944,8 @@ var StepFunctionsProvider = class {
32607
32944
  attributes: definedAttributes({
32608
32945
  Arn: stateMachineArn,
32609
32946
  Name: name,
32610
- StateMachineRevisionId: revisionId
32947
+ StateMachineRevisionId: revisionId,
32948
+ CreationDate: identityTimestamp(creationDate)
32611
32949
  })
32612
32950
  };
32613
32951
  } catch (error) {
@@ -32629,9 +32967,33 @@ var StepFunctionsProvider = class {
32629
32967
  async delete(logicalId, physicalId, resourceType, _properties, context) {
32630
32968
  this.logger.debug(`Deleting Step Functions state machine ${logicalId}: ${physicalId}`);
32631
32969
  try {
32970
+ if (recordedIdentityId(resourceType, context) !== void 0) {
32971
+ const readCreationDate = async () => identityTimestamp((await this.getClient().send(new DescribeStateMachineCommand({ stateMachineArn: physicalId }))).creationDate);
32972
+ try {
32973
+ await assertRecordedIdentity({
32974
+ label: "Step Functions state machine",
32975
+ resourceType,
32976
+ logicalId,
32977
+ physicalId,
32978
+ liveId: await readCreationDate(),
32979
+ reread: readCreationDate,
32980
+ context
32981
+ });
32982
+ } catch (readError) {
32983
+ throw deniedIdentityReadRefusal(readError, {
32984
+ label: "Step Functions state machine",
32985
+ permission: "states:DescribeStateMachine",
32986
+ resourceType,
32987
+ logicalId,
32988
+ physicalId,
32989
+ context
32990
+ }) ?? readError;
32991
+ }
32992
+ }
32632
32993
  await this.getClient().send(new DeleteStateMachineCommand({ stateMachineArn: physicalId }));
32633
32994
  this.logger.debug(`Successfully deleted Step Functions state machine ${logicalId}`);
32634
32995
  } catch (error) {
32996
+ if (error instanceof RecordedIdentityError) throw error;
32635
32997
  if (error instanceof StateMachineDoesNotExist) {
32636
32998
  const clientRegion = await this.getClient().config.region();
32637
32999
  assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
@@ -32718,6 +33080,18 @@ var StepFunctionsProvider = class {
32718
33080
  const resp = await this.getClient().send(new DescribeStateMachineCommand({ stateMachineArn: physicalId }));
32719
33081
  return resp.creationDate instanceof Date ? resp.creationDate.getTime() : void 0;
32720
33082
  }
33083
+ async resourceIdentity(physicalId, resourceType, context) {
33084
+ if (resourceType !== "AWS::StepFunctions::StateMachine") return void 0;
33085
+ if (!/^arn:[^:]+:states:[^:]+:\d{12}:stateMachine:[^:]+$/.test(physicalId)) return void 0;
33086
+ if (await this.getClient().config.region() !== context.expectedRegion) return void 0;
33087
+ try {
33088
+ const resp = await this.getClient().send(new DescribeStateMachineCommand({ stateMachineArn: physicalId }));
33089
+ return identityTimestamp(resp.creationDate);
33090
+ } catch (error) {
33091
+ if (error instanceof StateMachineDoesNotExist) return RESOURCE_NOT_FOUND;
33092
+ throw error;
33093
+ }
33094
+ }
32721
33095
  import(input) {
32722
33096
  return importImpl$26.call(this, input);
32723
33097
  }
@@ -64670,6 +65044,7 @@ var ECRProvider = class {
64670
65044
  const desiredTags = refuseMalformedDesiredTags(properties["Tags"], resourceType, logicalId);
64671
65045
  const repositoryName = properties["RepositoryName"] || generatedNameFor("AWS::ECR::Repository", logicalId);
64672
65046
  let repositoryCreated = false;
65047
+ let createdAt;
64673
65048
  try {
64674
65049
  const tags = properties["Tags"] !== void 0 && properties["Tags"] !== null ? desiredTags : void 0;
64675
65050
  const scanningConfig = this.toSdkScanningConfig(properties["ImageScanningConfiguration"]);
@@ -64684,8 +65059,9 @@ var ECRProvider = class {
64684
65059
  ...tags ? { tags } : {}
64685
65060
  }));
64686
65061
  repositoryCreated = true;
64687
- reportCreatedResource(logicalId, resourceType, repositoryName);
64688
65062
  const repo = response.repository;
65063
+ createdAt = identityTimestamp(repo?.createdAt);
65064
+ reportCreatedResource(logicalId, resourceType, repositoryName, createdAt);
64689
65065
  if (!repo?.repositoryName) throw new Error("CreateRepository did not return repository name");
64690
65066
  const lifecyclePolicy = properties["LifecyclePolicy"];
64691
65067
  if (lifecyclePolicy?.LifecyclePolicyText) {
@@ -64709,14 +65085,15 @@ var ECRProvider = class {
64709
65085
  physicalId: repo.repositoryName,
64710
65086
  attributes: definedAttributes({
64711
65087
  Arn: repo.repositoryArn,
64712
- RepositoryUri: repo.repositoryUri
65088
+ RepositoryUri: repo.repositoryUri,
65089
+ CreatedAt: createdAt
64713
65090
  })
64714
65091
  };
64715
65092
  } catch (error) {
64716
65093
  if (repositoryCreated) markAuxiliaryFailure(error, logicalId);
64717
65094
  const cause = error instanceof Error ? error : void 0;
64718
65095
  const thrown = this.wrapCaughtError(maskerOrIdentity(context?.maskSecrets), error, (text) => new ProvisioningError(`Failed to create ECR Repository ${logicalId}: ${text}`, resourceType, logicalId, repositoryName, cause));
64719
- if (repositoryCreated) markCreatedBeforeFailure(thrown, logicalId, resourceType, repositoryName);
65096
+ if (repositoryCreated) markCreatedBeforeFailure(thrown, logicalId, resourceType, repositoryName, createdAt);
64720
65097
  throw thrown;
64721
65098
  }
64722
65099
  }
@@ -64806,7 +65183,8 @@ var ECRProvider = class {
64806
65183
  wasReplaced: false,
64807
65184
  attributes: definedAttributes({
64808
65185
  Arn: repo?.repositoryArn,
64809
- RepositoryUri: repo?.repositoryUri
65186
+ RepositoryUri: repo?.repositoryUri,
65187
+ CreatedAt: identityTimestamp(repo?.createdAt)
64810
65188
  })
64811
65189
  };
64812
65190
  } catch (error) {
@@ -64826,6 +65204,32 @@ var ECRProvider = class {
64826
65204
  this.logger.debug(`Deleting ECR Repository ${logicalId}: ${physicalId}`);
64827
65205
  const force = context?.forceDataDelete === true || isTruthyCfnBoolean(properties?.["EmptyOnDelete"]) || hasCdkAutoDeleteTag(properties, "aws-cdk:auto-delete-images");
64828
65206
  try {
65207
+ if (recordedIdentityId(resourceType, context) !== void 0) {
65208
+ const readCreatedAt = async () => {
65209
+ const repo = (await this.getClient().send(new DescribeRepositoriesCommand({ repositoryNames: [physicalId] }))).repositories?.[0];
65210
+ return repo?.repositoryName === physicalId ? identityTimestamp(repo.createdAt) : void 0;
65211
+ };
65212
+ try {
65213
+ await assertRecordedIdentity({
65214
+ label: "ECR repository",
65215
+ resourceType,
65216
+ logicalId,
65217
+ physicalId,
65218
+ liveId: await readCreatedAt(),
65219
+ reread: readCreatedAt,
65220
+ context
65221
+ });
65222
+ } catch (readError) {
65223
+ throw deniedIdentityReadRefusal(readError, {
65224
+ label: "ECR repository",
65225
+ permission: "ecr:DescribeRepositories",
65226
+ resourceType,
65227
+ logicalId,
65228
+ physicalId,
65229
+ context
65230
+ }) ?? readError;
65231
+ }
65232
+ }
64829
65233
  if (force) this.logger.debug(`Force-deleting ECR Repository ${logicalId} (empty-on-delete opt-in present)`);
64830
65234
  await this.getClient().send(new DeleteRepositoryCommand({
64831
65235
  repositoryName: physicalId,
@@ -64833,6 +65237,7 @@ var ECRProvider = class {
64833
65237
  }));
64834
65238
  this.logger.debug(`Successfully deleted ECR Repository ${logicalId}`);
64835
65239
  } catch (error) {
65240
+ if (error instanceof RecordedIdentityError) throw error;
64836
65241
  if (error instanceof RepositoryNotEmptyException) throw new ProvisioningError(`Failed to delete ECR Repository ${logicalId}: repository ${physicalId} still contains images. Matching CloudFormation, cdkd does not force-delete an image-carrying repository unless it opted in via EmptyOnDelete: true (CDK's emptyOnDelete) or the '${ECR_AUTO_DELETE_IMAGES_TAG}' tag (CDK's autoDeleteImages). Either delete the images first (aws ecr batch-delete-image), or redeploy with emptyOnDelete: true and destroy again.`, resourceType, logicalId, physicalId, error);
64837
65242
  if (error instanceof RepositoryNotFoundException) {
64838
65243
  const clientRegion = await this.getClient().config.region();
@@ -64862,12 +65267,24 @@ var ECRProvider = class {
64862
65267
  RepositoryPolicyText: parsed
64863
65268
  };
64864
65269
  }
65270
+ async resourceIdentity(physicalId, resourceType, context) {
65271
+ if (resourceType !== "AWS::ECR::Repository" || physicalId === "") return void 0;
65272
+ if (await this.getClient().config.region() !== context.expectedRegion) return void 0;
65273
+ try {
65274
+ const repo = (await this.getClient().send(new DescribeRepositoriesCommand({ repositoryNames: [physicalId] }))).repositories?.[0];
65275
+ return repo?.repositoryName === physicalId ? identityTimestamp(repo.createdAt) : void 0;
65276
+ } catch (error) {
65277
+ if (error instanceof RepositoryNotFoundException) return RESOURCE_NOT_FOUND;
65278
+ throw error;
65279
+ }
65280
+ }
64865
65281
  async import(input) {
64866
65282
  const explicit = resolveExplicitPhysicalId(input, "RepositoryName");
64867
65283
  if (explicit) try {
64868
- return (await this.getClient().send(new DescribeRepositoriesCommand({ repositoryNames: [explicit] }))).repositories?.[0]?.repositoryName ? {
65284
+ const repo = (await this.getClient().send(new DescribeRepositoriesCommand({ repositoryNames: [explicit] }))).repositories?.[0];
65285
+ return repo?.repositoryName ? {
64869
65286
  physicalId: explicit,
64870
- attributes: {}
65287
+ attributes: definedAttributes({ CreatedAt: identityTimestamp(repo.createdAt) })
64871
65288
  } : null;
64872
65289
  } catch (err) {
64873
65290
  if (err instanceof RepositoryNotFoundException) return null;
@@ -65412,10 +65829,15 @@ var WaitConditionProvider = class {
65412
65829
  return 435e5;
65413
65830
  }
65414
65831
  async create(logicalId, _resourceType, properties) {
65832
+ const physicalId = `cdkd-wait-condition-${logicalId}-${randomUUID()}`;
65833
+ if (properties["Handle"] === void 0 || properties["Handle"] === null) return {
65834
+ physicalId,
65835
+ attributes: { Data: "{}" }
65836
+ };
65415
65837
  const spec = this.readSpec(logicalId, properties);
65416
65838
  const data = await this.waitForSignals(logicalId, spec);
65417
65839
  return {
65418
- physicalId: `cdkd-wait-condition-${logicalId}-${randomUUID()}`,
65840
+ physicalId,
65419
65841
  attributes: { Data: JSON.stringify(data) }
65420
65842
  };
65421
65843
  }
@@ -65993,4 +66415,4 @@ var ACMCertificateProvider = class {
65993
66415
  };
65994
66416
 
65995
66417
  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, EventBridgeArchiveProvider, 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, LogsDeliveryDestinationProvider, LogsDeliveryProvider, LogsDeliverySourceProvider, 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, WaitConditionProvider };
65996
- //# sourceMappingURL=provider-classes-D5IgG-fE.js.map
66418
+ //# sourceMappingURL=provider-classes-BPg5qXSB.js.map