@cdkd/cli 0.373.2 → 0.373.3
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-CruQnpD7.js → ambient-client-defaults-ChOenyD2.js} +3 -3
- package/dist/{ambient-client-defaults-CruQnpD7.js.map → ambient-client-defaults-ChOenyD2.js.map} +1 -1
- package/dist/{asg-provider-C76YNNe3.js → asg-provider-Bfinx42n.js} +8 -8
- package/dist/{asg-provider-C76YNNe3.js.map → asg-provider-Bfinx42n.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{created-resource-sink-Bf6U_kyO.js → created-resource-sink-D7iM5jwM.js} +4 -4
- package/dist/{created-resource-sink-Bf6U_kyO.js.map → created-resource-sink-D7iM5jwM.js.map} +1 -1
- package/dist/{custom-resource-runtime-DNWvFAcJ.js → custom-resource-runtime-9fjsDVrs.js} +6 -6
- package/dist/{custom-resource-runtime-DNWvFAcJ.js.map → custom-resource-runtime-9fjsDVrs.js.map} +1 -1
- package/dist/{db-associated-roles-ChxC2pWo.js → db-associated-roles-Bn8HCQ2r.js} +2 -2
- package/dist/{db-associated-roles-ChxC2pWo.js.map → db-associated-roles-Bn8HCQ2r.js.map} +1 -1
- package/dist/{delete-started-DCNzpczG.js → delete-started-CiTP5c3_.js} +4 -4
- package/dist/{delete-started-DCNzpczG.js.map → delete-started-CiTP5c3_.js.map} +1 -1
- package/dist/{deploy-engine-DkJ03QT5.js → deploy-engine-D7Iv9v8e.js} +26 -22
- package/dist/{deploy-engine-DkJ03QT5.js.map → deploy-engine-D7Iv9v8e.js.map} +1 -1
- package/dist/{ec2-termination-protection-CmMB_KbJ.js → ec2-termination-protection-BXy91mrW.js} +3 -3
- package/dist/{ec2-termination-protection-CmMB_KbJ.js.map → ec2-termination-protection-BXy91mrW.js.map} +1 -1
- package/dist/{ecr-uri-DH03qkk2.js → ecr-uri-DUDwEekn.js} +2 -2
- package/dist/{ecr-uri-DH03qkk2.js.map → ecr-uri-DUDwEekn.js.map} +1 -1
- package/dist/{emr-cluster-provider-BdJs64i8.js → emr-cluster-provider-MokUAEGh.js} +10 -10
- package/dist/{emr-cluster-provider-BdJs64i8.js.map → emr-cluster-provider-MokUAEGh.js.map} +1 -1
- package/dist/{expected-bucket-owner-D0nm7Szq.js → expected-bucket-owner-BrzB1C4p.js} +2 -2
- package/dist/{expected-bucket-owner-D0nm7Szq.js.map → expected-bucket-owner-BrzB1C4p.js.map} +1 -1
- package/dist/{iam-role-provider-BSj01gWD.js → iam-role-provider-CB--BYVm.js} +12 -12
- package/dist/{iam-role-provider-BSj01gWD.js.map → iam-role-provider-CB--BYVm.js.map} +1 -1
- package/dist/{identity-read-denied-CwSWOLvl.js → identity-read-denied-CoeMBkCz.js} +4 -4
- package/dist/{identity-read-denied-CwSWOLvl.js.map → identity-read-denied-CoeMBkCz.js.map} +1 -1
- package/dist/{image-plan-D7hoLiS-.js → image-plan-RNp8hqc4.js} +8 -8
- package/dist/{image-plan-D7hoLiS-.js.map → image-plan-RNp8hqc4.js.map} +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-BTKRoxiD.js → logger-Bfz63gW5.js} +2 -2
- package/dist/{logger-BTKRoxiD.js.map → logger-Bfz63gW5.js.map} +1 -1
- package/dist/{neptune-provider-BNvxobyO.js → neptune-provider-BFwovty1.js} +9 -9
- package/dist/{neptune-provider-BNvxobyO.js.map → neptune-provider-BFwovty1.js.map} +1 -1
- package/dist/{program-BjmeRD9o.js → program-DR3X8-7x.js} +120 -67
- package/dist/program-DR3X8-7x.js.map +1 -0
- package/dist/{provider-classes-Bn4iaev8.js → provider-classes-BNZGFwNO.js} +134 -39
- package/dist/provider-classes-BNZGFwNO.js.map +1 -0
- package/dist/{rds-provider-CNEA-pHZ.js → rds-provider-evebINWq.js} +13 -13
- package/dist/{rds-provider-CNEA-pHZ.js.map → rds-provider-evebINWq.js.map} +1 -1
- package/dist/{read-replica-0-l8YLR9.js → read-replica-BGoRAh10.js} +3 -3
- package/dist/{read-replica-0-l8YLR9.js.map → read-replica-BGoRAh10.js.map} +1 -1
- package/dist/{redacted-delete-address-Cq-qhxug.js → redacted-delete-address-rTL8ikg4.js} +4 -4
- package/dist/{redacted-delete-address-Cq-qhxug.js.map → redacted-delete-address-rTL8ikg4.js.map} +1 -1
- package/dist/{replacement-rules-BRQEsmYu.js → replacement-rules-roVU6gYR.js} +123 -23
- package/dist/replacement-rules-roVU6gYR.js.map +1 -0
- package/dist/{resource-deadline-B6k_qtRx.js → resource-deadline-B4Rp-3f7.js} +2 -2
- package/dist/{resource-deadline-B6k_qtRx.js.map → resource-deadline-B4Rp-3f7.js.map} +1 -1
- package/dist/{restore-source-guard-Dlh_1tru.js → restore-source-guard-Dz_vQPiM.js} +4 -4
- package/dist/{restore-source-guard-Dlh_1tru.js.map → restore-source-guard-Dz_vQPiM.js.map} +1 -1
- package/dist/{run-cli-fBTOa8id.js → run-cli-vKsR6JeT.js} +2 -2
- package/dist/{run-cli-fBTOa8id.js.map → run-cli-vKsR6JeT.js.map} +1 -1
- package/dist/{secret-reference-immutable-DSSUW_aD.js → secret-reference-immutable-BF02Wobz.js} +6 -6
- package/dist/{secret-reference-immutable-DSSUW_aD.js.map → secret-reference-immutable-BF02Wobz.js.map} +1 -1
- package/dist/{settle-own-write-members-7riYzUx1.js → settle-own-write-members-CF-RPYMD.js} +10 -10
- package/dist/{settle-own-write-members-7riYzUx1.js.map → settle-own-write-members-CF-RPYMD.js.map} +1 -1
- package/dist/{tag-list-lOyb6hiQ.js → tag-list-DbmXev9Z.js} +4 -4
- package/dist/{tag-list-lOyb6hiQ.js.map → tag-list-DbmXev9Z.js.map} +1 -1
- package/dist/{version-BO9jLQis.js → version-CP9RYTCy.js} +2 -2
- package/dist/{version-BO9jLQis.js.map → version-CP9RYTCy.js.map} +1 -1
- package/package.json +1 -1
- package/dist/program-BjmeRD9o.js.map +0 -1
- package/dist/provider-classes-Bn4iaev8.js.map +0 -1
- package/dist/replacement-rules-BRQEsmYu.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-
|
|
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 { _ 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-CB--BYVm.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-Bfz63gW5.js";
|
|
3
3
|
import { d as withApiGatewayPacing, l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-DOkPjjAW.js";
|
|
4
|
-
import { $ as AccountIdUnavailableError, B as isTransientServerError, D as markReplayMayCollide, E as markNameCollision, F as isAmbiguousOutcomeError, G as markNonRetryable, K as markRedactedCause, L as isExplicitDenyError, M as explicitDenyPolicyKind, O as relayedNameCollision, W as isThrottlingError, _ as ResourceUpdateNotSupportedError, i as credentialFingerprint, n as ambientCredentialConfig, ot as ProvisioningError, q as wrapMaskedAwsError, r as clientDefaultsFor, t as ambientClientDefaults, tt as CdkdError, x as hasReplayMayCollide, z as isRetryableTransientError } from "./ambient-client-defaults-
|
|
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, Gi as withPasteableAwsProfile, Gr as recordAttributeIdCopy, Gt as isAuxiliaryFailure, H as userPoolProtectionSite, Ir as recoverMaskedOutput, It as maskDeep, Jt as markCreatedBeforeFailure, K as isProceedDbStatus, Ki as injectiveKey, L as deleteWithProtectionCompensation, Lt as maskerOrIdentity, M as remedyLogicalId, Mt as stateOrphanRecordRemedy, N as resolveExplicitPhysicalId, Nn as snapshotPassProvenance, Nt as createMaskedLogSinks, O as normalizeAwsTagsToCfn, Ot as logicalIdShown, Pt as createMaskedRetryLogger, R as logGroupProtectionSite, Rn as hasMaskableValues, 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, Wr as physicalNameCopiesOf, X as isTerminalDeleteFailure, Xr as dynamicReferenceTokens, Y as ProtectionFlipRegistry, Yt as markSupersedesEarlierCreate, Z as protectionFlipKey, _ as withoutServerErrorRetries, _t as recordedPrincipalsRepair, at as isAwsCliLiteral, b as assertRegionMatch, c as AmbiguousCreateLatch, cn as recordedSecrecyOf, ct as renderDisableCommand, d as ambiguousAttemptLead, dr as withoutPhysicalNameCopies, dt as SECRET_DERIVED_READ_LIVE, en as holdsMaskLeaf, et as ElapsedBudgetRegistry, f as createAttemptKey, ft as diffPrincipalNames, g as setBounded, h as replayedSendWindow, hn as markSameGenerationBag, ht as readPrincipalLists, i as reportCreatedResource, ii as carriesSecretMask, it as WITHHELD_AWS_COMMAND, j as refusalTypeShown, jn as recordReferenceProvenanceEntry, 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, pt as holdsSecretDerivedEntry, q as isTerminalDbWaitStatus, qi as injectiveKeyPrefix, qt as markAuxiliaryFailure, rn as mentionsDynamicReference, rt as UNNAMEABLE_ID_CLAUSE, s as AMBIGUOUS_LATCH_TTL_MS, st as protectedReplacementAdvice, u as RecentIdSet, v as DriftReadRefusedError, w as importRemedyCommand, wn as redactForState, wt as canonicalizeRoute53QueryName, x as holderRefusalMask, y as RESOURCE_NOT_FOUND, z as observeThenDisableProtection } from "./created-resource-sink-
|
|
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-
|
|
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-
|
|
8
|
-
import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-
|
|
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-
|
|
10
|
-
import { i as redactedDeleteAddressSkip, n as isRedactedRecordedValue, r as redactedDeleteAddressFields, t as REDACTED_DELETE_ADDRESS_SKIP_REASON } from "./redacted-delete-address-
|
|
11
|
-
import { $ as streamTagsMatchDeclared, $o as evaluateSignals, $t as planContributorInsightsOp, Aa as replacedDeleteFailureVerdict, Ad as stringifyValue, Ao as KMS_DEFAULT_KEY_POLICY_ID, At as tableNameReleaseWait, Ba as canonicalizeIpv6Cidr, Bn as childStackTags, Bo as reReadUntilSettled, Bt as isTtlRateLimited, Ci as reserveStackCreateToken, Cl as isWarmThroughputDecrease, Co as withoutSiblingOwned, Cs as deleteSkipReason, Ct as mapSSESpecification, Ds as markWaitAbandoned, Dt as sseSpecificationRefusal, El as APPSYNC_APIKEY_ARN_RESOURCE_PATH, Eo as getStackRecords, Et as readCapacityNumber, Fa as SG_RULE_ID_PATTERN, Fd as renderNestedTemplateTreeDefect, Ff as renderAssemblyPathEscape, Fo as declaredPolicyDocument, Fs as connectInstanceIdOf, Ft as recordTagWrite, G as declaredStreamTagsMember, Go as policyContentKey, Gt as readbackVectorIndexes, H as STREAM_POLICY_KEY, Ho as warnUnsettledMember, Ht as readTtlSpec, Ia as cfnIngressPortValue, If as resolveAssemblyPath, Io as efsPolicyMatchesDeclared, It as settleWrittenTags, J as reverseMapStreamPolicy, Jt as vectorIndexesShapeDetail, Ju as accountArgs, K as planStreamMemberOps, Kd as decodeListingKey, Kt as vectorIndexesForCreate, La as recordedSgRuleId, Lo as lambdaPermissionMatchesDeclared, Md as findNestedTemplateTreeDefect, Mf as describeFileReadFailure, Mo as OWN_WRITE_REREAD_DELAYS_MS, Mt as clearTagWrites, Nd as isAbsoluteAssetPath, Nf as displayAssemblyPath, No as SNS_DEFAULT_POLICY_ID, Nu as refuseMalformedNestedChildOutputs, Ol as maskedSecretSegment, Ot as sseSpecificationToSend, Pd as listNestedTemplateRows, Po as declaredMemberDocument, Ps as isSettledInstanceState, Pt as isDynamoDBTableArnIn, Q as streamPolicyMatchesDeclared, Qc as getCurrentResourceSecrets, Qo as classifyHandleUrl, Qt as indexDeclaresContributorInsights, Ro as memberReadFailure, Rt as takeTagWrite, Sn as isTruthyCfnBoolean, So as withoutSiblingAttachedArns, St as isTableName, Ti as acquireIdempotencyToken, Tl as toFiniteNumber, Tt as pointInTimeRecoveryRefusal, U as STREAM_TAGS_KEY, Uo as verbatimEchoDriftKeys, Ut as sendTtlWaitingOutRateLimit, Uu as refuseMalformedResourcesForDestroy, V as DynamoDBGlobalTableProvider, Va as canonicalizeIpv4Cidr, Vo as settleDeclaredMember, Vt as planTimeToLive, W as declaredStreamPolicyMember, Wn as licensedNameHolder, Wo as attemptedPolicyDocument, Wt as planVectorIndexUpdates, X as streamDeclaresTags, Xt as completeTableContributorInsightsBaseline, Y as streamDeclaresPolicy, Yt as CONTRIBUTOR_INSIGHTS_KEY, Yu as withheldAccountClause, Z as streamMemberRefusals, Zi as getCurrentProducerRegions, Zo as WaitConditionSignalStore, Zt as contributorInsightsRefusals, _c as parseWebACLArn, _n as relayedIndexBusyDelete, _t as KINESIS_DESTINATION_SETTLE_POLL_MS, ac as s3BucketDualStackDomainName, ad as withoutSdkUnwiredProperties, al as getAccountInfo, an as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, at as localSecondaryIndexesKey, bn as S3_AUTO_DELETE_OBJECTS_TAG, bo as collectPrincipalsAttachingPolicy, bt as hasUsableDeclaredCapacity, cn as compensateRemovedDeletionProtection, cr as getCurrentNestedStackContext, ct as sameJsonValue, dd as planSubscriptionAttributes, dn as resolveDynamoDbDeleteBudgetMs, dt as desiredBagIsInformative, ei as siblingOwnedSgRuleIdentities, en as planIndexContributorInsightsOps, et as canonicalizeStaleIndexDescription, fd as wireAttributeValue, fn as DELETE_INDEX_WAIT_PROCEED_NOTE, ft as isRefusedWarmThroughput, gn as maskedLogger, gs as waitForLambdaFunctionActive, gt as warmThroughputAlreadyMatches, hl as isLegacyHandleId, hn as deleteTableWithIndexBusyRetry, ht as trimUnsentWarmMembers, ic as s3BucketDomainName, if as rewriteTemplateAssetReferences, in as stripIndexContributorInsights, ir as revertNestedChildFromJournal, it as gsiUnsendableChangeRefusal, jt as TAGS_BASELINE_REREAD_DELAYS_MS, kt as tableDeleteGoneWait, ln as deleteBudgetKey, lr as withNestedStackContext, lt as coerceWarmThroughput, ml as LEGACY_HANDLE_ID_PREFIX, mn as TABLE_INDEX_NOUN, mt as sentWarmThroughputMembers, nc as dnsEntryStrings, ni as withoutSiblingOwnedSgRules, nn as reverseMapIndexContributorInsights, no as secretNamedAttributeNamesOf, nt as deletionProtectionRefusal, oc as s3BucketRegionalDomainName, on as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, ot as projectIndexesOnto, pi as calculateResourceDrift, pn as INDEX_SETTLE_POLL_INTERVAL_MS, pt as readbackWarmThroughput, qt as vectorIndexesSettled, rc as s3BucketArn, rd as findSdkUnwiredProperties, rn as reverseMapTableContributorInsights, rt as desiredIndexEntriesByName, sc as s3BucketWebsiteUrl, sn as beginDeleteWait, st as reverseMapSecondaryIndex, t as DeployEngine, tl as outputReferenceProvenanceOf, tn as readContributorInsightsSpec, tr as getNestedRevertRun, tt as declaresIndexList, ud as normalizeRecordName, un as resolveDynamoDbDeleteBudgetClock, ut as declaresWarmThroughput, vn as waitForIndexesSettled, vo as collectGroupsAddedBySiblings, vs as waitForGoneAfterDelete, vt as KINESIS_DISABLE_PENDING_STATUSES, wl as toCfnInteger, wo as awaitInFlightSibling, ws as withIndeterminateGuard, wt as maskLeafValue, xi as earliestDefined, xn as hasCdkAutoDeleteTag, xo as isStoredExpression, xt as isPlainCapacityBlock, yn as ECR_AUTO_DELETE_IMAGES_TAG, yo as collectManagedPolicyArnsAttachedBySiblings, yt as deleteTableRetryDelays, za as sgProtocolKey, zl as passedParameterClassesOf, zn as childRowTags, zo as policyDocumentMatchesDeclared, zt as isTtlAlreadyDisabled } from "./deploy-engine-
|
|
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-
|
|
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-
|
|
14
|
-
import { T as timePhase, n as unchangedBehindSecretReference, t as onlySecretReferencesDiffer, v as withRetry } from "./secret-reference-immutable-
|
|
15
|
-
import { a as principalOwnWriteMembers, c as stringListMember, n as declaredStringList, o as settleOwnWriteMembers } from "./settle-own-write-members-
|
|
4
|
+
import { $ as AccountIdUnavailableError, B as isTransientServerError, D as markReplayMayCollide, E as markNameCollision, F as isAmbiguousOutcomeError, G as markNonRetryable, K as markRedactedCause, L as isExplicitDenyError, M as explicitDenyPolicyKind, O as relayedNameCollision, W as isThrottlingError, _ as ResourceUpdateNotSupportedError, i as credentialFingerprint, n as ambientCredentialConfig, ot as ProvisioningError, q as wrapMaskedAwsError, r as clientDefaultsFor, t as ambientClientDefaults, tt as CdkdError, x as hasReplayMayCollide, z as isRetryableTransientError } from "./ambient-client-defaults-ChOenyD2.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, Gi as withPasteableAwsProfile, Gr as recordAttributeIdCopy, Gt as isAuxiliaryFailure, H as userPoolProtectionSite, Ir as recoverMaskedOutput, It as maskDeep, Jt as markCreatedBeforeFailure, K as isProceedDbStatus, Ki as injectiveKey, L as deleteWithProtectionCompensation, Lt as maskerOrIdentity, M as remedyLogicalId, Mt as stateOrphanRecordRemedy, N as resolveExplicitPhysicalId, Nn as snapshotPassProvenance, Nt as createMaskedLogSinks, O as normalizeAwsTagsToCfn, Ot as logicalIdShown, Pt as createMaskedRetryLogger, R as logGroupProtectionSite, Rn as hasMaskableValues, 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, Wr as physicalNameCopiesOf, X as isTerminalDeleteFailure, Xr as dynamicReferenceTokens, Y as ProtectionFlipRegistry, Yt as markSupersedesEarlierCreate, Z as protectionFlipKey, _ as withoutServerErrorRetries, _t as recordedPrincipalsRepair, at as isAwsCliLiteral, b as assertRegionMatch, c as AmbiguousCreateLatch, cn as recordedSecrecyOf, ct as renderDisableCommand, d as ambiguousAttemptLead, dr as withoutPhysicalNameCopies, dt as SECRET_DERIVED_READ_LIVE, en as holdsMaskLeaf, et as ElapsedBudgetRegistry, f as createAttemptKey, ft as diffPrincipalNames, g as setBounded, h as replayedSendWindow, hn as markSameGenerationBag, ht as readPrincipalLists, i as reportCreatedResource, ii as carriesSecretMask, it as WITHHELD_AWS_COMMAND, j as refusalTypeShown, jn as recordReferenceProvenanceEntry, 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, pt as holdsSecretDerivedEntry, q as isTerminalDbWaitStatus, qi as injectiveKeyPrefix, qt as markAuxiliaryFailure, rn as mentionsDynamicReference, rt as UNNAMEABLE_ID_CLAUSE, s as AMBIGUOUS_LATCH_TTL_MS, st as protectedReplacementAdvice, u as RecentIdSet, v as DriftReadRefusedError, w as importRemedyCommand, wn as redactForState, wt as canonicalizeRoute53QueryName, x as holderRefusalMask, y as RESOURCE_NOT_FOUND, z as observeThenDisableProtection } from "./created-resource-sink-D7iM5jwM.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-CP9RYTCy.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-CoeMBkCz.js";
|
|
8
|
+
import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-CiTP5c3_.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-DR3X8-7x.js";
|
|
10
|
+
import { i as redactedDeleteAddressSkip, n as isRedactedRecordedValue, r as redactedDeleteAddressFields, t as REDACTED_DELETE_ADDRESS_SKIP_REASON } from "./redacted-delete-address-rTL8ikg4.js";
|
|
11
|
+
import { $ as streamTagsMatchDeclared, $o as evaluateSignals, $t as planContributorInsightsOp, Aa as replacedDeleteFailureVerdict, Ad as stringifyValue, Ao as KMS_DEFAULT_KEY_POLICY_ID, At as tableNameReleaseWait, Ba as canonicalizeIpv6Cidr, Bn as childStackTags, Bo as reReadUntilSettled, Bt as isTtlRateLimited, Ci as reserveStackCreateToken, Cl as isWarmThroughputDecrease, Co as withoutSiblingOwned, Cs as deleteSkipReason, Ct as mapSSESpecification, Ds as markWaitAbandoned, Dt as sseSpecificationRefusal, El as APPSYNC_APIKEY_ARN_RESOURCE_PATH, Eo as getStackRecords, Et as readCapacityNumber, Fa as SG_RULE_ID_PATTERN, Fd as renderNestedTemplateTreeDefect, Ff as renderAssemblyPathEscape, Fo as declaredPolicyDocument, Fs as connectInstanceIdOf, Ft as recordTagWrite, G as declaredStreamTagsMember, Go as policyContentKey, Gt as readbackVectorIndexes, H as STREAM_POLICY_KEY, Ho as warnUnsettledMember, Ht as readTtlSpec, Ia as cfnIngressPortValue, If as resolveAssemblyPath, Io as efsPolicyMatchesDeclared, It as settleWrittenTags, J as reverseMapStreamPolicy, Jt as vectorIndexesShapeDetail, Ju as accountArgs, K as planStreamMemberOps, Kd as decodeListingKey, Kt as vectorIndexesForCreate, La as recordedSgRuleId, Lo as lambdaPermissionMatchesDeclared, Md as findNestedTemplateTreeDefect, Mf as describeFileReadFailure, Mo as OWN_WRITE_REREAD_DELAYS_MS, Mt as clearTagWrites, Nd as isAbsoluteAssetPath, Nf as displayAssemblyPath, No as SNS_DEFAULT_POLICY_ID, Nu as refuseMalformedNestedChildOutputs, Ol as maskedSecretSegment, Ot as sseSpecificationToSend, Pd as listNestedTemplateRows, Po as declaredMemberDocument, Ps as isSettledInstanceState, Pt as isDynamoDBTableArnIn, Q as streamPolicyMatchesDeclared, Qc as getCurrentResourceSecrets, Qo as classifyHandleUrl, Qt as indexDeclaresContributorInsights, Ro as memberReadFailure, Rt as takeTagWrite, Sn as isTruthyCfnBoolean, So as withoutSiblingAttachedArns, St as isTableName, Ti as acquireIdempotencyToken, Tl as toFiniteNumber, Tt as pointInTimeRecoveryRefusal, U as STREAM_TAGS_KEY, Uo as verbatimEchoDriftKeys, Ut as sendTtlWaitingOutRateLimit, Uu as refuseMalformedResourcesForDestroy, V as DynamoDBGlobalTableProvider, Va as canonicalizeIpv4Cidr, Vo as settleDeclaredMember, Vt as planTimeToLive, W as declaredStreamPolicyMember, Wn as licensedNameHolder, Wo as attemptedPolicyDocument, Wt as planVectorIndexUpdates, X as streamDeclaresTags, Xt as completeTableContributorInsightsBaseline, Y as streamDeclaresPolicy, Yt as CONTRIBUTOR_INSIGHTS_KEY, Yu as withheldAccountClause, Z as streamMemberRefusals, Zi as getCurrentProducerRegions, Zo as WaitConditionSignalStore, Zt as contributorInsightsRefusals, _c as parseWebACLArn, _n as relayedIndexBusyDelete, _t as KINESIS_DESTINATION_SETTLE_POLL_MS, ac as s3BucketDualStackDomainName, ad as withoutSdkUnwiredProperties, al as getAccountInfo, an as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, at as localSecondaryIndexesKey, bn as S3_AUTO_DELETE_OBJECTS_TAG, bo as collectPrincipalsAttachingPolicy, bt as hasUsableDeclaredCapacity, cn as compensateRemovedDeletionProtection, cr as getCurrentNestedStackContext, ct as sameJsonValue, dd as planSubscriptionAttributes, dn as resolveDynamoDbDeleteBudgetMs, dt as desiredBagIsInformative, ei as siblingOwnedSgRuleIdentities, en as planIndexContributorInsightsOps, et as canonicalizeStaleIndexDescription, fd as wireAttributeValue, fn as DELETE_INDEX_WAIT_PROCEED_NOTE, ft as isRefusedWarmThroughput, gn as maskedLogger, gs as waitForLambdaFunctionActive, gt as warmThroughputAlreadyMatches, hl as isLegacyHandleId, hn as deleteTableWithIndexBusyRetry, ht as trimUnsentWarmMembers, ic as s3BucketDomainName, if as rewriteTemplateAssetReferences, in as stripIndexContributorInsights, ir as revertNestedChildFromJournal, it as gsiUnsendableChangeRefusal, jt as TAGS_BASELINE_REREAD_DELAYS_MS, kt as tableDeleteGoneWait, ln as deleteBudgetKey, lr as withNestedStackContext, lt as coerceWarmThroughput, ml as LEGACY_HANDLE_ID_PREFIX, mn as TABLE_INDEX_NOUN, mt as sentWarmThroughputMembers, nc as dnsEntryStrings, ni as withoutSiblingOwnedSgRules, nn as reverseMapIndexContributorInsights, no as secretNamedAttributeNamesOf, nt as deletionProtectionRefusal, oc as s3BucketRegionalDomainName, on as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, ot as projectIndexesOnto, pi as calculateResourceDrift, pn as INDEX_SETTLE_POLL_INTERVAL_MS, pt as readbackWarmThroughput, qt as vectorIndexesSettled, rc as s3BucketArn, rd as findSdkUnwiredProperties, rn as reverseMapTableContributorInsights, rt as desiredIndexEntriesByName, sc as s3BucketWebsiteUrl, sn as beginDeleteWait, st as reverseMapSecondaryIndex, t as DeployEngine, tl as outputReferenceProvenanceOf, tn as readContributorInsightsSpec, tr as getNestedRevertRun, tt as declaresIndexList, ud as normalizeRecordName, un as resolveDynamoDbDeleteBudgetClock, ut as declaresWarmThroughput, vn as waitForIndexesSettled, vo as collectGroupsAddedBySiblings, vs as waitForGoneAfterDelete, vt as KINESIS_DISABLE_PENDING_STATUSES, wl as toCfnInteger, wo as awaitInFlightSibling, ws as withIndeterminateGuard, wt as maskLeafValue, xi as earliestDefined, xn as hasCdkAutoDeleteTag, xo as isStoredExpression, xt as isPlainCapacityBlock, yn as ECR_AUTO_DELETE_IMAGES_TAG, yo as collectManagedPolicyArnsAttachedBySiblings, yt as deleteTableRetryDelays, za as sgProtocolKey, zl as passedParameterClassesOf, zn as childRowTags, zo as policyDocumentMatchesDeclared, zt as isTtlAlreadyDisabled } from "./deploy-engine-D7Iv9v8e.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-DbmXev9Z.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-Dz_vQPiM.js";
|
|
14
|
+
import { T as timePhase, n as unchangedBehindSecretReference, t as onlySecretReferencesDiffer, v as withRetry } from "./secret-reference-immutable-BF02Wobz.js";
|
|
15
|
+
import { a as principalOwnWriteMembers, c as stringListMember, n as declaredStringList, o as settleOwnWriteMembers } from "./settle-own-write-members-CF-RPYMD.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-
|
|
19
|
-
import { l as removedTemplateKeys, n as enclosingDeadlineRemainingMs, o as clearOnUpdateRemoval, t as enclosingDeadlineExpired, u as withRemovalDefaults } from "./resource-deadline-
|
|
20
|
-
import {
|
|
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-
|
|
22
|
-
import { RDSProvider } from "./rds-provider-
|
|
23
|
-
import { NeptuneProvider } from "./neptune-provider-
|
|
24
|
-
import { ASGProvider } from "./asg-provider-
|
|
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-BXy91mrW.js";
|
|
19
|
+
import { l as removedTemplateKeys, n as enclosingDeadlineRemainingMs, o as clearOnUpdateRemoval, t as enclosingDeadlineExpired, u as withRemovalDefaults } from "./resource-deadline-B4Rp-3f7.js";
|
|
20
|
+
import { R as passedNoEchoParametersOf, c as blockDeviceMappingsDifferOnlyInDeleteOnTermination, f as canonicalLambdaFunctionName, h as sameLambdaFunctionAddress, m as parseLambdaFunctionAddress, p as lambdaFunctionNameForMask, u as ecsServiceLaunchTypeSetOrChanged } from "./replacement-rules-roVU6gYR.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-MokUAEGh.js";
|
|
22
|
+
import { RDSProvider } from "./rds-provider-evebINWq.js";
|
|
23
|
+
import { NeptuneProvider } from "./neptune-provider-BFwovty1.js";
|
|
24
|
+
import { ASGProvider } from "./asg-provider-Bfinx42n.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";
|
|
@@ -12317,7 +12317,7 @@ async function readCurrentState$34(physicalId, _logicalId, _resourceType, proper
|
|
|
12317
12317
|
result["Tags"] = tags;
|
|
12318
12318
|
return result;
|
|
12319
12319
|
}
|
|
12320
|
-
async function canonicalizeDriftPair$
|
|
12320
|
+
async function canonicalizeDriftPair$8(_resourceType, baseline, aws, properties) {
|
|
12321
12321
|
const key = "SelfManagedKafkaEventSourceConfig";
|
|
12322
12322
|
const block = baseline[key];
|
|
12323
12323
|
if (typeof block !== "object" || block === null || Array.isArray(block) || "ConsumptionMode" in block || consumptionModeOf(aws) !== "Stream" || consumptionModeOf(properties ?? {}) !== "Stream" || aws[key]?.["ConsumptionMode"] === void 0) return {
|
|
@@ -12469,7 +12469,7 @@ var LambdaEventSourceMappingProvider = class {
|
|
|
12469
12469
|
return readCurrentState$34.call(this, physicalId, logicalId, resourceType, properties);
|
|
12470
12470
|
}
|
|
12471
12471
|
canonicalizeDriftPair(resourceType, baseline, aws, properties) {
|
|
12472
|
-
return canonicalizeDriftPair$
|
|
12472
|
+
return canonicalizeDriftPair$8.call(this, resourceType, baseline, aws, properties);
|
|
12473
12473
|
}
|
|
12474
12474
|
import(input) {
|
|
12475
12475
|
return importImpl$33.call(this, input);
|
|
@@ -14931,7 +14931,7 @@ function canonicalizeDriftProperties$4(resourceType, properties) {
|
|
|
14931
14931
|
}
|
|
14932
14932
|
return result;
|
|
14933
14933
|
}
|
|
14934
|
-
async function canonicalizeDriftPair$
|
|
14934
|
+
async function canonicalizeDriftPair$7(resourceType, baseline, aws, properties) {
|
|
14935
14935
|
if (resourceType !== "AWS::DynamoDB::Table") return {
|
|
14936
14936
|
baseline,
|
|
14937
14937
|
aws
|
|
@@ -16701,7 +16701,7 @@ var DynamoDBTableProvider = class {
|
|
|
16701
16701
|
return canonicalizeDriftProperties$4.call(this, resourceType, properties);
|
|
16702
16702
|
}
|
|
16703
16703
|
async canonicalizeDriftPair(resourceType, baseline, aws, properties) {
|
|
16704
|
-
return canonicalizeDriftPair$
|
|
16704
|
+
return canonicalizeDriftPair$7.call(this, resourceType, baseline, aws, properties);
|
|
16705
16705
|
}
|
|
16706
16706
|
async readUnsettled(physicalId, logicalId, resourceType, names, recordedProperties, desiredProperties, attemptedItems) {
|
|
16707
16707
|
return readUnsettled$6.call(this, physicalId, logicalId, resourceType, names, recordedProperties, desiredProperties, attemptedItems);
|
|
@@ -26982,7 +26982,7 @@ async function readUnsettled$5(physicalId, logicalId, resourceType, names, recor
|
|
|
26982
26982
|
if (resourceType === "AWS::EC2::Subnet") return this.readSubnetCurrentState(physicalId, names, recordedProperties);
|
|
26983
26983
|
return this.readCurrentState(physicalId, logicalId, resourceType, recordedProperties);
|
|
26984
26984
|
}
|
|
26985
|
-
async function canonicalizeDriftPair$
|
|
26985
|
+
async function canonicalizeDriftPair$6(resourceType, baseline, aws, properties) {
|
|
26986
26986
|
if (resourceType === "AWS::EC2::Instance") {
|
|
26987
26987
|
const declared = declaredBlockDeviceNames(properties);
|
|
26988
26988
|
const recorded = baseline["BlockDeviceMappings"];
|
|
@@ -27159,7 +27159,7 @@ const driftMethods = {
|
|
|
27159
27159
|
subnetIpv6InTransition,
|
|
27160
27160
|
unsettledInTransition: unsettledInTransition$4,
|
|
27161
27161
|
readUnsettled: readUnsettled$5,
|
|
27162
|
-
canonicalizeDriftPair: canonicalizeDriftPair$
|
|
27162
|
+
canonicalizeDriftPair: canonicalizeDriftPair$6,
|
|
27163
27163
|
canonicalizeUnsettledProperties: canonicalizeUnsettledProperties$1,
|
|
27164
27164
|
readCurrentState: readCurrentState$29,
|
|
27165
27165
|
readCurrentStateOnce,
|
|
@@ -31169,7 +31169,7 @@ function getDriftUnknownPaths$8(resourceType, properties) {
|
|
|
31169
31169
|
if (resourceType === "AWS::ApiGatewayV2::Integration" && properties !== void 0 && Object.keys(properties).length > 0 && properties["ConnectionType"] !== "VPC_LINK") return ["TlsConfig"];
|
|
31170
31170
|
return [];
|
|
31171
31171
|
}
|
|
31172
|
-
async function canonicalizeDriftPair$
|
|
31172
|
+
async function canonicalizeDriftPair$5(resourceType, baseline, aws, properties = {}) {
|
|
31173
31173
|
if (resourceType !== "AWS::ApiGatewayV2::Api" && resourceType !== "AWS::ApiGatewayV2::Stage") return {
|
|
31174
31174
|
baseline,
|
|
31175
31175
|
aws
|
|
@@ -32614,7 +32614,7 @@ var ApiGatewayV2Provider = class {
|
|
|
32614
32614
|
return getDriftUnknownPaths$8.call(this, resourceType, properties);
|
|
32615
32615
|
}
|
|
32616
32616
|
canonicalizeDriftPair(resourceType, baseline, aws, properties = {}) {
|
|
32617
|
-
return canonicalizeDriftPair$
|
|
32617
|
+
return canonicalizeDriftPair$5.call(this, resourceType, baseline, aws, properties);
|
|
32618
32618
|
}
|
|
32619
32619
|
readCurrentState(physicalId, _logicalId, resourceType, properties) {
|
|
32620
32620
|
return readCurrentState$27.call(this, physicalId, _logicalId, resourceType, properties);
|
|
@@ -38653,7 +38653,7 @@ function getDriftUnorderedPaths$4(resourceType) {
|
|
|
38653
38653
|
if (resourceType !== "AWS::ElasticLoadBalancingV2::TargetGroup") return [];
|
|
38654
38654
|
return ["Targets"];
|
|
38655
38655
|
}
|
|
38656
|
-
async function canonicalizeDriftPair$
|
|
38656
|
+
async function canonicalizeDriftPair$4(resourceType, baseline, aws, properties) {
|
|
38657
38657
|
const unchanged = {
|
|
38658
38658
|
baseline,
|
|
38659
38659
|
aws
|
|
@@ -39057,7 +39057,7 @@ var ELBv2Provider = class {
|
|
|
39057
39057
|
return getDriftUnorderedPaths$4.call(this, resourceType);
|
|
39058
39058
|
}
|
|
39059
39059
|
canonicalizeDriftPair(resourceType, baseline, aws, properties) {
|
|
39060
|
-
return canonicalizeDriftPair$
|
|
39060
|
+
return canonicalizeDriftPair$4.call(this, resourceType, baseline, aws, properties);
|
|
39061
39061
|
}
|
|
39062
39062
|
readListener(physicalId) {
|
|
39063
39063
|
return readListener.call(this, physicalId);
|
|
@@ -45121,6 +45121,11 @@ function readEnabledMfas(properties) {
|
|
|
45121
45121
|
function hasMfaConfigProps(properties) {
|
|
45122
45122
|
return readEnabledMfas(properties).declaresFactor || !!properties["EmailAuthenticationMessage"] || !!properties["EmailAuthenticationSubject"] || !!properties["WebAuthnRelyingPartyID"] || !!properties["WebAuthnUserVerification"] || !!properties["WebAuthnFactorConfiguration"];
|
|
45123
45123
|
}
|
|
45124
|
+
function clearsRemovedMfaConfig(properties, previousProperties, declaredMfaConfiguration) {
|
|
45125
|
+
const resolvesOff = declaredMfaConfiguration === "OFF" || classifyDeclaredMfaConfiguration(properties["MfaConfiguration"]) === "absent";
|
|
45126
|
+
const previousDeclaresFactor = readEnabledMfas(previousProperties).declaresFactor || !!previousProperties["EmailAuthenticationMessage"] || !!previousProperties["EmailAuthenticationSubject"];
|
|
45127
|
+
return resolvesOff && !hasMfaConfigProps(properties) && previousDeclaresFactor;
|
|
45128
|
+
}
|
|
45124
45129
|
function buildMfaConfigRequest(physicalId, properties, logger, declaredMfaConfiguration = "", maskSecrets = (text) => text) {
|
|
45125
45130
|
const { factors: enabledMfas, declaresFactor, malformed: enabledMfasMalformed, blank: enabledMfasBlank } = readEnabledMfas(properties);
|
|
45126
45131
|
const warn = (message) => logger?.warn(maskSecrets(message));
|
|
@@ -45330,11 +45335,33 @@ async function retryOnTransientControlPlane$1(fn, label, maxAttempts = 3) {
|
|
|
45330
45335
|
}
|
|
45331
45336
|
}
|
|
45332
45337
|
async function turnOffRemovedMfa(logicalId, physicalId, previousMfaConfiguration) {
|
|
45338
|
+
await this.resetMfaConfigOff(logicalId, physicalId, "bare");
|
|
45339
|
+
this.logger.warn(safeMsg`Cognito User Pool ${logicalId} (${physicalId}): the template no longer declares ` + safeMsg`MfaConfiguration or an MFA factor, so cdkd turned MFA OFF (it was ` + safeMsg`${previousMfaConfiguration}), as CloudFormation does on the same edit. Declare ` + safeMsg`MfaConfiguration and EnabledMfas to keep MFA on.`);
|
|
45340
|
+
}
|
|
45341
|
+
async function resetMfaConfigOff(logicalId, physicalId, onReadFailure) {
|
|
45342
|
+
let webAuthn;
|
|
45343
|
+
try {
|
|
45344
|
+
webAuthn = (await this.retryOnTransientControlPlane(() => this.getClient().send(new GetUserPoolMfaConfigCommand({ UserPoolId: physicalId })), `GetUserPoolMfaConfig(${physicalId}) before the MFA reset`)).WebAuthnConfiguration;
|
|
45345
|
+
} catch (error) {
|
|
45346
|
+
this.logger.debug(safeMsg`GetUserPoolMfaConfig failed for UserPool ${physicalId} before the MFA reset ` + safeMsg`(${error instanceof Error ? error.name : typeof error}): ` + safeMsg`${describeAwsFailure(error).detail}`);
|
|
45347
|
+
const aws = pasteableAwsCommand();
|
|
45348
|
+
const region = await this.regionArg(aws);
|
|
45349
|
+
if (onReadFailure === "bare") this.logger.warn(safeMsg`Cognito User Pool ${logicalId} (${physicalId}): cdkd could not read the pool's ` + safeMsg`MFA configuration, so turning MFA OFF could not carry a WebAuthn (passkey) ` + safeMsg`configuration the pool may hold; check it with ${aws`aws cognito-idp get-user-pool-mfa-config --user-pool-id ${physicalId}${region}`.render()}.`);
|
|
45350
|
+
else {
|
|
45351
|
+
this.logger.warn(safeMsg`Cognito User Pool ${logicalId} (${physicalId}): cdkd could not read the pool's ` + safeMsg`MFA configuration, so it did not reset the removed MFA factors (the reset would ` + safeMsg`also drop a WebAuthn configuration it could not see). A removed factor such as ` + safeMsg`the software token may still be enabled; check it with ${aws`aws cognito-idp get-user-pool-mfa-config --user-pool-id ${physicalId}${region}`.render()}.`);
|
|
45352
|
+
return;
|
|
45353
|
+
}
|
|
45354
|
+
}
|
|
45355
|
+
const carriedFields = webAuthn === void 0 ? {} : {
|
|
45356
|
+
...webAuthn.RelyingPartyId !== void 0 && { RelyingPartyId: webAuthn.RelyingPartyId },
|
|
45357
|
+
...webAuthn.UserVerification !== void 0 && { UserVerification: webAuthn.UserVerification },
|
|
45358
|
+
...webAuthn.FactorConfiguration !== void 0 && { FactorConfiguration: webAuthn.FactorConfiguration }
|
|
45359
|
+
};
|
|
45333
45360
|
await this.retryOnTransientControlPlane(() => this.getClient().send(new SetUserPoolMfaConfigCommand({
|
|
45334
45361
|
UserPoolId: physicalId,
|
|
45335
|
-
MfaConfiguration: "OFF"
|
|
45362
|
+
MfaConfiguration: "OFF",
|
|
45363
|
+
...Object.keys(carriedFields).length > 0 && { WebAuthnConfiguration: carriedFields }
|
|
45336
45364
|
})), `SetUserPoolMfaConfig(${physicalId})`);
|
|
45337
|
-
this.logger.warn(safeMsg`Cognito User Pool ${logicalId} (${physicalId}): the template no longer declares ` + safeMsg`MfaConfiguration or an MFA factor, so cdkd turned MFA OFF (it was ` + safeMsg`${previousMfaConfiguration}), as CloudFormation does on the same edit. Declare ` + safeMsg`MfaConfiguration and EnabledMfas to keep MFA on.`);
|
|
45338
45365
|
}
|
|
45339
45366
|
|
|
45340
45367
|
// src/provisioning/providers/cognito/read-state.ts
|
|
@@ -45342,6 +45369,26 @@ function canonicalizeDesiredProperties$1(resourceType, properties) {
|
|
|
45342
45369
|
if (resourceType !== "AWS::Cognito::UserPool") return properties;
|
|
45343
45370
|
return narrowMfaConfiguration(properties);
|
|
45344
45371
|
}
|
|
45372
|
+
function canonicalizeDriftPair$3(resourceType, baseline, aws, properties = {}) {
|
|
45373
|
+
const unchanged = Promise.resolve({
|
|
45374
|
+
baseline,
|
|
45375
|
+
aws
|
|
45376
|
+
});
|
|
45377
|
+
if (resourceType !== "AWS::Cognito::UserPool") return unchanged;
|
|
45378
|
+
const declared = properties["MfaConfiguration"];
|
|
45379
|
+
if (declared !== void 0 && declared !== "OFF") return unchanged;
|
|
45380
|
+
if (hasMfaConfigProps(properties)) return unchanged;
|
|
45381
|
+
if (baseline["MfaConfiguration"] !== "OFF") return unchanged;
|
|
45382
|
+
const recorded = baseline["EnabledMfas"];
|
|
45383
|
+
if (!Array.isArray(recorded) || recorded.length === 0 || recorded.some((factor) => factor !== "SOFTWARE_TOKEN_MFA")) return unchanged;
|
|
45384
|
+
return Promise.resolve({
|
|
45385
|
+
baseline: {
|
|
45386
|
+
...baseline,
|
|
45387
|
+
EnabledMfas: []
|
|
45388
|
+
},
|
|
45389
|
+
aws
|
|
45390
|
+
});
|
|
45391
|
+
}
|
|
45345
45392
|
async function readCurrentState$16(physicalId, _logicalId, resourceType) {
|
|
45346
45393
|
if (resourceType !== "AWS::Cognito::UserPool") return void 0;
|
|
45347
45394
|
let resp;
|
|
@@ -45616,7 +45663,7 @@ function sendsKeptMember(member, value) {
|
|
|
45616
45663
|
function previousMfaOn(previous) {
|
|
45617
45664
|
const declared = previous["MfaConfiguration"];
|
|
45618
45665
|
if (declared === "ON" || declared === "OPTIONAL") return declared;
|
|
45619
|
-
if ((declared === void 0 || declared === null || declared === "") && readEnabledMfas(previous).declaresFactor) return "OPTIONAL";
|
|
45666
|
+
if ((declared === void 0 || declared === null || declared === "") && (readEnabledMfas(previous).declaresFactor || !!previous["EmailAuthenticationMessage"] || !!previous["EmailAuthenticationSubject"])) return "OPTIONAL";
|
|
45620
45667
|
return "";
|
|
45621
45668
|
}
|
|
45622
45669
|
|
|
@@ -45793,13 +45840,23 @@ function warnOnUnremovablePoliciesSubKeys(physicalId, properties, previousProper
|
|
|
45793
45840
|
function sendsMessageMember(value) {
|
|
45794
45841
|
return value !== void 0 && value !== "";
|
|
45795
45842
|
}
|
|
45796
|
-
function warnOnKeptRemovedMembers(logicalId, physicalId, properties, previousProperties) {
|
|
45843
|
+
function warnOnKeptRemovedMembers(logicalId, physicalId, properties, previousProperties, previousIsLiveReadback = false) {
|
|
45797
45844
|
for (const [member, unset] of Object.entries(KEPT_ON_REMOVAL_MEMBERS)) {
|
|
45798
45845
|
if (!declaresMember(previousProperties[member], unset)) continue;
|
|
45799
45846
|
if (sendsKeptMember(member, properties[member])) continue;
|
|
45800
45847
|
this.logger.warn(safeMsg`Cognito User Pool ${logicalId} (${physicalId}): the template no longer declares ` + safeMsg`${member}, and UpdateUserPool keeps a member it omits, so the pool keeps its ` + safeMsg`current ${member}. CloudFormation keeps it on the same edit too, so cdkd sends ` + safeMsg`no reset. To change it, declare ${member} with the value you want.`);
|
|
45801
45848
|
}
|
|
45849
|
+
if (previousIsLiveReadback || hasMfaConfigProps(properties)) return;
|
|
45850
|
+
const keptWebAuthn = WEB_AUTHN_PROPERTIES.filter((key) => !!previousProperties[key]);
|
|
45851
|
+
if (keptWebAuthn.length === 0) return;
|
|
45852
|
+
const kept = keptWebAuthn.join(", ");
|
|
45853
|
+
this.logger.warn(safeMsg`Cognito User Pool ${logicalId} (${physicalId}): the template no longer declares ` + safeMsg`${kept}, and with no MFA property left cdkd sends no WebAuthn change, so the pool ` + safeMsg`keeps its current WebAuthn configuration. To change it, declare the WebAuthn ` + safeMsg`properties with the values you want.`);
|
|
45802
45854
|
}
|
|
45855
|
+
const WEB_AUTHN_PROPERTIES = [
|
|
45856
|
+
"WebAuthnRelyingPartyID",
|
|
45857
|
+
"WebAuthnUserVerification",
|
|
45858
|
+
"WebAuthnFactorConfiguration"
|
|
45859
|
+
];
|
|
45803
45860
|
function dcrConfigurationUpdate(properties, previousProperties) {
|
|
45804
45861
|
if (properties["DcrConfiguration"]) return properties["DcrConfiguration"];
|
|
45805
45862
|
if (previousProperties["DcrConfiguration"]) return { EnableStatus: "Disabled" };
|
|
@@ -45834,8 +45891,9 @@ async function update$17(logicalId, physicalId, resourceType, properties, previo
|
|
|
45834
45891
|
}
|
|
45835
45892
|
const liveMfa = mfaConfiguration === "" && hasMfaConfigProps(properties) ? await this.readLiveMfaConfiguration(physicalId) : void 0;
|
|
45836
45893
|
this.warnOnUnremovablePoliciesSubKeys(physicalId, properties, previousProperties);
|
|
45837
|
-
this.warnOnKeptRemovedMembers(logicalId, physicalId, properties, previousProperties);
|
|
45894
|
+
this.warnOnKeptRemovedMembers(logicalId, physicalId, properties, previousProperties, context?.desiredFromAwsReadback === true);
|
|
45838
45895
|
const removedMfa = classifyDeclaredMfaConfiguration(properties["MfaConfiguration"]) === "absent" && !hasMfaConfigProps(properties) ? previousMfaOn(previousProperties) : "";
|
|
45896
|
+
const clearRemovedMfa = clearsRemovedMfaConfig(properties, previousProperties, mfaConfiguration);
|
|
45839
45897
|
const mfaFirstPrior = mfaMayNeedToPrecedeUpdateUserPool(properties, mfaConfiguration) ? await this.readMfaFirstPrior(physicalId) : void 0;
|
|
45840
45898
|
try {
|
|
45841
45899
|
const updateParams = { UserPoolId: physicalId };
|
|
@@ -45886,6 +45944,7 @@ async function update$17(logicalId, physicalId, resourceType, properties, previo
|
|
|
45886
45944
|
const userPool = (await this.getClient().send(new DescribeUserPoolCommand({ UserPoolId: physicalId }))).UserPool;
|
|
45887
45945
|
await this.untagRemovedUserPoolTags(logicalId, physicalId, resourceType, userPool?.Arn, properties["UserPoolTags"], previousProperties["UserPoolTags"]);
|
|
45888
45946
|
if (removedMfa !== "") await this.turnOffRemovedMfa(logicalId, physicalId, removedMfa);
|
|
45947
|
+
else if (clearRemovedMfa) await this.resetMfaConfigOff(logicalId, physicalId, "skip");
|
|
45889
45948
|
this.logger.debug(`Successfully updated Cognito User Pool ${logicalId}`);
|
|
45890
45949
|
const region = await this.getClient().config.region();
|
|
45891
45950
|
const { urlSuffix } = derivePartitionAndUrlSuffix(region);
|
|
@@ -46296,6 +46355,9 @@ var CognitoUserPoolProvider = class {
|
|
|
46296
46355
|
canonicalizeDesiredProperties(resourceType, properties) {
|
|
46297
46356
|
return canonicalizeDesiredProperties$1.call(this, resourceType, properties);
|
|
46298
46357
|
}
|
|
46358
|
+
canonicalizeDriftPair(resourceType, baseline, aws, properties) {
|
|
46359
|
+
return canonicalizeDriftPair$3.call(this, resourceType, baseline, aws, properties);
|
|
46360
|
+
}
|
|
46299
46361
|
getClient() {
|
|
46300
46362
|
if (!this.cognitoClient) this.cognitoClient = new CognitoIdentityProviderClient({
|
|
46301
46363
|
...ambientClientDefaults(),
|
|
@@ -46346,12 +46408,15 @@ var CognitoUserPoolProvider = class {
|
|
|
46346
46408
|
warnOnUnremovablePoliciesSubKeys(physicalId, properties, previousProperties) {
|
|
46347
46409
|
return warnOnUnremovablePoliciesSubKeys.call(this, physicalId, properties, previousProperties);
|
|
46348
46410
|
}
|
|
46349
|
-
warnOnKeptRemovedMembers(logicalId, physicalId, properties, previousProperties) {
|
|
46350
|
-
return warnOnKeptRemovedMembers.call(this, logicalId, physicalId, properties, previousProperties);
|
|
46411
|
+
warnOnKeptRemovedMembers(logicalId, physicalId, properties, previousProperties, previousIsLiveReadback = false) {
|
|
46412
|
+
return warnOnKeptRemovedMembers.call(this, logicalId, physicalId, properties, previousProperties, previousIsLiveReadback);
|
|
46351
46413
|
}
|
|
46352
46414
|
turnOffRemovedMfa(logicalId, physicalId, previousMfaConfiguration) {
|
|
46353
46415
|
return turnOffRemovedMfa.call(this, logicalId, physicalId, previousMfaConfiguration);
|
|
46354
46416
|
}
|
|
46417
|
+
resetMfaConfigOff(logicalId, physicalId, onReadFailure) {
|
|
46418
|
+
return resetMfaConfigOff.call(this, logicalId, physicalId, onReadFailure);
|
|
46419
|
+
}
|
|
46355
46420
|
update(logicalId, physicalId, resourceType, properties, previousProperties, context) {
|
|
46356
46421
|
return update$17.call(this, logicalId, physicalId, resourceType, properties, previousProperties, context);
|
|
46357
46422
|
}
|
|
@@ -49681,6 +49746,33 @@ async function readGraphQLSchema(physicalId, properties) {
|
|
|
49681
49746
|
Definition: definitionToReturn
|
|
49682
49747
|
};
|
|
49683
49748
|
}
|
|
49749
|
+
async function canonicalizeDriftPair$2(resourceType, baseline, aws, properties) {
|
|
49750
|
+
const unchanged = {
|
|
49751
|
+
baseline,
|
|
49752
|
+
aws
|
|
49753
|
+
};
|
|
49754
|
+
if (resourceType !== "AWS::AppSync::GraphQLSchema" || properties === void 0) return unchanged;
|
|
49755
|
+
const location = properties["DefinitionS3Location"];
|
|
49756
|
+
const recorded = baseline["Definition"];
|
|
49757
|
+
const live = aws["Definition"];
|
|
49758
|
+
if (properties["Definition"] !== void 0 || typeof location !== "string" || location === "" || typeof recorded !== "string" || typeof live !== "string" || live === "" || recorded === live) return unchanged;
|
|
49759
|
+
let body;
|
|
49760
|
+
try {
|
|
49761
|
+
body = await this.fetchS3LocationBody(location, resourceType, "(drift baseline heal)", "DefinitionS3Location");
|
|
49762
|
+
} catch (err) {
|
|
49763
|
+
const cause = err instanceof Error && err.cause instanceof Error ? err.cause : err;
|
|
49764
|
+
this.logger.debug(safeMsg`Could not read the declared GraphQL schema object (${cause instanceof Error ? cause.name : "unknown error"}); comparing Definition against the recorded baseline`);
|
|
49765
|
+
return unchanged;
|
|
49766
|
+
}
|
|
49767
|
+
const [declared, current] = await Promise.all([this.canonicalizeSdl(body, "state"), this.canonicalizeSdl(live, "aws")]);
|
|
49768
|
+
return declared === current ? {
|
|
49769
|
+
baseline: {
|
|
49770
|
+
...baseline,
|
|
49771
|
+
Definition: live
|
|
49772
|
+
},
|
|
49773
|
+
aws
|
|
49774
|
+
} : unchanged;
|
|
49775
|
+
}
|
|
49684
49776
|
async function readGraphQLApi(physicalId) {
|
|
49685
49777
|
let api;
|
|
49686
49778
|
try {
|
|
@@ -50264,6 +50356,9 @@ var AppSyncProvider = class {
|
|
|
50264
50356
|
canonicalizeSdl(sdl, source) {
|
|
50265
50357
|
return canonicalizeSdl.call(this, sdl, source);
|
|
50266
50358
|
}
|
|
50359
|
+
canonicalizeDriftPair(resourceType, baseline, aws, properties) {
|
|
50360
|
+
return canonicalizeDriftPair$2.call(this, resourceType, baseline, aws, properties);
|
|
50361
|
+
}
|
|
50267
50362
|
waitForSchemaCreation(apiId, logicalId, resourceType, phase, mask, startStatus) {
|
|
50268
50363
|
return waitForSchemaCreation.call(this, apiId, logicalId, resourceType, phase, mask, startStatus);
|
|
50269
50364
|
}
|
|
@@ -67245,4 +67340,4 @@ var ACMCertificateProvider = class {
|
|
|
67245
67340
|
};
|
|
67246
67341
|
|
|
67247
67342
|
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 };
|
|
67248
|
-
//# sourceMappingURL=provider-classes-
|
|
67343
|
+
//# sourceMappingURL=provider-classes-BNZGFwNO.js.map
|