@cdkd/cli 0.370.6 → 0.371.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 (68) hide show
  1. package/dist/{ambient-client-defaults-znFaZS6t.js → ambient-client-defaults-DzKSQvWN.js} +3 -3
  2. package/dist/{ambient-client-defaults-znFaZS6t.js.map → ambient-client-defaults-DzKSQvWN.js.map} +1 -1
  3. package/dist/{asg-provider-CxUpkiE0.js → asg-provider-BkR7gv40.js} +8 -8
  4. package/dist/{asg-provider-CxUpkiE0.js.map → asg-provider-BkR7gv40.js.map} +1 -1
  5. package/dist/cli.js +3 -3
  6. package/dist/{created-resource-sink-_8-H2n_W.js → created-resource-sink-D7FufEaB.js} +4 -4
  7. package/dist/{created-resource-sink-_8-H2n_W.js.map → created-resource-sink-D7FufEaB.js.map} +1 -1
  8. package/dist/{custom-resource-runtime-8odRXut6.js → custom-resource-runtime-DyUvtovF.js} +6 -6
  9. package/dist/{custom-resource-runtime-8odRXut6.js.map → custom-resource-runtime-DyUvtovF.js.map} +1 -1
  10. package/dist/{db-associated-roles-D5lu-Ecp.js → db-associated-roles-Dq-VSmuu.js} +2 -2
  11. package/dist/{db-associated-roles-D5lu-Ecp.js.map → db-associated-roles-Dq-VSmuu.js.map} +1 -1
  12. package/dist/{delete-started-DU0_uilB.js → delete-started-C8fWcehI.js} +4 -4
  13. package/dist/{delete-started-DU0_uilB.js.map → delete-started-C8fWcehI.js.map} +1 -1
  14. package/dist/{deploy-engine-BfiEN_b4.js → deploy-engine-BsKzx9ys.js} +533 -76
  15. package/dist/deploy-engine-BsKzx9ys.js.map +1 -0
  16. package/dist/{ec2-termination-protection-dlIgSfnA.js → ec2-termination-protection-CJjU7OpO.js} +3 -3
  17. package/dist/{ec2-termination-protection-dlIgSfnA.js.map → ec2-termination-protection-CJjU7OpO.js.map} +1 -1
  18. package/dist/{ecr-uri-VJbNjmEC.js → ecr-uri-BYBZlAlS.js} +2 -2
  19. package/dist/{ecr-uri-VJbNjmEC.js.map → ecr-uri-BYBZlAlS.js.map} +1 -1
  20. package/dist/{emr-cluster-provider-B_wdviQS.js → emr-cluster-provider-Cz2_BHvv.js} +10 -10
  21. package/dist/{emr-cluster-provider-B_wdviQS.js.map → emr-cluster-provider-Cz2_BHvv.js.map} +1 -1
  22. package/dist/{expected-bucket-owner-DYvaQ-Zz.js → expected-bucket-owner-Dr7zxlJn.js} +2 -2
  23. package/dist/{expected-bucket-owner-DYvaQ-Zz.js.map → expected-bucket-owner-Dr7zxlJn.js.map} +1 -1
  24. package/dist/{iam-role-provider-NKcMOq1q.js → iam-role-provider-C27pVBaA.js} +12 -12
  25. package/dist/{iam-role-provider-NKcMOq1q.js.map → iam-role-provider-C27pVBaA.js.map} +1 -1
  26. package/dist/{identity-read-denied-HjFJxXlW.js → identity-read-denied-DHWVUHrX.js} +5 -5
  27. package/dist/{identity-read-denied-HjFJxXlW.js.map → identity-read-denied-DHWVUHrX.js.map} +1 -1
  28. package/dist/{image-plan-DiN9kLKu.js → image-plan-D2uTAfxX.js} +9 -9
  29. package/dist/{image-plan-DiN9kLKu.js.map → image-plan-D2uTAfxX.js.map} +1 -1
  30. package/dist/index.d.ts +32 -0
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +5 -5
  33. package/dist/{logger-DUAQ_JOi.js → logger-DVdLGob_.js} +2 -2
  34. package/dist/{logger-DUAQ_JOi.js.map → logger-DVdLGob_.js.map} +1 -1
  35. package/dist/{neptune-provider-rkdfjnF9.js → neptune-provider-CkbTF9aG.js} +9 -9
  36. package/dist/{neptune-provider-rkdfjnF9.js.map → neptune-provider-CkbTF9aG.js.map} +1 -1
  37. package/dist/{program-Bad-xRVI.js → program-BBg-9V23.js} +305 -49
  38. package/dist/program-BBg-9V23.js.map +1 -0
  39. package/dist/{provider-classes-DAF9XM-4.js → provider-classes-DWi0yjHc.js} +395 -174
  40. package/dist/provider-classes-DWi0yjHc.js.map +1 -0
  41. package/dist/{rds-provider-DlFaFEyf.js → rds-provider-BV4XW4wv.js} +91 -23
  42. package/dist/rds-provider-BV4XW4wv.js.map +1 -0
  43. package/dist/{read-replica-BZjPCmIl.js → read-replica-B08_DZNH.js} +3 -3
  44. package/dist/{read-replica-BZjPCmIl.js.map → read-replica-B08_DZNH.js.map} +1 -1
  45. package/dist/{redacted-delete-address-CRTZ9dGr.js → redacted-delete-address-Be4d3ZWA.js} +4 -4
  46. package/dist/{redacted-delete-address-CRTZ9dGr.js.map → redacted-delete-address-Be4d3ZWA.js.map} +1 -1
  47. package/dist/{replacement-rules-BYsfga8b.js → replacement-rules-DL9MZWSp.js} +416 -30
  48. package/dist/replacement-rules-DL9MZWSp.js.map +1 -0
  49. package/dist/{resource-deadline-Ke4EXyCI.js → resource-deadline-D65EA80y.js} +2 -2
  50. package/dist/{resource-deadline-Ke4EXyCI.js.map → resource-deadline-D65EA80y.js.map} +1 -1
  51. package/dist/{restore-source-guard-DijUNuPT.js → restore-source-guard-ClcpxInI.js} +4 -4
  52. package/dist/{restore-source-guard-DijUNuPT.js.map → restore-source-guard-ClcpxInI.js.map} +1 -1
  53. package/dist/{run-cli-CuKwf0wJ.js → run-cli-zFQkbzGk.js} +2 -2
  54. package/dist/{run-cli-CuKwf0wJ.js.map → run-cli-zFQkbzGk.js.map} +1 -1
  55. package/dist/{secret-reference-immutable-C0y2leSj.js → secret-reference-immutable-Bh9gCLFt.js} +6 -6
  56. package/dist/{secret-reference-immutable-C0y2leSj.js.map → secret-reference-immutable-Bh9gCLFt.js.map} +1 -1
  57. package/dist/{settle-own-write-members-BeMLFzws.js → settle-own-write-members-B-g5oflo.js} +13 -13
  58. package/dist/{settle-own-write-members-BeMLFzws.js.map → settle-own-write-members-B-g5oflo.js.map} +1 -1
  59. package/dist/{tag-list-k_7QY2-3.js → tag-list-DX_Ke9se.js} +4 -4
  60. package/dist/{tag-list-k_7QY2-3.js.map → tag-list-DX_Ke9se.js.map} +1 -1
  61. package/dist/{version-BrLstCqx.js → version-G1wdb4QW.js} +2 -2
  62. package/dist/{version-BrLstCqx.js.map → version-G1wdb4QW.js.map} +1 -1
  63. package/package.json +2 -2
  64. package/dist/deploy-engine-BfiEN_b4.js.map +0 -1
  65. package/dist/program-Bad-xRVI.js.map +0 -1
  66. package/dist/provider-classes-DAF9XM-4.js.map +0 -1
  67. package/dist/rds-provider-DlFaFEyf.js.map +0 -1
  68. package/dist/replacement-rules-BYsfga8b.js.map +0 -1
@@ -1,27 +1,27 @@
1
- import { _ as verifyOwnIdentityBeforeUpdate, a as stackOwnHolders, b as isEntityAlreadyExists, c as clearOwnWriteRemovals, d as takeOwnWriteRemovals, f as InlinePolicyPrincipalMismatchError, g as verifyInlinePolicyPrincipals, h as compareMembershipWrites, i as isStackOwnHolder, l as recordOwnWriteRemoval, m as assertInlinePolicyAttachTargets, n as collectInlinePolicyNamesManagedBySiblings, o as planInlinePolicyNames, p as MANAGED_POLICY_OWNER, r as heldText, s as sameInlinePolicyName, t as IAMRoleProvider, u as restoreOwnWriteRemovals, v as deferIamPropagationSettle, x as IamCreateClientCache, y as iamEntityLeftByThisCreate } from "./iam-role-provider-NKcMOq1q.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-DUAQ_JOi.js";
1
+ import { _ as verifyOwnIdentityBeforeUpdate, a as stackOwnHolders, b as isEntityAlreadyExists, c as clearOwnWriteRemovals, d as takeOwnWriteRemovals, f as InlinePolicyPrincipalMismatchError, g as verifyInlinePolicyPrincipals, h as compareMembershipWrites, i as isStackOwnHolder, l as recordOwnWriteRemoval, m as assertInlinePolicyAttachTargets, n as collectInlinePolicyNamesManagedBySiblings, o as planInlinePolicyNames, p as MANAGED_POLICY_OWNER, r as heldText, s as sameInlinePolicyName, t as IAMRoleProvider, u as restoreOwnWriteRemovals, v as deferIamPropagationSettle, x as IamCreateClientCache, y as iamEntityLeftByThisCreate } from "./iam-role-provider-C27pVBaA.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-DVdLGob_.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-znFaZS6t.js";
5
- import { $ as ElapsedBudget, A as readNameProperty, B as rdsFamilyProtectionSite, C as VALUE_NOT_SHOWN, Ct as startInterruptWatch, D as isQuotableImportValue, Dt as compositeIdSkipResult, E as isPlainImportValue, Et as compositeIdSeparatorRefusal, F as markNotGone, Ft as isSecretDerivedValue, Gt as isAuxiliaryFailure, H as userPoolProtectionSite, It as maskDeep, Jt as markCreatedBeforeFailure, K as isProceedDbStatus, L as deleteWithProtectionCompensation, Lt as maskerOrIdentity, M as remedyLogicalId, Mt as stateOrphanRecordRemedy, N as resolveExplicitPhysicalId, Nt as createMaskedLogSinks, O as normalizeAwsTagsToCfn, Ot as logicalIdShown, Pt as createMaskedRetryLogger, R as logGroupProtectionSite, Rt as withDerivedNameMasks, S as holderRefusalRun, St as isInterruptedWaitError, T as isPlainImportJson, Tt as compositeIdFormatMessage, U as PROTECTION_FLIP_RETRY_WAIT_MS, Vt as clearCreatedBeforeFailure, W as deleteAfterProtectionFlipWithFinalSnapshot, X as isTerminalDeleteFailure, Y as ProtectionFlipRegistry, Yt as markSupersedesEarlierCreate, Z as protectionFlipKey, _ as withoutServerErrorRetries, _t as recordedPrincipalsRepair, at as isAwsCliLiteral, b as assertRegionMatch, c as AmbiguousCreateLatch, ct as renderDisableCommand, d as ambiguousAttemptLead, dn as withPasteableAwsProfile, dt as SECRET_DERIVED_READ_LIVE, et as ElapsedBudgetRegistry, f as createAttemptKey, fn as injectiveKey, ft as diffPrincipalNames, g as setBounded, h as replayedSendWindow, ht as readPrincipalLists, i as reportCreatedResource, it as WITHHELD_AWS_COMMAND, j as refusalTypeShown, jt as segmentAfterAnchor, k as quotedRemedyLogicalId, kt as packCompositeId, l as CREATION_DATE_SKEW_MARGIN_MS, m as replayFollowedAmbiguousAttempt, mt as onlySecretDerived, o as retractCreatedResource, ot as pasteableAwsCommand, p as isInsideWindow, pn as injectiveKeyPrefix, pt as holdsSecretDerivedEntry, q as isTerminalDbWaitStatus, qt as markAuxiliaryFailure, rt as UNNAMEABLE_ID_CLAUSE, s as AMBIGUOUS_LATCH_TTL_MS, st as protectedReplacementAdvice, u as RecentIdSet, v as DriftReadRefusedError, w as importRemedyCommand, wt as canonicalizeRoute53QueryName, x as holderRefusalMask, y as RESOURCE_NOT_FOUND, z as observeThenDisableProtection } from "./created-resource-sink-_8-H2n_W.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, _ 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-BrLstCqx.js";
7
- import { S as isoTimestampAttribute, a as lookupEachName, c as RecordedIdentityMismatchError, g as identityTimestamp, i as isAccessDeniedError, l as assertRecordedIdentity, n as isPermissionDenial, o as withApiLimit, p as recordedIdentityId, r as chunks, s as RecordedIdentityError, t as deniedIdentityReadRefusal } from "./identity-read-denied-HjFJxXlW.js";
8
- import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-DU0_uilB.js";
9
- import { $ as effectiveInventoryItem, A as withRecordedCidrSpelling, B as LIFECYCLE_DEFAULT_STATUS, C as securityGroupReadbackDelays, D as stackIngressRuleHolder, E as singleSecurityGroupRuleId, 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 survivingRecordOfRuleId, P as LIFECYCLE_BASELINE_REREAD_DELAYS_MS, Q as effectiveIntelligentTieringItem, R as settleLifecycleRead, S as reconcileSgRules, T as sgRuleKey, 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 ingressRuleIdentity, a as refuseRevertRevokingSiblingRules, at as declaresBucketObjectLock, b as isResendableSocketFailure, c as siblingIdOwnedSgRules, ct as isPlainObject$4, d as authorizeDefinitelyNotApplied, dt as shownLifecycleRuleId, et as effectiveNotificationConfiguration, f as canonicalizeSgInlineRuleProtocols, g as flattenIpPermissions, h as descriptionKey, i as resolveSecretDerivedPrincipals, it as configItemId, j as markCopiesAgreed, k as tagListsMatch, l as SG_READBACK_RETRY_DELAY_MS, lt as manualBucketDeletionClause, m as comparableIngressIdentity, n as holdsUnprovenSecretPrincipalToken, nt as caughtErrorName, o as sgRuleDiffKey, ot as declaresNestedObjectLock, p as canonicalizeSgRuleProtocol, q as lifecycleRuleScope, r as isResolvableSecretPrincipalList, rt as coerceCfnNumber, s as readSgIngressById, st as describeValue$1, t as runDestroyForStack, tt as eventBridgeEnabledOf, u as SG_RULE_PAGE_SIZE, ut as mergeLegacySingular, v as isConnectTimeout, w as securityGroupRuleMatchesCfnIngress, x as narrowIngressIpProtocol, y as isDefaultEgressRule, z as takeLifecycleWrite } from "./program-Bad-xRVI.js";
10
- import { i as redactedDeleteAddressSkip, n as isRedactedRecordedValue, r as redactedDeleteAddressFields, t as REDACTED_DELETE_ADDRESS_SKIP_REASON } from "./redacted-delete-address-CRTZ9dGr.js";
11
- import { $ as desiredIndexEntriesByName, $n as getCurrentNestedStackContext, $r as canonicalizeIpv6Cidr, $s as s3BucketArn, $t as reverseMapTableContributorInsights, Ad as rewriteTemplateAssetReferences, Ao as declaredMemberDocument, At as isDynamoDBTableArnIn, B as declaredStreamPolicyMember, Bo as attemptedPolicyDocument, Bt as planVectorIndexUpdates, Bu as planSubscriptionAttributes, Ct as sseSpecificationRefusal, Dt as TAGS_BASELINE_REREAD_DELAYS_MS, Eo as KMS_DEFAULT_KEY_POLICY_ID, Et as tableNameReleaseWait, Fo as policyDocumentMatchesDeclared, Ft as isTtlAlreadyDisabled, G as streamDeclaresPolicy, Gr as siblingOwnedSgRuleIdentities, Gt as CONTRIBUTOR_INSIGHTS_KEY, H as planStreamMemberOps, Ht as vectorIndexesForCreate, Io as reReadUntilSettled, It as isTtlRateLimited, J as streamPolicyMatchesDeclared, Jc as toFiniteNumber, Jo as classifyHandleUrl, Jr as SG_RULE_ID_PATTERN, Jt as indexDeclaresContributorInsights, K as streamDeclaresTags, Kc as isWarmThroughputDecrease, Kn as getNestedRevertRun, Kt as completeTableContributorInsightsBaseline, L as DynamoDBGlobalTableProvider, Lc as LEGACY_HANDLE_ID_PREFIX, Ln as licensedNameHolder, Lo as settleDeclaredMember, Lt as planTimeToLive, Mn as childRowTags, Mo as efsPolicyMatchesDeclared, Ms as connectInstanceIdOf, Mt as settleWrittenTags, Nn as childStackTags, No as lambdaPermissionMatchesDeclared, Oa as replacedDeleteFailureVerdict, Oo as OWN_WRITE_REREAD_DELAYS_MS, Ot as clearTagWrites, Ou as findSdkUnwiredProperties, Po as memberReadFailure, Pt as takeTagWrite, Q as deletionProtectionRefusal, Qa as secretNamedAttributeNamesOf, Qr as sgProtocolKey, Qs as dnsEntryStrings, Qt as reverseMapIndexContributorInsights, R as STREAM_POLICY_KEY, Rc as isLegacyHandleId, Ro as warnUnsettledMember, Rt as readTtlSpec, Si as reserveStackCreateToken, So as getStackRecords, Ss as withIndeterminateGuard, St as readCapacityNumber, Ts as markWaitAbandoned, Tt as tableDeleteGoneWait, Ut as vectorIndexesSettled, V as declaredStreamTagsMember, Vo as policyContentKey, Vt as readbackVectorIndexes, Vu as wireAttributeValue, W as reverseMapStreamPolicy, Wt as vectorIndexesShapeDetail, X as canonicalizeStaleIndexDescription, Xr as recordedSgRuleId, Xt as planIndexContributorInsightsOps, Y as streamTagsMatchDeclared, Yc as APPSYNC_APIKEY_ARN_RESOURCE_PATH, Yi as getCurrentProducerRegions, Yn as revertNestedChildFromJournal, Yo as evaluateSignals, Yr as cfnIngressPortValue, Yt as planContributorInsightsOp, Z as declaresIndexList, Zc as maskedSecretSegment, Zt as readContributorInsightsSpec, _c as outputReferenceProvenanceOf, _n as hasCdkAutoDeleteTag, _o as isStoredExpression, _t as isPlainCapacityBlock, af as displayAssemblyPath, an as deleteBudgetKey, at as coerceWarmThroughput, bi as earliestDefined, bo as awaitInFlightSibling, bt as maskLeafValue, bu as withheldAccountClause, cd as findNestedTemplateTreeDefect, cf as resolveAssemblyPath, cn as DELETE_INDEX_WAIT_PROCEED_NOTE, ct as isRefusedWarmThroughput, dd as renderNestedTemplateTreeDefect, dn as deleteTableWithIndexBusyRetry, dt as trimUnsentWarmMembers, ec as s3BucketDomainName, ei as canonicalizeIpv4Cidr, en as stripIndexContributorInsights, er as withNestedStackContext, et as gsiUnsendableChangeRefusal, fi as calculateResourceDrift, fn as maskedLogger, ft as warmThroughputAlreadyMatches, gn as S3_AUTO_DELETE_OBJECTS_TAG, go as collectPrincipalsAttachingPolicy, gs as waitForGoneAfterDelete, gt as hasUsableDeclaredCapacity, hn as ECR_AUTO_DELETE_IMAGES_TAG, ho as collectManagedPolicyArnsAttachedBySiblings, ht as deleteTableRetryDelays, if as describeFileReadFailure, in as compensateRemovedDeletionProtection, is as getCurrentResourceSecrets, it as sameJsonValue, iu as refuseMalformedNestedChildOutputs, jo as declaredPolicyDocument, js as isSettledInstanceState, jt as recordTagWrite, ju as withoutSdkUnwiredProperties, ko as SNS_DEFAULT_POLICY_ID, ld as isAbsoluteAssetPath, ll as passedParameterClassesOf, ln as INDEX_SETTLE_POLL_INTERVAL_MS, lt as readbackWarmThroughput, mn as waitForIndexesSettled, mo as collectGroupsAddedBySiblings, ms as waitForLambdaFunctionActive, mt as KINESIS_DISABLE_PENDING_STATUSES, mu as refuseMalformedResourcesForDestroy, nc as s3BucketRegionalDomainName, nn as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, nt as projectIndexesOnto, od as stringifyValue, on as resolveDynamoDbDeleteBudgetClock, ot as declaresWarmThroughput, pc as parseWebACLArn, pn as relayedIndexBusyDelete, pt as KINESIS_DESTINATION_SETTLE_POLL_MS, q as streamMemberRefusals, qc as toCfnInteger, qo as WaitConditionSignalStore, qr as withoutSiblingOwnedSgRules, qt as contributorInsightsRefusals, rc as s3BucketWebsiteUrl, rn as beginDeleteWait, rt as reverseMapSecondaryIndex, sf as renderAssemblyPathEscape, sn as resolveDynamoDbDeleteBudgetMs, st as desiredBagIsInformative, t as DeployEngine, tc as s3BucketDualStackDomainName, tn as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, tt as localSecondaryIndexesKey, ud as listNestedTemplateRows, un as TABLE_INDEX_NOUN, ut as sentWarmThroughputMembers, vd as decodeListingKey, vn as isTruthyCfnBoolean, vo as withoutSiblingAttachedArns, vt as isTableName, wc as getAccountInfo, wi as acquireIdempotencyToken, wt as sseSpecificationToSend, xs as deleteSkipReason, xt as pointInTimeRecoveryRefusal, yo as withoutSiblingOwned, yt as mapSSESpecification, yu as accountArgs, z as STREAM_TAGS_KEY, zo as verbatimEchoDriftKeys, zt as sendTtlWaitingOutRateLimit, zu as normalizeRecordName } from "./deploy-engine-BfiEN_b4.js";
12
- import { a as refuseMalformedDesiredTags, i as readTagList, n as DBPROXY_TAG_OPTIONS, o as tagMapAsList, r as planTagDiff, s as tagPlanWarning, t as DBPROXY_TAGS_WHAT } from "./tag-list-k_7QY2-3.js";
13
- import { _ as isUsableAttemptedName, c as definedAttributes, d as awaitDeferredResource, h as throwIfReadinessAborted, i as refuseRestoreFromItself, l as stringifyIfAssigned, m as deferReadiness, o as isModifyNotAvailableRefusal, s as modifyDbInstanceWhenAvailable, u as abortableSleep } from "./restore-source-guard-DijUNuPT.js";
14
- import { C as timePhase, g as withRetry, n as unchangedBehindSecretReference, t as onlySecretReferencesDiffer } from "./secret-reference-immutable-C0y2leSj.js";
15
- import { a as principalOwnWriteMembers, c as stringListMember, n as declaredStringList, o as settleOwnWriteMembers } from "./settle-own-write-members-BeMLFzws.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-DzKSQvWN.js";
5
+ import { $ as ElapsedBudget, A as readNameProperty, B as rdsFamilyProtectionSite, C as VALUE_NOT_SHOWN, Ct as startInterruptWatch, D as isQuotableImportValue, Dt as compositeIdSkipResult, E as isPlainImportValue, Et as compositeIdSeparatorRefusal, F as markNotGone, Ft as isSecretDerivedValue, Gt as isAuxiliaryFailure, H as userPoolProtectionSite, It as maskDeep, Jt as markCreatedBeforeFailure, K as isProceedDbStatus, L as deleteWithProtectionCompensation, Lt as maskerOrIdentity, M as remedyLogicalId, Mt as stateOrphanRecordRemedy, N as resolveExplicitPhysicalId, Nt as createMaskedLogSinks, O as normalizeAwsTagsToCfn, Ot as logicalIdShown, Pt as createMaskedRetryLogger, R as logGroupProtectionSite, Rt as withDerivedNameMasks, S as holderRefusalRun, St as isInterruptedWaitError, T as isPlainImportJson, Tt as compositeIdFormatMessage, U as PROTECTION_FLIP_RETRY_WAIT_MS, Vt as clearCreatedBeforeFailure, W as deleteAfterProtectionFlipWithFinalSnapshot, X as isTerminalDeleteFailure, Y as ProtectionFlipRegistry, Yt as markSupersedesEarlierCreate, Z as protectionFlipKey, _ as withoutServerErrorRetries, _t as recordedPrincipalsRepair, at as isAwsCliLiteral, b as assertRegionMatch, c as AmbiguousCreateLatch, ct as renderDisableCommand, d as ambiguousAttemptLead, dn as withPasteableAwsProfile, dt as SECRET_DERIVED_READ_LIVE, et as ElapsedBudgetRegistry, f as createAttemptKey, fn as injectiveKey, ft as diffPrincipalNames, g as setBounded, h as replayedSendWindow, ht as readPrincipalLists, i as reportCreatedResource, it as WITHHELD_AWS_COMMAND, j as refusalTypeShown, jt as segmentAfterAnchor, k as quotedRemedyLogicalId, kt as packCompositeId, l as CREATION_DATE_SKEW_MARGIN_MS, m as replayFollowedAmbiguousAttempt, mt as onlySecretDerived, o as retractCreatedResource, ot as pasteableAwsCommand, p as isInsideWindow, pn as injectiveKeyPrefix, pt as holdsSecretDerivedEntry, q as isTerminalDbWaitStatus, qt as markAuxiliaryFailure, rt as UNNAMEABLE_ID_CLAUSE, s as AMBIGUOUS_LATCH_TTL_MS, st as protectedReplacementAdvice, u as RecentIdSet, v as DriftReadRefusedError, w as importRemedyCommand, wt as canonicalizeRoute53QueryName, x as holderRefusalMask, y as RESOURCE_NOT_FOUND, z as observeThenDisableProtection } from "./created-resource-sink-D7FufEaB.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, _ 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-G1wdb4QW.js";
7
+ import { S as isoTimestampAttribute, a as lookupEachName, c as RecordedIdentityMismatchError, g as identityTimestamp, i as isAccessDeniedError, l as assertRecordedIdentity, n as isPermissionDenial, o as withApiLimit, p as recordedIdentityId, r as chunks, s as RecordedIdentityError, t as deniedIdentityReadRefusal } from "./identity-read-denied-DHWVUHrX.js";
8
+ import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-C8fWcehI.js";
9
+ import { $ as effectiveInventoryItem, A as withRecordedCidrSpelling, B as LIFECYCLE_DEFAULT_STATUS, C as securityGroupReadbackDelays, D as stackIngressRuleHolder, E as singleSecurityGroupRuleId, 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 survivingRecordOfRuleId, P as LIFECYCLE_BASELINE_REREAD_DELAYS_MS, Q as effectiveIntelligentTieringItem, R as settleLifecycleRead, S as reconcileSgRules, T as sgRuleKey, 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 ingressRuleIdentity, a as refuseRevertRevokingSiblingRules, at as declaresBucketObjectLock, b as isResendableSocketFailure, c as siblingIdOwnedSgRules, ct as isPlainObject$4, d as authorizeDefinitelyNotApplied, dt as shownLifecycleRuleId, et as effectiveNotificationConfiguration, f as canonicalizeSgInlineRuleProtocols, g as flattenIpPermissions, h as descriptionKey, i as resolveSecretDerivedPrincipals, it as configItemId, j as markCopiesAgreed, k as tagListsMatch, l as SG_READBACK_RETRY_DELAY_MS, lt as manualBucketDeletionClause, m as comparableIngressIdentity, n as holdsUnprovenSecretPrincipalToken, nt as caughtErrorName, o as sgRuleDiffKey, ot as declaresNestedObjectLock, p as canonicalizeSgRuleProtocol, q as lifecycleRuleScope, r as isResolvableSecretPrincipalList, rt as coerceCfnNumber, s as readSgIngressById, st as describeValue$1, t as runDestroyForStack, tt as eventBridgeEnabledOf, u as SG_RULE_PAGE_SIZE, ut as mergeLegacySingular, v as isConnectTimeout, w as securityGroupRuleMatchesCfnIngress, x as narrowIngressIpProtocol, y as isDefaultEgressRule, z as takeLifecycleWrite } from "./program-BBg-9V23.js";
10
+ import { i as redactedDeleteAddressSkip, n as isRedactedRecordedValue, r as redactedDeleteAddressFields, t as REDACTED_DELETE_ADDRESS_SKIP_REASON } from "./redacted-delete-address-Be4d3ZWA.js";
11
+ import { $ as deletionProtectionRefusal, $c as APPSYNC_APIKEY_ARN_RESOURCE_PATH, $i as getCurrentProducerRegions, $o as evaluateSignals, $r as cfnIngressPortValue, $t as reverseMapIndexContributorInsights, Ao as KMS_DEFAULT_KEY_POLICY_ID, B as STREAM_TAGS_KEY, Bo as reReadUntilSettled, Bt as sendTtlWaitingOutRateLimit, Co as withoutSiblingOwned, Ct as readCapacityNumber, Cu as accountArgs, Dt as tableNameReleaseWait, Ei as reserveStackCreateToken, Eo as getStackRecords, Es as withIndeterminateGuard, Et as tableDeleteGoneWait, Fn as childStackTags, Fo as declaredPolicyDocument, Fs as isSettledInstanceState, Ft as takeTagWrite, Fu as withoutSdkUnwiredProperties, G as reverseMapStreamPolicy, Go as policyContentKey, Gt as vectorIndexesShapeDetail, Gu as wireAttributeValue, H as declaredStreamTagsMember, Hc as isLegacyHandleId, Ho as warnUnsettledMember, Ht as readbackVectorIndexes, Io as efsPolicyMatchesDeclared, Is as connectInstanceIdOf, It as isTtlAlreadyDisabled, J as streamMemberRefusals, Jn as getNestedRevertRun, Jt as contributorInsightsRefusals, K as streamDeclaresPolicy, Kt as CONTRIBUTOR_INSIGHTS_KEY, Lo as lambdaPermissionMatchesDeclared, Lt as isTtlRateLimited, Ma as replacedDeleteFailureVerdict, Mo as OWN_WRITE_REREAD_DELAYS_MS, Mt as recordTagWrite, Mu as findSdkUnwiredProperties, No as SNS_DEFAULT_POLICY_ID, Nt as settleWrittenTags, Oc as getAccountInfo, Oi as acquireIdempotencyToken, Ot as TAGS_BASELINE_REREAD_DELAYS_MS, Pd as rewriteTemplateAssetReferences, Pn as childRowTags, Po as declaredMemberDocument, Q as declaresIndexList, Qc as toFiniteNumber, Qo as classifyHandleUrl, Qr as SG_RULE_ID_PATTERN, Qt as readContributorInsightsSpec, R as DynamoDBGlobalTableProvider, Ro as memberReadFailure, Rt as planTimeToLive, Sd as decodeListingKey, So as withoutSiblingAttachedArns, St as pointInTimeRecoveryRefusal, Ts as deleteSkipReason, Tt as sseSpecificationToSend, U as planStreamMemberOps, Uo as verbatimEchoDriftKeys, Ut as vectorIndexesForCreate, Uu as normalizeRecordName, V as declaredStreamPolicyMember, Vc as LEGACY_HANDLE_ID_PREFIX, Vo as settleDeclaredMember, Vt as planVectorIndexUpdates, Wo as attemptedPolicyDocument, Wt as vectorIndexesSettled, Wu as planSubscriptionAttributes, X as streamTagsMatchDeclared, Xc as isWarmThroughputDecrease, Xt as planContributorInsightsOp, Y as streamPolicyMatchesDeclared, Yr as siblingOwnedSgRuleIdentities, Yt as indexDeclaresContributorInsights, Z as canonicalizeStaleIndexDescription, Zc as toCfnInteger, Zn as revertNestedChildFromJournal, Zo as WaitConditionSignalStore, Zr as withoutSiblingOwnedSgRules, Zt as planIndexContributorInsightsOps, _c as parseWebACLArn, _n as S3_AUTO_DELETE_OBJECTS_TAG, _t as hasUsableDeclaredCapacity, ac as s3BucketDualStackDomainName, an as compensateRemovedDeletionProtection, at as sameJsonValue, bo as collectPrincipalsAttachingPolicy, bs as waitForGoneAfterDelete, bt as mapSSESpecification, cf as describeFileReadFailure, cn as resolveDynamoDbDeleteBudgetMs, cs as getCurrentResourceSecrets, ct as desiredBagIsInformative, cu as refuseMalformedNestedChildOutputs, df as renderAssemblyPathEscape, dn as TABLE_INDEX_NOUN, dt as sentWarmThroughputMembers, ei as recordedSgRuleId, en as reverseMapTableContributorInsights, et as desiredIndexEntriesByName, fd as findNestedTemplateTreeDefect, ff as resolveAssemblyPath, fn as deleteTableWithIndexBusyRetry, ft as trimUnsentWarmMembers, gi as calculateResourceDrift, gn as ECR_AUTO_DELETE_IMAGES_TAG, gt as deleteTableRetryDelays, hd as renderNestedTemplateTreeDefect, hn as waitForIndexesSettled, ht as KINESIS_DISABLE_PENDING_STATUSES, ic as s3BucketDomainName, ii as canonicalizeIpv4Cidr, in as beginDeleteWait, it as reverseMapSecondaryIndex, jt as isDynamoDBTableArnIn, ks as markWaitAbandoned, kt as clearTagWrites, lf as displayAssemblyPath, ln as DELETE_INDEX_WAIT_PROCEED_NOTE, lt as isRefusedWarmThroughput, md as listNestedTemplateRows, mn as relayedIndexBusyDelete, mt as KINESIS_DESTINATION_SETTLE_POLL_MS, nc as dnsEntryStrings, ni as sgProtocolKey, nn as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, no as secretNamedAttributeNamesOf, nr as withNestedStackContext, nt as localSecondaryIndexesKey, oc as s3BucketRegionalDomainName, on as deleteBudgetKey, ot as coerceWarmThroughput, pd as isAbsoluteAssetPath, pl as passedParameterClassesOf, pn as maskedLogger, pt as warmThroughputAlreadyMatches, q as streamDeclaresTags, qt as completeTableContributorInsightsBaseline, rc as s3BucketArn, ri as canonicalizeIpv6Cidr, rn as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, rt as projectIndexesOnto, sc as s3BucketWebsiteUrl, sn as resolveDynamoDbDeleteBudgetClock, st as declaresWarmThroughput, t as DeployEngine, tl as maskedSecretSegment, tn as stripIndexContributorInsights, tr as getCurrentNestedStackContext, tt as gsiUnsendableChangeRefusal, ud as stringifyValue, un as INDEX_SETTLE_POLL_INTERVAL_MS, ut as readbackWarmThroughput, vn as hasCdkAutoDeleteTag, vo as collectGroupsAddedBySiblings, vs as waitForLambdaFunctionActive, vt as isPlainCapacityBlock, vu as refuseMalformedResourcesForDestroy, wi as earliestDefined, wo as awaitInFlightSibling, wt as sseSpecificationRefusal, wu as withheldAccountClause, xc as outputReferenceProvenanceOf, xo as isStoredExpression, xt as maskLeafValue, yn as isTruthyCfnBoolean, yo as collectManagedPolicyArnsAttachedBySiblings, yt as isTableName, z as STREAM_POLICY_KEY, zn as licensedNameHolder, zo as policyDocumentMatchesDeclared, zt as readTtlSpec } from "./deploy-engine-BsKzx9ys.js";
12
+ import { a as refuseMalformedDesiredTags, i as readTagList, n as DBPROXY_TAG_OPTIONS, o as tagMapAsList, r as planTagDiff, s as tagPlanWarning, t as DBPROXY_TAGS_WHAT } from "./tag-list-DX_Ke9se.js";
13
+ import { _ as isUsableAttemptedName, c as definedAttributes, d as awaitDeferredResource, h as throwIfReadinessAborted, i as refuseRestoreFromItself, l as stringifyIfAssigned, m as deferReadiness, o as isModifyNotAvailableRefusal, s as modifyDbInstanceWhenAvailable, u as abortableSleep } from "./restore-source-guard-ClcpxInI.js";
14
+ import { C as timePhase, g as withRetry, n as unchangedBehindSecretReference, t as onlySecretReferencesDiffer } from "./secret-reference-immutable-Bh9gCLFt.js";
15
+ import { a as principalOwnWriteMembers, c as stringListMember, n as declaredStringList, o as settleOwnWriteMembers } from "./settle-own-write-members-B-g5oflo.js";
16
16
  import { n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
17
17
  import { f as ambientRegion, r as awsEndpointOverrideActive } from "./aws-client-defaults-DAebi99J.js";
18
- import { a as reDisableInstanceApiTermination, c as resolvedResourceTimeoutMs, f as markRefusedBeforeApplying, i as observeThenDisableInstanceApiTermination, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, r as isTerminationProtectionPropagationError, s as resolvedPerTypeResourceTimeoutMs, u as getPriorAttempts } from "./ec2-termination-protection-dlIgSfnA.js";
19
- import { l as removedTemplateKeys, n as enclosingDeadlineRemainingMs, o as clearOnUpdateRemoval, t as enclosingDeadlineExpired, u as withRemovalDefaults } from "./resource-deadline-Ke4EXyCI.js";
20
- import { $ as snapshotPassProvenance, C as passedNoEchoParametersOf, Ft as dynamicReferenceTokens, I as markSameGenerationBag, W as redactForState, Z as recordReferenceProvenanceEntry, _n as carriesSecretMask, c as parseLambdaFunctionAddress, cn as recoverMaskedOutput, i as ecsServiceLaunchTypeSetOrChanged, it as hasMaskableValues, jt as withoutPhysicalNameCopies, l as sameLambdaFunctionAddress, ln as physicalNameCopiesOf, n as blockDeviceMappingsDifferOnlyInDeleteOnTermination, o as canonicalLambdaFunctionName, s as lambdaFunctionNameForMask, un as recordAttributeIdCopy } from "./replacement-rules-BYsfga8b.js";
21
- import { EMRClusterProvider, a as undeclaredDriftKeys, c as reportPossibleOrphans, i as projectDeclaredDriftPair, n as EMRInstanceGroupConfigProvider, o as collectOrphanIds, r as filledDefaultsFrom, s as orphanCommandRegionArg$2, t as EMRInstanceFleetConfigProvider } from "./emr-cluster-provider-B_wdviQS.js";
22
- import { RDSProvider } from "./rds-provider-DlFaFEyf.js";
23
- import { NeptuneProvider } from "./neptune-provider-rkdfjnF9.js";
24
- import { ASGProvider } from "./asg-provider-CxUpkiE0.js";
18
+ import { a as reDisableInstanceApiTermination, c as resolvedResourceTimeoutMs, f as markRefusedBeforeApplying, i as observeThenDisableInstanceApiTermination, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, r as isTerminationProtectionPropagationError, s as resolvedPerTypeResourceTimeoutMs, u as getPriorAttempts } from "./ec2-termination-protection-CJjU7OpO.js";
19
+ import { l as removedTemplateKeys, n as enclosingDeadlineRemainingMs, o as clearOnUpdateRemoval, t as enclosingDeadlineExpired, u as withRemovalDefaults } from "./resource-deadline-D65EA80y.js";
20
+ import { $ as snapshotPassProvenance, C as passedNoEchoParametersOf, I as markSameGenerationBag, Lt as dynamicReferenceTokens, W as redactForState, Z as recordReferenceProvenanceEntry, c as parseLambdaFunctionAddress, dn as recordAttributeIdCopy, i as ecsServiceLaunchTypeSetOrChanged, it as hasMaskableValues, jt as withoutPhysicalNameCopies, l as sameLambdaFunctionAddress, ln as recoverMaskedOutput, n as blockDeviceMappingsDifferOnlyInDeleteOnTermination, o as canonicalLambdaFunctionName, s as lambdaFunctionNameForMask, un as physicalNameCopiesOf, vn as carriesSecretMask } from "./replacement-rules-DL9MZWSp.js";
21
+ import { EMRClusterProvider, a as undeclaredDriftKeys, c as reportPossibleOrphans, i as projectDeclaredDriftPair, n as EMRInstanceGroupConfigProvider, o as collectOrphanIds, r as filledDefaultsFrom, s as orphanCommandRegionArg$2, t as EMRInstanceFleetConfigProvider } from "./emr-cluster-provider-Cz2_BHvv.js";
22
+ import { RDSProvider } from "./rds-provider-BV4XW4wv.js";
23
+ import { NeptuneProvider } from "./neptune-provider-CkbTF9aG.js";
24
+ import { ASGProvider } from "./asg-provider-BkR7gv40.js";
25
25
  import { createHash, randomUUID } from "node:crypto";
26
26
  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";
27
27
  import { AddRoleToInstanceProfileCommand, AddUserToGroupCommand, AttachGroupPolicyCommand, AttachRolePolicyCommand, AttachUserPolicyCommand, CreateAccessKeyCommand, CreateGroupCommand, CreateInstanceProfileCommand, CreateLoginProfileCommand, CreatePolicyCommand, CreatePolicyVersionCommand, CreateUserCommand, DeleteAccessKeyCommand, DeleteConflictException, DeleteGroupCommand, DeleteGroupPolicyCommand, DeleteInstanceProfileCommand, DeleteLoginProfileCommand, DeletePolicyCommand, DeletePolicyVersionCommand, DeleteRolePolicyCommand, DeleteUserCommand, DeleteUserPermissionsBoundaryCommand, DeleteUserPolicyCommand, DetachGroupPolicyCommand, DetachRolePolicyCommand, DetachUserPolicyCommand, GetAccessKeyLastUsedCommand, GetGroupCommand, GetGroupPolicyCommand, GetInstanceProfileCommand, GetLoginProfileCommand, 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";
@@ -12140,6 +12140,57 @@ async function applyTagDiff$17(arn, resourceType, logicalId, oldTagsRaw, newTags
12140
12140
  }
12141
12141
 
12142
12142
  // src/provisioning/providers/lambda-eventsource/delete.ts
12143
+ const TRANSITIONAL_STATES = /* @__PURE__ */ new Set([
12144
+ "Creating",
12145
+ "Updating",
12146
+ "Enabling",
12147
+ "Disabling",
12148
+ "Deleting"
12149
+ ]);
12150
+ const IN_USE_SETTLE_BUDGET_MS = 3e5;
12151
+ const IN_USE_POLL_INTERVAL_MS = 3e3;
12152
+ function isInUse(error) {
12153
+ return error?.name === "ResourceInUseException";
12154
+ }
12155
+ async function deleteWhenSettled(logicalId, physicalId, resourceType) {
12156
+ const userTimeoutMs = resolvedResourceTimeoutMs(resourceType);
12157
+ const budgetMs = userTimeoutMs === void 0 ? IN_USE_SETTLE_BUDGET_MS : Math.min(IN_USE_SETTLE_BUDGET_MS, userTimeoutMs / 2);
12158
+ const deadline = Date.now() + budgetMs;
12159
+ for (;;) {
12160
+ try {
12161
+ await this.lambdaClient.send(new DeleteEventSourceMappingCommand({ UUID: physicalId }));
12162
+ return;
12163
+ } catch (error) {
12164
+ if (!isInUse(error)) throw error;
12165
+ let state;
12166
+ try {
12167
+ state = (await this.lambdaClient.send(new GetEventSourceMappingCommand({ UUID: physicalId }))).State;
12168
+ } catch (readError) {
12169
+ if (readError instanceof ResourceNotFoundException) throw readError;
12170
+ throw error;
12171
+ }
12172
+ if (!TRANSITIONAL_STATES.has(state ?? "") || Date.now() >= deadline) throw error;
12173
+ }
12174
+ this.logger.debug(safeMsg`Event source mapping ${logicalId} is still settling; waiting before retrying the delete`);
12175
+ const watch = startInterruptWatch(`event source mapping ${logicalId} delete wait`);
12176
+ try {
12177
+ for (;;) {
12178
+ await new Promise((resolve) => setTimeout(resolve, IN_USE_POLL_INTERVAL_MS));
12179
+ if (watch.isInterrupted()) throw watch.onInterrupted();
12180
+ let current;
12181
+ try {
12182
+ current = await this.lambdaClient.send(new GetEventSourceMappingCommand({ UUID: physicalId }));
12183
+ } catch (readError) {
12184
+ if (readError instanceof ResourceNotFoundException) throw readError;
12185
+ break;
12186
+ }
12187
+ if (!TRANSITIONAL_STATES.has(current.State ?? "") || Date.now() >= deadline) break;
12188
+ }
12189
+ } finally {
12190
+ watch.dispose();
12191
+ }
12192
+ }
12193
+ }
12143
12194
  async function deleteImpl$32(logicalId, physicalId, resourceType, properties, context) {
12144
12195
  this.logger.debug(`Deleting event source mapping ${logicalId}: ${physicalId}`);
12145
12196
  try {
@@ -12154,7 +12205,7 @@ async function deleteImpl$32(logicalId, physicalId, resourceType, properties, co
12154
12205
  }
12155
12206
  throw error;
12156
12207
  }
12157
- await this.lambdaClient.send(new DeleteEventSourceMappingCommand({ UUID: physicalId }));
12208
+ await deleteWhenSettled.call(this, logicalId, physicalId, resourceType);
12158
12209
  this.logger.debug(`Successfully deleted event source mapping ${logicalId}`);
12159
12210
  } catch (error) {
12160
12211
  if (error instanceof ResourceNotFoundException) {
@@ -12163,6 +12214,7 @@ async function deleteImpl$32(logicalId, physicalId, resourceType, properties, co
12163
12214
  this.logger.debug(`Event source mapping ${physicalId} does not exist, skipping deletion`);
12164
12215
  return;
12165
12216
  }
12217
+ if (isInterruptedWaitError(error)) throw error;
12166
12218
  const cause = error instanceof Error ? error : void 0;
12167
12219
  throw this.wrapMaskedError(this.operationSinks(context?.maskSecrets, properties ?? {}), error, (text) => new ProvisioningError(`Failed to delete event source mapping ${logicalId}: ${text}`, resourceType, logicalId, physicalId, cause));
12168
12220
  }
@@ -18540,7 +18592,7 @@ var LightsailAlarmProvider = class {
18540
18592
  }
18541
18593
  return {
18542
18594
  physicalId: alarmName,
18543
- attributes: await this.readAttributesAfterWrite(alarmName, logicalId, mask)
18595
+ attributes: await this.readAttributesAfterWrite(alarmName, logicalId, mask, "create")
18544
18596
  };
18545
18597
  }
18546
18598
  async update(logicalId, physicalId, resourceType, properties, _previousProperties, context) {
@@ -18554,10 +18606,11 @@ var LightsailAlarmProvider = class {
18554
18606
  const cause = error instanceof Error ? error : void 0;
18555
18607
  throw this.wrapCaughtError(mask, error, (text) => new ProvisioningError(`Failed to update Lightsail alarm ${logicalId}: ${text}`, resourceType, logicalId, physicalId, cause));
18556
18608
  }
18609
+ const attributes = await this.readAttributesAfterWrite(physicalId, logicalId, mask, "update");
18557
18610
  return {
18558
18611
  physicalId,
18559
18612
  wasReplaced: false,
18560
- attributes: await this.readAttributesAfterWrite(physicalId, logicalId, mask)
18613
+ ...Object.keys(attributes).length > 0 && { attributes }
18561
18614
  };
18562
18615
  }
18563
18616
  async delete(logicalId, physicalId, resourceType, _properties, context) {
@@ -18576,15 +18629,16 @@ var LightsailAlarmProvider = class {
18576
18629
  throw error instanceof Error && error.name.includes("NotFound") ? markNotGone(thrown) : thrown;
18577
18630
  }
18578
18631
  }
18579
- async readAttributesAfterWrite(alarmName, logicalId, mask) {
18632
+ async readAttributesAfterWrite(alarmName, logicalId, mask, operation) {
18580
18633
  try {
18581
18634
  const alarm = await this.getAlarm(alarmName, logicalId);
18635
+ if (alarm === void 0) this.logger.debug(mask(safeMsg`GetAlarms listed no Lightsail alarm ${alarmName} right after the ${operation}; no attributes read`));
18582
18636
  return definedAttributes({
18583
18637
  AlarmArn: alarm?.arn,
18584
18638
  State: alarm?.state
18585
18639
  });
18586
18640
  } catch (error) {
18587
- this.logger.warn(mask(safeMsg`Could not read Lightsail alarm ${alarmName} back after writing it (${describeAwsFailure(error).summary}); its AlarmArn and State are read again when needed`));
18641
+ this.logger.warn(mask(operation === "create" ? safeMsg`Could not read Lightsail alarm ${alarmName} back after creating it (${describeAwsFailure(error).summary}); its AlarmArn and State are read again when needed` : safeMsg`Could not read Lightsail alarm ${alarmName} back after updating it (${describeAwsFailure(error).summary}); the recorded AlarmArn and State are kept, State as of the last read`));
18588
18642
  return {};
18589
18643
  }
18590
18644
  }
@@ -20429,8 +20483,7 @@ var EventBridgeBusProvider = class {
20429
20483
  }
20430
20484
  return {
20431
20485
  physicalId,
20432
- wasReplaced: false,
20433
- attributes: {}
20486
+ wasReplaced: false
20434
20487
  };
20435
20488
  }
20436
20489
  async delete(logicalId, physicalId, resourceType, _properties, context) {
@@ -20560,10 +20613,13 @@ var EventBridgeBusProvider = class {
20560
20613
  async import(input) {
20561
20614
  const explicit = resolveExplicitPhysicalId(input, "Name");
20562
20615
  if (explicit) try {
20563
- await this.eventBridgeClient.send(new DescribeEventBusCommand({ Name: explicit }));
20616
+ const bus = await this.eventBridgeClient.send(new DescribeEventBusCommand({ Name: explicit }));
20564
20617
  return {
20565
20618
  physicalId: explicit,
20566
- attributes: {}
20619
+ attributes: definedAttributes({
20620
+ Arn: bus.Arn,
20621
+ Name: bus.Name ?? explicit
20622
+ })
20567
20623
  };
20568
20624
  } catch (err) {
20569
20625
  if (err instanceof ResourceNotFoundException$2) return null;
@@ -20780,8 +20836,7 @@ var EventBridgeArchiveProvider = class {
20780
20836
  const kmsChanged = properties["KmsKeyIdentifier"] !== previousProperties["KmsKeyIdentifier"];
20781
20837
  if (!descChanged && !patternChanged && !retentionChanged && !kmsChanged) return {
20782
20838
  physicalId,
20783
- wasReplaced: false,
20784
- attributes: {}
20839
+ wasReplaced: false
20785
20840
  };
20786
20841
  this.logger.debug(mask(`Updating EventBridge archive ${logicalId}: ${physicalId}`));
20787
20842
  const input = { ArchiveName: physicalId };
@@ -20796,7 +20851,7 @@ var EventBridgeArchiveProvider = class {
20796
20851
  return {
20797
20852
  physicalId,
20798
20853
  wasReplaced: false,
20799
- attributes: definedAttributes({ Arn: arn })
20854
+ ...arn ? { attributes: { Arn: arn } } : {}
20800
20855
  };
20801
20856
  } catch (error) {
20802
20857
  if (error instanceof CdkdError || isInterruptedWaitError(error)) throw error;
@@ -21988,8 +22043,6 @@ async function updateVpc(logicalId, physicalId, resourceType, properties, previo
21988
22043
  if (v === void 0) return void 0;
21989
22044
  return v === true || v === "true";
21990
22045
  };
21991
- const declaredCidr = properties["CidrBlock"];
21992
- const cidrBlock = typeof declaredCidr === "string" && declaredCidr !== "" ? declaredCidr : properties["Ipv4IpamPoolId"] !== void 0 ? (await this.ec2Client.send(new DescribeVpcsCommand({ VpcIds: [physicalId] })))?.Vpcs?.[0]?.CidrBlock : void 0;
21993
22046
  const newDnsHostnames = asBool(properties["EnableDnsHostnames"]);
21994
22047
  const oldDnsHostnames = asBool(previousProperties["EnableDnsHostnames"]);
21995
22048
  if (newDnsHostnames !== void 0 && newDnsHostnames !== oldDnsHostnames) await this.ec2Client.send(new ModifyVpcAttributeCommand({
@@ -22010,11 +22063,7 @@ async function updateVpc(logicalId, physicalId, resourceType, properties, previo
22010
22063
  this.logger.debug(`Successfully updated VPC ${logicalId}`);
22011
22064
  return {
22012
22065
  physicalId,
22013
- wasReplaced: false,
22014
- attributes: definedAttributes({
22015
- VpcId: physicalId,
22016
- CidrBlock: cidrBlock
22017
- })
22066
+ wasReplaced: false
22018
22067
  };
22019
22068
  } catch (error) {
22020
22069
  if (error instanceof CdkdError) throw error;
@@ -23033,6 +23082,9 @@ const EC2_VPC_GATEWAY_ATTACHMENT_ID_FORMAT = {
23033
23082
  segments: ["gatewayId", "vpcId"]
23034
23083
  };
23035
23084
  const VPN_GATEWAY_ATTACHMENT_WAIT_MS = 6e5;
23085
+ function vpcGatewayAttachmentAttributes(kind) {
23086
+ return { AttachmentType: kind === "igw" ? "IGW" : "VGW" };
23087
+ }
23036
23088
  const VPN_DETACH_IN_PROGRESS_ERRORS = /* @__PURE__ */ new Set(["IncorrectState"]);
23037
23089
  const EC2_ROUTE_ID_FORMAT = {
23038
23090
  label: "Route",
@@ -23156,7 +23208,7 @@ async function createVpcGatewayAttachment(logicalId, resourceType, properties, c
23156
23208
  this.logger.debug(`Successfully created VPCGatewayAttachment ${logicalId}: ${physicalId}`);
23157
23209
  return {
23158
23210
  physicalId,
23159
- attributes: {}
23211
+ attributes: vpcGatewayAttachmentAttributes(kind)
23160
23212
  };
23161
23213
  } catch (error) {
23162
23214
  const cause = error instanceof Error ? error : void 0;
@@ -23344,7 +23396,8 @@ async function updateVpcGatewayAttachment(logicalId, physicalId, resourceType, p
23344
23396
  await this.attachVpcGateway(desired.kind, desired.gatewayId, vpcId, logicalId);
23345
23397
  return {
23346
23398
  physicalId: newPhysicalId,
23347
- wasReplaced: false
23399
+ wasReplaced: false,
23400
+ attributes: vpcGatewayAttachmentAttributes(desired.kind)
23348
23401
  };
23349
23402
  }
23350
23403
  const detachOld = async () => {
@@ -23386,7 +23439,8 @@ async function updateVpcGatewayAttachment(logicalId, physicalId, resourceType, p
23386
23439
  this.logger.debug(safeMsg`Swapped VPCGatewayAttachment ${logicalId} in place: ${physicalId} -> ${newPhysicalId}`);
23387
23440
  return {
23388
23441
  physicalId: newPhysicalId,
23389
- wasReplaced: false
23442
+ wasReplaced: false,
23443
+ attributes: vpcGatewayAttachmentAttributes(desired.kind)
23390
23444
  };
23391
23445
  } catch (error) {
23392
23446
  if (error instanceof ProvisioningError) throw error;
@@ -24636,7 +24690,8 @@ function instanceStopMembers(plan) {
24636
24690
  plan.placement?.Affinity !== void 0 ? "Affinity" : "",
24637
24691
  plan.placement?.HostId !== void 0 ? "HostId" : "",
24638
24692
  plan.kernelId !== void 0 ? "KernelId" : "",
24639
- plan.ramdiskId !== void 0 ? "RamdiskId" : ""
24693
+ plan.ramdiskId !== void 0 ? "RamdiskId" : "",
24694
+ plan.ebsOptimized !== void 0 ? "EbsOptimized" : ""
24640
24695
  ].filter(Boolean);
24641
24696
  }
24642
24697
  function isRecordedStandIn$1(value) {
@@ -25244,6 +25299,7 @@ function planInstanceMemberUpdates(logicalId, physicalId, resourceType, properti
25244
25299
  else throw refusedBeforeApplying(new ResourceUpdateNotSupportedError(resourceType, logicalId, `replace the instance (${deployReplaceCommand()}). CloudFormation creates a new instance for a Tenancy change to or from default`));
25245
25300
  }
25246
25301
  this.planInstanceStoppedMembers(logicalId, physicalId, resourceType, properties, context, plan, changed, standInSkips);
25302
+ this.planInstanceEbsOptimized(logicalId, physicalId, resourceType, properties, context, plan, changed, standInSkips);
25247
25303
  if (changed("InstanceInitiatedShutdownBehavior", (a, b) => a === b)) {
25248
25304
  if (properties["InstanceInitiatedShutdownBehavior"] === void 0) {
25249
25305
  if (context?.replayingState === true) this.logger.warn(safeMsg`${logicalId} (${resourceType}): the state being restored does not declare InstanceInitiatedShutdownBehavior; the rollback leaves it at its current AWS value.`);
@@ -25452,6 +25508,7 @@ async function prepareInstanceMemberUpdates(logicalId, physicalId, resourceType,
25452
25508
  }
25453
25509
  if (plan.kernelId !== void 0 && instance?.KernelId === plan.kernelId) delete plan.kernelId;
25454
25510
  if (plan.ramdiskId !== void 0 && instance?.RamdiskId === plan.ramdiskId) delete plan.ramdiskId;
25511
+ if (plan.ebsOptimized !== void 0 && instance?.EbsOptimized === plan.ebsOptimized) delete plan.ebsOptimized;
25455
25512
  const stopMembers = instanceStopMembers(plan);
25456
25513
  const needsStop = stopMembers.length > 0;
25457
25514
  if (tenancy !== void 0) {
@@ -25553,6 +25610,13 @@ async function applyInstanceMemberUpdates(logicalId, physicalId, resourceType, p
25553
25610
  await this.waitForInstanceState(logicalId, physicalId, resourceType, "stopped");
25554
25611
  }
25555
25612
  phase = "modify";
25613
+ if (plan.ebsOptimized === false) {
25614
+ await this.ec2Client.send(new ModifyInstanceAttributeCommand({
25615
+ InstanceId: physicalId,
25616
+ EbsOptimized: { Value: plan.ebsOptimized }
25617
+ }));
25618
+ applied.push("the new EbsOptimized");
25619
+ }
25556
25620
  if (plan.instanceType !== void 0) {
25557
25621
  await this.ec2Client.send(new ModifyInstanceAttributeCommand({
25558
25622
  InstanceId: physicalId,
@@ -25595,6 +25659,13 @@ async function applyInstanceMemberUpdates(logicalId, physicalId, resourceType, p
25595
25659
  }));
25596
25660
  applied.push("the new RamdiskId");
25597
25661
  }
25662
+ if (plan.ebsOptimized === true) {
25663
+ await this.ec2Client.send(new ModifyInstanceAttributeCommand({
25664
+ InstanceId: physicalId,
25665
+ EbsOptimized: { Value: plan.ebsOptimized }
25666
+ }));
25667
+ applied.push("the new EbsOptimized");
25668
+ }
25598
25669
  if (!startAfter) return;
25599
25670
  phase = "start";
25600
25671
  await this.ec2Client.send(new StartInstancesCommand({ InstanceIds: [physicalId] }));
@@ -26255,6 +26326,36 @@ const instanceSsmMethods = {
26255
26326
  readInstanceSsmAssociations
26256
26327
  };
26257
26328
 
26329
+ // src/provisioning/providers/ec2/instance-ebs-optimized.ts
26330
+ function planInstanceEbsOptimized(logicalId, physicalId, resourceType, properties, context, plan, changed, standInSkips) {
26331
+ const key = "EbsOptimized";
26332
+ const same = (a, b) => {
26333
+ const x = coerceCfnBoolean(a);
26334
+ return x !== void 0 && x === coerceCfnBoolean(b);
26335
+ };
26336
+ if (!changed(key, same)) return;
26337
+ const raw = properties[key];
26338
+ if (raw === void 0) {
26339
+ if (context?.replayingState === true) {
26340
+ this.logger.warn(safeMsg`${logicalId} (${resourceType}): the state being restored does not declare ${key}; the rollback leaves it at its current AWS value.`);
26341
+ return;
26342
+ }
26343
+ throw refusedBeforeApplying(new ProvisioningError(safeMsg`${logicalId} (${resourceType}): ${key} was removed from the template, and CloudFormation fails that update for an existing instance. Keep it declared (set it to false to turn EBS optimization off). The instance was not updated.`, resourceType, logicalId, physicalId));
26344
+ }
26345
+ if (standInSkips(key)) return;
26346
+ const want = coerceCfnBoolean(raw);
26347
+ if (want === void 0) {
26348
+ const refusal = configBooleanRefusal(properties, key, resourceType);
26349
+ if (context?.replayingState === true || context?.desiredFromAwsReadback === true) {
26350
+ this.logger.warn(safeMsg`${logicalId} (${resourceType}): ${refusal ?? `${key} is not a boolean`}; it is left at its current AWS value.`);
26351
+ return;
26352
+ }
26353
+ throw refusedBeforeApplying(new ProvisioningError(`${refusal ?? `${resourceType}.${key} must be a boolean`}. The instance ${logicalId} was not updated.`, resourceType, logicalId, physicalId));
26354
+ }
26355
+ plan.ebsOptimized = want;
26356
+ }
26357
+ const instanceEbsOptimizedMethods = { planInstanceEbsOptimized };
26358
+
26258
26359
  // src/provisioning/providers/ec2/network-acl.ts
26259
26360
  async function createNetworkAcl(logicalId, resourceType, properties, context) {
26260
26361
  this.logger.debug(`Creating NetworkAcl ${logicalId}`);
@@ -27624,7 +27725,7 @@ async function verifyExplicit(logicalId, resourceType, physicalId, properties) {
27624
27725
  }
27625
27726
  return {
27626
27727
  physicalId: packCompositeId(resourceType, logicalId, attachmentSegments),
27627
- attributes: {}
27728
+ attributes: vpcGatewayAttachmentAttributes(isVpn ? "vgw" : "igw")
27628
27729
  };
27629
27730
  }
27630
27731
  case "AWS::EC2::NetworkAclEntry": {
@@ -27989,6 +28090,7 @@ for (const methods of [
27989
28090
  instanceLifecycleMethods,
27990
28091
  instanceBuildMethods,
27991
28092
  instanceSsmMethods,
28093
+ instanceEbsOptimizedMethods,
27992
28094
  networkAclMethods,
27993
28095
  tagsErrorsMethods,
27994
28096
  driftMethods,
@@ -33926,16 +34028,23 @@ var AgentCoreRuntimeProvider = class {
33926
34028
  debug: (message) => this.logger.debug(message)
33927
34029
  };
33928
34030
  }
33929
- async settledStatus(agentRuntimeId, logicalId, resourceType, operation, responseStatus, mask) {
34031
+ async settledStatus(agentRuntimeId, logicalId, resourceType, operation, response, mask) {
33930
34032
  if (process.env["CDKD_NO_WAIT"] === "true") {
33931
34033
  this.logger.debug(safeMsg`Skipping the READY wait for BedrockAgentCore Runtime ${logicalId} after ${operation} (CDKD_NO_WAIT=true)`);
33932
34034
  deferReadiness(logicalId, resourceType, agentRuntimeId, (signal) => waitForRuntimeReady({
33933
34035
  ...this.waitDeps(),
33934
34036
  sleep: (ms) => abortableSleep((d) => this.sleep(d), ms, signal)
33935
34037
  }, agentRuntimeId, logicalId, resourceType, operation, mask));
33936
- return responseStatus;
34038
+ return {
34039
+ status: response.status,
34040
+ lastUpdatedAt: void 0
34041
+ };
33937
34042
  }
33938
- return (await waitForRuntimeReady(this.waitDeps(), agentRuntimeId, logicalId, resourceType, operation, mask)).status;
34043
+ const ready = await waitForRuntimeReady(this.waitDeps(), agentRuntimeId, logicalId, resourceType, operation, mask);
34044
+ return {
34045
+ status: ready.status,
34046
+ lastUpdatedAt: ready.lastUpdatedAt
34047
+ };
33939
34048
  }
33940
34049
  async sendCreateTagCall(send) {
33941
34050
  for (let attempt = 0;; attempt++) try {
@@ -34011,13 +34120,13 @@ var AgentCoreRuntimeProvider = class {
34011
34120
  createdRuntimeId = agentRuntimeId;
34012
34121
  reportCreatedResource(logicalId, resourceType, agentRuntimeId);
34013
34122
  this.logger.debug(`Created BedrockAgentCore Runtime: ${agentRuntimeId} (${agentRuntimeArn})`);
34014
- const status = await this.settledStatus(agentRuntimeId, logicalId, resourceType, "create", response.status, maskerOrIdentity(context?.maskSecrets));
34123
+ const settled = await this.settledStatus(agentRuntimeId, logicalId, resourceType, "create", response, maskerOrIdentity(context?.maskSecrets));
34015
34124
  if (desiredTags.length > 0) await this.ensureCreateTags(agentRuntimeId, agentRuntimeArn, desiredTags);
34016
34125
  return {
34017
34126
  physicalId: agentRuntimeId,
34018
34127
  attributes: this.buildAttributes({
34019
34128
  ...response,
34020
- status
34129
+ ...settled
34021
34130
  }, agentRuntimeName)
34022
34131
  };
34023
34132
  } catch (error) {
@@ -34072,14 +34181,14 @@ var AgentCoreRuntimeProvider = class {
34072
34181
  const response = await this.client.send(new UpdateAgentRuntimeCommand(input));
34073
34182
  const agentRuntimeId = response.agentRuntimeId;
34074
34183
  await this.syncTags(logicalId, resourceType, physicalId, response.agentRuntimeArn, previousProperties["Tags"], properties["Tags"], mask);
34075
- const status = await this.settledStatus(agentRuntimeId, logicalId, resourceType, "update", response.status, mask);
34184
+ const settled = await this.settledStatus(agentRuntimeId, logicalId, resourceType, "update", response, mask);
34076
34185
  this.logger.debug(`Successfully updated BedrockAgentCore Runtime ${logicalId}`);
34077
34186
  return {
34078
34187
  physicalId: agentRuntimeId,
34079
34188
  wasReplaced: false,
34080
34189
  attributes: this.buildAttributes({
34081
34190
  ...response,
34082
- status
34191
+ ...settled
34083
34192
  }, properties["AgentRuntimeName"])
34084
34193
  };
34085
34194
  } catch (error) {
@@ -34148,6 +34257,7 @@ var AgentCoreRuntimeProvider = class {
34148
34257
  if (response.agentRuntimeVersion !== void 0) attributes["AgentRuntimeVersion"] = response.agentRuntimeVersion;
34149
34258
  if (response.status !== void 0) attributes["Status"] = response.status;
34150
34259
  if (response.createdAt !== void 0) attributes["CreatedAt"] = response.createdAt.toISOString();
34260
+ if (response.lastUpdatedAt !== void 0) attributes["LastUpdatedAt"] = response.lastUpdatedAt.toISOString();
34151
34261
  if (response.workloadIdentityDetails !== void 0) attributes["WorkloadIdentityDetails"] = camelToPascalCaseKeys(response.workloadIdentityDetails, SDK_MAP_KEYS);
34152
34262
  return attributes;
34153
34263
  }
@@ -34215,8 +34325,7 @@ var AgentCoreBrowserProvider = class {
34215
34325
  this.logger.debug(`No-op update for default browser ${logicalId}`);
34216
34326
  return {
34217
34327
  physicalId,
34218
- wasReplaced: false,
34219
- attributes: {}
34328
+ wasReplaced: false
34220
34329
  };
34221
34330
  }
34222
34331
  async delete(logicalId, _physicalId, _resourceType) {
@@ -34288,8 +34397,7 @@ var AgentCoreCodeInterpreterProvider = class {
34288
34397
  this.logger.debug(`No-op update for default code interpreter ${logicalId}`);
34289
34398
  return {
34290
34399
  physicalId,
34291
- wasReplaced: false,
34292
- attributes: {}
34400
+ wasReplaced: false
34293
34401
  };
34294
34402
  }
34295
34403
  async delete(logicalId, _physicalId, _resourceType) {
@@ -34415,7 +34523,8 @@ var AgentCoreEvaluatorProvider = class {
34415
34523
  refuseMalformedDesiredTags(properties["Tags"], resourceType, logicalId, physicalId);
34416
34524
  try {
34417
34525
  const input = { evaluatorId: evaluatorIdFromArn(physicalId) };
34418
- if (properties["Description"] !== void 0) input["description"] = properties["Description"];
34526
+ const revertNoDescription = context?.desiredFromAwsReadback === true && properties["Description"] === "";
34527
+ if (properties["Description"] !== void 0 && !revertNoDescription) input["description"] = properties["Description"];
34419
34528
  if (properties["EvaluatorConfig"] !== void 0) input["evaluatorConfig"] = pascalToCamelCaseKeys(properties["EvaluatorConfig"], CFN_PRESERVE_KEYS);
34420
34529
  if (properties["Level"] !== void 0) input["level"] = properties["Level"];
34421
34530
  if (properties["KmsKeyArn"] !== void 0) input["kmsKeyArn"] = properties["KmsKeyArn"];
@@ -48322,13 +48431,15 @@ async function updateGraphQLApi(logicalId, physicalId, resourceType, properties,
48322
48431
  authenticationType: newAuthType ?? oldAuthType ?? "API_KEY"
48323
48432
  };
48324
48433
  if (newXray !== void 0) input.xrayEnabled = newXray;
48325
- if (newLog !== void 0) input.logConfig = {
48326
- cloudWatchLogsRoleArn: newLog["CloudWatchLogsRoleArn"],
48327
- fieldLogLevel: newLog["FieldLogLevel"],
48328
- excludeVerboseContent: newLog["ExcludeVerboseContent"]
48329
- };
48330
- else if (oldLog !== void 0) {
48331
- const existingRoleArn = oldLog["CloudWatchLogsRoleArn"];
48434
+ const sentLog = isEmptyLogConfig(newLog) ? void 0 : newLog;
48435
+ const recordedLog = isEmptyLogConfig(oldLog) ? void 0 : oldLog;
48436
+ if (sentLog !== void 0) input.logConfig = {
48437
+ cloudWatchLogsRoleArn: sentLog["CloudWatchLogsRoleArn"],
48438
+ fieldLogLevel: sentLog["FieldLogLevel"],
48439
+ excludeVerboseContent: sentLog["ExcludeVerboseContent"]
48440
+ };
48441
+ else if (recordedLog !== void 0) {
48442
+ const existingRoleArn = recordedLog["CloudWatchLogsRoleArn"];
48332
48443
  if (existingRoleArn) input.logConfig = {
48333
48444
  cloudWatchLogsRoleArn: existingRoleArn,
48334
48445
  fieldLogLevel: "NONE"
@@ -48358,6 +48469,9 @@ async function updateGraphQLApi(logicalId, physicalId, resourceType, properties,
48358
48469
  ...envRecord && { effectiveProperties: this.withEnvironmentVariablesRecord(properties, envRecord) }
48359
48470
  };
48360
48471
  }
48472
+ function isEmptyLogConfig(log) {
48473
+ return log === void 0 || typeof log === "object" && log !== null && Object.keys(log).length === 0;
48474
+ }
48361
48475
 
48362
48476
  // src/provisioning/providers/appsync/update-children.ts
48363
48477
  async function updateGraphQLSchema(logicalId, physicalId, resourceType, properties, previousProperties, mask = maskerOrIdentity(void 0)) {
@@ -49882,6 +49996,17 @@ var AppSyncProvider = class {
49882
49996
  getDriftUnknownPaths(resourceType) {
49883
49997
  return getDriftUnknownPaths$2.call(this, resourceType);
49884
49998
  }
49999
+ canonicalizeDriftProperties(resourceType, properties) {
50000
+ if (resourceType !== "AWS::AppSync::GraphQLApi") return properties;
50001
+ const log = properties["LogConfig"];
50002
+ if (typeof log !== "object" || log === null || Array.isArray(log)) return properties;
50003
+ const members = log;
50004
+ if (members["FieldLogLevel"] !== "NONE") return properties;
50005
+ return Object.entries(members).every(([key, value]) => key === "FieldLogLevel" || key === "CloudWatchLogsRoleArn" || key === "ExcludeVerboseContent" && value === false) ? {
50006
+ ...properties,
50007
+ LogConfig: {}
50008
+ } : properties;
50009
+ }
49885
50010
  asObject(value, path, options, resourceType = "AWS::AppSync::GraphQLApi") {
49886
50011
  return asObject.call(this, value, path, options, resourceType);
49887
50012
  }
@@ -50258,6 +50383,17 @@ function pickDefined(obj) {
50258
50383
  }
50259
50384
  return out;
50260
50385
  }
50386
+ function withoutReadbackPlaceholders(properties, placeholders, desiredFromAwsReadback) {
50387
+ if (desiredFromAwsReadback !== true) return properties;
50388
+ let out;
50389
+ for (const [key, placeholder] of Object.entries(placeholders)) {
50390
+ if (!Object.hasOwn(properties, key)) continue;
50391
+ if (JSON.stringify(properties[key]) !== JSON.stringify(placeholder)) continue;
50392
+ out ??= { ...properties };
50393
+ delete out[key];
50394
+ }
50395
+ return out ?? properties;
50396
+ }
50261
50397
 
50262
50398
  // src/provisioning/providers/glue/names.ts
50263
50399
  const GLUE_NAME_MAX_LENGTH = 255;
@@ -50473,7 +50609,7 @@ async function jobUpdate(logicalId, physicalId, resourceType, properties, previo
50473
50609
  const command = properties["Command"];
50474
50610
  const update = {
50475
50611
  ...command !== void 0 && { Command: buildJobCommand(command) },
50476
- ...buildJobCommonFields(properties),
50612
+ ...buildJobCommonFields(withoutCapacityEchoes(withoutReadbackPlaceholders(properties, JOB_READBACK_PLACEHOLDERS, context?.desiredFromAwsReadback), previousProperties, context?.desiredFromAwsReadback)),
50477
50613
  ...properties["Role"] !== void 0 && { Role: properties["Role"] }
50478
50614
  };
50479
50615
  await this.getClient().send(new UpdateJobCommand({
@@ -50510,6 +50646,41 @@ async function jobDelete(logicalId, physicalId, resourceType, _properties, conte
50510
50646
  async function jobGetAttribute(physicalId, _resourceType, attributeName) {
50511
50647
  if (attributeName === "Id" || attributeName === "Ref" || attributeName === "Name") return physicalId;
50512
50648
  }
50649
+ const JOB_READBACK_PLACEHOLDERS = {
50650
+ Description: "",
50651
+ LogUri: "",
50652
+ DefaultArguments: {},
50653
+ NonOverridableArguments: {},
50654
+ Connections: { Connections: [] },
50655
+ Timeout: 0,
50656
+ NotificationProperty: { NotifyDelayAfter: 0 },
50657
+ GlueVersion: "",
50658
+ NumberOfWorkers: 0,
50659
+ WorkerType: "",
50660
+ MaxCapacity: 0,
50661
+ AllocatedCapacity: 0,
50662
+ SecurityConfiguration: "",
50663
+ ExecutionClass: "",
50664
+ JobMode: "",
50665
+ MaintenanceWindow: "",
50666
+ SourceControlDetails: {}
50667
+ };
50668
+ function withoutCapacityEchoes(properties, previousProperties, desiredFromAwsReadback) {
50669
+ if (desiredFromAwsReadback !== true) return properties;
50670
+ const same = (key) => JSON.stringify(properties[key]) === JSON.stringify(previousProperties[key]);
50671
+ let workers = properties["WorkerType"] !== void 0 && properties["NumberOfWorkers"] !== void 0;
50672
+ if (workers && properties["MaxCapacity"] !== void 0 && !same("MaxCapacity") && same("WorkerType") && same("NumberOfWorkers")) workers = false;
50673
+ const echoes = workers ? ["MaxCapacity", "AllocatedCapacity"] : [
50674
+ "WorkerType",
50675
+ "NumberOfWorkers",
50676
+ "AllocatedCapacity"
50677
+ ];
50678
+ if (!workers && properties["MaxCapacity"] === void 0) return properties;
50679
+ if (!echoes.some((key) => Object.hasOwn(properties, key))) return properties;
50680
+ const out = { ...properties };
50681
+ for (const key of echoes) delete out[key];
50682
+ return out;
50683
+ }
50513
50684
  async function jobReadCurrentState(physicalId, _logicalId, _resourceType) {
50514
50685
  let job;
50515
50686
  try {
@@ -51780,12 +51951,13 @@ async function triggerUpdate(logicalId, physicalId, resourceType, properties, pr
51780
51951
  } catch (err) {
51781
51952
  if (!(err instanceof EntityNotFoundException)) log.debug(`GetTrigger pre-check failed for ${v(physicalId)}; continuing anyway: ${describeAwsFailure(err).detail}`);
51782
51953
  }
51954
+ const sent = withoutReadbackPlaceholders(properties, TRIGGER_READBACK_PLACEHOLDERS, context?.desiredFromAwsReadback);
51783
51955
  const update = {
51784
- ...properties["Description"] !== void 0 && { Description: properties["Description"] },
51785
- ...properties["Schedule"] !== void 0 && { Schedule: properties["Schedule"] },
51786
- ...properties["Actions"] !== void 0 && { Actions: properties["Actions"] },
51787
- ...properties["Predicate"] !== void 0 && { Predicate: properties["Predicate"] },
51788
- ...properties["EventBatchingCondition"] !== void 0 && { EventBatchingCondition: properties["EventBatchingCondition"] }
51956
+ ...sent["Description"] !== void 0 && { Description: sent["Description"] },
51957
+ ...sent["Schedule"] !== void 0 && { Schedule: sent["Schedule"] },
51958
+ ...sent["Actions"] !== void 0 && { Actions: sent["Actions"] },
51959
+ ...sent["Predicate"] !== void 0 && { Predicate: sent["Predicate"] },
51960
+ ...sent["EventBatchingCondition"] !== void 0 && { EventBatchingCondition: sent["EventBatchingCondition"] }
51789
51961
  };
51790
51962
  let updateError;
51791
51963
  for (const key of TRIGGER_UPDATE_KEYS) if (JSON.stringify(properties[key]) !== JSON.stringify(previousProperties[key])) markUnsettled(key);
@@ -51827,6 +51999,12 @@ async function triggerUnsettledInTransition(physicalId, _logicalId, _resourceTyp
51827
51999
  return names;
51828
52000
  }
51829
52001
  }
52002
+ const TRIGGER_READBACK_PLACEHOLDERS = {
52003
+ Schedule: "",
52004
+ Description: "",
52005
+ Predicate: {},
52006
+ EventBatchingCondition: {}
52007
+ };
51830
52008
  async function waitForTriggerDeactivated(physicalId) {
51831
52009
  for (let attempt = 0; attempt < 30; attempt++) {
51832
52010
  try {
@@ -55028,7 +55206,7 @@ var KinesisStreamConsumerProvider = class {
55028
55206
  });
55029
55207
  if (!await unchanged("ConsumerName", newConsumerName, oldConsumerName, fromArn?.consumerName) || !await unchanged("StreamARN", newStreamArn, oldStreamArn, fromArn?.streamArn)) throw new ResourceUpdateNotSupportedError(resourceType, logicalId, `AWS::Kinesis::StreamConsumer ConsumerName / StreamARN are immutable on AWS — there is no UpdateStreamConsumer API; every change registers a new consumer (RegisterStreamConsumer). Re-deploy with ${deployReplaceCommand()}, or destroy + redeploy.`);
55030
55208
  await this.applyTagDiff(physicalId, resourceType, logicalId, previousProperties["Tags"], properties["Tags"], maskSecrets);
55031
- let attrs = {};
55209
+ let attrs;
55032
55210
  try {
55033
55211
  const desc = (await this.getClient().send(new DescribeStreamConsumerCommand({ ConsumerARN: physicalId }))).ConsumerDescription;
55034
55212
  if (desc) attrs = {
@@ -55045,7 +55223,7 @@ var KinesisStreamConsumerProvider = class {
55045
55223
  return {
55046
55224
  physicalId,
55047
55225
  wasReplaced: false,
55048
- attributes: attrs
55226
+ ...attrs !== void 0 && { attributes: attrs }
55049
55227
  };
55050
55228
  }
55051
55229
  async delete(logicalId, physicalId, resourceType, _properties, context) {
@@ -59056,6 +59234,27 @@ function mapExtendedS3DescriptionToCfn(desc) {
59056
59234
  else out["S3BackupConfiguration"] = {};
59057
59235
  return out;
59058
59236
  }
59237
+ const DISABLED_BLOCK_FILLS = {
59238
+ ProcessingConfiguration: { Processors: [] },
59239
+ DataFormatConversionConfiguration: {},
59240
+ DynamicPartitioningConfiguration: { RetryOptions: { DurationInSeconds: 300 } }
59241
+ };
59242
+ function canonicalizeDisabledExtendedS3Blocks(properties) {
59243
+ const dest = properties["ExtendedS3DestinationConfiguration"];
59244
+ if (!isPlainRecord(dest)) return properties;
59245
+ let out;
59246
+ for (const [key, fills] of Object.entries(DISABLED_BLOCK_FILLS)) {
59247
+ const block = dest[key];
59248
+ if (!isPlainRecord(block) || block["Enabled"] !== false) continue;
59249
+ if (!Object.entries(block).every(([member, value]) => member === "Enabled" || Object.hasOwn(fills, member) && JSON.stringify(value) === JSON.stringify(fills[member]))) continue;
59250
+ out ??= { ...dest };
59251
+ out[key] = {};
59252
+ }
59253
+ return out ? {
59254
+ ...properties,
59255
+ ExtendedS3DestinationConfiguration: out
59256
+ } : properties;
59257
+ }
59059
59258
  function mapNonS3DestinationToCfn(desc) {
59060
59259
  const cleaned = pickDefinedDeep(desc);
59061
59260
  if (!cleaned) return {};
@@ -59341,6 +59540,121 @@ async function create$7(logicalId, resourceType, properties, context) {
59341
59540
  }
59342
59541
  }
59343
59542
 
59543
+ // src/provisioning/providers/firehose/s3-destination.ts
59544
+ function mapS3DestinationConfiguration(config) {
59545
+ const result = {
59546
+ BucketARN: config["BucketArn"] || config["BucketARN"],
59547
+ RoleARN: config["RoleArn"] || config["RoleARN"]
59548
+ };
59549
+ if (config["Prefix"] !== void 0) result.Prefix = config["Prefix"];
59550
+ if (config["ErrorOutputPrefix"] !== void 0) result.ErrorOutputPrefix = config["ErrorOutputPrefix"];
59551
+ if (config["CompressionFormat"] !== void 0) result.CompressionFormat = config["CompressionFormat"];
59552
+ if (config["BufferingHints"] !== void 0) {
59553
+ const hints = config["BufferingHints"];
59554
+ result.BufferingHints = {
59555
+ ...hints["SizeInMBs"] !== void 0 && { SizeInMBs: hints["SizeInMBs"] },
59556
+ ...hints["IntervalInSeconds"] !== void 0 && { IntervalInSeconds: hints["IntervalInSeconds"] }
59557
+ };
59558
+ }
59559
+ if (config["EncryptionConfiguration"] !== void 0) result.EncryptionConfiguration = config["EncryptionConfiguration"];
59560
+ if (config["CloudWatchLoggingOptions"] !== void 0) result.CloudWatchLoggingOptions = config["CloudWatchLoggingOptions"];
59561
+ return result;
59562
+ }
59563
+ function mapExtendedS3DestinationConfiguration(config) {
59564
+ const result = {
59565
+ BucketARN: config["BucketArn"] || config["BucketARN"],
59566
+ RoleARN: config["RoleArn"] || config["RoleARN"]
59567
+ };
59568
+ if (config["Prefix"] !== void 0) result.Prefix = config["Prefix"];
59569
+ if (config["ErrorOutputPrefix"] !== void 0) result.ErrorOutputPrefix = config["ErrorOutputPrefix"];
59570
+ if (config["CompressionFormat"] !== void 0) result.CompressionFormat = config["CompressionFormat"];
59571
+ if (config["BufferingHints"] !== void 0) {
59572
+ const hints = config["BufferingHints"];
59573
+ result.BufferingHints = {
59574
+ ...hints["SizeInMBs"] !== void 0 && { SizeInMBs: hints["SizeInMBs"] },
59575
+ ...hints["IntervalInSeconds"] !== void 0 && { IntervalInSeconds: hints["IntervalInSeconds"] }
59576
+ };
59577
+ }
59578
+ if (config["EncryptionConfiguration"] !== void 0) result.EncryptionConfiguration = config["EncryptionConfiguration"];
59579
+ if (config["CloudWatchLoggingOptions"] !== void 0) result.CloudWatchLoggingOptions = config["CloudWatchLoggingOptions"];
59580
+ if (config["ProcessingConfiguration"] !== void 0) result.ProcessingConfiguration = config["ProcessingConfiguration"];
59581
+ if (config["S3BackupMode"] !== void 0) result.S3BackupMode = config["S3BackupMode"];
59582
+ if (config["S3BackupConfiguration"] !== void 0) {
59583
+ const backupConfig = config["S3BackupConfiguration"];
59584
+ result.S3BackupConfiguration = this.mapS3DestinationConfiguration(backupConfig);
59585
+ }
59586
+ if (config["DataFormatConversionConfiguration"] !== void 0) result.DataFormatConversionConfiguration = config["DataFormatConversionConfiguration"];
59587
+ if (config["DynamicPartitioningConfiguration"] !== void 0) result.DynamicPartitioningConfiguration = config["DynamicPartitioningConfiguration"];
59588
+ if (config["FileExtension"] !== void 0) result.FileExtension = config["FileExtension"];
59589
+ if (config["CustomTimeZone"] !== void 0) result.CustomTimeZone = config["CustomTimeZone"];
59590
+ return result;
59591
+ }
59592
+ function mapExtendedS3ConfigToUpdate(config) {
59593
+ const result = {};
59594
+ const bucketArn = config["BucketArn"] ?? config["BucketARN"];
59595
+ if (bucketArn !== void 0) result.BucketARN = bucketArn;
59596
+ const roleArn = config["RoleArn"] ?? config["RoleARN"];
59597
+ if (roleArn !== void 0) result.RoleARN = roleArn;
59598
+ if (config["Prefix"] !== void 0) result.Prefix = config["Prefix"];
59599
+ if (config["ErrorOutputPrefix"] !== void 0) result.ErrorOutputPrefix = config["ErrorOutputPrefix"];
59600
+ if (config["CompressionFormat"] !== void 0) result.CompressionFormat = config["CompressionFormat"];
59601
+ if (config["BufferingHints"] !== void 0) {
59602
+ const hints = config["BufferingHints"];
59603
+ result.BufferingHints = {
59604
+ ...hints["SizeInMBs"] !== void 0 && { SizeInMBs: hints["SizeInMBs"] },
59605
+ ...hints["IntervalInSeconds"] !== void 0 && { IntervalInSeconds: hints["IntervalInSeconds"] }
59606
+ };
59607
+ }
59608
+ if (config["EncryptionConfiguration"] !== void 0) result.EncryptionConfiguration = config["EncryptionConfiguration"];
59609
+ if (config["CloudWatchLoggingOptions"] !== void 0) result.CloudWatchLoggingOptions = config["CloudWatchLoggingOptions"];
59610
+ if (config["ProcessingConfiguration"] !== void 0) result.ProcessingConfiguration = config["ProcessingConfiguration"];
59611
+ if (config["S3BackupMode"] !== void 0) result.S3BackupMode = config["S3BackupMode"];
59612
+ if (config["S3BackupConfiguration"] !== void 0) result.S3BackupUpdate = this.mapS3ConfigToUpdate(config["S3BackupConfiguration"]);
59613
+ if (config["DataFormatConversionConfiguration"] !== void 0) result.DataFormatConversionConfiguration = config["DataFormatConversionConfiguration"];
59614
+ if (config["DynamicPartitioningConfiguration"] !== void 0) result.DynamicPartitioningConfiguration = config["DynamicPartitioningConfiguration"];
59615
+ if (config["FileExtension"] !== void 0) result.FileExtension = config["FileExtension"];
59616
+ if (config["CustomTimeZone"] !== void 0) result.CustomTimeZone = config["CustomTimeZone"];
59617
+ return result;
59618
+ }
59619
+ function withEmptyBlocksAsNone(update, config, live) {
59620
+ const isEmpty = (key) => {
59621
+ const value = config[key];
59622
+ return isPlainRecord(value) && Object.keys(value).length === 0;
59623
+ };
59624
+ const result = { ...update };
59625
+ if (isEmpty("S3BackupConfiguration")) delete result.S3BackupUpdate;
59626
+ if (isEmpty("DynamicPartitioningConfiguration")) delete result.DynamicPartitioningConfiguration;
59627
+ if (isEmpty("ProcessingConfiguration")) {
59628
+ if (live?.ProcessingConfiguration?.Enabled === true) result.ProcessingConfiguration = { Enabled: false };
59629
+ else delete result.ProcessingConfiguration;
59630
+ }
59631
+ if (isEmpty("DataFormatConversionConfiguration")) {
59632
+ if (live?.DataFormatConversionConfiguration?.Enabled === true) result.DataFormatConversionConfiguration = { Enabled: false };
59633
+ else delete result.DataFormatConversionConfiguration;
59634
+ }
59635
+ return result;
59636
+ }
59637
+ function mapS3ConfigToUpdate(config) {
59638
+ const result = {};
59639
+ const bucketArn = config["BucketArn"] ?? config["BucketARN"];
59640
+ if (bucketArn !== void 0) result.BucketARN = bucketArn;
59641
+ const roleArn = config["RoleArn"] ?? config["RoleARN"];
59642
+ if (roleArn !== void 0) result.RoleARN = roleArn;
59643
+ if (config["Prefix"] !== void 0) result.Prefix = config["Prefix"];
59644
+ if (config["ErrorOutputPrefix"] !== void 0) result.ErrorOutputPrefix = config["ErrorOutputPrefix"];
59645
+ if (config["CompressionFormat"] !== void 0) result.CompressionFormat = config["CompressionFormat"];
59646
+ if (config["BufferingHints"] !== void 0) {
59647
+ const hints = config["BufferingHints"];
59648
+ result.BufferingHints = {
59649
+ ...hints["SizeInMBs"] !== void 0 && { SizeInMBs: hints["SizeInMBs"] },
59650
+ ...hints["IntervalInSeconds"] !== void 0 && { IntervalInSeconds: hints["IntervalInSeconds"] }
59651
+ };
59652
+ }
59653
+ if (config["EncryptionConfiguration"] !== void 0) result.EncryptionConfiguration = config["EncryptionConfiguration"];
59654
+ if (config["CloudWatchLoggingOptions"] !== void 0) result.CloudWatchLoggingOptions = config["CloudWatchLoggingOptions"];
59655
+ return result;
59656
+ }
59657
+
59344
59658
  // src/provisioning/providers/firehose/update.ts
59345
59659
  async function update$7(logicalId, physicalId, resourceType, properties, previousProperties, context) {
59346
59660
  assertRegionMatch(context?.expectedRegion ? await this.getClient().config.region() : void 0, context?.expectedRegion, resourceType, logicalId, physicalId, "pre-update");
@@ -59431,7 +59745,7 @@ async function applyUpdate$1(logicalId, physicalId, resourceType, properties, pr
59431
59745
  return {
59432
59746
  physicalId,
59433
59747
  wasReplaced: false,
59434
- attributes: { ...desc?.DeliveryStreamARN !== void 0 && { Arn: desc.DeliveryStreamARN } },
59748
+ ...desc?.DeliveryStreamARN !== void 0 && { attributes: { Arn: desc.DeliveryStreamARN } },
59435
59749
  ...encryptionSkipped && { effectiveProperties: this.withRecordedEncryption(properties, previousProperties["DeliveryStreamEncryptionConfigurationInput"], desc?.DeliveryStreamEncryptionConfiguration) }
59436
59750
  };
59437
59751
  }
@@ -59456,13 +59770,14 @@ function withRecordedEncryption(properties, previous, live) {
59456
59770
  async function applyExtendedS3DestinationUpdate(logicalId, physicalId, nextConfig) {
59457
59771
  const desc = (await this.getClient().send(new DescribeDeliveryStreamCommand({ DeliveryStreamName: physicalId }))).DeliveryStreamDescription;
59458
59772
  const currentVersionId = desc?.VersionId;
59459
- const destinationId = (desc?.Destinations?.[0])?.DestinationId;
59773
+ const currentDestination = desc?.Destinations?.[0];
59774
+ const destinationId = currentDestination?.DestinationId;
59460
59775
  if (!currentVersionId || !destinationId) throw new ProvisioningError(`DescribeDeliveryStream for ${physicalId} did not return VersionId or DestinationId; UpdateDestination cannot proceed.`, "AWS::KinesisFirehose::DeliveryStream", logicalId, physicalId);
59461
59776
  await this.getClient().send(new UpdateDestinationCommand({
59462
59777
  DeliveryStreamName: physicalId,
59463
59778
  CurrentDeliveryStreamVersionId: currentVersionId,
59464
59779
  DestinationId: destinationId,
59465
- ExtendedS3DestinationUpdate: this.mapExtendedS3ConfigToUpdate(nextConfig)
59780
+ ExtendedS3DestinationUpdate: withEmptyBlocksAsNone(this.mapExtendedS3ConfigToUpdate(nextConfig), nextConfig, currentDestination?.ExtendedS3DestinationDescription)
59466
59781
  }));
59467
59782
  }
59468
59783
  async function applyS3DestinationUpdate(logicalId, physicalId, nextConfig) {
@@ -59627,103 +59942,6 @@ async function readDeliveryStreamStatusForDelete(streamName) {
59627
59942
  }
59628
59943
  }
59629
59944
 
59630
- // src/provisioning/providers/firehose/s3-destination.ts
59631
- function mapS3DestinationConfiguration(config) {
59632
- const result = {
59633
- BucketARN: config["BucketArn"] || config["BucketARN"],
59634
- RoleARN: config["RoleArn"] || config["RoleARN"]
59635
- };
59636
- if (config["Prefix"] !== void 0) result.Prefix = config["Prefix"];
59637
- if (config["ErrorOutputPrefix"] !== void 0) result.ErrorOutputPrefix = config["ErrorOutputPrefix"];
59638
- if (config["CompressionFormat"] !== void 0) result.CompressionFormat = config["CompressionFormat"];
59639
- if (config["BufferingHints"] !== void 0) {
59640
- const hints = config["BufferingHints"];
59641
- result.BufferingHints = {
59642
- ...hints["SizeInMBs"] !== void 0 && { SizeInMBs: hints["SizeInMBs"] },
59643
- ...hints["IntervalInSeconds"] !== void 0 && { IntervalInSeconds: hints["IntervalInSeconds"] }
59644
- };
59645
- }
59646
- if (config["EncryptionConfiguration"] !== void 0) result.EncryptionConfiguration = config["EncryptionConfiguration"];
59647
- if (config["CloudWatchLoggingOptions"] !== void 0) result.CloudWatchLoggingOptions = config["CloudWatchLoggingOptions"];
59648
- return result;
59649
- }
59650
- function mapExtendedS3DestinationConfiguration(config) {
59651
- const result = {
59652
- BucketARN: config["BucketArn"] || config["BucketARN"],
59653
- RoleARN: config["RoleArn"] || config["RoleARN"]
59654
- };
59655
- if (config["Prefix"] !== void 0) result.Prefix = config["Prefix"];
59656
- if (config["ErrorOutputPrefix"] !== void 0) result.ErrorOutputPrefix = config["ErrorOutputPrefix"];
59657
- if (config["CompressionFormat"] !== void 0) result.CompressionFormat = config["CompressionFormat"];
59658
- if (config["BufferingHints"] !== void 0) {
59659
- const hints = config["BufferingHints"];
59660
- result.BufferingHints = {
59661
- ...hints["SizeInMBs"] !== void 0 && { SizeInMBs: hints["SizeInMBs"] },
59662
- ...hints["IntervalInSeconds"] !== void 0 && { IntervalInSeconds: hints["IntervalInSeconds"] }
59663
- };
59664
- }
59665
- if (config["EncryptionConfiguration"] !== void 0) result.EncryptionConfiguration = config["EncryptionConfiguration"];
59666
- if (config["CloudWatchLoggingOptions"] !== void 0) result.CloudWatchLoggingOptions = config["CloudWatchLoggingOptions"];
59667
- if (config["ProcessingConfiguration"] !== void 0) result.ProcessingConfiguration = config["ProcessingConfiguration"];
59668
- if (config["S3BackupMode"] !== void 0) result.S3BackupMode = config["S3BackupMode"];
59669
- if (config["S3BackupConfiguration"] !== void 0) {
59670
- const backupConfig = config["S3BackupConfiguration"];
59671
- result.S3BackupConfiguration = this.mapS3DestinationConfiguration(backupConfig);
59672
- }
59673
- if (config["DataFormatConversionConfiguration"] !== void 0) result.DataFormatConversionConfiguration = config["DataFormatConversionConfiguration"];
59674
- if (config["DynamicPartitioningConfiguration"] !== void 0) result.DynamicPartitioningConfiguration = config["DynamicPartitioningConfiguration"];
59675
- if (config["FileExtension"] !== void 0) result.FileExtension = config["FileExtension"];
59676
- if (config["CustomTimeZone"] !== void 0) result.CustomTimeZone = config["CustomTimeZone"];
59677
- return result;
59678
- }
59679
- function mapExtendedS3ConfigToUpdate(config) {
59680
- const result = {};
59681
- const bucketArn = config["BucketArn"] ?? config["BucketARN"];
59682
- if (bucketArn !== void 0) result.BucketARN = bucketArn;
59683
- const roleArn = config["RoleArn"] ?? config["RoleARN"];
59684
- if (roleArn !== void 0) result.RoleARN = roleArn;
59685
- if (config["Prefix"] !== void 0) result.Prefix = config["Prefix"];
59686
- if (config["ErrorOutputPrefix"] !== void 0) result.ErrorOutputPrefix = config["ErrorOutputPrefix"];
59687
- if (config["CompressionFormat"] !== void 0) result.CompressionFormat = config["CompressionFormat"];
59688
- if (config["BufferingHints"] !== void 0) {
59689
- const hints = config["BufferingHints"];
59690
- result.BufferingHints = {
59691
- ...hints["SizeInMBs"] !== void 0 && { SizeInMBs: hints["SizeInMBs"] },
59692
- ...hints["IntervalInSeconds"] !== void 0 && { IntervalInSeconds: hints["IntervalInSeconds"] }
59693
- };
59694
- }
59695
- if (config["EncryptionConfiguration"] !== void 0) result.EncryptionConfiguration = config["EncryptionConfiguration"];
59696
- if (config["CloudWatchLoggingOptions"] !== void 0) result.CloudWatchLoggingOptions = config["CloudWatchLoggingOptions"];
59697
- if (config["ProcessingConfiguration"] !== void 0) result.ProcessingConfiguration = config["ProcessingConfiguration"];
59698
- if (config["S3BackupMode"] !== void 0) result.S3BackupMode = config["S3BackupMode"];
59699
- if (config["S3BackupConfiguration"] !== void 0) result.S3BackupUpdate = this.mapS3ConfigToUpdate(config["S3BackupConfiguration"]);
59700
- if (config["DataFormatConversionConfiguration"] !== void 0) result.DataFormatConversionConfiguration = config["DataFormatConversionConfiguration"];
59701
- if (config["DynamicPartitioningConfiguration"] !== void 0) result.DynamicPartitioningConfiguration = config["DynamicPartitioningConfiguration"];
59702
- if (config["FileExtension"] !== void 0) result.FileExtension = config["FileExtension"];
59703
- if (config["CustomTimeZone"] !== void 0) result.CustomTimeZone = config["CustomTimeZone"];
59704
- return result;
59705
- }
59706
- function mapS3ConfigToUpdate(config) {
59707
- const result = {};
59708
- const bucketArn = config["BucketArn"] ?? config["BucketARN"];
59709
- if (bucketArn !== void 0) result.BucketARN = bucketArn;
59710
- const roleArn = config["RoleArn"] ?? config["RoleARN"];
59711
- if (roleArn !== void 0) result.RoleARN = roleArn;
59712
- if (config["Prefix"] !== void 0) result.Prefix = config["Prefix"];
59713
- if (config["ErrorOutputPrefix"] !== void 0) result.ErrorOutputPrefix = config["ErrorOutputPrefix"];
59714
- if (config["CompressionFormat"] !== void 0) result.CompressionFormat = config["CompressionFormat"];
59715
- if (config["BufferingHints"] !== void 0) {
59716
- const hints = config["BufferingHints"];
59717
- result.BufferingHints = {
59718
- ...hints["SizeInMBs"] !== void 0 && { SizeInMBs: hints["SizeInMBs"] },
59719
- ...hints["IntervalInSeconds"] !== void 0 && { IntervalInSeconds: hints["IntervalInSeconds"] }
59720
- };
59721
- }
59722
- if (config["EncryptionConfiguration"] !== void 0) result.EncryptionConfiguration = config["EncryptionConfiguration"];
59723
- if (config["CloudWatchLoggingOptions"] !== void 0) result.CloudWatchLoggingOptions = config["CloudWatchLoggingOptions"];
59724
- return result;
59725
- }
59726
-
59727
59945
  // src/provisioning/providers/firehose/destination-updates.ts
59728
59946
  async function applyRedshiftDestinationUpdate(logicalId, physicalId, nextConfig) {
59729
59947
  const desc = (await this.getClient().send(new DescribeDeliveryStreamCommand({ DeliveryStreamName: physicalId }))).DeliveryStreamDescription;
@@ -60190,6 +60408,9 @@ var FirehoseProvider = class {
60190
60408
  getDriftUnknownPaths() {
60191
60409
  return getDriftUnknownPaths.call(this);
60192
60410
  }
60411
+ canonicalizeDriftProperties(_resourceType, properties) {
60412
+ return canonicalizeDisabledExtendedS3Blocks(properties);
60413
+ }
60193
60414
  import(input) {
60194
60415
  return importImpl$6.call(this, input);
60195
60416
  }
@@ -62537,7 +62758,7 @@ var DLMLifecyclePolicyProvider = class {
62537
62758
  return {
62538
62759
  physicalId,
62539
62760
  wasReplaced: false,
62540
- attributes: arn ? { Arn: arn } : {}
62761
+ ...arn ? { attributes: { Arn: arn } } : {}
62541
62762
  };
62542
62763
  } catch (error) {
62543
62764
  if (error instanceof ResourceUpdateNotSupportedError) throw error;
@@ -66866,4 +67087,4 @@ var ACMCertificateProvider = class {
66866
67087
  };
66867
67088
 
66868
67089
  export { ACMCertificateProvider, ASGProvider, AgentCoreBrowserProvider, AgentCoreCodeInterpreterProvider, AgentCoreEvaluatorProvider, AgentCoreRuntimeProvider, ApiGatewayProvider, ApiGatewayV2Provider, AppConfigEnvironmentProvider, AppSyncProvider, BudgetsBudgetProvider, CloudFrontDistributionProvider, CloudFrontOACProvider, CloudFrontOAIProvider, CloudTrailProvider, CloudWatchAlarmProvider, CloudWatchAnomalyDetectorProvider, CodeBuildProvider, CodeCommitRepositoryProvider, CognitoUserPoolProvider, ConnectInstanceProvider, DLMLifecyclePolicyProvider, DocDBProvider, DocDBSubnetGroupProvider, DynamoDBGlobalTableProvider, DynamoDBTableProvider, EC2Provider, EC2VPCEndpointProvider, 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, LightsailAlarmProvider, 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 };
66869
- //# sourceMappingURL=provider-classes-DAF9XM-4.js.map
67090
+ //# sourceMappingURL=provider-classes-DWi0yjHc.js.map