@cdkd/cli 0.354.0 → 0.355.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ambient-client-defaults-BDRSTcYT.js → ambient-client-defaults-BJiN5aTn.js} +3 -3
- package/dist/{ambient-client-defaults-BDRSTcYT.js.map → ambient-client-defaults-BJiN5aTn.js.map} +1 -1
- package/dist/{asg-provider-DhlT9esh.js → asg-provider-CGorVUPJ.js} +6 -6
- package/dist/{asg-provider-DhlT9esh.js.map → asg-provider-CGorVUPJ.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-Awo4Qqci.js → custom-resource-runtime-BdDMjfLC.js} +6 -6
- package/dist/{custom-resource-runtime-Awo4Qqci.js.map → custom-resource-runtime-BdDMjfLC.js.map} +1 -1
- package/dist/{db-associated-roles-vY4j5XbM.js → db-associated-roles-BqVpMI0m.js} +2 -2
- package/dist/{db-associated-roles-vY4j5XbM.js.map → db-associated-roles-BqVpMI0m.js.map} +1 -1
- package/dist/{delete-started-Dzdlx4Og.js → delete-started-C19J5kNj.js} +4 -4
- package/dist/{delete-started-Dzdlx4Og.js.map → delete-started-C19J5kNj.js.map} +1 -1
- package/dist/{deploy-engine-Th5M81Fb.js → deploy-engine-BOKcCf9R.js} +37 -16
- package/dist/{deploy-engine-Th5M81Fb.js.map → deploy-engine-BOKcCf9R.js.map} +1 -1
- package/dist/{diff-calculator-BHt-qLqK.js → diff-calculator-STmKp2mr.js} +108 -14
- package/dist/diff-calculator-STmKp2mr.js.map +1 -0
- package/dist/{ec2-termination-protection-BhT7P1Qr.js → ec2-termination-protection-CcXbTL4N.js} +6 -6
- package/dist/{ec2-termination-protection-BhT7P1Qr.js.map → ec2-termination-protection-CcXbTL4N.js.map} +1 -1
- package/dist/{ecr-uri-B-QP8AHe.js → ecr-uri-DkYBMkSf.js} +2 -2
- package/dist/{ecr-uri-B-QP8AHe.js.map → ecr-uri-DkYBMkSf.js.map} +1 -1
- package/dist/{expected-bucket-owner-TY_MPzst.js → expected-bucket-owner-iWIC_uzK.js} +2 -2
- package/dist/{expected-bucket-owner-TY_MPzst.js.map → expected-bucket-owner-iWIC_uzK.js.map} +1 -1
- package/dist/{iam-role-provider-KBcDwrRv.js → iam-role-provider-DvIPwNAz.js} +8 -8
- package/dist/{iam-role-provider-KBcDwrRv.js.map → iam-role-provider-DvIPwNAz.js.map} +1 -1
- package/dist/{image-plan-BEsB3Dmo.js → image-plan-B_MsB6uj.js} +8 -8
- package/dist/{image-plan-BEsB3Dmo.js.map → image-plan-B_MsB6uj.js.map} +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-B2SyJOAf.js → logger-CRTakAJI.js} +2 -2
- package/dist/{logger-B2SyJOAf.js.map → logger-CRTakAJI.js.map} +1 -1
- package/dist/{neptune-provider-BR3kEieW.js → neptune-provider-7DAE0TN7.js} +7 -7
- package/dist/{neptune-provider-BR3kEieW.js.map → neptune-provider-7DAE0TN7.js.map} +1 -1
- package/dist/{program-QwXOnrpm.js → program-CWUDb373.js} +17 -15
- package/dist/program-CWUDb373.js.map +1 -0
- package/dist/{provider-classes-DMsbNzf6.js → provider-classes-C8Pm3Ay1.js} +158 -74
- package/dist/provider-classes-C8Pm3Ay1.js.map +1 -0
- package/dist/{rds-provider-D1eagWNh.js → rds-provider-CGsB4Wp0.js} +10 -10
- package/dist/{rds-provider-D1eagWNh.js.map → rds-provider-CGsB4Wp0.js.map} +1 -1
- package/dist/{read-replica-BJFu-OeG.js → read-replica-DsWNg8kx.js} +3 -3
- package/dist/{read-replica-BJFu-OeG.js.map → read-replica-DsWNg8kx.js.map} +1 -1
- package/dist/{replacement-rules-DhOfKveI.js → replacement-rules-QZUAl8ah.js} +4 -3
- package/dist/{replacement-rules-DhOfKveI.js.map → replacement-rules-QZUAl8ah.js.map} +1 -1
- package/dist/{resource-deadline-D_epAMej.js → resource-deadline-CXP2TUVz.js} +4 -4
- package/dist/{resource-deadline-D_epAMej.js.map → resource-deadline-CXP2TUVz.js.map} +1 -1
- package/dist/{restore-source-guard-B_-RdrjK.js → restore-source-guard-BRT1OlJ2.js} +4 -4
- package/dist/{restore-source-guard-B_-RdrjK.js.map → restore-source-guard-BRT1OlJ2.js.map} +1 -1
- package/dist/{run-cli-ozO7hy96.js → run-cli-9IvHor5O.js} +2 -2
- package/dist/{run-cli-ozO7hy96.js.map → run-cli-9IvHor5O.js.map} +1 -1
- package/dist/{version-snoNU0xA.js → version-DyK3ezVd.js} +2 -2
- package/dist/{version-snoNU0xA.js.map → version-DyK3ezVd.js.map} +1 -1
- package/package.json +2 -2
- package/dist/diff-calculator-BHt-qLqK.js.map +0 -1
- package/dist/program-QwXOnrpm.js.map +0 -1
- package/dist/provider-classes-DMsbNzf6.js.map +0 -1
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-
|
|
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-
|
|
1
|
+
import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-DvIPwNAz.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-CRTakAJI.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, H as isMarkedNonRetryable, I as isExplicitDenyError, K as wrapMaskedAwsError, M as explicitDenyPolicyKind, O as relayedNameCollision, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, V as THROTTLING_ERROR_NAMES, W as markNonRetryable, _ as ResourceUpdateNotSupportedError, at as ProvisioningError, et as CdkdError, i as credentialFingerprint, n as ambientCredentialConfig, r as clientDefaultsFor, t as ambientClientDefaults, z as isTransientServerError } from "./ambient-client-defaults-
|
|
5
|
-
import { $ as logGroupProtectionSite, $t as markCreatedBeforeFailure, A as ambiguousAttemptLead, At as compositeIdFormatMessage, B as isPlainImportValue, Bt as isSecretDerivedValue, Ct as renderDisableCommand, D as AmbiguousCreateLatch, Dt as isInterruptedWaitError, E as AMBIGUOUS_LATCH_TTL_MS, F as setBounded, G as remedyLogicalId, H as normalizeAwsTagsToCfn, Ht as maskerOrIdentity, I as withoutServerErrorRetries, It as segmentAfterAnchor, J as assertRegionMatch, K as resolveExplicitPhysicalId, Kt as clearCreatedBeforeFailure, L as VALUE_NOT_SHOWN, Lt as stateOrphanRecordRemedy, M as isInsideWindow, Mt as compositeIdSkipResult, N as replayFollowedAmbiguousAttempt, Nt as logicalIdShown, O as CREATION_DATE_SKEW_MARGIN_MS, Ot as startInterruptWatch, P as replayedSendWindow, Pt as packCompositeId, Q as deleteWithProtectionCompensation, Qt as markAuxiliaryFailure, R as importRemedyCommand, Rt as createMaskedLogSinks, S as readPrincipalLists, St as protectedReplacementAdvice, U as quotedRemedyLogicalId, Ut as withDerivedNameMasks, V as isQuotableImportValue, Vt as maskDeep, W as refusalTypeShown, X as markNotGone, Xt as isAuxiliaryFailure, _n as injectiveKeyPrefix, a as clearOnUpdateRemoval, at as deleteAfterProtectionFlipWithFinalSnapshot, b as holdsSecretDerivedEntry, bt as isAwsCliLiteral, c as removedTemplateKeys, ct as isTerminalDbWaitStatus, dt as isTerminalDeleteFailure, en as markSupersedesEarlierCreate, et as observeThenDisableProtection, ft as protectionFlipKey, g as retractCreatedResource, gn as injectiveKey, hn as withPasteableAwsProfile, ht as ElapsedBudgetRegistry, it as PROTECTION_FLIP_RETRY_WAIT_MS, j as createAttemptKey, jt as compositeIdSeparatorRefusal, k as RecentIdSet, kt as canonicalizeRoute53QueryName, l as withRemovalDefaults, m as reportCreatedResource, mt as ElapsedBudget, n as enclosingDeadlineRemainingMs, q as RESOURCE_NOT_FOUND, rt as userPoolProtectionSite, st as isProceedDbStatus, t as enclosingDeadlineExpired, tt as rdsFamilyProtectionSite, ut as ProtectionFlipRegistry, vt as UNNAMEABLE_ID_CLAUSE, w as recordedPrincipalsRepair, x as onlySecretDerived, xt as pasteableAwsCommand, y as SECRET_DERIVED_READ_LIVE, yt as WITHHELD_AWS_COMMAND, z as isPlainImportJson, zt as createMaskedRetryLogger } from "./resource-deadline-
|
|
6
|
-
import { A as displayStackName, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, c as deployReplaceCommand, d as pasteableCommand, j as isPasteableIdent, k as displaySafe, l as hasClauseBreak, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, u as isInertUnquoted, v as withheldTargetClause } from "./version-
|
|
7
|
-
import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-
|
|
8
|
-
import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-
|
|
9
|
-
import { $ as planVectorIndexUpdates, $a as isSettledInstanceState, At as hasCdkAutoDeleteTag, B as declaredStreamTagsMember, Co as s3BucketArn, Ct as TABLE_INDEX_NOUN, Da as getCurrentResourceSecrets, Do as s3BucketWebsiteUrl, Dt as waitForIndexesSettled, Eo as s3BucketRegionalDomainName, Es as passedParameterClassesOf, Et as relayedIndexBusyDelete, Fr as redactedDeleteAddressSkip, G as streamMemberRefusals, Ga as withIndeterminateGuard, Gc as findSdkUnwiredProperties, Gt as isAccessDeniedError, H as reverseMapStreamPolicy, I as DynamoDBGlobalTableProvider, Ic as accountArgs, J as isTtlAlreadyDisabled, Jc as withoutSdkUnwiredProperties, Ji as secretNamedAttributeNamesOf, K as streamPolicyMatchesDeclared, Kr as getCurrentProducerRegions, Kt as lookupEachName, L as STREAM_POLICY_KEY, La as waitForLambdaFunctionActive, Lc as withheldAccountClause, Lo as parseWebACLArn, Mr as REDACTED_DELETE_ADDRESS_SKIP_REASON, Nr as isRedactedRecordedValue, Ot as ECR_AUTO_DELETE_IMAGES_TAG, Pr as redactedDeleteAddressFields, Q as sendTtlWaitingOutRateLimit, Qn as canonicalizeIpProtocolValue, R as STREAM_TAGS_KEY, Sl as renderNestedTemplateTreeDefect, St as INDEX_SETTLE_POLL_INTERVAL_MS, To as s3BucketDualStackDomainName, Tt as maskedLogger, U as streamDeclaresPolicy, V as planStreamMemberOps, Vl as rewriteTemplateAssetReferences, Vo as outputReferenceProvenanceOf, W as streamDeclaresTags, Wa as deleteSkipReason, Wt as chunks, X as planTimeToLive, Xn as cfnIngressPortValue, Y as isTtlRateLimited, Yn as withoutSiblingOwnedSgRules, Z as readTtlSpec, Zn as sgProtocolKey, _l as stringifyValue, _r as acquireIdempotencyToken, _s as toFiniteNumber, _t as compensateRemovedDeletionProtection, at as contributorInsightsRefusals, bi as replacedDeleteFailureVerdict, bl as isAbsoluteAssetPath, bt as resolveDynamoDbDeleteBudgetMs, cn as withNestedStackContext, ct as planIndexContributorInsightsOps, da as collectPrincipalsAttachingPolicy, dt as reverseMapTableContributorInsights, en as getNestedRevertRun, eo as APPSYNC_APIKEY_ARN_RESOURCE_PATH, et as readbackVectorIndexes, ft as stripIndexContributorInsights, gi as awaitInFlightSibling, gs as toCfnInteger, gt as beginDeleteWait, gu as displayAssemblyPath, hr as reserveStackCreateToken, hs as isWarmThroughputDecrease, ht as DYNAMODB_DELETE_POLL_COST_MS, hu as describeFileReadFailure, it as CONTRIBUTOR_INSIGHTS_KEY, jc as refuseMalformedResourcesForDestroy, jt as isTruthyCfnBoolean, kl as decodeListingKey, kt as S3_AUTO_DELETE_OBJECTS_TAG, la as collectGroupsAddedBySiblings, lt as readContributorInsightsSpec, ma as withoutSiblingOwned, ms as coerceWarmThroughput$1, mt as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, nt as vectorIndexesSettled, ot as indexDeclaresContributorInsights, pa as withoutSiblingAttachedArns, pr as earliestDefined, ps as WARM_THROUGHPUT_MEMBERS, pt as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, q as streamTagsMatchDeclared, qn as siblingOwnedSgRuleIdentities, qo as getAccountInfo, qt as withApiLimit, rn as revertNestedChildFromJournal, rt as vectorIndexesShapeDetail, sn as getCurrentNestedStackContext, st as planContributorInsightsOp, t as DeployEngine, to as maskedSecretSegment, tt as vectorIndexesForCreate, ua as collectManagedPolicyArnsAttachedBySiblings, ut as reverseMapIndexContributorInsights, vi as getStackRecords, vt as deleteBudgetKey, vu as renderAssemblyPathEscape, wo as s3BucketDomainName, wt as deleteTableWithIndexBusyRetry, xc as refuseMalformedNestedChildOutputs, xl as listNestedTemplateRows, xt as DELETE_INDEX_WAIT_PROCEED_NOTE, yl as findNestedTemplateTreeDefect, yt as resolveDynamoDbDeleteBudgetClock, yu as resolveAssemblyPath, z as declaredStreamPolicyMember, za as waitForGoneAfterDelete } from "./deploy-engine-
|
|
10
|
-
import { _ as isUsableAttemptedName, c as planTagDiff, d as tagMapAsList, f as tagPlanWarning, g as stringifyIfAssigned, h as definedAttributes, i as refuseRestoreFromItself, l as readTagList, m as modifyDbInstanceWhenAvailable, o as DBPROXY_TAGS_WHAT, p as isModifyNotAvailableRefusal, s as DBPROXY_TAG_OPTIONS, u as refuseMalformedDesiredTags } from "./restore-source-guard-
|
|
11
|
-
import { A as withRetry, U as timePhase, _ as unchangedBehindSecretReference, a as reDisableInstanceApiTermination, d as markRefusedBeforeApplying, g as onlySecretReferencesDiffer, i as observeThenDisableInstanceApiTermination, l as getPriorAttempts, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, r as isTerminationProtectionPropagationError, s as resolvedResourceTimeoutMs } from "./ec2-termination-protection-
|
|
4
|
+
import { D as markReplayMayCollide, E as markNameCollision, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, I as isExplicitDenyError, K as wrapMaskedAwsError, M as explicitDenyPolicyKind, O as relayedNameCollision, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, V as THROTTLING_ERROR_NAMES, W as markNonRetryable, _ as ResourceUpdateNotSupportedError, at as ProvisioningError, et as CdkdError, i as credentialFingerprint, n as ambientCredentialConfig, r as clientDefaultsFor, t as ambientClientDefaults, z as isTransientServerError } from "./ambient-client-defaults-BJiN5aTn.js";
|
|
5
|
+
import { $ as logGroupProtectionSite, $t as markCreatedBeforeFailure, A as ambiguousAttemptLead, At as compositeIdFormatMessage, B as isPlainImportValue, Bt as isSecretDerivedValue, Ct as renderDisableCommand, D as AmbiguousCreateLatch, Dt as isInterruptedWaitError, E as AMBIGUOUS_LATCH_TTL_MS, F as setBounded, G as remedyLogicalId, H as normalizeAwsTagsToCfn, Ht as maskerOrIdentity, I as withoutServerErrorRetries, It as segmentAfterAnchor, J as assertRegionMatch, K as resolveExplicitPhysicalId, Kt as clearCreatedBeforeFailure, L as VALUE_NOT_SHOWN, Lt as stateOrphanRecordRemedy, M as isInsideWindow, Mt as compositeIdSkipResult, N as replayFollowedAmbiguousAttempt, Nt as logicalIdShown, O as CREATION_DATE_SKEW_MARGIN_MS, Ot as startInterruptWatch, P as replayedSendWindow, Pt as packCompositeId, Q as deleteWithProtectionCompensation, Qt as markAuxiliaryFailure, R as importRemedyCommand, Rt as createMaskedLogSinks, S as readPrincipalLists, St as protectedReplacementAdvice, U as quotedRemedyLogicalId, Ut as withDerivedNameMasks, V as isQuotableImportValue, Vt as maskDeep, W as refusalTypeShown, X as markNotGone, Xt as isAuxiliaryFailure, _n as injectiveKeyPrefix, a as clearOnUpdateRemoval, at as deleteAfterProtectionFlipWithFinalSnapshot, b as holdsSecretDerivedEntry, bt as isAwsCliLiteral, c as removedTemplateKeys, ct as isTerminalDbWaitStatus, dt as isTerminalDeleteFailure, en as markSupersedesEarlierCreate, et as observeThenDisableProtection, ft as protectionFlipKey, g as retractCreatedResource, gn as injectiveKey, hn as withPasteableAwsProfile, ht as ElapsedBudgetRegistry, it as PROTECTION_FLIP_RETRY_WAIT_MS, j as createAttemptKey, jt as compositeIdSeparatorRefusal, k as RecentIdSet, kt as canonicalizeRoute53QueryName, l as withRemovalDefaults, m as reportCreatedResource, mt as ElapsedBudget, n as enclosingDeadlineRemainingMs, q as RESOURCE_NOT_FOUND, rt as userPoolProtectionSite, st as isProceedDbStatus, t as enclosingDeadlineExpired, tt as rdsFamilyProtectionSite, ut as ProtectionFlipRegistry, vt as UNNAMEABLE_ID_CLAUSE, w as recordedPrincipalsRepair, x as onlySecretDerived, xt as pasteableAwsCommand, y as SECRET_DERIVED_READ_LIVE, yt as WITHHELD_AWS_COMMAND, z as isPlainImportJson, zt as createMaskedRetryLogger } from "./resource-deadline-CXP2TUVz.js";
|
|
6
|
+
import { A as displayStackName, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, c as deployReplaceCommand, d as pasteableCommand, j as isPasteableIdent, k as displaySafe, l as hasClauseBreak, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, u as isInertUnquoted, v as withheldTargetClause } from "./version-DyK3ezVd.js";
|
|
7
|
+
import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-C19J5kNj.js";
|
|
8
|
+
import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-CWUDb373.js";
|
|
9
|
+
import { $ as planVectorIndexUpdates, $a as isSettledInstanceState, At as hasCdkAutoDeleteTag, B as declaredStreamTagsMember, Co as s3BucketArn, Ct as TABLE_INDEX_NOUN, Da as getCurrentResourceSecrets, Do as s3BucketWebsiteUrl, Dt as waitForIndexesSettled, Eo as s3BucketRegionalDomainName, Es as passedParameterClassesOf, Et as relayedIndexBusyDelete, Fr as redactedDeleteAddressSkip, G as streamMemberRefusals, Ga as withIndeterminateGuard, Gc as findSdkUnwiredProperties, Gt as isAccessDeniedError, H as reverseMapStreamPolicy, I as DynamoDBGlobalTableProvider, Ic as accountArgs, J as isTtlAlreadyDisabled, Jc as withoutSdkUnwiredProperties, Ji as secretNamedAttributeNamesOf, K as streamPolicyMatchesDeclared, Kr as getCurrentProducerRegions, Kt as lookupEachName, L as STREAM_POLICY_KEY, La as waitForLambdaFunctionActive, Lc as withheldAccountClause, Lo as parseWebACLArn, Mr as REDACTED_DELETE_ADDRESS_SKIP_REASON, Nr as isRedactedRecordedValue, Ot as ECR_AUTO_DELETE_IMAGES_TAG, Pr as redactedDeleteAddressFields, Q as sendTtlWaitingOutRateLimit, Qn as canonicalizeIpProtocolValue, R as STREAM_TAGS_KEY, Sl as renderNestedTemplateTreeDefect, St as INDEX_SETTLE_POLL_INTERVAL_MS, To as s3BucketDualStackDomainName, Tt as maskedLogger, U as streamDeclaresPolicy, V as planStreamMemberOps, Vl as rewriteTemplateAssetReferences, Vo as outputReferenceProvenanceOf, W as streamDeclaresTags, Wa as deleteSkipReason, Wt as chunks, X as planTimeToLive, Xn as cfnIngressPortValue, Y as isTtlRateLimited, Yn as withoutSiblingOwnedSgRules, Z as readTtlSpec, Zn as sgProtocolKey, _l as stringifyValue, _r as acquireIdempotencyToken, _s as toFiniteNumber, _t as compensateRemovedDeletionProtection, at as contributorInsightsRefusals, bi as replacedDeleteFailureVerdict, bl as isAbsoluteAssetPath, bt as resolveDynamoDbDeleteBudgetMs, cn as withNestedStackContext, ct as planIndexContributorInsightsOps, da as collectPrincipalsAttachingPolicy, dt as reverseMapTableContributorInsights, en as getNestedRevertRun, eo as APPSYNC_APIKEY_ARN_RESOURCE_PATH, et as readbackVectorIndexes, ft as stripIndexContributorInsights, gi as awaitInFlightSibling, gs as toCfnInteger, gt as beginDeleteWait, gu as displayAssemblyPath, hr as reserveStackCreateToken, hs as isWarmThroughputDecrease, ht as DYNAMODB_DELETE_POLL_COST_MS, hu as describeFileReadFailure, it as CONTRIBUTOR_INSIGHTS_KEY, jc as refuseMalformedResourcesForDestroy, jt as isTruthyCfnBoolean, kl as decodeListingKey, kt as S3_AUTO_DELETE_OBJECTS_TAG, la as collectGroupsAddedBySiblings, lt as readContributorInsightsSpec, ma as withoutSiblingOwned, ms as coerceWarmThroughput$1, mt as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, nt as vectorIndexesSettled, ot as indexDeclaresContributorInsights, pa as withoutSiblingAttachedArns, pr as earliestDefined, ps as WARM_THROUGHPUT_MEMBERS, pt as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, q as streamTagsMatchDeclared, qn as siblingOwnedSgRuleIdentities, qo as getAccountInfo, qt as withApiLimit, rn as revertNestedChildFromJournal, rt as vectorIndexesShapeDetail, sn as getCurrentNestedStackContext, st as planContributorInsightsOp, t as DeployEngine, to as maskedSecretSegment, tt as vectorIndexesForCreate, ua as collectManagedPolicyArnsAttachedBySiblings, ut as reverseMapIndexContributorInsights, vi as getStackRecords, vt as deleteBudgetKey, vu as renderAssemblyPathEscape, wo as s3BucketDomainName, wt as deleteTableWithIndexBusyRetry, xc as refuseMalformedNestedChildOutputs, xl as listNestedTemplateRows, xt as DELETE_INDEX_WAIT_PROCEED_NOTE, yl as findNestedTemplateTreeDefect, yt as resolveDynamoDbDeleteBudgetClock, yu as resolveAssemblyPath, z as declaredStreamPolicyMember, za as waitForGoneAfterDelete } from "./deploy-engine-BOKcCf9R.js";
|
|
10
|
+
import { _ as isUsableAttemptedName, c as planTagDiff, d as tagMapAsList, f as tagPlanWarning, g as stringifyIfAssigned, h as definedAttributes, i as refuseRestoreFromItself, l as readTagList, m as modifyDbInstanceWhenAvailable, o as DBPROXY_TAGS_WHAT, p as isModifyNotAvailableRefusal, s as DBPROXY_TAG_OPTIONS, u as refuseMalformedDesiredTags } from "./restore-source-guard-BRT1OlJ2.js";
|
|
11
|
+
import { A as withRetry, U as timePhase, _ as unchangedBehindSecretReference, a as reDisableInstanceApiTermination, d as markRefusedBeforeApplying, g as onlySecretReferencesDiffer, i as observeThenDisableInstanceApiTermination, l as getPriorAttempts, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, r as isTerminationProtectionPropagationError, s as resolvedResourceTimeoutMs } from "./ec2-termination-protection-CcXbTL4N.js";
|
|
12
12
|
import { n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
|
|
13
13
|
import { f as ambientRegion } from "./aws-client-defaults-DAebi99J.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
14
|
+
import { n as planSubscriptionAttributes } from "./diff-calculator-STmKp2mr.js";
|
|
15
|
+
import { $ as snapshotPassProvenance, At as withoutPhysicalNameCopies, C as passedNoEchoParametersOf, I as markSameGenerationBag, Nt as dynamicReferenceTokens, W as redactForState, Z as recordReferenceProvenanceEntry, a as emrClusterInstancesReplaced, cn as recordAttributeIdCopy, i as ecsServiceLaunchTypeSetOrChanged, it as hasMaskableValues, l as sameLambdaFunctionAddress, mn as carriesSecretMask, n as blockDeviceMappingsDifferOnlyInDeleteOnTermination, o as canonicalLambdaFunctionName, on as recoverMaskedOutput, s as lambdaFunctionNameForMask, sn as physicalNameCopiesOf } from "./replacement-rules-QZUAl8ah.js";
|
|
16
|
+
import { RDSProvider } from "./rds-provider-CGsB4Wp0.js";
|
|
17
|
+
import { NeptuneProvider } from "./neptune-provider-7DAE0TN7.js";
|
|
18
|
+
import { ASGProvider } from "./asg-provider-CGorVUPJ.js";
|
|
18
19
|
import { createHash, randomUUID } from "node:crypto";
|
|
19
20
|
import { CreateBucketCommand, CreateBucketMetadataConfigurationCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketEncryptionCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetadataConfigurationCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketOwnershipControlsCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAbacCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketMetadataConfigurationCommand, GetBucketNotificationConfigurationCommand, GetBucketOwnershipControlsCommand, GetBucketPolicyCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetBucketVersioningCommand, GetBucketWebsiteCommand, GetObjectCommand, GetObjectLockConfigurationCommand, GetPublicAccessBlockCommand, HeadBucketCommand, ListBucketAnalyticsConfigurationsCommand, ListBucketIntelligentTieringConfigurationsCommand, ListBucketInventoryConfigurationsCommand, ListBucketMetricsConfigurationsCommand, ListBucketsCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, PutBucketAbacCommand, PutBucketAccelerateConfigurationCommand, PutBucketAnalyticsConfigurationCommand, PutBucketCorsCommand, PutBucketEncryptionCommand, PutBucketIntelligentTieringConfigurationCommand, PutBucketInventoryConfigurationCommand, PutBucketLifecycleConfigurationCommand, PutBucketLoggingCommand, PutBucketMetricsConfigurationCommand, PutBucketNotificationConfigurationCommand, PutBucketOwnershipControlsCommand, PutBucketPolicyCommand, PutBucketReplicationCommand, PutBucketTaggingCommand, PutBucketVersioningCommand, PutBucketWebsiteCommand, PutObjectLockConfigurationCommand, PutPublicAccessBlockCommand, S3Client, UpdateBucketMetadataAnnotationTableConfigurationCommand, UpdateBucketMetadataInventoryTableConfigurationCommand, UpdateBucketMetadataJournalTableConfigurationCommand } from "@aws-sdk/client-s3";
|
|
20
21
|
import { AddRoleToInstanceProfileCommand, AddUserToGroupCommand, AttachGroupPolicyCommand, AttachRolePolicyCommand, AttachUserPolicyCommand, CreateAccessKeyCommand, CreateGroupCommand, CreateInstanceProfileCommand, CreateLoginProfileCommand, CreatePolicyCommand, CreatePolicyVersionCommand, CreateUserCommand, DeleteAccessKeyCommand, DeleteGroupCommand, DeleteGroupPolicyCommand, DeleteInstanceProfileCommand, DeleteLoginProfileCommand, DeletePolicyCommand, DeletePolicyVersionCommand, DeleteRolePolicyCommand, DeleteUserCommand, DeleteUserPermissionsBoundaryCommand, DeleteUserPolicyCommand, DetachGroupPolicyCommand, DetachRolePolicyCommand, DetachUserPolicyCommand, GetAccessKeyLastUsedCommand, GetGroupCommand, GetGroupPolicyCommand, GetInstanceProfileCommand, GetPolicyCommand, GetPolicyVersionCommand, GetRolePolicyCommand, GetUserCommand, GetUserPolicyCommand, IAMClient, ListAccessKeysCommand, ListAttachedGroupPoliciesCommand, ListAttachedUserPoliciesCommand, ListEntitiesForPolicyCommand, ListGroupPoliciesCommand, ListGroupsForUserCommand, ListPoliciesCommand, ListPolicyTagsCommand, ListPolicyVersionsCommand, ListUserPoliciesCommand, NoSuchEntityException, PutGroupPolicyCommand, PutRolePolicyCommand, PutUserPermissionsBoundaryCommand, PutUserPolicyCommand, RemoveRoleFromInstanceProfileCommand, RemoveUserFromGroupCommand, TagPolicyCommand, TagUserCommand, UntagPolicyCommand, UntagUserCommand, UpdateAccessKeyCommand, UpdateGroupCommand, UpdateLoginProfileCommand, UpdateUserCommand } from "@aws-sdk/client-iam";
|
|
@@ -22,7 +23,7 @@ import { CreateQueueCommand, DeleteQueueCommand, GetQueueAttributesCommand, GetQ
|
|
|
22
23
|
import { CreateTopicCommand, DeleteTopicCommand, GetSubscriptionAttributesCommand, GetTopicAttributesCommand, InvalidParameterException, ListSubscriptionsByTopicCommand, ListTagsForResourceCommand, ListTopicsCommand, NotFoundException, SNSClient, SetSubscriptionAttributesCommand, SetTopicAttributesCommand, SubscribeCommand, TagResourceCommand, UnsubscribeCommand, UntagResourceCommand } from "@aws-sdk/client-sns";
|
|
23
24
|
import { AddPermissionCommand, CreateEventSourceMappingCommand, CreateFunctionCommand, CreateFunctionUrlConfigCommand, DeleteEventSourceMappingCommand, DeleteFunctionCodeSigningConfigCommand, DeleteFunctionCommand, DeleteFunctionConcurrencyCommand, DeleteFunctionEventInvokeConfigCommand, DeleteFunctionUrlConfigCommand, DeleteLayerVersionCommand, GetEventSourceMappingCommand, GetFunctionCodeSigningConfigCommand, GetFunctionCommand, GetFunctionConcurrencyCommand, GetFunctionConfigurationCommand, GetFunctionEventInvokeConfigCommand, GetFunctionRecursionConfigCommand, GetFunctionScalingConfigCommand, GetFunctionUrlConfigCommand, GetLayerVersionByArnCommand, GetPolicyCommand as GetPolicyCommand$1, GetRuntimeManagementConfigCommand, LambdaClient, ListEventSourceMappingsCommand, ListLayerVersionsCommand, ListTagsCommand, PublishLayerVersionCommand, PublishVersionCommand, PutFunctionCodeSigningConfigCommand, PutFunctionConcurrencyCommand, PutFunctionEventInvokeConfigCommand, PutFunctionRecursionConfigCommand, PutFunctionScalingConfigCommand, PutRuntimeManagementConfigCommand, RemovePermissionCommand, ResourceNotFoundException, TagResourceCommand as TagResourceCommand$1, UntagResourceCommand as UntagResourceCommand$1, UpdateEventSourceMappingCommand, UpdateFunctionCodeCommand, UpdateFunctionConfigurationCommand, UpdateFunctionUrlConfigCommand, waitUntilFunctionActiveV2, waitUntilFunctionUpdatedV2 } from "@aws-sdk/client-lambda";
|
|
24
25
|
import { GetCallerIdentityCommand, STSClient } from "@aws-sdk/client-sts";
|
|
25
|
-
import { AllocateAddressCommand, AssociateAddressCommand, AssociateIamInstanceProfileCommand, AssociateNatGatewayAddressCommand, AssociateRouteTableCommand, AssociateSubnetCidrBlockCommand, AttachInternetGatewayCommand, AttachVolumeCommand, AttachVpnGatewayCommand, AuthorizeSecurityGroupEgressCommand, AuthorizeSecurityGroupIngressCommand, CreateInternetGatewayCommand, CreateNatGatewayCommand, CreateNetworkAclCommand, CreateNetworkAclEntryCommand, CreateRouteCommand, CreateRouteTableCommand, CreateSecurityGroupCommand, CreateSubnetCommand, CreateTagsCommand, CreateVpcCommand, DeleteInternetGatewayCommand, DeleteNatGatewayCommand, DeleteNetworkAclCommand, DeleteNetworkAclEntryCommand, DeleteNetworkInterfaceCommand, DeleteRouteCommand, DeleteRouteTableCommand, DeleteSecurityGroupCommand, DeleteSubnetCommand, DeleteTagsCommand, DeleteVpcCommand, DescribeAddressesCommand, DescribeAvailabilityZonesCommand, DescribeIamInstanceProfileAssociationsCommand, DescribeInstanceAttributeCommand, DescribeInstanceCreditSpecificationsCommand, DescribeInstancesCommand, DescribeInternetGatewaysCommand, DescribeNatGatewaysCommand, DescribeNetworkAclsCommand, DescribeNetworkInterfacesCommand, DescribeRouteTablesCommand, DescribeSecurityGroupRulesCommand, DescribeSecurityGroupsCommand, DescribeSubnetsCommand, DescribeVolumesCommand, DescribeVpcAttributeCommand, DescribeVpcsCommand, DescribeVpnGatewaysCommand, DetachInternetGatewayCommand, DetachVolumeCommand, DetachVpnGatewayCommand, DisassociateAddressCommand, DisassociateIamInstanceProfileCommand, DisassociateNatGatewayAddressCommand, DisassociateRouteTableCommand, DisassociateSubnetCidrBlockCommand, EC2Client, GetIpamPoolAllocationsCommand, ModifyInstanceAttributeCommand, ModifyInstanceCreditSpecificationCommand, ModifyInstanceMetadataOptionsCommand, ModifyInstancePlacementCommand, ModifyPrivateDnsNameOptionsCommand, ModifySubnetAttributeCommand, ModifyVpcAttributeCommand, ModifyVpcTenancyCommand, MonitorInstancesCommand, ReleaseAddressCommand, ReplaceIamInstanceProfileAssociationCommand, ReplaceNetworkAclAssociationCommand, ReplaceNetworkAclEntryCommand, ReplaceRouteCommand, RevokeSecurityGroupEgressCommand, RevokeSecurityGroupIngressCommand, RunInstancesCommand, StartInstancesCommand, StopInstancesCommand, TerminateInstancesCommand, UnmonitorInstancesCommand, waitUntilInstanceRunning, waitUntilInstanceTerminated, waitUntilNatGatewayAvailable, waitUntilNatGatewayDeleted } from "@aws-sdk/client-ec2";
|
|
26
|
+
import { AllocateAddressCommand, AssociateAddressCommand, AssociateIamInstanceProfileCommand, AssociateNatGatewayAddressCommand, AssociateRouteTableCommand, AssociateSubnetCidrBlockCommand, AttachInternetGatewayCommand, AttachVolumeCommand, AttachVpnGatewayCommand, AuthorizeSecurityGroupEgressCommand, AuthorizeSecurityGroupIngressCommand, CreateInternetGatewayCommand, CreateNatGatewayCommand, CreateNetworkAclCommand, CreateNetworkAclEntryCommand, CreateRouteCommand, CreateRouteTableCommand, CreateSecurityGroupCommand, CreateSubnetCommand, CreateTagsCommand, CreateVpcCommand, DeleteInternetGatewayCommand, DeleteNatGatewayCommand, DeleteNetworkAclCommand, DeleteNetworkAclEntryCommand, DeleteNetworkInterfaceCommand, DeleteRouteCommand, DeleteRouteTableCommand, DeleteSecurityGroupCommand, DeleteSubnetCommand, DeleteTagsCommand, DeleteVpcCommand, DescribeAddressesCommand, DescribeAvailabilityZonesCommand, DescribeIamInstanceProfileAssociationsCommand, DescribeInstanceAttributeCommand, DescribeInstanceCreditSpecificationsCommand, DescribeInstancesCommand, DescribeInternetGatewaysCommand, DescribeNatGatewaysCommand, DescribeNetworkAclsCommand, DescribeNetworkInterfacesCommand, DescribeRouteTablesCommand, DescribeSecurityGroupRulesCommand, DescribeSecurityGroupsCommand, DescribeSubnetsCommand, DescribeVolumesCommand, DescribeVpcAttributeCommand, DescribeVpcsCommand, DescribeVpnGatewaysCommand, DetachInternetGatewayCommand, DetachVolumeCommand, DetachVpnGatewayCommand, DisassociateAddressCommand, DisassociateIamInstanceProfileCommand, DisassociateNatGatewayAddressCommand, DisassociateRouteTableCommand, DisassociateSubnetCidrBlockCommand, EC2Client, GetIpamPoolAllocationsCommand, ModifyInstanceAttributeCommand, ModifyInstanceCreditSpecificationCommand, ModifyInstanceMetadataOptionsCommand, ModifyInstancePlacementCommand, ModifyPrivateDnsNameOptionsCommand, ModifySubnetAttributeCommand, ModifyVpcAttributeCommand, ModifyVpcTenancyCommand, MonitorInstancesCommand, ReleaseAddressCommand, ReplaceIamInstanceProfileAssociationCommand, ReplaceNetworkAclAssociationCommand, ReplaceNetworkAclEntryCommand, ReplaceRouteCommand, RevokeSecurityGroupEgressCommand, RevokeSecurityGroupIngressCommand, RunInstancesCommand, StartInstancesCommand, StopInstancesCommand, TerminateInstancesCommand, UnmonitorInstancesCommand, UpdateSecurityGroupRuleDescriptionsEgressCommand, UpdateSecurityGroupRuleDescriptionsIngressCommand, waitUntilInstanceRunning, waitUntilInstanceTerminated, waitUntilNatGatewayAvailable, waitUntilNatGatewayDeleted } from "@aws-sdk/client-ec2";
|
|
26
27
|
import { CreateTableCommand, DeleteResourcePolicyCommand, DeleteTableCommand, DescribeContinuousBackupsCommand, DescribeContributorInsightsCommand, DescribeKinesisStreamingDestinationCommand, DescribeTableCommand, DescribeTimeToLiveCommand, DisableKinesisStreamingDestinationCommand, DynamoDBClient, EnableKinesisStreamingDestinationCommand, GetResourcePolicyCommand, ListTagsOfResourceCommand, PolicyNotFoundException, PutResourcePolicyCommand, ResourceNotFoundException as ResourceNotFoundException$1, TagResourceCommand as TagResourceCommand$2, UntagResourceCommand as UntagResourceCommand$2, UpdateContinuousBackupsCommand, UpdateContributorInsightsCommand, UpdateKinesisStreamingDestinationCommand, UpdateTableCommand, UpdateTimeToLiveCommand } from "@aws-sdk/client-dynamodb";
|
|
27
28
|
import { APIGatewayClient, CreateAuthorizerCommand, CreateDeploymentCommand, CreateResourceCommand, CreateRestApiCommand, CreateStageCommand, DeleteAuthorizerCommand, DeleteDeploymentCommand, DeleteIntegrationCommand, DeleteIntegrationResponseCommand, DeleteMethodCommand, DeleteMethodResponseCommand, DeleteResourceCommand, DeleteRestApiCommand, DeleteStageCommand, GetAccountCommand, GetAuthorizerCommand, GetAuthorizersCommand, GetDeploymentCommand, GetDeploymentsCommand, GetMethodCommand, GetResourceCommand, GetRestApiCommand, GetRestApisCommand, GetStageCommand, ImportRestApiCommand, NotFoundException as NotFoundException$1, PutIntegrationCommand, PutIntegrationResponseCommand, PutMethodCommand, PutMethodResponseCommand, PutRestApiCommand, TagResourceCommand as TagResourceCommand$3, UntagResourceCommand as UntagResourceCommand$3, UpdateAccountCommand, UpdateAuthorizerCommand, UpdateDeploymentCommand, UpdateMethodCommand, UpdateRestApiCommand, UpdateStageCommand } from "@aws-sdk/client-api-gateway";
|
|
28
29
|
import { CreateEventBusCommand, DeleteEventBusCommand, DeleteRuleCommand, DescribeEventBusCommand, DescribeRuleCommand, EventBridgeClient, ListRulesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$1, ListTargetsByRuleCommand, PutPermissionCommand, PutRuleCommand, PutTargetsCommand, RemoveTargetsCommand, ResourceNotFoundException as ResourceNotFoundException$2, TagResourceCommand as TagResourceCommand$4, UntagResourceCommand as UntagResourceCommand$4, UpdateEventBusCommand } from "@aws-sdk/client-eventbridge";
|
|
@@ -8513,45 +8514,11 @@ var SNSTopicProvider = class {
|
|
|
8513
8514
|
|
|
8514
8515
|
// src/provisioning/providers/sns-subscription-provider.ts
|
|
8515
8516
|
const SNS_SUBSCRIPTION_DELETE_THREW_REASON = "the Unsubscribe call did not complete, so the old subscription is unproven";
|
|
8516
|
-
const MUTABLE_ATTRIBUTES = [
|
|
8517
|
-
"RawMessageDelivery",
|
|
8518
|
-
"FilterPolicy",
|
|
8519
|
-
"FilterPolicyScope",
|
|
8520
|
-
"RedrivePolicy",
|
|
8521
|
-
"DeliveryPolicy",
|
|
8522
|
-
"ReplayPolicy",
|
|
8523
|
-
"SubscriptionRoleArn"
|
|
8524
|
-
];
|
|
8525
|
-
const RESET_VALUES = {
|
|
8526
|
-
RawMessageDelivery: "false",
|
|
8527
|
-
FilterPolicy: "",
|
|
8528
|
-
FilterPolicyScope: "MessageAttributes",
|
|
8529
|
-
RedrivePolicy: ""
|
|
8530
|
-
};
|
|
8531
8517
|
const CREATE_ONLY_FIELDS = [
|
|
8532
8518
|
"TopicArn",
|
|
8533
8519
|
"Protocol",
|
|
8534
8520
|
"Endpoint"
|
|
8535
8521
|
];
|
|
8536
|
-
function toAttributeValue(key, value) {
|
|
8537
|
-
if (value === void 0) return void 0;
|
|
8538
|
-
if (key === "FilterPolicy" || key === "RedrivePolicy" || key === "DeliveryPolicy" || key === "ReplayPolicy") return typeof value === "string" ? value : JSON.stringify(value);
|
|
8539
|
-
return stringifyValue(value);
|
|
8540
|
-
}
|
|
8541
|
-
function sameAttributeValue(name, desired, current) {
|
|
8542
|
-
if (current === void 0) return desired === RESET_VALUES[name];
|
|
8543
|
-
if (desired === current) return true;
|
|
8544
|
-
try {
|
|
8545
|
-
return JSON.stringify(JSON.parse(desired)) === JSON.stringify(JSON.parse(current));
|
|
8546
|
-
} catch {
|
|
8547
|
-
return false;
|
|
8548
|
-
}
|
|
8549
|
-
}
|
|
8550
|
-
function filterPolicyCleared(plan, current) {
|
|
8551
|
-
const planned = plan.find(([name]) => name === "FilterPolicy");
|
|
8552
|
-
if (planned !== void 0) return planned[1] === "";
|
|
8553
|
-
return current["FilterPolicy"] === void 0 || current["FilterPolicy"] === "";
|
|
8554
|
-
}
|
|
8555
8522
|
var SNSSubscriptionProvider = class {
|
|
8556
8523
|
snsClient;
|
|
8557
8524
|
logger = getLogger().child("SNSSubscriptionProvider");
|
|
@@ -8649,23 +8616,8 @@ var SNSSubscriptionProvider = class {
|
|
|
8649
8616
|
const desired = properties[field];
|
|
8650
8617
|
if (desired !== void 0 && stringifyValue(desired) !== current[field]) return void 0;
|
|
8651
8618
|
}
|
|
8652
|
-
const
|
|
8653
|
-
|
|
8654
|
-
const desired = toAttributeValue(name, properties[name]);
|
|
8655
|
-
const now = current[name];
|
|
8656
|
-
if (desired !== void 0) {
|
|
8657
|
-
if (!sameAttributeValue(name, desired, now)) plan.push([name, desired]);
|
|
8658
|
-
continue;
|
|
8659
|
-
}
|
|
8660
|
-
if (now === void 0 || now === "") continue;
|
|
8661
|
-
if (name === "FilterPolicyScope" && filterPolicyCleared(plan, current)) continue;
|
|
8662
|
-
const reset = RESET_VALUES[name];
|
|
8663
|
-
if (reset === void 0) return void 0;
|
|
8664
|
-
if (now !== reset) plan.push([name, reset]);
|
|
8665
|
-
}
|
|
8666
|
-
const policy = plan.find(([name]) => name === "FilterPolicy");
|
|
8667
|
-
if (policy !== void 0 && policy[1] !== "" && plan.some(([name]) => name === "FilterPolicyScope")) return;
|
|
8668
|
-
return plan;
|
|
8619
|
+
const planned = planSubscriptionAttributes(current, properties);
|
|
8620
|
+
return planned.kind === "replace" ? void 0 : planned.calls;
|
|
8669
8621
|
}
|
|
8670
8622
|
wrapMaskedAwsCallError(mask, error, prefix, resourceType, logicalId, physicalId) {
|
|
8671
8623
|
const build = (text) => new ProvisioningError(`${prefix}: ${text}`, resourceType, logicalId, physicalId, error instanceof Error ? error : void 0);
|
|
@@ -21474,6 +21426,23 @@ const routeMethods = {
|
|
|
21474
21426
|
deleteSubnetRouteTableAssociation
|
|
21475
21427
|
};
|
|
21476
21428
|
|
|
21429
|
+
// src/provisioning/providers/ec2/sg-rule-description.ts
|
|
21430
|
+
const SG_RULE_PERMISSION_NOT_FOUND_NAMES = /* @__PURE__ */ new Set(["InvalidPermission.NotFound"]);
|
|
21431
|
+
async function updateSgRuleDescription(client, groupId, direction, permission) {
|
|
21432
|
+
const input = {
|
|
21433
|
+
GroupId: groupId,
|
|
21434
|
+
IpPermissions: [permission]
|
|
21435
|
+
};
|
|
21436
|
+
try {
|
|
21437
|
+
if (direction === "egress") await client.send(new UpdateSecurityGroupRuleDescriptionsEgressCommand(input));
|
|
21438
|
+
else await client.send(new UpdateSecurityGroupRuleDescriptionsIngressCommand(input));
|
|
21439
|
+
return "updated";
|
|
21440
|
+
} catch (error) {
|
|
21441
|
+
if (isNamedError(error, SG_RULE_PERMISSION_NOT_FOUND_NAMES)) return "not-found";
|
|
21442
|
+
throw error;
|
|
21443
|
+
}
|
|
21444
|
+
}
|
|
21445
|
+
|
|
21477
21446
|
// src/provisioning/providers/ec2/security-group.ts
|
|
21478
21447
|
async function createSecurityGroup(logicalId, resourceType, properties, context) {
|
|
21479
21448
|
this.logger.debug(`Creating SecurityGroup ${logicalId}`);
|
|
@@ -21715,8 +21684,7 @@ async function applySecurityGroupRuleDiff(groupId, previousRules, nextRules, dir
|
|
|
21715
21684
|
peer: peerKey ?? null,
|
|
21716
21685
|
peerName: peerKey ? null : peerName ?? null,
|
|
21717
21686
|
peerOwner: peerOwner ?? null,
|
|
21718
|
-
pl: prefixKey ?? null
|
|
21719
|
-
d: rule["Description"] ?? null
|
|
21687
|
+
pl: prefixKey ?? null
|
|
21720
21688
|
});
|
|
21721
21689
|
};
|
|
21722
21690
|
const prevByKey = /* @__PURE__ */ new Map();
|
|
@@ -21726,7 +21694,12 @@ async function applySecurityGroupRuleDiff(groupId, previousRules, nextRules, dir
|
|
|
21726
21694
|
const toRevoke = [];
|
|
21727
21695
|
for (const [key, rule] of prevByKey) if (!nextByKey.has(key)) toRevoke.push(rule);
|
|
21728
21696
|
const toAuthorize = [];
|
|
21729
|
-
|
|
21697
|
+
const toDescribe = [];
|
|
21698
|
+
for (const [key, rule] of nextByKey) {
|
|
21699
|
+
const previous = prevByKey.get(key);
|
|
21700
|
+
if (previous === void 0) toAuthorize.push(rule);
|
|
21701
|
+
else if ((previous["Description"] ?? null) !== (rule["Description"] ?? null)) toDescribe.push(rule);
|
|
21702
|
+
}
|
|
21730
21703
|
for (const rule of toRevoke) {
|
|
21731
21704
|
if (direction === "ingress" && logicalId !== void 0) {
|
|
21732
21705
|
const holder = stackIngressRuleHolder(getStackRecords()?.survivors(), logicalId, groupId, rule);
|
|
@@ -21748,6 +21721,17 @@ async function applySecurityGroupRuleDiff(groupId, previousRules, nextRules, dir
|
|
|
21748
21721
|
if (!this.isNotFoundError(error)) throw error;
|
|
21749
21722
|
}
|
|
21750
21723
|
}
|
|
21724
|
+
for (const rule of toDescribe) {
|
|
21725
|
+
if (isRedactedRecordedValue(rule["Description"])) continue;
|
|
21726
|
+
if (direction === "ingress" && logicalId !== void 0) {
|
|
21727
|
+
const holder = stackIngressRuleHolder(getStackRecords()?.survivors(), logicalId, groupId, rule);
|
|
21728
|
+
if (holder !== void 0) {
|
|
21729
|
+
this.logger.info(safeMsg`SecurityGroup ${logicalId}: an ingress rule whose description changed is also held by ${holder} of this stack, so its description was left as it is`);
|
|
21730
|
+
continue;
|
|
21731
|
+
}
|
|
21732
|
+
}
|
|
21733
|
+
if (await updateSgRuleDescription(this.ec2Client, groupId, direction, this.buildIpPermission(rule, direction, direction === "ingress")) === "not-found") toAuthorize.push(rule);
|
|
21734
|
+
}
|
|
21751
21735
|
for (const rule of toAuthorize) try {
|
|
21752
21736
|
if (direction === "egress") await this.ec2Client.send(new AuthorizeSecurityGroupEgressCommand({
|
|
21753
21737
|
GroupId: groupId,
|
|
@@ -22037,6 +22021,26 @@ async function updateSecurityGroupIngress(logicalId, physicalId, resourceType, p
|
|
|
22037
22021
|
...recordedAttributes && { attributes: { ...recordedAttributes } }
|
|
22038
22022
|
};
|
|
22039
22023
|
}
|
|
22024
|
+
const identity = comparableIngressIdentity(properties["GroupId"], properties);
|
|
22025
|
+
if (identity !== void 0 && identity === comparableIngressIdentity(previousProperties["GroupId"], previousProperties) && !isRedactedRecordedValue(properties["Description"])) {
|
|
22026
|
+
const { ipProtocol, narrowed } = narrowIngressIpProtocol(properties, (message) => this.logger.warn(message));
|
|
22027
|
+
let outcome;
|
|
22028
|
+
try {
|
|
22029
|
+
outcome = await updateSgRuleDescription(this.ec2Client, properties["GroupId"], "ingress", {
|
|
22030
|
+
...this.buildIpPermission(properties),
|
|
22031
|
+
IpProtocol: ipProtocol
|
|
22032
|
+
});
|
|
22033
|
+
} catch (error) {
|
|
22034
|
+
const cause = error instanceof Error ? error : void 0;
|
|
22035
|
+
throw this.wrapCaughtError(maskerOrIdentity(maskSecrets), error, (text) => new ProvisioningError(`Failed to update the description of SecurityGroupIngress ${logicalId}: ${text}`, resourceType, logicalId, physicalId, cause));
|
|
22036
|
+
}
|
|
22037
|
+
if (outcome === "updated") return {
|
|
22038
|
+
physicalId,
|
|
22039
|
+
wasReplaced: false,
|
|
22040
|
+
...recordedAttributes && { attributes: { ...recordedAttributes } },
|
|
22041
|
+
...narrowed !== properties && { effectiveProperties: narrowed }
|
|
22042
|
+
};
|
|
22043
|
+
}
|
|
22040
22044
|
try {
|
|
22041
22045
|
if (keptFor !== void 0) this.logger.info(safeMsg`SecurityGroupIngress ${logicalId}: its previous rule is also held by ${keptFor} of this stack, so the update left it in place`);
|
|
22042
22046
|
const revoked = keptFor !== void 0 ? void 0 : await this.deleteSecurityGroupIngress(logicalId, physicalId, resourceType, previousProperties, recordedAttributes || maskSecrets ? {
|
|
@@ -29703,7 +29707,7 @@ async function update$28(logicalId, physicalId, resourceType, properties, previo
|
|
|
29703
29707
|
const currentConfig = getConfigResponse.DistributionConfig;
|
|
29704
29708
|
const newDistributionConfig = properties["DistributionConfig"] ?? {};
|
|
29705
29709
|
const previousDistributionConfig = previousProperties["DistributionConfig"] ?? {};
|
|
29706
|
-
const sdkConfig = this.mergeUpdateConfig(currentConfig, newDistributionConfig, previousDistributionConfig, logicalId);
|
|
29710
|
+
const sdkConfig = this.mergeUpdateConfig(currentConfig, newDistributionConfig, previousDistributionConfig, logicalId, context?.replayingState === true, context?.restoredObservedProperties);
|
|
29707
29711
|
await this.cloudFrontClient.send(new UpdateDistributionCommand({
|
|
29708
29712
|
Id: physicalId,
|
|
29709
29713
|
IfMatch: etag,
|
|
@@ -29960,7 +29964,7 @@ async function importImpl$28(input) {
|
|
|
29960
29964
|
}
|
|
29961
29965
|
|
|
29962
29966
|
// src/provisioning/providers/cloudfront-distribution/update-config.ts
|
|
29963
|
-
function mergeUpdateConfig(currentConfig, newDistributionConfig, previousDistributionConfig, logicalId) {
|
|
29967
|
+
function mergeUpdateConfig(currentConfig, newDistributionConfig, previousDistributionConfig, logicalId, replayingState, restoredObserved) {
|
|
29964
29968
|
const templateSdk = this.convertToSdkFormat(newDistributionConfig);
|
|
29965
29969
|
const previousSdk = this.convertToSdkFormat(previousDistributionConfig);
|
|
29966
29970
|
const merged = { ...currentConfig };
|
|
@@ -29974,9 +29978,68 @@ function mergeUpdateConfig(currentConfig, newDistributionConfig, previousDistrib
|
|
|
29974
29978
|
}
|
|
29975
29979
|
Object.assign(merged, templateSdk);
|
|
29976
29980
|
merged["CallerReference"] = currentConfig["CallerReference"];
|
|
29981
|
+
fillOriginSslProtocols(merged, currentConfig, previousSdk, replayingState === true ? snapshotOriginSslProtocols(restoredObserved) : () => void 0, (originId) => this.logger.warn(replayingState ? safeMsg`CloudFront Distribution ${logicalId}: the rollback restores a template without OriginSSLProtocols on origin '${String(originId)}', so the value the failed deploy applied stays; revert it by declaring OriginSSLProtocols.` : safeMsg`CloudFront Distribution ${logicalId}: OriginSSLProtocols was removed from origin '${String(originId)}' in the template; keeping the live value rather than CloudFormation's SSLv3, TLSv1 default. Set it explicitly in the template to change it.`));
|
|
29977
29982
|
this.completeRequiredUpdateFields(merged);
|
|
29978
29983
|
return merged;
|
|
29979
29984
|
}
|
|
29985
|
+
const CREATE_DEFAULT_ORIGIN_SSL_PROTOCOLS = {
|
|
29986
|
+
Quantity: 3,
|
|
29987
|
+
Items: [
|
|
29988
|
+
"TLSv1",
|
|
29989
|
+
"TLSv1.1",
|
|
29990
|
+
"TLSv1.2"
|
|
29991
|
+
]
|
|
29992
|
+
};
|
|
29993
|
+
const ORIGIN_SSL_PROTOCOLS = /* @__PURE__ */ new Set([
|
|
29994
|
+
"SSLv3",
|
|
29995
|
+
"TLSv1",
|
|
29996
|
+
"TLSv1.1",
|
|
29997
|
+
"TLSv1.2"
|
|
29998
|
+
]);
|
|
29999
|
+
function snapshotOriginSslProtocols(observed) {
|
|
30000
|
+
const config = observed?.["DistributionConfig"];
|
|
30001
|
+
const origins = config && typeof config === "object" ? config["Origins"] : void 0;
|
|
30002
|
+
if (!Array.isArray(origins)) return () => void 0;
|
|
30003
|
+
return (originId) => {
|
|
30004
|
+
const matches = origins.filter((o) => o && typeof o === "object" && o["Id"] === originId);
|
|
30005
|
+
if (matches.length !== 1) return void 0;
|
|
30006
|
+
const custom = matches[0]["CustomOriginConfig"];
|
|
30007
|
+
if (!custom || typeof custom !== "object") return void 0;
|
|
30008
|
+
const items = custom["OriginSSLProtocols"];
|
|
30009
|
+
if (!Array.isArray(items) || items.length === 0 || new Set(items).size !== items.length || !items.every((p) => typeof p === "string" && ORIGIN_SSL_PROTOCOLS.has(p))) return;
|
|
30010
|
+
return {
|
|
30011
|
+
Quantity: items.length,
|
|
30012
|
+
Items: [...items]
|
|
30013
|
+
};
|
|
30014
|
+
};
|
|
30015
|
+
}
|
|
30016
|
+
function fillOriginSslProtocols(config, currentConfig, previousConfig, restored, onRemovedKept) {
|
|
30017
|
+
const origins = config["Origins"];
|
|
30018
|
+
if (!origins || !Array.isArray(origins["Items"])) return;
|
|
30019
|
+
const liveOrigins = currentConfig["Origins"]?.["Items"];
|
|
30020
|
+
const liveProtocols = (id) => {
|
|
30021
|
+
if (!Array.isArray(liveOrigins)) return void 0;
|
|
30022
|
+
return (liveOrigins.find((o) => o?.["Id"] === id)?.["CustomOriginConfig"])?.["OriginSslProtocols"];
|
|
30023
|
+
};
|
|
30024
|
+
const previousItems = previousConfig["Origins"]?.["Items"];
|
|
30025
|
+
const previouslyDeclared = (id) => Array.isArray(previousItems) && previousItems.some((o) => o?.["Id"] === id && (o?.["CustomOriginConfig"])?.["OriginSslProtocols"] !== void 0);
|
|
30026
|
+
origins["Items"] = origins["Items"].map((origin) => {
|
|
30027
|
+
const custom = origin?.["CustomOriginConfig"];
|
|
30028
|
+
if (!custom || typeof custom !== "object") return origin;
|
|
30029
|
+
if (custom["OriginSslProtocols"] !== void 0) return origin;
|
|
30030
|
+
const live = liveProtocols(origin["Id"]);
|
|
30031
|
+
const declared = previouslyDeclared(origin["Id"]);
|
|
30032
|
+
const snapshot = declared || live === void 0 ? restored(origin["Id"]) : void 0;
|
|
30033
|
+
if (snapshot === void 0 && live !== void 0 && declared) onRemovedKept(origin["Id"]);
|
|
30034
|
+
return {
|
|
30035
|
+
...origin,
|
|
30036
|
+
CustomOriginConfig: {
|
|
30037
|
+
...custom,
|
|
30038
|
+
OriginSslProtocols: structuredClone(snapshot ?? live ?? CREATE_DEFAULT_ORIGIN_SSL_PROTOCOLS)
|
|
30039
|
+
}
|
|
30040
|
+
};
|
|
30041
|
+
});
|
|
30042
|
+
}
|
|
29980
30043
|
function completeRequiredUpdateFields(config) {
|
|
29981
30044
|
const origins = config["Origins"];
|
|
29982
30045
|
if (origins && Array.isArray(origins["Items"])) origins["Items"] = origins["Items"].map((origin) => {
|
|
@@ -29997,6 +30060,7 @@ function completeRequiredUpdateFields(config) {
|
|
|
29997
30060
|
const fillBehavior = (behavior) => {
|
|
29998
30061
|
const b = { ...behavior };
|
|
29999
30062
|
if (b["SmoothStreaming"] === void 0) b["SmoothStreaming"] = false;
|
|
30063
|
+
if (b["Compress"] === void 0) b["Compress"] = false;
|
|
30000
30064
|
if (b["FieldLevelEncryptionId"] === void 0) b["FieldLevelEncryptionId"] = "";
|
|
30001
30065
|
if (b["LambdaFunctionAssociations"] === void 0) b["LambdaFunctionAssociations"] = {
|
|
30002
30066
|
Quantity: 0,
|
|
@@ -30355,8 +30419,8 @@ var CloudFrontDistributionProvider = class {
|
|
|
30355
30419
|
waitForDistributionStable(distributionId, expectedEnabled) {
|
|
30356
30420
|
return waitForDistributionStable.call(this, distributionId, expectedEnabled);
|
|
30357
30421
|
}
|
|
30358
|
-
mergeUpdateConfig(currentConfig, newDistributionConfig, previousDistributionConfig, logicalId) {
|
|
30359
|
-
return mergeUpdateConfig.call(this, currentConfig, newDistributionConfig, previousDistributionConfig, logicalId);
|
|
30422
|
+
mergeUpdateConfig(currentConfig, newDistributionConfig, previousDistributionConfig, logicalId, replayingState, restoredObserved) {
|
|
30423
|
+
return mergeUpdateConfig.call(this, currentConfig, newDistributionConfig, previousDistributionConfig, logicalId, replayingState, restoredObserved);
|
|
30360
30424
|
}
|
|
30361
30425
|
completeRequiredUpdateFields(config) {
|
|
30362
30426
|
return completeRequiredUpdateFields.call(this, config);
|
|
@@ -36004,6 +36068,7 @@ var RDSDBProxyEndpointProvider = class {
|
|
|
36004
36068
|
} catch (error) {
|
|
36005
36069
|
throw this.wrapCaughtError(error, "UPDATE", resourceType, logicalId, physicalId, mask);
|
|
36006
36070
|
}
|
|
36071
|
+
await this.waitForAvailableAfterModify(physicalId, resourceType, logicalId, mask);
|
|
36007
36072
|
}
|
|
36008
36073
|
this.invalidateAttributeCache(physicalId);
|
|
36009
36074
|
await this.applyTagDiff(physicalId, previousProperties["Tags"], properties["Tags"], resourceType, logicalId, mask);
|
|
@@ -36012,6 +36077,25 @@ var RDSDBProxyEndpointProvider = class {
|
|
|
36012
36077
|
wasReplaced: false
|
|
36013
36078
|
};
|
|
36014
36079
|
}
|
|
36080
|
+
async waitForAvailableAfterModify(physicalId, resourceType, logicalId, mask) {
|
|
36081
|
+
const client = this.getClient();
|
|
36082
|
+
const deadline = Date.now() + POLL_TIMEOUT_MS;
|
|
36083
|
+
let status;
|
|
36084
|
+
while (Date.now() < deadline) {
|
|
36085
|
+
try {
|
|
36086
|
+
const ep = (await client.send(new DescribeDBProxyEndpointsCommand({ DBProxyEndpointName: physicalId }))).DBProxyEndpoints?.[0];
|
|
36087
|
+
if (!ep) throw new ProvisioningError(mask(`DBProxyEndpoint ${physicalId} was not found while waiting for it after modify`), resourceType, logicalId, physicalId);
|
|
36088
|
+
status = ep.Status;
|
|
36089
|
+
} catch (error) {
|
|
36090
|
+
if (error instanceof ProvisioningError) throw error;
|
|
36091
|
+
throw this.wrapCaughtError(error, "UPDATE (poll)", resourceType, logicalId, physicalId, mask);
|
|
36092
|
+
}
|
|
36093
|
+
if (status === "available") return;
|
|
36094
|
+
if (status === "incompatible-network" || status === "insufficient-resource-limits") throw new ProvisioningError(mask(`DBProxyEndpoint ${physicalId} entered terminal failure state after modify: ${status}`), resourceType, logicalId, physicalId);
|
|
36095
|
+
await new Promise((resolve) => setTimeout(resolve, POLL_INTERVAL_MS));
|
|
36096
|
+
}
|
|
36097
|
+
throw new ProvisioningError(mask(`Timed out waiting for DBProxyEndpoint ${physicalId} to become available after modify (last status: ${status ?? "unknown"})`), resourceType, logicalId, physicalId);
|
|
36098
|
+
}
|
|
36015
36099
|
async delete(logicalId, physicalId, resourceType, _properties, context) {
|
|
36016
36100
|
const client = this.getClient();
|
|
36017
36101
|
const mask = maskerOrIdentity(context?.maskSecrets);
|
|
@@ -63594,4 +63678,4 @@ var ACMCertificateProvider = class {
|
|
|
63594
63678
|
};
|
|
63595
63679
|
|
|
63596
63680
|
export { ACMCertificateProvider, ASGProvider, AgentCoreBrowserProvider, AgentCoreCodeInterpreterProvider, AgentCoreEvaluatorProvider, AgentCoreRuntimeProvider, ApiGatewayProvider, ApiGatewayV2Provider, AppConfigEnvironmentProvider, AppSyncProvider, BudgetsBudgetProvider, CloudFrontDistributionProvider, CloudFrontOACProvider, CloudFrontOAIProvider, CloudTrailProvider, CloudWatchAlarmProvider, CloudWatchAnomalyDetectorProvider, CodeBuildProvider, CodeCommitRepositoryProvider, CognitoUserPoolProvider, DLMLifecyclePolicyProvider, DocDBProvider, DocDBSubnetGroupProvider, DynamoDBGlobalTableProvider, DynamoDBTableProvider, EC2Provider, ECRProvider, ECSProvider, EFSProvider, ELBv2Provider, EMRClusterProvider, EMRInstanceFleetConfigProvider, EMRInstanceGroupConfigProvider, ElastiCacheProvider, EventBridgeBusProvider, EventBridgeRuleProvider, FSxFileSystemProvider, FirehoseProvider, GlueConnectionProvider, GlueCrawlerProvider, GlueJobProvider, GlueProvider, GlueSecurityConfigurationProvider, GlueTriggerProvider, GlueWorkflowProvider, IAMAccessKeyProvider, IAMInstanceProfileProvider, IAMManagedPolicyProvider, IAMPolicyProvider, IAMRoleProvider, IAMUserGroupProvider, KMSProvider, KinesisStreamConsumerProvider, KinesisStreamProvider, LambdaEventInvokeConfigProvider, LambdaEventSourceMappingProvider, LambdaFunctionProvider, LambdaLayerVersionProvider, LambdaMicrovmImageProvider, LambdaNetworkConnectorProvider, LambdaPermissionProvider, LambdaUrlProvider, LambdaWebFunctionEndpointProvider, LambdaWebFunctionRevisionProvider, LogsLogGroupProvider, NeptuneProvider, NestedStackProvider, PipesPipeProvider, RDSDBProxyEndpointProvider, RDSDBProxyProvider, RDSDBProxyTargetGroupProvider, RDSProvider, Route53Provider, S3BucketPolicyProvider, S3BucketProvider, S3DirectoryBucketProvider, S3TablesProvider, S3VectorsProvider, SNSSubscriptionProvider, SNSTopicPolicyProvider, SNSTopicProvider, SQSQueuePolicyProvider, SQSQueueProvider, SSMParameterProvider, SchedulerScheduleProvider, SecretsManagerSecretProvider, ServiceDiscoveryProvider, StepFunctionsProvider, WAFv2WebACLProvider, WaitConditionHandleProvider };
|
|
63597
|
-
//# sourceMappingURL=provider-classes-
|
|
63681
|
+
//# sourceMappingURL=provider-classes-C8Pm3Ay1.js.map
|