@cdkd/cli 0.367.1 → 0.368.1
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-XQF39qQj.js → ambient-client-defaults-DDfUN9ef.js} +3 -3
- package/dist/{ambient-client-defaults-XQF39qQj.js.map → ambient-client-defaults-DDfUN9ef.js.map} +1 -1
- package/dist/{asg-provider-y1fMA5wH.js → asg-provider-CUMYVyvT.js} +6 -6
- package/dist/{asg-provider-y1fMA5wH.js.map → asg-provider-CUMYVyvT.js.map} +1 -1
- package/dist/cli.js +5 -4
- package/dist/cli.js.map +1 -1
- package/dist/{custom-resource-runtime-C-mY6sq6.js → custom-resource-runtime-CWPySt31.js} +6 -6
- package/dist/{custom-resource-runtime-C-mY6sq6.js.map → custom-resource-runtime-CWPySt31.js.map} +1 -1
- package/dist/{db-associated-roles-2nu3r_PQ.js → db-associated-roles-B5Th-kl3.js} +2 -2
- package/dist/{db-associated-roles-2nu3r_PQ.js.map → db-associated-roles-B5Th-kl3.js.map} +1 -1
- package/dist/{delete-started-BdXPDSx0.js → delete-started-DqOOdnUC.js} +9 -6
- package/dist/delete-started-DqOOdnUC.js.map +1 -0
- package/dist/{deploy-engine-DksIRiiT.js → deploy-engine-yAKbnp7z.js} +454 -59
- package/dist/deploy-engine-yAKbnp7z.js.map +1 -0
- package/dist/{ec2-termination-protection-DOVV8kr6.js → ec2-termination-protection-CZCRRUVl.js} +11 -6
- package/dist/ec2-termination-protection-CZCRRUVl.js.map +1 -0
- package/dist/{ecr-uri-TWqh2xnl.js → ecr-uri-zOozEmKR.js} +2 -2
- package/dist/{ecr-uri-TWqh2xnl.js.map → ecr-uri-zOozEmKR.js.map} +1 -1
- package/dist/{expected-bucket-owner-D5QfvmhW.js → expected-bucket-owner-JbnM6n0a.js} +2 -2
- package/dist/{expected-bucket-owner-D5QfvmhW.js.map → expected-bucket-owner-JbnM6n0a.js.map} +1 -1
- package/dist/{iam-role-provider-CD5kIcoP.js → iam-role-provider-p_hUgEho.js} +9 -9
- package/dist/{iam-role-provider-CD5kIcoP.js.map → iam-role-provider-p_hUgEho.js.map} +1 -1
- package/dist/{image-plan-DCV_kAg_.js → image-plan-DY6zCoEm.js} +14 -11
- package/dist/image-plan-DY6zCoEm.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-KcU9IK83.js → logger-jgRUiSfe.js} +2 -2
- package/dist/{logger-KcU9IK83.js.map → logger-jgRUiSfe.js.map} +1 -1
- package/dist/{neptune-provider-Cxp67na9.js → neptune-provider-D9GH3vDR.js} +7 -7
- package/dist/{neptune-provider-Cxp67na9.js.map → neptune-provider-D9GH3vDR.js.map} +1 -1
- package/dist/{program-D4wssD37.js → program-DBiYxFDA.js} +258 -44
- package/dist/program-DBiYxFDA.js.map +1 -0
- package/dist/{provider-classes-B7kV4F_k.js → provider-classes-CXmZ11Vu.js} +607 -141
- package/dist/provider-classes-CXmZ11Vu.js.map +1 -0
- package/dist/{rds-provider-BQ7VeAPO.js → rds-provider-yq20dDM3.js} +10 -10
- package/dist/{rds-provider-BQ7VeAPO.js.map → rds-provider-yq20dDM3.js.map} +1 -1
- package/dist/{read-replica-O1JLfZeG.js → read-replica-BsDsLq5R.js} +3 -3
- package/dist/{read-replica-O1JLfZeG.js.map → read-replica-BsDsLq5R.js.map} +1 -1
- package/dist/{replacement-rules-oI6WUksx.js → replacement-rules-CEpQXkfN.js} +65 -4
- package/dist/replacement-rules-CEpQXkfN.js.map +1 -0
- package/dist/{resource-deadline-B7OMwesr.js → resource-deadline-BMqm6ibe.js} +5 -5
- package/dist/{resource-deadline-B7OMwesr.js.map → resource-deadline-BMqm6ibe.js.map} +1 -1
- package/dist/{restore-source-guard-B86BS38p.js → restore-source-guard-FtubmKcr.js} +4 -4
- package/dist/{restore-source-guard-B86BS38p.js.map → restore-source-guard-FtubmKcr.js.map} +1 -1
- package/dist/{run-cli-4VaXla8O.js → run-cli-Ca6VtEgK.js} +2 -2
- package/dist/{run-cli-4VaXla8O.js.map → run-cli-Ca6VtEgK.js.map} +1 -1
- package/dist/{settle-own-write-members-DMLYghh3.js → settle-own-write-members-j5nZLuDh.js} +12 -12
- package/dist/{settle-own-write-members-DMLYghh3.js.map → settle-own-write-members-j5nZLuDh.js.map} +1 -1
- package/dist/{version-ge-gIa5n.js → version-DOsbn-VR.js} +2 -2
- package/dist/{version-ge-gIa5n.js.map → version-DOsbn-VR.js.map} +1 -1
- package/package.json +3 -2
- package/dist/delete-started-BdXPDSx0.js.map +0 -1
- package/dist/deploy-engine-DksIRiiT.js.map +0 -1
- package/dist/ec2-termination-protection-DOVV8kr6.js.map +0 -1
- package/dist/image-plan-DCV_kAg_.js.map +0 -1
- package/dist/program-D4wssD37.js.map +0 -1
- package/dist/provider-classes-B7kV4F_k.js.map +0 -1
- package/dist/replacement-rules-oI6WUksx.js.map +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { _ as verifyOwnIdentityBeforeUpdate, a as stackOwnHolders, b as IamCreateClientCache, 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 iamEntityLeftByThisCreate, y as isEntityAlreadyExists } 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 IamCreateClientCache, 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 iamEntityLeftByThisCreate, y as isEntityAlreadyExists } from "./iam-role-provider-p_hUgEho.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-jgRUiSfe.js";
|
|
3
3
|
import { d as withApiGatewayPacing, l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-DOkPjjAW.js";
|
|
4
|
-
import { D as markReplayMayCollide, E as markNameCollision, F as isAmbiguousOutcomeError, G as markRedactedCause, I as isExplicitDenyError, K as wrapMaskedAwsError, M as explicitDenyPolicyKind, O as relayedNameCollision, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, W as markNonRetryable, _ as ResourceUpdateNotSupportedError, at as ProvisioningError, et as CdkdError, i as credentialFingerprint, n as ambientCredentialConfig, r as clientDefaultsFor, t as ambientClientDefaults, x as hasReplayMayCollide, z as isTransientServerError } from "./ambient-client-defaults-
|
|
5
|
-
import { $ as
|
|
6
|
-
import { A as displayStackName, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, c as deployReplaceCommand, d as pasteableCommand, j as isPasteableIdent, k as displaySafe, l as hasClauseBreak, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, u as isInertUnquoted, v as withheldTargetClause } from "./version-
|
|
7
|
-
import { Ct as RecordedIdentityMismatchError, Mt as identityTimestamp, Ot as recordedIdentityId, Rt as isoTimestampAttribute, St as RecordedIdentityError, _t as isPermissionDenial, bt as lookupEachName, gt as deniedIdentityReadRefusal, kt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted, vt as chunks, wt as assertRecordedIdentity, xt as withApiLimit, yt as isAccessDeniedError } from "./delete-started-
|
|
8
|
-
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$6, 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-
|
|
9
|
-
import { $ as desiredIndexEntriesByName, $
|
|
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 { G as timePhase, M as withRetry, _ as onlySecretReferencesDiffer, 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, v as unchangedBehindSecretReference } from "./ec2-termination-protection-
|
|
12
|
-
import { a as principalOwnWriteMembers, c as stringListMember, n as declaredStringList, o as settleOwnWriteMembers } from "./settle-own-write-members-
|
|
4
|
+
import { D as markReplayMayCollide, E as markNameCollision, F as isAmbiguousOutcomeError, G as markRedactedCause, I as isExplicitDenyError, K as wrapMaskedAwsError, M as explicitDenyPolicyKind, O as relayedNameCollision, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, W as markNonRetryable, _ as ResourceUpdateNotSupportedError, at as ProvisioningError, et as CdkdError, i as credentialFingerprint, n as ambientCredentialConfig, r as clientDefaultsFor, t as ambientClientDefaults, x as hasReplayMayCollide, z as isTransientServerError } from "./ambient-client-defaults-DDfUN9ef.js";
|
|
5
|
+
import { $ as PROTECTION_FLIP_RETRY_WAIT_MS, A as assertRegionMatch, At as readPrincipalLists, B as readNameProperty, C as isInsideWindow, Cn as injectiveKeyPrefix, Ct as startInterruptWatch, D as withoutServerErrorRetries, Dt as diffPrincipalNames, E as setBounded, Et as SECRET_DERIVED_READ_LIVE, F as isPlainImportJson, Ft as compositeIdFormatMessage, G as markNotGone, Gt as isSecretDerivedValue, H as remedyLogicalId, Ht as stateOrphanRecordRemedy, I as isPlainImportValue, It as compositeIdSeparatorRefusal, J as logGroupProtectionSite, Jt as withDerivedNameMasks, Kt as maskDeep, L as isQuotableImportValue, Lt as compositeIdSkipResult, M as holderRefusalRun, Mt as recordedPrincipalsRepair, N as VALUE_NOT_SHOWN, O as DriftReadRefusedError, Ot as holdsSecretDerivedEntry, P as importRemedyCommand, Pt as canonicalizeRoute53QueryName, Q as userPoolProtectionSite, R as normalizeAwsTagsToCfn, Rt as logicalIdShown, S as createAttemptKey, Sn as injectiveKey, St as isInterruptedWaitError, T as replayedSendWindow, U as resolveExplicitPhysicalId, Ut as createMaskedLogSinks, V as refusalTypeShown, Vt as segmentAfterAnchor, Wt as createMaskedRetryLogger, X as rdsFamilyProtectionSite, Y as observeThenDisableProtection, Zt as clearCreatedBeforeFailure, _ as AMBIGUOUS_LATCH_TTL_MS, _t as protectedReplacementAdvice, a as clearOnUpdateRemoval, an as markSupersedesEarlierCreate, at as ProtectionFlipRegistry, b as RecentIdSet, c as removedTemplateKeys, et as deleteAfterProtectionFlipWithFinalSnapshot, g as retractCreatedResource, gt as pasteableAwsCommand, ht as isAwsCliLiteral, in as markCreatedBeforeFailure, j as holderRefusalMask, k as RESOURCE_NOT_FOUND, kt as onlySecretDerived, l as withRemovalDefaults, lt as ElapsedBudget, m as reportCreatedResource, mt as WITHHELD_AWS_COMMAND, n as enclosingDeadlineRemainingMs, nt as isProceedDbStatus, ot as isTerminalDeleteFailure, pt as UNNAMEABLE_ID_CLAUSE, q as deleteWithProtectionCompensation, qt as maskerOrIdentity, rn as markAuxiliaryFailure, rt as isTerminalDbWaitStatus, st as protectionFlipKey, t as enclosingDeadlineExpired, tn as isAuxiliaryFailure, ut as ElapsedBudgetRegistry, v as AmbiguousCreateLatch, vt as renderDisableCommand, w as replayFollowedAmbiguousAttempt, x as ambiguousAttemptLead, xn as withPasteableAwsProfile, y as CREATION_DATE_SKEW_MARGIN_MS, z as quotedRemedyLogicalId, zt as packCompositeId } from "./resource-deadline-BMqm6ibe.js";
|
|
6
|
+
import { A as displayStackName, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, c as deployReplaceCommand, d as pasteableCommand, j as isPasteableIdent, k as displaySafe, l as hasClauseBreak, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, u as isInertUnquoted, v as withheldTargetClause } from "./version-DOsbn-VR.js";
|
|
7
|
+
import { Ct as RecordedIdentityMismatchError, Mt as identityTimestamp, Ot as recordedIdentityId, Rt as isoTimestampAttribute, St as RecordedIdentityError, _t as isPermissionDenial, bt as lookupEachName, gt as deniedIdentityReadRefusal, kt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted, vt as chunks, wt as assertRecordedIdentity, xt as withApiLimit, yt as isAccessDeniedError } from "./delete-started-DqOOdnUC.js";
|
|
8
|
+
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$6, 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-DBiYxFDA.js";
|
|
9
|
+
import { $ as desiredIndexEntriesByName, $i as getCurrentProducerRegions, $n as getCurrentNestedStackContext, $o as evaluateSignals, $r as canonicalizeIpv6Cidr, $t as reverseMapTableContributorInsights, Ao as KMS_DEFAULT_KEY_POLICY_ID, At as isDynamoDBTableArnIn, B as declaredStreamPolicyMember, Bc as LEGACY_HANDLE_ID_PREFIX, Bi as redactedDeleteAddressFields, Bo as reReadUntilSettled, Bt as planVectorIndexUpdates, Co as withoutSiblingOwned, Ct as sseSpecificationRefusal, Cu as withheldAccountClause, Dc as getAccountInfo, Dt as TAGS_BASELINE_REREAD_DELAYS_MS, Eo as getStackRecords, Es as withIndeterminateGuard, Et as tableNameReleaseWait, Fo as declaredPolicyDocument, Fs as isSettledInstanceState, Ft as isTtlAlreadyDisabled, G as streamDeclaresPolicy, Go as policyContentKey, Gr as siblingOwnedSgRuleIdentities, Gt as CONTRIBUTOR_INSIGHTS_KEY, H as planStreamMemberOps, Ho as warnUnsettledMember, Ht as vectorIndexesForCreate, Hu as normalizeRecordName, Io as efsPolicyMatchesDeclared, Is as connectInstanceIdOf, It as isTtlRateLimited, J as streamPolicyMatchesDeclared, Jr as SG_RULE_ID_PATTERN, Jt as indexDeclaresContributorInsights, K as streamDeclaresTags, Kn as getNestedRevertRun, Kt as completeTableContributorInsightsBaseline, L as DynamoDBGlobalTableProvider, Ln as licensedNameHolder, Lo as lambdaPermissionMatchesDeclared, Lt as planTimeToLive, Ma as replacedDeleteFailureVerdict, Mn as childRowTags, Mo as OWN_WRITE_REREAD_DELAYS_MS, Mt as settleWrittenTags, Nd as rewriteTemplateAssetReferences, Nn as childStackTags, No as SNS_DEFAULT_POLICY_ID, Ot as clearTagWrites, Po as declaredMemberDocument, Pt as takeTagWrite, Pu as withoutSdkUnwiredProperties, Q as deletionProtectionRefusal, Qc as APPSYNC_APIKEY_ARN_RESOURCE_PATH, Qo as classifyHandleUrl, Qr as sgProtocolKey, Qt as reverseMapIndexContributorInsights, R as STREAM_POLICY_KEY, Ri as REDACTED_DELETE_ADDRESS_SKIP_REASON, Ro as memberReadFailure, Rt as readTtlSpec, Si as reserveStackCreateToken, So as withoutSiblingAttachedArns, St as readCapacityNumber, Su as accountArgs, Ts as deleteSkipReason, Tt as tableDeleteGoneWait, Uo as verbatimEchoDriftKeys, Ut as vectorIndexesSettled, Uu as planSubscriptionAttributes, V as declaredStreamTagsMember, Vc as isLegacyHandleId, Vi as redactedDeleteAddressSkip, Vo as settleDeclaredMember, Vt as readbackVectorIndexes, W as reverseMapStreamPolicy, Wo as attemptedPolicyDocument, Wt as vectorIndexesShapeDetail, Wu as wireAttributeValue, X as canonicalizeStaleIndexDescription, Xc as toCfnInteger, Xr as recordedSgRuleId, Xt as planIndexContributorInsightsOps, Y as streamTagsMatchDeclared, Yc as isWarmThroughputDecrease, Yn as revertNestedChildFromJournal, Yr as cfnIngressPortValue, Yt as planContributorInsightsOp, Z as declaresIndexList, Zc as toFiniteNumber, Zo as WaitConditionSignalStore, Zt as readContributorInsightsSpec, _n as hasCdkAutoDeleteTag, _t as isPlainCapacityBlock, _u as refuseMalformedResourcesForDestroy, ac as s3BucketRegionalDomainName, an as deleteBudgetKey, at as coerceWarmThroughput, bc as outputReferenceProvenanceOf, bi as earliestDefined, bo as collectPrincipalsAttachingPolicy, bs as waitForGoneAfterDelete, bt as maskLeafValue, cf as displayAssemblyPath, cn as DELETE_INDEX_WAIT_PROCEED_NOTE, cs as getCurrentResourceSecrets, ct as isRefusedWarmThroughput, dd as findNestedTemplateTreeDefect, df as resolveAssemblyPath, dn as deleteTableWithIndexBusyRetry, dt as trimUnsentWarmMembers, ei as canonicalizeIpv4Cidr, el as maskedSecretSegment, en as stripIndexContributorInsights, er as withNestedStackContext, et as gsiUnsendableChangeRefusal, fd as isAbsoluteAssetPath, fi as calculateResourceDrift, fl as passedParameterClassesOf, fn as maskedLogger, ft as warmThroughputAlreadyMatches, gc as parseWebACLArn, gn as S3_AUTO_DELETE_OBJECTS_TAG, gt as hasUsableDeclaredCapacity, hn as ECR_AUTO_DELETE_IMAGES_TAG, ht as deleteTableRetryDelays, ic as s3BucketDualStackDomainName, in as compensateRemovedDeletionProtection, it as sameJsonValue, jt as recordTagWrite, ju as findSdkUnwiredProperties, ks as markWaitAbandoned, ld as stringifyValue, ln as INDEX_SETTLE_POLL_INTERVAL_MS, lt as readbackWarmThroughput, md as renderNestedTemplateTreeDefect, mn as waitForIndexesSettled, mt as KINESIS_DISABLE_PENDING_STATUSES, nc as s3BucketArn, nn as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, no as secretNamedAttributeNamesOf, nt as projectIndexesOnto, oc as s3BucketWebsiteUrl, on as resolveDynamoDbDeleteBudgetClock, ot as declaresWarmThroughput, pd as listNestedTemplateRows, pn as relayedIndexBusyDelete, pt as KINESIS_DESTINATION_SETTLE_POLL_MS, q as streamMemberRefusals, qr as withoutSiblingOwnedSgRules, qt as contributorInsightsRefusals, rc as s3BucketDomainName, rn as beginDeleteWait, rt as reverseMapSecondaryIndex, sf as describeFileReadFailure, sn as resolveDynamoDbDeleteBudgetMs, st as desiredBagIsInformative, su as refuseMalformedNestedChildOutputs, t as DeployEngine, tn as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, tt as localSecondaryIndexesKey, uf as renderAssemblyPathEscape, un as TABLE_INDEX_NOUN, ut as sentWarmThroughputMembers, vn as isTruthyCfnBoolean, vo as collectGroupsAddedBySiblings, vs as waitForLambdaFunctionActive, vt as isTableName, wi as acquireIdempotencyToken, wo as awaitInFlightSibling, wt as sseSpecificationToSend, xd as decodeListingKey, xo as isStoredExpression, xt as pointInTimeRecoveryRefusal, yo as collectManagedPolicyArnsAttachedBySiblings, yt as mapSSESpecification, z as STREAM_TAGS_KEY, zi as isRedactedRecordedValue, zo as policyDocumentMatchesDeclared, zt as sendTtlWaitingOutRateLimit } from "./deploy-engine-yAKbnp7z.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-FtubmKcr.js";
|
|
11
|
+
import { G as timePhase, M as withRetry, _ as onlySecretReferencesDiffer, 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, v as unchangedBehindSecretReference } from "./ec2-termination-protection-CZCRRUVl.js";
|
|
12
|
+
import { a as principalOwnWriteMembers, c as stringListMember, n as declaredStringList, o as settleOwnWriteMembers } from "./settle-own-write-members-j5nZLuDh.js";
|
|
13
13
|
import { n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
|
|
14
14
|
import { f as ambientRegion, r as awsEndpointOverrideActive } from "./aws-client-defaults-DAebi99J.js";
|
|
15
|
-
import { $ as snapshotPassProvenance, C as passedNoEchoParametersOf,
|
|
16
|
-
import { RDSProvider } from "./rds-provider-
|
|
17
|
-
import { NeptuneProvider } from "./neptune-provider-
|
|
18
|
-
import { ASGProvider } from "./asg-provider-
|
|
15
|
+
import { $ as snapshotPassProvenance, C as passedNoEchoParametersOf, Ft as dynamicReferenceTokens, I as markSameGenerationBag, W as redactForState, Z as recordReferenceProvenanceEntry, _n as carriesSecretMask, a as emrClusterInstancesReplaced, c as parseLambdaFunctionAddress, cn as recoverMaskedOutput, i as ecsServiceLaunchTypeSetOrChanged, it as hasMaskableValues, jt as withoutPhysicalNameCopies, l as sameLambdaFunctionAddress, ln as physicalNameCopiesOf, n as blockDeviceMappingsDifferOnlyInDeleteOnTermination, o as canonicalLambdaFunctionName, s as lambdaFunctionNameForMask, un as recordAttributeIdCopy } from "./replacement-rules-CEpQXkfN.js";
|
|
16
|
+
import { RDSProvider } from "./rds-provider-yq20dDM3.js";
|
|
17
|
+
import { NeptuneProvider } from "./neptune-provider-D9GH3vDR.js";
|
|
18
|
+
import { ASGProvider } from "./asg-provider-CUMYVyvT.js";
|
|
19
19
|
import { createHash, randomUUID } from "node:crypto";
|
|
20
20
|
import { CreateBucketCommand, CreateBucketMetadataConfigurationCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketEncryptionCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetadataConfigurationCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketOwnershipControlsCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAbacCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketMetadataConfigurationCommand, GetBucketNotificationConfigurationCommand, GetBucketOwnershipControlsCommand, GetBucketPolicyCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetBucketVersioningCommand, GetBucketWebsiteCommand, GetObjectCommand, GetObjectLockConfigurationCommand, GetPublicAccessBlockCommand, HeadBucketCommand, ListBucketAnalyticsConfigurationsCommand, ListBucketIntelligentTieringConfigurationsCommand, ListBucketInventoryConfigurationsCommand, ListBucketMetricsConfigurationsCommand, ListBucketsCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, PutBucketAbacCommand, PutBucketAccelerateConfigurationCommand, PutBucketAnalyticsConfigurationCommand, PutBucketCorsCommand, PutBucketEncryptionCommand, PutBucketIntelligentTieringConfigurationCommand, PutBucketInventoryConfigurationCommand, PutBucketLifecycleConfigurationCommand, PutBucketLoggingCommand, PutBucketMetricsConfigurationCommand, PutBucketNotificationConfigurationCommand, PutBucketOwnershipControlsCommand, PutBucketPolicyCommand, PutBucketReplicationCommand, PutBucketTaggingCommand, PutBucketVersioningCommand, PutBucketWebsiteCommand, PutObjectLockConfigurationCommand, PutPublicAccessBlockCommand, S3Client, UpdateBucketMetadataAnnotationTableConfigurationCommand, UpdateBucketMetadataInventoryTableConfigurationCommand, UpdateBucketMetadataJournalTableConfigurationCommand } from "@aws-sdk/client-s3";
|
|
21
21
|
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";
|
|
@@ -49,30 +49,31 @@ import { AddTagsToResourceCommand as AddTagsToResourceCommand$2, CreateDBProxyCo
|
|
|
49
49
|
import { ListTagsForResourceCommand as ListTagsForResourceCommand$11, S3ControlClient, TagResourceCommand as TagResourceCommand$13, UntagResourceCommand as UntagResourceCommand$13 } from "@aws-sdk/client-s3-control";
|
|
50
50
|
import * as zlib from "node:zlib";
|
|
51
51
|
import { DeleteAlarmCommand, GetAlarmsCommand, LightsailClient, PutAlarmCommand } from "@aws-sdk/client-lightsail";
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
52
|
+
import { ConnectClient, CreateInstanceCommand, DeleteInstanceCommand, DescribeInstanceAttributeCommand as DescribeInstanceAttributeCommand$1, DescribeInstanceCommand, InvalidRequestException, ListInstanceAttributesCommand, ListInstancesCommand, ResourceNotFoundException as ResourceNotFoundException$11, TagResourceCommand as TagResourceCommand$14, UntagResourceCommand as UntagResourceCommand$14, UpdateInstanceAttributeCommand } from "@aws-sdk/client-connect";
|
|
53
|
+
import { ApiGatewayV2Client, CreateApiCommand, CreateAuthorizerCommand as CreateAuthorizerCommand$1, CreateIntegrationCommand, CreateRouteCommand as CreateRouteCommand$1, CreateStageCommand as CreateStageCommand$1, DeleteAccessLogSettingsCommand, DeleteApiCommand, DeleteAuthorizerCommand as DeleteAuthorizerCommand$1, DeleteCorsConfigurationCommand, DeleteIntegrationCommand as DeleteIntegrationCommand$1, DeleteRouteCommand as DeleteRouteCommand$1, DeleteRouteRequestParameterCommand, DeleteRouteSettingsCommand, DeleteStageCommand as DeleteStageCommand$1, GetApiCommand, GetApisCommand, GetAuthorizerCommand as GetAuthorizerCommand$1, GetAuthorizersCommand as GetAuthorizersCommand$1, GetIntegrationCommand, GetIntegrationsCommand, GetRouteCommand, GetStageCommand as GetStageCommand$1, NotFoundException as NotFoundException$3, TagResourceCommand as TagResourceCommand$15, UntagResourceCommand as UntagResourceCommand$15, UpdateApiCommand, UpdateAuthorizerCommand as UpdateAuthorizerCommand$1, UpdateIntegrationCommand, UpdateRouteCommand, UpdateStageCommand as UpdateStageCommand$1 } from "@aws-sdk/client-apigatewayv2";
|
|
54
|
+
import { CreateStateMachineCommand, DeleteStateMachineCommand, DescribeStateMachineCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$12, SFNClient, StateMachineDoesNotExist, TagResourceCommand as TagResourceCommand$16, UntagResourceCommand as UntagResourceCommand$16, UpdateStateMachineCommand } from "@aws-sdk/client-sfn";
|
|
55
|
+
import { CreateClusterCommand, CreateServiceCommand, DeleteClusterCommand, DeleteServiceCommand, DeregisterTaskDefinitionCommand, DescribeClustersCommand, DescribeServicesCommand, DescribeTaskDefinitionCommand, ECSClient, ListTaskDefinitionsCommand, PutClusterCapacityProvidersCommand, RegisterTaskDefinitionCommand, TagResourceCommand as TagResourceCommand$17, UntagResourceCommand as UntagResourceCommand$17, UpdateClusterCommand, UpdateServiceCommand, waitUntilServicesStable } from "@aws-sdk/client-ecs";
|
|
55
56
|
import { AddTagsToResourceCommand as AddTagsToResourceCommand$3, CreateDBClusterCommand as CreateDBClusterCommand$1, CreateDBInstanceCommand as CreateDBInstanceCommand$1, CreateDBSubnetGroupCommand as CreateDBSubnetGroupCommand$1, DeleteDBClusterCommand as DeleteDBClusterCommand$1, DeleteDBInstanceCommand as DeleteDBInstanceCommand$1, DeleteDBSubnetGroupCommand as DeleteDBSubnetGroupCommand$1, DescribeDBClusterSnapshotsCommand as DescribeDBClusterSnapshotsCommand$1, DescribeDBClustersCommand as DescribeDBClustersCommand$1, DescribeDBInstancesCommand as DescribeDBInstancesCommand$1, DescribeDBSubnetGroupsCommand as DescribeDBSubnetGroupsCommand$1, DescribeGlobalClustersCommand as DescribeGlobalClustersCommand$1, DocDBClient, ListTagsForResourceCommand as ListTagsForResourceCommand$13, ModifyDBClusterCommand as ModifyDBClusterCommand$1, ModifyDBInstanceCommand as ModifyDBInstanceCommand$1, ModifyDBSubnetGroupCommand as ModifyDBSubnetGroupCommand$1, RemoveFromGlobalClusterCommand as RemoveFromGlobalClusterCommand$1, RemoveTagsFromResourceCommand as RemoveTagsFromResourceCommand$3, RestoreDBClusterFromSnapshotCommand as RestoreDBClusterFromSnapshotCommand$1, RestoreDBClusterToPointInTimeCommand as RestoreDBClusterToPointInTimeCommand$1 } from "@aws-sdk/client-docdb";
|
|
56
|
-
import { AppConfigClient, CreateEnvironmentCommand, DeleteEnvironmentCommand, GetEnvironmentCommand, TagResourceCommand as TagResourceCommand$
|
|
57
|
-
import { CreateWebACLCommand, DeleteWebACLCommand, GetWebACLCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$14, TagResourceCommand as TagResourceCommand$
|
|
58
|
-
import { AddCustomAttributesCommand, CognitoIdentityProviderClient, CreateUserPoolCommand, DeleteUserPoolCommand, DescribeUserPoolCommand, GetUserPoolMfaConfigCommand, ListUserPoolsCommand, ResourceNotFoundException as ResourceNotFoundException$
|
|
59
|
-
import { CreateHttpNamespaceCommand, CreatePrivateDnsNamespaceCommand, CreatePublicDnsNamespaceCommand, CreateServiceCommand as CreateServiceCommand$1, DeleteNamespaceCommand, DeleteServiceAttributesCommand, DeleteServiceCommand as DeleteServiceCommand$1, GetNamespaceCommand, GetOperationCommand, GetServiceAttributesCommand, GetServiceCommand, ListNamespacesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$15, NamespaceNotFound, ResourceInUse, ResourceNotFoundException as ResourceNotFoundException$
|
|
60
|
-
import { AppSyncClient, CreateApiKeyCommand, CreateDataSourceCommand, CreateGraphqlApiCommand, CreateResolverCommand, DeleteApiKeyCommand, DeleteDataSourceCommand, DeleteGraphqlApiCommand, DeleteResolverCommand, GetDataSourceCommand, GetGraphqlApiCommand, GetGraphqlApiEnvironmentVariablesCommand, GetIntrospectionSchemaCommand, GetResolverCommand, ListApiKeysCommand, ListGraphqlApisCommand, NotFoundException as NotFoundException$4, PutGraphqlApiEnvironmentVariablesCommand, StartSchemaCreationCommand, TagResourceCommand as TagResourceCommand$
|
|
61
|
-
import { ConcurrentModificationException, CrawlerRunningException, CreateConnectionCommand, CreateCrawlerCommand, CreateDatabaseCommand, CreateJobCommand, CreateSecurityConfigurationCommand, CreateTableCommand as CreateTableCommand$1, CreateTriggerCommand, CreateWorkflowCommand, DeleteConnectionCommand, DeleteCrawlerCommand, DeleteDatabaseCommand, DeleteJobCommand, DeleteSecurityConfigurationCommand, DeleteTableCommand as DeleteTableCommand$1, DeleteTriggerCommand, DeleteWorkflowCommand, EntityNotFoundException, GetConnectionCommand, GetCrawlerCommand, GetDatabaseCommand, GetJobCommand, GetSecurityConfigurationCommand, GetTableCommand, GetTagsCommand, GetTriggerCommand, GetWorkflowCommand, GlueClient, StartCrawlerScheduleCommand, StartTriggerCommand, StopCrawlerCommand, StopCrawlerScheduleCommand, StopTriggerCommand, TagResourceCommand as TagResourceCommand$
|
|
62
|
-
import { BudgetsClient, CreateBudgetCommand, CreateNotificationCommand, CreateSubscriberCommand, DeleteBudgetCommand, DeleteNotificationCommand, DeleteSubscriberCommand, DescribeBudgetCommand, DescribeNotificationsForBudgetCommand, DescribeSubscribersForNotificationCommand, DuplicateRecordException, ListTagsForResourceCommand as ListTagsForResourceCommand$16, NotFoundException as NotFoundException$5, TagResourceCommand as TagResourceCommand$
|
|
63
|
-
import { AddTagsToStreamCommand, CreateStreamCommand, DecreaseStreamRetentionPeriodCommand, DeleteStreamCommand, DeregisterStreamConsumerCommand, DescribeStreamCommand, DescribeStreamConsumerCommand, DescribeStreamSummaryCommand, DisableEnhancedMonitoringCommand, EnableEnhancedMonitoringCommand, IncreaseStreamRetentionPeriodCommand, KinesisClient, ListTagsForResourceCommand as ListTagsForResourceCommand$17, ListTagsForStreamCommand, RegisterStreamConsumerCommand, RemoveTagsFromStreamCommand, ResourceNotFoundException as ResourceNotFoundException$
|
|
64
|
-
import { CreateScheduleCommand, DeleteScheduleCommand, GetScheduleCommand, ListSchedulesCommand, ResourceNotFoundException as ResourceNotFoundException$
|
|
65
|
-
import { CreatePipeCommand, DeletePipeCommand, DescribePipeCommand, NotFoundException as NotFoundException$6, PipesClient, TagResourceCommand as TagResourceCommand$
|
|
66
|
-
import { AccessPointAlreadyExists, AccessPointNotFound, CreateAccessPointCommand, CreateFileSystemCommand, CreateMountTargetCommand, DeleteAccessPointCommand, DeleteFileSystemCommand, DeleteFileSystemPolicyCommand, DeleteMountTargetCommand, DeleteReplicationConfigurationCommand, DescribeAccessPointsCommand, DescribeBackupPolicyCommand, DescribeFileSystemPolicyCommand, DescribeFileSystemsCommand, DescribeLifecycleConfigurationCommand, DescribeMountTargetSecurityGroupsCommand, DescribeMountTargetsCommand, DescribeReplicationConfigurationsCommand, EFSClient, FileSystemAlreadyExists, FileSystemNotFound, ModifyMountTargetSecurityGroupsCommand, MountTargetNotFound, PutBackupPolicyCommand, PutFileSystemPolicyCommand, PutLifecycleConfigurationCommand, TagResourceCommand as TagResourceCommand$
|
|
67
|
-
import { AssociateFileSystemAliasesCommand, CreateFileSystemCommand as CreateFileSystemCommand$1, CreateFileSystemFromBackupCommand, DeleteFileSystemCommand as DeleteFileSystemCommand$1, DescribeFileSystemAliasesCommand, DescribeFileSystemsCommand as DescribeFileSystemsCommand$1, DisassociateFileSystemAliasesCommand, FSxClient, FileSystemNotFound as FileSystemNotFound$1, TagResourceCommand as TagResourceCommand$
|
|
68
|
-
import { AddInstanceFleetCommand, AddInstanceGroupsCommand, AddTagsCommand as AddTagsCommand$1, DescribeClusterCommand, EMRClient, GetAutoTerminationPolicyCommand, GetManagedScalingPolicyCommand, InvalidRequestException, ListClustersCommand, ListInstanceFleetsCommand, ListInstanceGroupsCommand, ModifyClusterCommand, ModifyInstanceFleetCommand, ModifyInstanceGroupsCommand, PutAutoScalingPolicyCommand, PutAutoTerminationPolicyCommand, PutManagedScalingPolicyCommand, RemoveAutoScalingPolicyCommand, RemoveAutoTerminationPolicyCommand, RemoveManagedScalingPolicyCommand, RemoveTagsCommand as RemoveTagsCommand$1, RunJobFlowCommand, SetTerminationProtectionCommand, SetUnhealthyNodeReplacementCommand, SetVisibleToAllUsersCommand, TerminateJobFlowsCommand } from "@aws-sdk/client-emr";
|
|
69
|
-
import { CreateDeliveryStreamCommand, DeleteDeliveryStreamCommand, DescribeDeliveryStreamCommand, FirehoseClient, ListTagsForDeliveryStreamCommand, ResourceNotFoundException as ResourceNotFoundException$
|
|
70
|
-
import { AddTagsCommand as AddTagsCommand$2, CloudTrailClient, CreateTrailCommand, DeleteTrailCommand, GetEventConfigurationCommand, GetEventSelectorsCommand, GetInsightSelectorsCommand, GetTrailCommand, GetTrailStatusCommand, InsightNotEnabledException, ListTagsCommand as ListTagsCommand$2, PutEventConfigurationCommand, PutEventSelectorsCommand, PutInsightSelectorsCommand, RemoveTagsCommand as RemoveTagsCommand$2, ResourceNotFoundException as ResourceNotFoundException$
|
|
71
|
-
import { BatchGetProjectsCommand, CodeBuildClient, CreateProjectCommand, CreateWebhookCommand, DeleteProjectCommand, DeleteWebhookCommand, ResourceNotFoundException as ResourceNotFoundException$
|
|
72
|
-
import { CodeCommitClient, CreateCommitCommand, CreateRepositoryCommand as CreateRepositoryCommand$1, DeleteRepositoryCommand as DeleteRepositoryCommand$1, GetRepositoryCommand, GetRepositoryTriggersCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$18, PutRepositoryTriggersCommand, RepositoryDoesNotExistException, TagResourceCommand as TagResourceCommand$
|
|
73
|
-
import { CreateLifecyclePolicyCommand, DLMClient, DeleteLifecyclePolicyCommand as DeleteLifecyclePolicyCommand$1, GetLifecyclePoliciesCommand, GetLifecyclePolicyCommand as GetLifecyclePolicyCommand$1, ResourceNotFoundException as ResourceNotFoundException$
|
|
74
|
-
import { CreateVectorBucketCommand, DeleteIndexCommand, DeleteVectorBucketCommand, GetVectorBucketCommand, ListIndexesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$19, S3VectorsClient, TagResourceCommand as TagResourceCommand$
|
|
75
|
-
import { CreateNamespaceCommand, CreateTableBucketCommand, CreateTableCommand as CreateTableCommand$2, DeleteNamespaceCommand as DeleteNamespaceCommand$1, DeleteTableBucketCommand, DeleteTableBucketMetricsConfigurationCommand, DeleteTableBucketReplicationCommand, DeleteTableCommand as DeleteTableCommand$2, GetNamespaceCommand as GetNamespaceCommand$1, GetTableBucketCommand, GetTableBucketEncryptionCommand, GetTableBucketLoggingCommand, GetTableBucketMaintenanceConfigurationCommand, GetTableBucketMetricsConfigurationCommand, GetTableBucketReplicationCommand, GetTableBucketStorageClassCommand, GetTableCommand as GetTableCommand$1, GetTableMaintenanceConfigurationCommand, ListNamespacesCommand as ListNamespacesCommand$1, ListTableBucketsCommand, ListTablesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$20, NotFoundException as NotFoundException$7, PutTableBucketEncryptionCommand, PutTableBucketLoggingCommand, PutTableBucketMaintenanceConfigurationCommand, PutTableBucketMetricsConfigurationCommand, PutTableBucketReplicationCommand, PutTableBucketStorageClassCommand, PutTableMaintenanceConfigurationCommand, RenameTableCommand, S3TablesClient, TagResourceCommand as TagResourceCommand$
|
|
57
|
+
import { AppConfigClient, CreateEnvironmentCommand, DeleteEnvironmentCommand, GetEnvironmentCommand, TagResourceCommand as TagResourceCommand$18, UntagResourceCommand as UntagResourceCommand$18, UpdateEnvironmentCommand } from "@aws-sdk/client-appconfig";
|
|
58
|
+
import { CreateWebACLCommand, DeleteWebACLCommand, GetWebACLCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$14, TagResourceCommand as TagResourceCommand$19, UntagResourceCommand as UntagResourceCommand$19, UpdateWebACLCommand, WAFNonexistentItemException, WAFV2Client } from "@aws-sdk/client-wafv2";
|
|
59
|
+
import { AddCustomAttributesCommand, CognitoIdentityProviderClient, CreateUserPoolCommand, DeleteUserPoolCommand, DescribeUserPoolCommand, GetUserPoolMfaConfigCommand, ListUserPoolsCommand, ResourceNotFoundException as ResourceNotFoundException$12, SetUserPoolMfaConfigCommand, UntagResourceCommand as UntagResourceCommand$20, UpdateUserPoolCommand } from "@aws-sdk/client-cognito-identity-provider";
|
|
60
|
+
import { CreateHttpNamespaceCommand, CreatePrivateDnsNamespaceCommand, CreatePublicDnsNamespaceCommand, CreateServiceCommand as CreateServiceCommand$1, DeleteNamespaceCommand, DeleteServiceAttributesCommand, DeleteServiceCommand as DeleteServiceCommand$1, GetNamespaceCommand, GetOperationCommand, GetServiceAttributesCommand, GetServiceCommand, ListNamespacesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$15, NamespaceNotFound, ResourceInUse, ResourceNotFoundException as ResourceNotFoundException$13, ServiceDiscoveryClient, ServiceNotFound, TagResourceCommand as TagResourceCommand$20, UntagResourceCommand as UntagResourceCommand$21, UpdateHttpNamespaceCommand, UpdatePrivateDnsNamespaceCommand, UpdatePublicDnsNamespaceCommand, UpdateServiceAttributesCommand, UpdateServiceCommand as UpdateServiceCommand$1 } from "@aws-sdk/client-servicediscovery";
|
|
61
|
+
import { AppSyncClient, CreateApiKeyCommand, CreateDataSourceCommand, CreateGraphqlApiCommand, CreateResolverCommand, DeleteApiKeyCommand, DeleteDataSourceCommand, DeleteGraphqlApiCommand, DeleteResolverCommand, GetDataSourceCommand, GetGraphqlApiCommand, GetGraphqlApiEnvironmentVariablesCommand, GetIntrospectionSchemaCommand, GetResolverCommand, ListApiKeysCommand, ListGraphqlApisCommand, NotFoundException as NotFoundException$4, PutGraphqlApiEnvironmentVariablesCommand, StartSchemaCreationCommand, TagResourceCommand as TagResourceCommand$21, UntagResourceCommand as UntagResourceCommand$22, UpdateApiKeyCommand, UpdateDataSourceCommand, UpdateGraphqlApiCommand, UpdateResolverCommand } from "@aws-sdk/client-appsync";
|
|
62
|
+
import { ConcurrentModificationException, CrawlerRunningException, CreateConnectionCommand, CreateCrawlerCommand, CreateDatabaseCommand, CreateJobCommand, CreateSecurityConfigurationCommand, CreateTableCommand as CreateTableCommand$1, CreateTriggerCommand, CreateWorkflowCommand, DeleteConnectionCommand, DeleteCrawlerCommand, DeleteDatabaseCommand, DeleteJobCommand, DeleteSecurityConfigurationCommand, DeleteTableCommand as DeleteTableCommand$1, DeleteTriggerCommand, DeleteWorkflowCommand, EntityNotFoundException, GetConnectionCommand, GetCrawlerCommand, GetDatabaseCommand, GetJobCommand, GetSecurityConfigurationCommand, GetTableCommand, GetTagsCommand, GetTriggerCommand, GetWorkflowCommand, GlueClient, StartCrawlerScheduleCommand, StartTriggerCommand, StopCrawlerCommand, StopCrawlerScheduleCommand, StopTriggerCommand, TagResourceCommand as TagResourceCommand$22, UntagResourceCommand as UntagResourceCommand$23, UpdateConnectionCommand, UpdateCrawlerCommand, UpdateDatabaseCommand, UpdateJobCommand, UpdateTableCommand as UpdateTableCommand$1, UpdateTriggerCommand, UpdateWorkflowCommand } from "@aws-sdk/client-glue";
|
|
63
|
+
import { BudgetsClient, CreateBudgetCommand, CreateNotificationCommand, CreateSubscriberCommand, DeleteBudgetCommand, DeleteNotificationCommand, DeleteSubscriberCommand, DescribeBudgetCommand, DescribeNotificationsForBudgetCommand, DescribeSubscribersForNotificationCommand, DuplicateRecordException, ListTagsForResourceCommand as ListTagsForResourceCommand$16, NotFoundException as NotFoundException$5, TagResourceCommand as TagResourceCommand$23, UntagResourceCommand as UntagResourceCommand$24, UpdateBudgetCommand } from "@aws-sdk/client-budgets";
|
|
64
|
+
import { AddTagsToStreamCommand, CreateStreamCommand, DecreaseStreamRetentionPeriodCommand, DeleteStreamCommand, DeregisterStreamConsumerCommand, DescribeStreamCommand, DescribeStreamConsumerCommand, DescribeStreamSummaryCommand, DisableEnhancedMonitoringCommand, EnableEnhancedMonitoringCommand, IncreaseStreamRetentionPeriodCommand, KinesisClient, ListTagsForResourceCommand as ListTagsForResourceCommand$17, ListTagsForStreamCommand, RegisterStreamConsumerCommand, RemoveTagsFromStreamCommand, ResourceNotFoundException as ResourceNotFoundException$14, StartStreamEncryptionCommand, StopStreamEncryptionCommand, TagResourceCommand as TagResourceCommand$24, UntagResourceCommand as UntagResourceCommand$25, UpdateMaxRecordSizeCommand, UpdateShardCountCommand, UpdateStreamModeCommand, UpdateStreamRecordDistributionStrategyCommand } from "@aws-sdk/client-kinesis";
|
|
65
|
+
import { CreateScheduleCommand, DeleteScheduleCommand, GetScheduleCommand, ListSchedulesCommand, ResourceNotFoundException as ResourceNotFoundException$15, SchedulerClient, UpdateScheduleCommand } from "@aws-sdk/client-scheduler";
|
|
66
|
+
import { CreatePipeCommand, DeletePipeCommand, DescribePipeCommand, NotFoundException as NotFoundException$6, PipesClient, TagResourceCommand as TagResourceCommand$25, UntagResourceCommand as UntagResourceCommand$26, UpdatePipeCommand } from "@aws-sdk/client-pipes";
|
|
67
|
+
import { AccessPointAlreadyExists, AccessPointNotFound, CreateAccessPointCommand, CreateFileSystemCommand, CreateMountTargetCommand, DeleteAccessPointCommand, DeleteFileSystemCommand, DeleteFileSystemPolicyCommand, DeleteMountTargetCommand, DeleteReplicationConfigurationCommand, DescribeAccessPointsCommand, DescribeBackupPolicyCommand, DescribeFileSystemPolicyCommand, DescribeFileSystemsCommand, DescribeLifecycleConfigurationCommand, DescribeMountTargetSecurityGroupsCommand, DescribeMountTargetsCommand, DescribeReplicationConfigurationsCommand, EFSClient, FileSystemAlreadyExists, FileSystemNotFound, ModifyMountTargetSecurityGroupsCommand, MountTargetNotFound, PutBackupPolicyCommand, PutFileSystemPolicyCommand, PutLifecycleConfigurationCommand, TagResourceCommand as TagResourceCommand$26, UntagResourceCommand as UntagResourceCommand$27, UpdateFileSystemCommand, UpdateFileSystemProtectionCommand } from "@aws-sdk/client-efs";
|
|
68
|
+
import { AssociateFileSystemAliasesCommand, CreateFileSystemCommand as CreateFileSystemCommand$1, CreateFileSystemFromBackupCommand, DeleteFileSystemCommand as DeleteFileSystemCommand$1, DescribeFileSystemAliasesCommand, DescribeFileSystemsCommand as DescribeFileSystemsCommand$1, DisassociateFileSystemAliasesCommand, FSxClient, FileSystemNotFound as FileSystemNotFound$1, TagResourceCommand as TagResourceCommand$27, UntagResourceCommand as UntagResourceCommand$28, UpdateFileSystemCommand as UpdateFileSystemCommand$1 } from "@aws-sdk/client-fsx";
|
|
69
|
+
import { AddInstanceFleetCommand, AddInstanceGroupsCommand, AddTagsCommand as AddTagsCommand$1, DescribeClusterCommand, EMRClient, GetAutoTerminationPolicyCommand, GetManagedScalingPolicyCommand, InvalidRequestException as InvalidRequestException$1, ListClustersCommand, ListInstanceFleetsCommand, ListInstanceGroupsCommand, ModifyClusterCommand, ModifyInstanceFleetCommand, ModifyInstanceGroupsCommand, PutAutoScalingPolicyCommand, PutAutoTerminationPolicyCommand, PutManagedScalingPolicyCommand, RemoveAutoScalingPolicyCommand, RemoveAutoTerminationPolicyCommand, RemoveManagedScalingPolicyCommand, RemoveTagsCommand as RemoveTagsCommand$1, RunJobFlowCommand, SetTerminationProtectionCommand, SetUnhealthyNodeReplacementCommand, SetVisibleToAllUsersCommand, TerminateJobFlowsCommand } from "@aws-sdk/client-emr";
|
|
70
|
+
import { CreateDeliveryStreamCommand, DeleteDeliveryStreamCommand, DescribeDeliveryStreamCommand, FirehoseClient, ListTagsForDeliveryStreamCommand, ResourceNotFoundException as ResourceNotFoundException$16, StartDeliveryStreamEncryptionCommand, StopDeliveryStreamEncryptionCommand, TagDeliveryStreamCommand, UntagDeliveryStreamCommand, UpdateDestinationCommand } from "@aws-sdk/client-firehose";
|
|
71
|
+
import { AddTagsCommand as AddTagsCommand$2, CloudTrailClient, CreateTrailCommand, DeleteTrailCommand, GetEventConfigurationCommand, GetEventSelectorsCommand, GetInsightSelectorsCommand, GetTrailCommand, GetTrailStatusCommand, InsightNotEnabledException, ListTagsCommand as ListTagsCommand$2, PutEventConfigurationCommand, PutEventSelectorsCommand, PutInsightSelectorsCommand, RemoveTagsCommand as RemoveTagsCommand$2, ResourceNotFoundException as ResourceNotFoundException$17, StartLoggingCommand, StopLoggingCommand, TrailNotFoundException, UpdateTrailCommand } from "@aws-sdk/client-cloudtrail";
|
|
72
|
+
import { BatchGetProjectsCommand, CodeBuildClient, CreateProjectCommand, CreateWebhookCommand, DeleteProjectCommand, DeleteWebhookCommand, ResourceNotFoundException as ResourceNotFoundException$18, UpdateProjectCommand, UpdateProjectVisibilityCommand, UpdateWebhookCommand } from "@aws-sdk/client-codebuild";
|
|
73
|
+
import { CodeCommitClient, CreateCommitCommand, CreateRepositoryCommand as CreateRepositoryCommand$1, DeleteRepositoryCommand as DeleteRepositoryCommand$1, GetRepositoryCommand, GetRepositoryTriggersCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$18, PutRepositoryTriggersCommand, RepositoryDoesNotExistException, TagResourceCommand as TagResourceCommand$28, UntagResourceCommand as UntagResourceCommand$29, UpdateRepositoryDescriptionCommand, UpdateRepositoryEncryptionKeyCommand, UpdateRepositoryNameCommand } from "@aws-sdk/client-codecommit";
|
|
74
|
+
import { CreateLifecyclePolicyCommand, DLMClient, DeleteLifecyclePolicyCommand as DeleteLifecyclePolicyCommand$1, GetLifecyclePoliciesCommand, GetLifecyclePolicyCommand as GetLifecyclePolicyCommand$1, ResourceNotFoundException as ResourceNotFoundException$19, TagResourceCommand as TagResourceCommand$29, UntagResourceCommand as UntagResourceCommand$30, UpdateLifecyclePolicyCommand } from "@aws-sdk/client-dlm";
|
|
75
|
+
import { CreateVectorBucketCommand, DeleteIndexCommand, DeleteVectorBucketCommand, GetVectorBucketCommand, ListIndexesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$19, S3VectorsClient, TagResourceCommand as TagResourceCommand$30, UntagResourceCommand as UntagResourceCommand$31 } from "@aws-sdk/client-s3vectors";
|
|
76
|
+
import { CreateNamespaceCommand, CreateTableBucketCommand, CreateTableCommand as CreateTableCommand$2, DeleteNamespaceCommand as DeleteNamespaceCommand$1, DeleteTableBucketCommand, DeleteTableBucketMetricsConfigurationCommand, DeleteTableBucketReplicationCommand, DeleteTableCommand as DeleteTableCommand$2, GetNamespaceCommand as GetNamespaceCommand$1, GetTableBucketCommand, GetTableBucketEncryptionCommand, GetTableBucketLoggingCommand, GetTableBucketMaintenanceConfigurationCommand, GetTableBucketMetricsConfigurationCommand, GetTableBucketReplicationCommand, GetTableBucketStorageClassCommand, GetTableCommand as GetTableCommand$1, GetTableMaintenanceConfigurationCommand, ListNamespacesCommand as ListNamespacesCommand$1, ListTableBucketsCommand, ListTablesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$20, NotFoundException as NotFoundException$7, PutTableBucketEncryptionCommand, PutTableBucketLoggingCommand, PutTableBucketMaintenanceConfigurationCommand, PutTableBucketMetricsConfigurationCommand, PutTableBucketReplicationCommand, PutTableBucketStorageClassCommand, PutTableMaintenanceConfigurationCommand, RenameTableCommand, S3TablesClient, TagResourceCommand as TagResourceCommand$31, UntagResourceCommand as UntagResourceCommand$32 } from "@aws-sdk/client-s3tables";
|
|
76
77
|
|
|
77
78
|
// src/provisioning/providers/iam-policy/shared.ts
|
|
78
79
|
const POLICY_NAME_SKIP_REASON = "no policy name in state — no delete issued";
|
|
@@ -20614,7 +20615,7 @@ function declaredStatementsRead(value, declared) {
|
|
|
20614
20615
|
}
|
|
20615
20616
|
|
|
20616
20617
|
// src/provisioning/providers/eventbridge-archive-provider.ts
|
|
20617
|
-
const RESOURCE_TYPE = "AWS::Events::Archive";
|
|
20618
|
+
const RESOURCE_TYPE$1 = "AWS::Events::Archive";
|
|
20618
20619
|
function archiveEventPattern(value) {
|
|
20619
20620
|
if (value === void 0 || value === null || value === "") return void 0;
|
|
20620
20621
|
return typeof value === "string" ? value : JSON.stringify(value);
|
|
@@ -20681,7 +20682,7 @@ var EventBridgeArchiveProvider = class {
|
|
|
20681
20682
|
if (value === void 0 || value === null) return void 0;
|
|
20682
20683
|
const n = coerceCfnInteger(value);
|
|
20683
20684
|
if (n !== void 0 && n >= 0) return n;
|
|
20684
|
-
throw markNonRetryable(new ProvisioningError(`RetentionDays of ${logicalId} must be an integer >= 0 (0 keeps events indefinitely)`, RESOURCE_TYPE, logicalId, physicalId));
|
|
20685
|
+
throw markNonRetryable(new ProvisioningError(`RetentionDays of ${logicalId} must be an integer >= 0 (0 keeps events indefinitely)`, RESOURCE_TYPE$1, logicalId, physicalId));
|
|
20685
20686
|
}
|
|
20686
20687
|
async create(logicalId, resourceType, properties, context) {
|
|
20687
20688
|
const mask = maskerOrIdentity(context?.maskSecrets);
|
|
@@ -20742,7 +20743,7 @@ var EventBridgeArchiveProvider = class {
|
|
|
20742
20743
|
return;
|
|
20743
20744
|
}
|
|
20744
20745
|
const { pollIntervalMs, sleep } = this.stateWait;
|
|
20745
|
-
const userTimeoutMs = resolvedResourceTimeoutMs(RESOURCE_TYPE);
|
|
20746
|
+
const userTimeoutMs = resolvedResourceTimeoutMs(RESOURCE_TYPE$1);
|
|
20746
20747
|
const timeoutMs = userTimeoutMs === void 0 ? this.stateWait.timeoutMs : Math.min(this.stateWait.timeoutMs, userTimeoutMs / 2);
|
|
20747
20748
|
const deadline = Date.now() + timeoutMs;
|
|
20748
20749
|
const watch = startInterruptWatch(`EventBridge archive ${logicalId} ${operation} wait`);
|
|
@@ -20763,9 +20764,9 @@ var EventBridgeArchiveProvider = class {
|
|
|
20763
20764
|
if (state === void 0 || SETTLED_STATES$1.has(state)) return resp.ArchiveArn;
|
|
20764
20765
|
if (FAILED_STATES$2.has(state)) {
|
|
20765
20766
|
if (resp.StateReason) this.logger.debug(mask(`EventBridge archive ${logicalId} entered ${state}: ${resp.StateReason}`));
|
|
20766
|
-
throw markNonRetryable(new ProvisioningError(safeMsg`EventBridge archive ${logicalId} entered ${state}.` + verbosePointerTail(), RESOURCE_TYPE, logicalId, name));
|
|
20767
|
+
throw markNonRetryable(new ProvisioningError(safeMsg`EventBridge archive ${logicalId} entered ${state}.` + verbosePointerTail(), RESOURCE_TYPE$1, logicalId, name));
|
|
20767
20768
|
}
|
|
20768
|
-
if (Date.now() >= deadline) throw markNonRetryable(new ProvisioningError(`EventBridge archive ${logicalId} was still ${state} ${Math.round(timeoutMs / 1e3)}s after the ${operation} call`, RESOURCE_TYPE, logicalId, name));
|
|
20769
|
+
if (Date.now() >= deadline) throw markNonRetryable(new ProvisioningError(`EventBridge archive ${logicalId} was still ${state} ${Math.round(timeoutMs / 1e3)}s after the ${operation} call`, RESOURCE_TYPE$1, logicalId, name));
|
|
20769
20770
|
if (watch.isInterrupted()) throw watch.onInterrupted();
|
|
20770
20771
|
this.logger.debug(mask(`EventBridge archive ${name} state: ${state}, waiting`));
|
|
20771
20772
|
await sleep(pollIntervalMs);
|
|
@@ -20876,6 +20877,468 @@ var EventBridgeArchiveProvider = class {
|
|
|
20876
20877
|
}
|
|
20877
20878
|
};
|
|
20878
20879
|
|
|
20880
|
+
// src/provisioning/providers/connect-instance-provider.ts
|
|
20881
|
+
const RESOURCE_TYPE = "AWS::Connect::Instance";
|
|
20882
|
+
const CONNECT_INSTANCE_ATTRIBUTE_TYPES = {
|
|
20883
|
+
InboundCalls: "INBOUND_CALLS",
|
|
20884
|
+
OutboundCalls: "OUTBOUND_CALLS",
|
|
20885
|
+
ContactflowLogs: "CONTACTFLOW_LOGS",
|
|
20886
|
+
ContactLens: "CONTACT_LENS",
|
|
20887
|
+
AutoResolveBestVoices: "AUTO_RESOLVE_BEST_VOICES",
|
|
20888
|
+
UseCustomTTSVoices: "USE_CUSTOM_TTS_VOICES",
|
|
20889
|
+
EarlyMedia: "EARLY_MEDIA",
|
|
20890
|
+
MultiPartyConference: "MULTI_PARTY_CONFERENCE",
|
|
20891
|
+
HighVolumeOutBound: "HIGH_VOLUME_OUTBOUND",
|
|
20892
|
+
EnhancedContactMonitoring: "ENHANCED_CONTACT_MONITORING",
|
|
20893
|
+
EnhancedChatMonitoring: "ENHANCED_CHAT_MONITORING",
|
|
20894
|
+
MultiPartyChatConference: "MULTI_PARTY_CHAT_CONFERENCE",
|
|
20895
|
+
MessageStreaming: "MESSAGE_STREAMING",
|
|
20896
|
+
AutoMuteAgentOnHold: "AUTO_MUTE_AGENT_ON_HOLD"
|
|
20897
|
+
};
|
|
20898
|
+
const CONNECT_INSTANCE_ASYNC_DEFAULTS = [
|
|
20899
|
+
"MESSAGE_STREAMING",
|
|
20900
|
+
"MULTI_PARTY_CHAT_CONFERENCE",
|
|
20901
|
+
"MULTI_PARTY_CONFERENCE",
|
|
20902
|
+
"AUTO_RESOLVE_BEST_VOICES",
|
|
20903
|
+
"CONTACT_LENS",
|
|
20904
|
+
"EARLY_MEDIA",
|
|
20905
|
+
"ENHANCED_CHAT_MONITORING",
|
|
20906
|
+
"ENHANCED_CONTACT_MONITORING"
|
|
20907
|
+
];
|
|
20908
|
+
const CREATE_CALL_ATTRIBUTES = /* @__PURE__ */ new Set(["InboundCalls", "OutboundCalls"]);
|
|
20909
|
+
function arnRegionOf(physicalId) {
|
|
20910
|
+
if (!physicalId.startsWith("arn:")) return void 0;
|
|
20911
|
+
const region = physicalId.split(":")[3];
|
|
20912
|
+
return region ? region : void 0;
|
|
20913
|
+
}
|
|
20914
|
+
function readAttributes(value) {
|
|
20915
|
+
const read = {
|
|
20916
|
+
values: /* @__PURE__ */ new Map(),
|
|
20917
|
+
malformed: [],
|
|
20918
|
+
unknown: [],
|
|
20919
|
+
container: "object"
|
|
20920
|
+
};
|
|
20921
|
+
if (value === void 0 || value === null) return {
|
|
20922
|
+
...read,
|
|
20923
|
+
container: "absent"
|
|
20924
|
+
};
|
|
20925
|
+
if (typeof value !== "object" || Array.isArray(value)) return {
|
|
20926
|
+
...read,
|
|
20927
|
+
container: "malformed"
|
|
20928
|
+
};
|
|
20929
|
+
for (const [key, member] of Object.entries(value)) {
|
|
20930
|
+
if (!Object.hasOwn(CONNECT_INSTANCE_ATTRIBUTE_TYPES, key)) {
|
|
20931
|
+
read.unknown.push(key);
|
|
20932
|
+
continue;
|
|
20933
|
+
}
|
|
20934
|
+
if (member === void 0 || member === null) continue;
|
|
20935
|
+
const flag = coerceCfnBoolean(member);
|
|
20936
|
+
if (flag === void 0) read.malformed.push(key);
|
|
20937
|
+
else read.values.set(key, flag);
|
|
20938
|
+
}
|
|
20939
|
+
return read;
|
|
20940
|
+
}
|
|
20941
|
+
function attributesFromList(list) {
|
|
20942
|
+
const byType = new Map(list.map((a) => [a.AttributeType, a.Value]));
|
|
20943
|
+
const out = {};
|
|
20944
|
+
for (const [key, type] of Object.entries(CONNECT_INSTANCE_ATTRIBUTE_TYPES)) {
|
|
20945
|
+
const flag = coerceCfnBoolean(byType.get(type));
|
|
20946
|
+
if (flag !== void 0) out[key] = flag;
|
|
20947
|
+
}
|
|
20948
|
+
return out;
|
|
20949
|
+
}
|
|
20950
|
+
function attributesOf(instance, withoutStatus = false) {
|
|
20951
|
+
return definedAttributes({
|
|
20952
|
+
Id: instance?.Id,
|
|
20953
|
+
Arn: instance?.Arn,
|
|
20954
|
+
ServiceRole: instance?.ServiceRole,
|
|
20955
|
+
CreatedTime: instance?.CreatedTime?.toISOString(),
|
|
20956
|
+
InstanceStatus: withoutStatus ? void 0 : instance?.InstanceStatus
|
|
20957
|
+
});
|
|
20958
|
+
}
|
|
20959
|
+
function isTransientRead(error) {
|
|
20960
|
+
return isThrottlingError(error) || isTransientServerError(error);
|
|
20961
|
+
}
|
|
20962
|
+
var ConnectInstanceProvider = class {
|
|
20963
|
+
client;
|
|
20964
|
+
providerRegion = ambientRegion();
|
|
20965
|
+
logger = getLogger().child("ConnectInstanceProvider");
|
|
20966
|
+
handledProperties = /* @__PURE__ */ new Map([["AWS::Connect::Instance", /* @__PURE__ */ new Set([
|
|
20967
|
+
"IdentityManagementType",
|
|
20968
|
+
"InstanceAlias",
|
|
20969
|
+
"DirectoryId",
|
|
20970
|
+
"Attributes",
|
|
20971
|
+
"Tags"
|
|
20972
|
+
])]]);
|
|
20973
|
+
removalHandledInUpdate = /* @__PURE__ */ new Map([["AWS::Connect::Instance", /* @__PURE__ */ new Set([
|
|
20974
|
+
"IdentityManagementType",
|
|
20975
|
+
"InstanceAlias",
|
|
20976
|
+
"DirectoryId",
|
|
20977
|
+
"Tags"
|
|
20978
|
+
])]]);
|
|
20979
|
+
instanceWait = {
|
|
20980
|
+
pollIntervalMs: 3e3,
|
|
20981
|
+
timeoutMs: 9e5,
|
|
20982
|
+
sleep: (ms) => new Promise((resolve) => setTimeout(resolve, ms))
|
|
20983
|
+
};
|
|
20984
|
+
getClient() {
|
|
20985
|
+
this.client ??= new ConnectClient({
|
|
20986
|
+
...ambientClientDefaults(),
|
|
20987
|
+
...this.providerRegion ? { region: this.providerRegion } : {}
|
|
20988
|
+
});
|
|
20989
|
+
return this.client;
|
|
20990
|
+
}
|
|
20991
|
+
wrapMaskedError(mask, error, build) {
|
|
20992
|
+
const failure = describeAwsFailure(error);
|
|
20993
|
+
if (!(error instanceof Error)) return build(mask(failure.detail));
|
|
20994
|
+
if (!failure.redacted) return wrapMaskedAwsError(mask, error, build);
|
|
20995
|
+
this.logger.debug(mask(build(failure.detail).message));
|
|
20996
|
+
return markRedactedCause(build(mask(failure.summary)));
|
|
20997
|
+
}
|
|
20998
|
+
desiredAttributes(properties, logicalId, physicalId) {
|
|
20999
|
+
const read = readAttributes(properties["Attributes"]);
|
|
21000
|
+
const refuse = (what) => {
|
|
21001
|
+
throw markNonRetryable(new ProvisioningError(safeMsg`Attributes of Connect instance ${logicalId} ${what}` + ` — the instance was not ${physicalId === void 0 ? "created" : "updated"}`, RESOURCE_TYPE, logicalId, physicalId));
|
|
21002
|
+
};
|
|
21003
|
+
if (read.container === "absent") refuse("is required");
|
|
21004
|
+
if (read.container === "malformed") refuse("must be an object");
|
|
21005
|
+
if (read.unknown.length > 0) refuse(safeMsg`names members the type does not have: ${read.unknown.join(", ")}`);
|
|
21006
|
+
if (read.malformed.length > 0) refuse(safeMsg`must hold booleans, but ${read.malformed.join(", ")} does not`);
|
|
21007
|
+
for (const key of CREATE_CALL_ATTRIBUTES) if (!read.values.has(key)) refuse(safeMsg`must declare ${key}`);
|
|
21008
|
+
return read.values;
|
|
21009
|
+
}
|
|
21010
|
+
async create(logicalId, resourceType, properties, context) {
|
|
21011
|
+
const mask = maskerOrIdentity(context?.maskSecrets);
|
|
21012
|
+
const identityType = properties["IdentityManagementType"];
|
|
21013
|
+
if (typeof identityType !== "string" || identityType === "") throw markNonRetryable(new ProvisioningError(safeMsg`IdentityManagementType is required for Connect instance ${logicalId}`, resourceType, logicalId));
|
|
21014
|
+
const attributes = this.desiredAttributes(properties, logicalId);
|
|
21015
|
+
const tags = refuseMalformedDesiredTags(properties["Tags"], resourceType, logicalId);
|
|
21016
|
+
const input = {
|
|
21017
|
+
IdentityManagementType: identityType,
|
|
21018
|
+
InboundCallsEnabled: attributes.get("InboundCalls") === true,
|
|
21019
|
+
OutboundCallsEnabled: attributes.get("OutboundCalls") === true
|
|
21020
|
+
};
|
|
21021
|
+
const alias = readNameProperty({ properties }, "InstanceAlias");
|
|
21022
|
+
if (alias !== void 0) input.InstanceAlias = alias;
|
|
21023
|
+
if (typeof properties["DirectoryId"] === "string" && properties["DirectoryId"] !== "") input.DirectoryId = properties["DirectoryId"];
|
|
21024
|
+
if (tags.length > 0) input.Tags = Object.fromEntries(tags.map((t) => [t.Key, t.Value]));
|
|
21025
|
+
const createToken = acquireIdempotencyToken({
|
|
21026
|
+
scope: "CreateInstance",
|
|
21027
|
+
logicalId
|
|
21028
|
+
});
|
|
21029
|
+
input.ClientToken = createToken.value;
|
|
21030
|
+
this.logger.debug(mask(`Creating Connect instance ${logicalId}: ${alias ?? "(no alias)"}`));
|
|
21031
|
+
let arn;
|
|
21032
|
+
try {
|
|
21033
|
+
const response = await this.createInstance(input, alias, logicalId, mask);
|
|
21034
|
+
arn = response.Arn;
|
|
21035
|
+
if (!arn) throw new ProvisioningError(safeMsg`CreateInstance returned no Arn for Connect instance ${logicalId}`, resourceType, logicalId);
|
|
21036
|
+
reportCreatedResource(logicalId, resourceType, arn);
|
|
21037
|
+
const instanceId = response.Id ?? connectInstanceIdOf(arn);
|
|
21038
|
+
const deadline = this.deadline();
|
|
21039
|
+
const written = [...attributes].filter(([key]) => !CREATE_CALL_ATTRIBUTES.has(key));
|
|
21040
|
+
const mustSettle = written.some(([key, flag]) => !flag && CONNECT_INSTANCE_ASYNC_DEFAULTS.includes(CONNECT_INSTANCE_ATTRIBUTE_TYPES[key]));
|
|
21041
|
+
let instance = await this.waitForInstance(instanceId, logicalId, mustSettle ? "settled" : "ready", deadline, mask);
|
|
21042
|
+
for (const [key, flag] of written) await this.updateAttribute(instanceId, key, flag, deadline, logicalId, mask);
|
|
21043
|
+
const noWait = process.env["CDKD_NO_WAIT"] === "true";
|
|
21044
|
+
if (noWait) this.logger.debug(mask(`Skipping the ACTIVE wait for Connect instance ${logicalId} (CDKD_NO_WAIT=true)`));
|
|
21045
|
+
else {
|
|
21046
|
+
instance = await this.waitForInstance(instanceId, logicalId, "active", deadline, mask);
|
|
21047
|
+
if (written.length > 0) {
|
|
21048
|
+
const live = attributesFromList(await this.listAttributes(instanceId));
|
|
21049
|
+
for (const [key, flag] of written) {
|
|
21050
|
+
if (live[key] === void 0 || live[key] === flag) continue;
|
|
21051
|
+
this.logger.debug(mask(`Connect instance ${logicalId}: ${key} reverted, writing it again`));
|
|
21052
|
+
await this.updateAttribute(instanceId, key, flag, deadline, logicalId, mask);
|
|
21053
|
+
}
|
|
21054
|
+
}
|
|
21055
|
+
}
|
|
21056
|
+
createToken.release();
|
|
21057
|
+
return {
|
|
21058
|
+
physicalId: arn,
|
|
21059
|
+
attributes: {
|
|
21060
|
+
...attributesOf(instance, noWait),
|
|
21061
|
+
Id: instanceId,
|
|
21062
|
+
Arn: arn
|
|
21063
|
+
}
|
|
21064
|
+
};
|
|
21065
|
+
} catch (error) {
|
|
21066
|
+
if (isInterruptedWaitError(error)) throw error;
|
|
21067
|
+
const cause = error instanceof Error ? error : void 0;
|
|
21068
|
+
let thrown = error instanceof CdkdError && error instanceof ProvisioningError ? error : this.wrapMaskedError(mask, error, (text) => new ProvisioningError(`Failed to create Connect instance ${logicalId}: ${text}`, resourceType, logicalId, arn, cause));
|
|
21069
|
+
if (arn !== void 0) thrown = await this.retireFailedCreate(thrown, logicalId, resourceType, arn, mask, () => createToken.release());
|
|
21070
|
+
throw thrown;
|
|
21071
|
+
}
|
|
21072
|
+
}
|
|
21073
|
+
async createInstance(input, alias, logicalId, mask) {
|
|
21074
|
+
const releaseDeadline = Date.now() + this.aliasReleaseWaitMs;
|
|
21075
|
+
const watch = startInterruptWatch(`Connect instance ${logicalId} alias release wait`);
|
|
21076
|
+
try {
|
|
21077
|
+
for (;;) try {
|
|
21078
|
+
return await this.getClient().send(new CreateInstanceCommand(input));
|
|
21079
|
+
} catch (error) {
|
|
21080
|
+
if (alias === void 0 || !(error instanceof InvalidRequestException) || !/alias is already used/i.test(error.message) || Date.now() >= releaseDeadline || await this.aliasIsListed(alias, mask)) throw error;
|
|
21081
|
+
this.logger.debug(mask(`Connect instance ${logicalId}: alias ${alias} still being released, retrying`));
|
|
21082
|
+
if (watch.isInterrupted()) throw watch.onInterrupted();
|
|
21083
|
+
await this.instanceWait.sleep(this.instanceWait.pollIntervalMs);
|
|
21084
|
+
}
|
|
21085
|
+
} finally {
|
|
21086
|
+
watch.dispose();
|
|
21087
|
+
}
|
|
21088
|
+
}
|
|
21089
|
+
aliasReleaseWaitMs = 18e4;
|
|
21090
|
+
async aliasIsListed(alias, mask) {
|
|
21091
|
+
try {
|
|
21092
|
+
let nextToken;
|
|
21093
|
+
do {
|
|
21094
|
+
const page = await this.getClient().send(new ListInstancesCommand({ NextToken: nextToken }));
|
|
21095
|
+
if (page.InstanceSummaryList?.some((s) => s.InstanceAlias === alias)) return true;
|
|
21096
|
+
nextToken = page.NextToken;
|
|
21097
|
+
} while (nextToken);
|
|
21098
|
+
return false;
|
|
21099
|
+
} catch (error) {
|
|
21100
|
+
this.logger.debug(mask(`ListInstances failed while checking alias ${alias}: ${describeAwsFailure(error).detail}`));
|
|
21101
|
+
return true;
|
|
21102
|
+
}
|
|
21103
|
+
}
|
|
21104
|
+
async deleteInstanceConfirmed(instanceId) {
|
|
21105
|
+
const deadline = this.deadline();
|
|
21106
|
+
const watch = startInterruptWatch(`Connect instance ${instanceId} delete`);
|
|
21107
|
+
try {
|
|
21108
|
+
for (;;) try {
|
|
21109
|
+
await this.getClient().send(new DeleteInstanceCommand({ InstanceId: instanceId }));
|
|
21110
|
+
return "deleted";
|
|
21111
|
+
} catch (error) {
|
|
21112
|
+
if (!(error instanceof ResourceNotFoundException$11)) throw error;
|
|
21113
|
+
try {
|
|
21114
|
+
await this.getClient().send(new DescribeInstanceCommand({ InstanceId: instanceId }));
|
|
21115
|
+
} catch (describeError) {
|
|
21116
|
+
if (describeError instanceof ResourceNotFoundException$11) return "gone";
|
|
21117
|
+
throw describeError;
|
|
21118
|
+
}
|
|
21119
|
+
if (Date.now() >= deadline) throw error;
|
|
21120
|
+
if (watch.isInterrupted()) throw watch.onInterrupted();
|
|
21121
|
+
await this.instanceWait.sleep(this.instanceWait.pollIntervalMs);
|
|
21122
|
+
}
|
|
21123
|
+
} finally {
|
|
21124
|
+
watch.dispose();
|
|
21125
|
+
}
|
|
21126
|
+
}
|
|
21127
|
+
deadline() {
|
|
21128
|
+
const userTimeoutMs = resolvedResourceTimeoutMs(RESOURCE_TYPE);
|
|
21129
|
+
const timeoutMs = userTimeoutMs === void 0 ? this.instanceWait.timeoutMs : Math.min(this.instanceWait.timeoutMs, userTimeoutMs / 2);
|
|
21130
|
+
return Date.now() + timeoutMs;
|
|
21131
|
+
}
|
|
21132
|
+
async retireFailedCreate(thrown, logicalId, resourceType, arn, mask, onGone) {
|
|
21133
|
+
try {
|
|
21134
|
+
await this.deleteInstanceConfirmed(connectInstanceIdOf(arn));
|
|
21135
|
+
retractCreatedResource(logicalId, resourceType, arn);
|
|
21136
|
+
onGone();
|
|
21137
|
+
return thrown;
|
|
21138
|
+
} catch (cleanupError) {
|
|
21139
|
+
const failure = describeAwsFailure(cleanupError);
|
|
21140
|
+
this.logger.debug(mask(`Failed to delete Connect instance ${arn} after its create failed: ${failure.detail}`));
|
|
21141
|
+
this.logger.warn(mask(safeMsg`Connect instance ${logicalId} (${arn}) was created but its create failed, and deleting it failed too (${failure.summary}). Delete it before the next deploy: aws connect delete-instance --instance-id ${connectInstanceIdOf(arn)}`));
|
|
21142
|
+
return markCreatedBeforeFailure(thrown, logicalId, resourceType, arn);
|
|
21143
|
+
}
|
|
21144
|
+
}
|
|
21145
|
+
async waitForInstance(instanceId, logicalId, until, deadline, mask) {
|
|
21146
|
+
const { pollIntervalMs, sleep } = this.instanceWait;
|
|
21147
|
+
const watch = startInterruptWatch(`Connect instance ${logicalId} ${until} wait`);
|
|
21148
|
+
let instance;
|
|
21149
|
+
try {
|
|
21150
|
+
for (;;) {
|
|
21151
|
+
let ready = false;
|
|
21152
|
+
try {
|
|
21153
|
+
instance = (await this.getClient().send(new DescribeInstanceCommand({ InstanceId: instanceId }))).Instance;
|
|
21154
|
+
const status = instance?.InstanceStatus;
|
|
21155
|
+
if (status === "CREATION_FAILED") {
|
|
21156
|
+
const reason = instance?.StatusReason?.Message;
|
|
21157
|
+
if (reason) this.logger.debug(mask(`Connect instance ${logicalId} entered CREATION_FAILED: ${reason}`));
|
|
21158
|
+
throw markNonRetryable(new ProvisioningError(safeMsg`Connect instance ${logicalId} entered CREATION_FAILED.` + verbosePointerTail(), RESOURCE_TYPE, logicalId, instance?.Arn));
|
|
21159
|
+
}
|
|
21160
|
+
if (status === "ACTIVE") return instance;
|
|
21161
|
+
if (until === "ready") {
|
|
21162
|
+
await this.getClient().send(new DescribeInstanceAttributeCommand$1({
|
|
21163
|
+
InstanceId: instanceId,
|
|
21164
|
+
AttributeType: "INBOUND_CALLS"
|
|
21165
|
+
}));
|
|
21166
|
+
ready = true;
|
|
21167
|
+
} else if (until === "settled") {
|
|
21168
|
+
const live = new Map((await this.listAttributes(instanceId)).map((a) => [a.AttributeType, a.Value]));
|
|
21169
|
+
ready = CONNECT_INSTANCE_ASYNC_DEFAULTS.every((type) => live.get(type) === "true");
|
|
21170
|
+
}
|
|
21171
|
+
} catch (error) {
|
|
21172
|
+
if (error instanceof ProvisioningError) throw error;
|
|
21173
|
+
if (!(error instanceof ResourceNotFoundException$11) && !isTransientRead(error)) throw error;
|
|
21174
|
+
if (Date.now() >= deadline) throw error;
|
|
21175
|
+
this.logger.debug(mask(`Connect instance ${instanceId}: not readable yet (${describeAwsFailure(error).summary})`));
|
|
21176
|
+
}
|
|
21177
|
+
if (ready) return instance;
|
|
21178
|
+
if (Date.now() >= deadline) throw markNonRetryable(new ProvisioningError(safeMsg`Connect instance ${logicalId} was still ${instance?.InstanceStatus ?? "unreadable"} when its ${until === "active" ? "ACTIVE" : "readiness"} wait ran out`, RESOURCE_TYPE, logicalId, instance?.Arn));
|
|
21179
|
+
if (watch.isInterrupted()) throw watch.onInterrupted();
|
|
21180
|
+
await sleep(pollIntervalMs);
|
|
21181
|
+
}
|
|
21182
|
+
} finally {
|
|
21183
|
+
watch.dispose();
|
|
21184
|
+
}
|
|
21185
|
+
}
|
|
21186
|
+
async updateAttribute(instanceId, key, flag, deadline, logicalId, mask) {
|
|
21187
|
+
const attributeType = CONNECT_INSTANCE_ATTRIBUTE_TYPES[key];
|
|
21188
|
+
for (;;) try {
|
|
21189
|
+
await this.getClient().send(new UpdateInstanceAttributeCommand({
|
|
21190
|
+
InstanceId: instanceId,
|
|
21191
|
+
AttributeType: attributeType,
|
|
21192
|
+
Value: String(flag)
|
|
21193
|
+
}));
|
|
21194
|
+
return;
|
|
21195
|
+
} catch (error) {
|
|
21196
|
+
if (!(error instanceof ResourceNotFoundException$11) && !isTransientRead(error)) throw error;
|
|
21197
|
+
if (Date.now() >= deadline) throw error;
|
|
21198
|
+
this.logger.debug(mask(`Connect instance ${logicalId}: ${key} not writable yet, retrying`));
|
|
21199
|
+
await this.instanceWait.sleep(this.instanceWait.pollIntervalMs);
|
|
21200
|
+
}
|
|
21201
|
+
}
|
|
21202
|
+
async update(logicalId, physicalId, resourceType, properties, previousProperties, context) {
|
|
21203
|
+
assertRegionMatch(context?.expectedRegion ? await this.getClient().config.region() : void 0, context?.expectedRegion, resourceType, logicalId, physicalId, "pre-update");
|
|
21204
|
+
const mask = maskerOrIdentity(context?.maskSecrets);
|
|
21205
|
+
const stateBorne = context?.replayingState === true || context?.desiredFromAwsReadback === true;
|
|
21206
|
+
let desired;
|
|
21207
|
+
try {
|
|
21208
|
+
desired = this.desiredAttributes(properties, logicalId, physicalId);
|
|
21209
|
+
} catch (error) {
|
|
21210
|
+
if (!stateBorne) throw error;
|
|
21211
|
+
desired = readAttributes(properties["Attributes"]).values;
|
|
21212
|
+
this.logger.warn(safeMsg`${logicalId} (${resourceType}): Attributes is not a block of booleans; only its usable members are applied.`);
|
|
21213
|
+
}
|
|
21214
|
+
const previous = readAttributes(previousProperties["Attributes"]).values;
|
|
21215
|
+
const changed = [...desired].filter(([key, flag]) => previous.get(key) !== flag);
|
|
21216
|
+
const toWrite = context?.unsettledProperties?.has("Attributes") === true ? [...desired] : changed;
|
|
21217
|
+
const removed = [...previous.keys()].filter((key) => !desired.has(key));
|
|
21218
|
+
if (removed.length > 0) this.logger.warn(safeMsg`${logicalId} (${resourceType}): Attributes no longer declares ${removed.join(", ")}; the instance keeps the current value.`);
|
|
21219
|
+
const desiredTags = refuseMalformedDesiredTags(properties["Tags"], resourceType, logicalId, physicalId);
|
|
21220
|
+
const recordedPlan = planTagDiff(previousProperties["Tags"], desiredTags);
|
|
21221
|
+
const plan = context?.unsettledProperties?.has("Tags") === true ? {
|
|
21222
|
+
...recordedPlan,
|
|
21223
|
+
set: planTagDiff([], desiredTags).set
|
|
21224
|
+
} : recordedPlan;
|
|
21225
|
+
const warning = tagPlanWarning(plan, resourceType, logicalId);
|
|
21226
|
+
if (warning) this.logger.warn(warning);
|
|
21227
|
+
const instanceId = connectInstanceIdOf(physicalId);
|
|
21228
|
+
try {
|
|
21229
|
+
if (toWrite.length > 0) {
|
|
21230
|
+
context?.markUnsettled?.("Attributes");
|
|
21231
|
+
this.logger.debug(mask(`Updating Connect instance ${logicalId} attributes: ${physicalId}`));
|
|
21232
|
+
for (const [key, flag] of toWrite) await this.updateAttribute(instanceId, key, flag, Date.now(), logicalId, mask);
|
|
21233
|
+
}
|
|
21234
|
+
if (plan.remove.length > 0 || plan.set.size > 0) {
|
|
21235
|
+
context?.markUnsettled?.("Tags");
|
|
21236
|
+
if (plan.remove.length > 0) await this.getClient().send(new UntagResourceCommand$14({
|
|
21237
|
+
resourceArn: physicalId,
|
|
21238
|
+
tagKeys: plan.remove
|
|
21239
|
+
}));
|
|
21240
|
+
if (plan.set.size > 0) await this.getClient().send(new TagResourceCommand$14({
|
|
21241
|
+
resourceArn: physicalId,
|
|
21242
|
+
tags: Object.fromEntries(plan.set)
|
|
21243
|
+
}));
|
|
21244
|
+
}
|
|
21245
|
+
return {
|
|
21246
|
+
physicalId,
|
|
21247
|
+
wasReplaced: false
|
|
21248
|
+
};
|
|
21249
|
+
} catch (error) {
|
|
21250
|
+
if (error instanceof CdkdError || isInterruptedWaitError(error)) throw error;
|
|
21251
|
+
if (error instanceof ResourceNotFoundException$11) assertRegionMatch(await this.getClient().config.region(), context?.expectedRegion ?? arnRegionOf(physicalId), resourceType, logicalId, physicalId);
|
|
21252
|
+
const cause = error instanceof Error ? error : void 0;
|
|
21253
|
+
throw this.wrapMaskedError(mask, error, (text) => new ProvisioningError(`Failed to update Connect instance ${logicalId}: ${text}`, resourceType, logicalId, physicalId, cause));
|
|
21254
|
+
}
|
|
21255
|
+
}
|
|
21256
|
+
async delete(logicalId, physicalId, resourceType, _properties, context) {
|
|
21257
|
+
this.logger.debug(safeMsg`Deleting Connect instance ${logicalId}: ${physicalId}`);
|
|
21258
|
+
const mask = maskerOrIdentity(context?.maskSecrets);
|
|
21259
|
+
let outcome;
|
|
21260
|
+
try {
|
|
21261
|
+
outcome = await this.deleteInstanceConfirmed(connectInstanceIdOf(physicalId));
|
|
21262
|
+
} catch (error) {
|
|
21263
|
+
if (isInterruptedWaitError(error)) throw error;
|
|
21264
|
+
const cause = error instanceof Error ? error : void 0;
|
|
21265
|
+
const failure = this.wrapMaskedError(mask, error, (text) => new ProvisioningError(`Failed to delete Connect instance ${logicalId}: ${text}`, resourceType, logicalId, physicalId, cause));
|
|
21266
|
+
throw error instanceof Error && error.name.includes("NotFound") ? markNotGone(failure) : failure;
|
|
21267
|
+
}
|
|
21268
|
+
if (outcome === "gone") {
|
|
21269
|
+
assertRegionMatch(await this.getClient().config.region(), context?.expectedRegion ?? arnRegionOf(physicalId), resourceType, logicalId, physicalId);
|
|
21270
|
+
this.logger.debug(safeMsg`Connect instance ${physicalId} does not exist, skipping`);
|
|
21271
|
+
}
|
|
21272
|
+
}
|
|
21273
|
+
async listAttributes(instanceId) {
|
|
21274
|
+
const list = [];
|
|
21275
|
+
let nextToken;
|
|
21276
|
+
do {
|
|
21277
|
+
const page = await this.getClient().send(new ListInstanceAttributesCommand({
|
|
21278
|
+
InstanceId: instanceId,
|
|
21279
|
+
NextToken: nextToken
|
|
21280
|
+
}));
|
|
21281
|
+
list.push(...page.Attributes ?? []);
|
|
21282
|
+
nextToken = page.NextToken;
|
|
21283
|
+
} while (nextToken);
|
|
21284
|
+
return list;
|
|
21285
|
+
}
|
|
21286
|
+
async getAttribute(physicalId, _resourceType, attributeName) {
|
|
21287
|
+
if (attributeName === "Arn") return physicalId;
|
|
21288
|
+
if (attributeName === "Id") return connectInstanceIdOf(physicalId);
|
|
21289
|
+
return attributesOf((await this.getClient().send(new DescribeInstanceCommand({ InstanceId: connectInstanceIdOf(physicalId) }))).Instance)[attributeName];
|
|
21290
|
+
}
|
|
21291
|
+
async readCurrentState(physicalId, _logicalId, _resourceType) {
|
|
21292
|
+
const instanceId = connectInstanceIdOf(physicalId);
|
|
21293
|
+
try {
|
|
21294
|
+
const instance = (await this.getClient().send(new DescribeInstanceCommand({ InstanceId: instanceId }))).Instance;
|
|
21295
|
+
if (!instance) return RESOURCE_NOT_FOUND;
|
|
21296
|
+
const list = await this.listAttributes(instanceId);
|
|
21297
|
+
const result = {};
|
|
21298
|
+
if (instance.IdentityManagementType !== void 0) result["IdentityManagementType"] = instance.IdentityManagementType;
|
|
21299
|
+
if (instance.InstanceAlias !== void 0) result["InstanceAlias"] = instance.InstanceAlias;
|
|
21300
|
+
result["Attributes"] = attributesFromList(list);
|
|
21301
|
+
result["Tags"] = normalizeAwsTagsToCfn(instance.Tags);
|
|
21302
|
+
return result;
|
|
21303
|
+
} catch (err) {
|
|
21304
|
+
if (err instanceof ResourceNotFoundException$11) return RESOURCE_NOT_FOUND;
|
|
21305
|
+
throw err;
|
|
21306
|
+
}
|
|
21307
|
+
}
|
|
21308
|
+
async import(input) {
|
|
21309
|
+
if (input.knownPhysicalId) try {
|
|
21310
|
+
const instance = (await this.getClient().send(new DescribeInstanceCommand({ InstanceId: connectInstanceIdOf(input.knownPhysicalId) }))).Instance;
|
|
21311
|
+
if (!instance?.Arn) return null;
|
|
21312
|
+
return {
|
|
21313
|
+
physicalId: instance.Arn,
|
|
21314
|
+
attributes: attributesOf(instance)
|
|
21315
|
+
};
|
|
21316
|
+
} catch (err) {
|
|
21317
|
+
if (err instanceof ResourceNotFoundException$11) return null;
|
|
21318
|
+
throw err;
|
|
21319
|
+
}
|
|
21320
|
+
const alias = readNameProperty(input, "InstanceAlias");
|
|
21321
|
+
if (alias === void 0) return null;
|
|
21322
|
+
let nextToken;
|
|
21323
|
+
do {
|
|
21324
|
+
const page = await this.getClient().send(new ListInstancesCommand({ NextToken: nextToken }));
|
|
21325
|
+
const match = page.InstanceSummaryList?.find((s) => s.InstanceAlias === alias);
|
|
21326
|
+
if (match?.Arn) return {
|
|
21327
|
+
physicalId: match.Arn,
|
|
21328
|
+
attributes: definedAttributes({
|
|
21329
|
+
Id: match.Id,
|
|
21330
|
+
Arn: match.Arn,
|
|
21331
|
+
ServiceRole: match.ServiceRole,
|
|
21332
|
+
CreatedTime: match.CreatedTime?.toISOString(),
|
|
21333
|
+
InstanceStatus: match.InstanceStatus
|
|
21334
|
+
})
|
|
21335
|
+
};
|
|
21336
|
+
nextToken = page.NextToken;
|
|
21337
|
+
} while (nextToken);
|
|
21338
|
+
return null;
|
|
21339
|
+
}
|
|
21340
|
+
};
|
|
21341
|
+
|
|
20879
21342
|
// src/provisioning/providers/ec2/common.ts
|
|
20880
21343
|
function isEc2NotFoundCode(error) {
|
|
20881
21344
|
const name = error?.name;
|
|
@@ -31172,11 +31635,11 @@ async function applyTagDiff$14(path, change) {
|
|
|
31172
31635
|
const region = await this.getClient().config.region();
|
|
31173
31636
|
const { partition } = derivePartitionAndUrlSuffix(region);
|
|
31174
31637
|
const resourceArn = `arn:${partition}:apigateway:${canonicalizeRegion(region)}::${path}`;
|
|
31175
|
-
if (change.remove.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
31638
|
+
if (change.remove.length > 0) await this.getClient().send(new UntagResourceCommand$15({
|
|
31176
31639
|
ResourceArn: resourceArn,
|
|
31177
31640
|
TagKeys: change.remove
|
|
31178
31641
|
}));
|
|
31179
|
-
if (Object.keys(change.set).length > 0) await this.getClient().send(new TagResourceCommand$
|
|
31642
|
+
if (Object.keys(change.set).length > 0) await this.getClient().send(new TagResourceCommand$15({
|
|
31180
31643
|
ResourceArn: resourceArn,
|
|
31181
31644
|
Tags: change.set
|
|
31182
31645
|
}));
|
|
@@ -33617,14 +34080,14 @@ async function applyTagDiff$12(stateMachineArn, resourceType, logicalId, oldTags
|
|
|
33617
34080
|
}));
|
|
33618
34081
|
const tagsToRemove = plan.remove;
|
|
33619
34082
|
if (tagsToRemove.length > 0) {
|
|
33620
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
34083
|
+
await this.getClient().send(new UntagResourceCommand$16({
|
|
33621
34084
|
resourceArn: stateMachineArn,
|
|
33622
34085
|
tagKeys: tagsToRemove
|
|
33623
34086
|
}));
|
|
33624
34087
|
this.logger.debug(`Removed ${tagsToRemove.length} tag(s) from SFN state machine ${stateMachineArn}`);
|
|
33625
34088
|
}
|
|
33626
34089
|
if (tagsToAdd.length > 0) {
|
|
33627
|
-
await this.getClient().send(new TagResourceCommand$
|
|
34090
|
+
await this.getClient().send(new TagResourceCommand$16({
|
|
33628
34091
|
resourceArn: stateMachineArn,
|
|
33629
34092
|
tags: tagsToAdd
|
|
33630
34093
|
}));
|
|
@@ -35076,14 +35539,14 @@ async function applyTagDiff$11(resourceArn, resourceType, logicalId, oldTagsRaw,
|
|
|
35076
35539
|
}));
|
|
35077
35540
|
const tagsToRemove = plan.remove;
|
|
35078
35541
|
if (tagsToRemove.length > 0) {
|
|
35079
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
35542
|
+
await this.getClient().send(new UntagResourceCommand$17({
|
|
35080
35543
|
resourceArn,
|
|
35081
35544
|
tagKeys: tagsToRemove
|
|
35082
35545
|
}));
|
|
35083
35546
|
log.debug(`Removed ${tagsToRemove.length} tag(s) from ECS resource ${resourceArn}`);
|
|
35084
35547
|
}
|
|
35085
35548
|
if (tagsToAdd.length > 0) {
|
|
35086
|
-
await this.getClient().send(new TagResourceCommand$
|
|
35549
|
+
await this.getClient().send(new TagResourceCommand$17({
|
|
35087
35550
|
resourceArn,
|
|
35088
35551
|
tags: tagsToAdd
|
|
35089
35552
|
}));
|
|
@@ -41205,11 +41668,11 @@ var AppConfigEnvironmentProvider = class {
|
|
|
41205
41668
|
if (warning) this.logger.warn(warning);
|
|
41206
41669
|
if (plan.set.size > 0 || plan.remove.length > 0) {
|
|
41207
41670
|
const arn = await this.environmentArn(applicationId, environmentId);
|
|
41208
|
-
if (plan.remove.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
41671
|
+
if (plan.remove.length > 0) await this.getClient().send(new UntagResourceCommand$18({
|
|
41209
41672
|
ResourceArn: arn,
|
|
41210
41673
|
TagKeys: plan.remove
|
|
41211
41674
|
}));
|
|
41212
|
-
if (plan.set.size > 0) await this.getClient().send(new TagResourceCommand$
|
|
41675
|
+
if (plan.set.size > 0) await this.getClient().send(new TagResourceCommand$18({
|
|
41213
41676
|
ResourceArn: arn,
|
|
41214
41677
|
Tags: Object.fromEntries(plan.set)
|
|
41215
41678
|
}));
|
|
@@ -43641,14 +44104,14 @@ async function applyTagDiff$8(arn, resourceType, logicalId, oldTagsRaw, newTagsR
|
|
|
43641
44104
|
}));
|
|
43642
44105
|
const tagsToRemove = plan.remove;
|
|
43643
44106
|
if (tagsToRemove.length > 0) {
|
|
43644
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
44107
|
+
await this.getClient().send(new UntagResourceCommand$19({
|
|
43645
44108
|
ResourceARN: arn,
|
|
43646
44109
|
TagKeys: tagsToRemove
|
|
43647
44110
|
}));
|
|
43648
44111
|
this.logger.debug(`Removed ${tagsToRemove.length} tag(s) from WAFv2 WebACL ${arn}`);
|
|
43649
44112
|
}
|
|
43650
44113
|
if (tagsToAdd.length > 0) {
|
|
43651
|
-
await this.getClient().send(new TagResourceCommand$
|
|
44114
|
+
await this.getClient().send(new TagResourceCommand$19({
|
|
43652
44115
|
ResourceARN: arn,
|
|
43653
44116
|
Tags: tagsToAdd
|
|
43654
44117
|
}));
|
|
@@ -44090,7 +44553,7 @@ async function readCurrentState$19(physicalId, _logicalId, resourceType) {
|
|
|
44090
44553
|
try {
|
|
44091
44554
|
resp = await this.getClient().send(new DescribeUserPoolCommand({ UserPoolId: physicalId }));
|
|
44092
44555
|
} catch (err) {
|
|
44093
|
-
if (err instanceof ResourceNotFoundException$
|
|
44556
|
+
if (err instanceof ResourceNotFoundException$12) return RESOURCE_NOT_FOUND;
|
|
44094
44557
|
throw err;
|
|
44095
44558
|
}
|
|
44096
44559
|
const pool = resp.UserPool;
|
|
@@ -44140,7 +44603,7 @@ async function readCurrentState$19(physicalId, _logicalId, resourceType) {
|
|
|
44140
44603
|
result["WebAuthnUserVerification"] = mfa.WebAuthnConfiguration?.UserVerification ?? "";
|
|
44141
44604
|
result["WebAuthnFactorConfiguration"] = mfa.WebAuthnConfiguration?.FactorConfiguration ?? "";
|
|
44142
44605
|
} catch (mfaErr) {
|
|
44143
|
-
if (!(mfaErr instanceof ResourceNotFoundException$
|
|
44606
|
+
if (!(mfaErr instanceof ResourceNotFoundException$12)) throw mfaErr;
|
|
44144
44607
|
this.logger.debug(`GetUserPoolMfaConfig failed for ${physicalId}, skipping MFA-derived drift keys: ${describeAwsFailure(mfaErr).detail}`);
|
|
44145
44608
|
}
|
|
44146
44609
|
return result;
|
|
@@ -44163,7 +44626,7 @@ async function importImpl$18(input) {
|
|
|
44163
44626
|
attributes: await this.userPoolAttributes(input.knownPhysicalId, resp.UserPool?.Arn)
|
|
44164
44627
|
};
|
|
44165
44628
|
} catch (err) {
|
|
44166
|
-
if (err instanceof ResourceNotFoundException$
|
|
44629
|
+
if (err instanceof ResourceNotFoundException$12) return null;
|
|
44167
44630
|
throw err;
|
|
44168
44631
|
}
|
|
44169
44632
|
const desiredName = typeof input.properties?.["UserPoolName"] === "string" ? input.properties["UserPoolName"] : void 0;
|
|
@@ -44179,7 +44642,7 @@ async function importImpl$18(input) {
|
|
|
44179
44642
|
try {
|
|
44180
44643
|
resp = await this.getClient().send(new DescribeUserPoolCommand({ UserPoolId: pool.Id }));
|
|
44181
44644
|
} catch (err) {
|
|
44182
|
-
if (err instanceof ResourceNotFoundException$
|
|
44645
|
+
if (err instanceof ResourceNotFoundException$12) return null;
|
|
44183
44646
|
throw err;
|
|
44184
44647
|
}
|
|
44185
44648
|
return {
|
|
@@ -44671,7 +45134,7 @@ async function untagRemovedUserPoolTags(logicalId, physicalId, resourceType, poo
|
|
|
44671
45134
|
this.logger.warn(safeMsg`Cognito User Pool ${logicalId} (${physicalId}): the template no longer declares ` + safeMsg`${removed.length} UserPoolTags key(s), but DescribeUserPool returned no ARN to ` + safeMsg`untag them with, so they stay on the pool. Remove them with ` + safeMsg`aws cognito-idp untag-resource.`);
|
|
44672
45135
|
return;
|
|
44673
45136
|
}
|
|
44674
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
45137
|
+
await this.getClient().send(new UntagResourceCommand$20({
|
|
44675
45138
|
ResourceArn: poolArn,
|
|
44676
45139
|
TagKeys: removed
|
|
44677
45140
|
}));
|
|
@@ -44782,7 +45245,7 @@ async function deleteImpl$19(logicalId, physicalId, resourceType, _properties, c
|
|
|
44782
45245
|
} catch (bareError) {
|
|
44783
45246
|
failure = bareError;
|
|
44784
45247
|
}
|
|
44785
|
-
if (readOn && !(failure instanceof ResourceNotFoundException$
|
|
45248
|
+
if (readOn && !(failure instanceof ResourceNotFoundException$12)) {
|
|
44786
45249
|
const mask = maskerOrIdentity(context?.maskSecrets);
|
|
44787
45250
|
this.logger.debug(mask(safeMsg`Writing DeletionProtection back on ${mask(physicalId)} failed: ${mask(describeAwsFailure(failure).detail)}`));
|
|
44788
45251
|
return "read-on-write-failed";
|
|
@@ -44844,7 +45307,7 @@ async function deleteOnce$1(logicalId, physicalId, resourceType, context, flip)
|
|
|
44844
45307
|
return;
|
|
44845
45308
|
}
|
|
44846
45309
|
if (!observedPool) {
|
|
44847
|
-
if (observeError instanceof ResourceNotFoundException$
|
|
45310
|
+
if (observeError instanceof ResourceNotFoundException$12) return;
|
|
44848
45311
|
if (observeError !== void 0 && isTransientCognitoFailure(observeError)) {
|
|
44849
45312
|
transientReadError = observeError;
|
|
44850
45313
|
return;
|
|
@@ -44867,7 +45330,7 @@ async function deleteOnce$1(logicalId, physicalId, resourceType, context, flip)
|
|
|
44867
45330
|
flip.deleteAccepted = true;
|
|
44868
45331
|
this.logger.debug(`Successfully deleted Cognito User Pool ${logicalId}`);
|
|
44869
45332
|
} catch (error) {
|
|
44870
|
-
if (error instanceof ResourceNotFoundException$
|
|
45333
|
+
if (error instanceof ResourceNotFoundException$12) {
|
|
44871
45334
|
const clientRegion = await this.getClient().config.region();
|
|
44872
45335
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
44873
45336
|
this.logger.debug(`Cognito User Pool ${physicalId} does not exist, skipping deletion`);
|
|
@@ -44924,7 +45387,7 @@ async function disableUserPoolDeletionProtection(physicalId, pool, flip, mask) {
|
|
|
44924
45387
|
if (earlier) earlier.echoedSince = true;
|
|
44925
45388
|
return;
|
|
44926
45389
|
} catch (echoError) {
|
|
44927
|
-
if (echoError instanceof ResourceNotFoundException$
|
|
45390
|
+
if (echoError instanceof ResourceNotFoundException$12) throw echoError;
|
|
44928
45391
|
if (typeof echoError === "object" && echoError !== null && sentWithoutEmail.has(echoError) && isAmbiguousWriteFailure(echoError) && !this.emailOmittedFlips.has(flip)) this.emailOmittedFlips.set(flip, "ambiguous");
|
|
44929
45392
|
if (observedOn && isAmbiguousWriteFailure(echoError)) flip.flippedOffByThisRun = true;
|
|
44930
45393
|
if (isTransientCognitoFailure(echoError)) throw echoError;
|
|
@@ -44938,7 +45401,7 @@ async function disableUserPoolDeletionProtection(physicalId, pool, flip, mask) {
|
|
|
44938
45401
|
DeletionProtection: "INACTIVE"
|
|
44939
45402
|
}));
|
|
44940
45403
|
} catch (bareError) {
|
|
44941
|
-
if (bareError instanceof ResourceNotFoundException$
|
|
45404
|
+
if (bareError instanceof ResourceNotFoundException$12) throw bareError;
|
|
44942
45405
|
if (isAmbiguousWriteFailure(bareError)) {
|
|
44943
45406
|
if (observedOn) flip.flippedOffByThisRun = true;
|
|
44944
45407
|
if (!this.preFlipPools.has(flip)) this.preFlipPools.set(flip, {
|
|
@@ -46015,11 +46478,11 @@ async function syncNamespaceTags(logicalId, physicalId, resourceType, properties
|
|
|
46015
46478
|
const hasAdds = tagsToAdd.length > 0;
|
|
46016
46479
|
if (removedKeys.length === 0 && !hasAdds) return;
|
|
46017
46480
|
const arn = await this.resolveNamespaceArn(physicalId);
|
|
46018
|
-
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
46481
|
+
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$21({
|
|
46019
46482
|
ResourceARN: arn,
|
|
46020
46483
|
TagKeys: removedKeys
|
|
46021
46484
|
}));
|
|
46022
|
-
if (hasAdds) await this.getClient().send(new TagResourceCommand$
|
|
46485
|
+
if (hasAdds) await this.getClient().send(new TagResourceCommand$20({
|
|
46023
46486
|
ResourceARN: arn,
|
|
46024
46487
|
Tags: tagsToAdd
|
|
46025
46488
|
}));
|
|
@@ -46500,11 +46963,11 @@ async function updateService(logicalId, physicalId, resourceType, properties, pr
|
|
|
46500
46963
|
if (hasTagChange) {
|
|
46501
46964
|
const arn = knownArn ?? (await client.send(new GetServiceCommand({ Id: physicalId }))).Service?.Arn;
|
|
46502
46965
|
if (!arn) throw new ProvisioningError(safeMsg`Could not resolve the ARN of service discovery service ${logicalId}; its Tags were not updated`, resourceType, logicalId, physicalId);
|
|
46503
|
-
if (tagPlan.remove.length > 0) await client.send(new UntagResourceCommand$
|
|
46966
|
+
if (tagPlan.remove.length > 0) await client.send(new UntagResourceCommand$21({
|
|
46504
46967
|
ResourceARN: arn,
|
|
46505
46968
|
TagKeys: tagPlan.remove
|
|
46506
46969
|
}));
|
|
46507
|
-
if (tagPlan.set.size > 0) await client.send(new TagResourceCommand$
|
|
46970
|
+
if (tagPlan.set.size > 0) await client.send(new TagResourceCommand$20({
|
|
46508
46971
|
ResourceARN: arn,
|
|
46509
46972
|
Tags: [...tagPlan.set].map(([Key, Value]) => ({
|
|
46510
46973
|
Key,
|
|
@@ -46764,7 +47227,7 @@ async function attachTags(result, arn) {
|
|
|
46764
47227
|
const tagsResp = await this.getClient().send(new ListTagsForResourceCommand$15({ ResourceARN: arn }));
|
|
46765
47228
|
result["Tags"] = normalizeAwsTagsToCfn(tagsResp.Tags);
|
|
46766
47229
|
} catch (err) {
|
|
46767
|
-
if (!(err instanceof ResourceNotFoundException$
|
|
47230
|
+
if (!(err instanceof ResourceNotFoundException$13)) throw err;
|
|
46768
47231
|
this.logger.debug(`ServiceDiscovery ListTagsForResource(${arn}) failed: ${describeAwsFailure(err).detail}`);
|
|
46769
47232
|
}
|
|
46770
47233
|
}
|
|
@@ -47490,7 +47953,7 @@ async function applyTagDiff$6(apiId, resourceType, logicalId, oldTagsRaw, newTag
|
|
|
47490
47953
|
const tagKeysToRemove = plan.remove;
|
|
47491
47954
|
const tagsToAdd = Object.fromEntries(plan.set);
|
|
47492
47955
|
if (tagKeysToRemove.length > 0) try {
|
|
47493
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
47956
|
+
await this.getClient().send(new UntagResourceCommand$22({
|
|
47494
47957
|
resourceArn: arn,
|
|
47495
47958
|
tagKeys: tagKeysToRemove
|
|
47496
47959
|
}));
|
|
@@ -47498,7 +47961,7 @@ async function applyTagDiff$6(apiId, resourceType, logicalId, oldTagsRaw, newTag
|
|
|
47498
47961
|
throw this.wrapUpdateError(error, resourceType, logicalId, apiId, "GraphqlApi (untag)", mask);
|
|
47499
47962
|
}
|
|
47500
47963
|
if (Object.keys(tagsToAdd).length > 0) try {
|
|
47501
|
-
await this.getClient().send(new TagResourceCommand$
|
|
47964
|
+
await this.getClient().send(new TagResourceCommand$21({
|
|
47502
47965
|
resourceArn: arn,
|
|
47503
47966
|
tags: tagsToAdd
|
|
47504
47967
|
}));
|
|
@@ -49184,11 +49647,11 @@ async function applyGlueTagDiff(client, resourceArn, recorded, desired, resource
|
|
|
49184
49647
|
if (toSet.size === 0 && plan.remove.length === 0) return;
|
|
49185
49648
|
unsettled.beforeWrite();
|
|
49186
49649
|
const arn = await resourceArn();
|
|
49187
|
-
if (toSet.size > 0) await client.send(new TagResourceCommand$
|
|
49650
|
+
if (toSet.size > 0) await client.send(new TagResourceCommand$22({
|
|
49188
49651
|
ResourceArn: arn,
|
|
49189
49652
|
TagsToAdd: Object.fromEntries(toSet)
|
|
49190
49653
|
}));
|
|
49191
|
-
if (plan.remove.length > 0) await client.send(new UntagResourceCommand$
|
|
49654
|
+
if (plan.remove.length > 0) await client.send(new UntagResourceCommand$23({
|
|
49192
49655
|
ResourceArn: arn,
|
|
49193
49656
|
TagsToRemove: plan.remove
|
|
49194
49657
|
}));
|
|
@@ -52530,7 +52993,7 @@ async function update$15(logicalId, physicalId, resourceType, properties, previo
|
|
|
52530
52993
|
const newTags = this.toSdkResourceTags(next.ResourceTags);
|
|
52531
52994
|
if (prevTags.kind === "list") await this.reconcileResourceTags(accountId, physicalId, this.toSdkResourceTags(removableRecorded("ResourceTags", prevTags.items)), newTags);
|
|
52532
52995
|
else {
|
|
52533
|
-
if (newTags.length > 0) await this.getClient().send(new TagResourceCommand$
|
|
52996
|
+
if (newTags.length > 0) await this.getClient().send(new TagResourceCommand$23({
|
|
52534
52997
|
ResourceARN: await this.budgetArn(accountId, physicalId),
|
|
52535
52998
|
ResourceTags: newTags
|
|
52536
52999
|
}));
|
|
@@ -52674,11 +53137,11 @@ async function reconcileResourceTags(accountId, budgetName, oldTags, newTags) {
|
|
|
52674
53137
|
const removedKeys = oldTags.map((t) => t.Key).filter((k) => {
|
|
52675
53138
|
return typeof k === "string" && !newKeys.has(k);
|
|
52676
53139
|
});
|
|
52677
|
-
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
53140
|
+
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$24({
|
|
52678
53141
|
ResourceARN: arn,
|
|
52679
53142
|
ResourceTagKeys: removedKeys
|
|
52680
53143
|
}));
|
|
52681
|
-
if (newTags.length > 0) await this.getClient().send(new TagResourceCommand$
|
|
53144
|
+
if (newTags.length > 0) await this.getClient().send(new TagResourceCommand$23({
|
|
52682
53145
|
ResourceARN: arn,
|
|
52683
53146
|
ResourceTags: newTags
|
|
52684
53147
|
}));
|
|
@@ -53124,7 +53587,7 @@ async function readStreamArnIfExists(streamName) {
|
|
|
53124
53587
|
try {
|
|
53125
53588
|
response = await this.getClient().send(new DescribeStreamSummaryCommand({ StreamName: streamName }));
|
|
53126
53589
|
} catch (error) {
|
|
53127
|
-
if (error instanceof ResourceNotFoundException$
|
|
53590
|
+
if (error instanceof ResourceNotFoundException$14) return void 0;
|
|
53128
53591
|
throw error;
|
|
53129
53592
|
}
|
|
53130
53593
|
const arn = response.StreamDescriptionSummary?.StreamARN;
|
|
@@ -53135,7 +53598,7 @@ async function readStreamStatusForDelete(streamName) {
|
|
|
53135
53598
|
try {
|
|
53136
53599
|
return (await this.getClient().send(new DescribeStreamSummaryCommand({ StreamName: streamName }))).StreamDescriptionSummary?.StreamStatus ?? "UNKNOWN";
|
|
53137
53600
|
} catch (error) {
|
|
53138
|
-
if (error instanceof ResourceNotFoundException$
|
|
53601
|
+
if (error instanceof ResourceNotFoundException$14) return void 0;
|
|
53139
53602
|
throw error;
|
|
53140
53603
|
}
|
|
53141
53604
|
}
|
|
@@ -53618,7 +54081,7 @@ async function deleteImpl$14(logicalId, physicalId, resourceType, _properties, c
|
|
|
53618
54081
|
EnforceConsumerDeletion: true
|
|
53619
54082
|
}));
|
|
53620
54083
|
} catch (error) {
|
|
53621
|
-
if (error instanceof ResourceNotFoundException$
|
|
54084
|
+
if (error instanceof ResourceNotFoundException$14) {
|
|
53622
54085
|
const clientRegion = await this.getClient().config.region();
|
|
53623
54086
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
53624
54087
|
if (context?.failedCreateOrphan === true) this.logger.info(safeMsg` Kinesis stream ${physicalId} (${logicalId}), which a failed deploy created, is already gone; nothing to delete`);
|
|
@@ -53658,7 +54121,7 @@ async function resourceIdentity$1(physicalId, _resourceType, context) {
|
|
|
53658
54121
|
try {
|
|
53659
54122
|
response = await this.getClient().send(new DescribeStreamSummaryCommand({ StreamName: physicalId }));
|
|
53660
54123
|
} catch (error) {
|
|
53661
|
-
if (error instanceof ResourceNotFoundException$
|
|
54124
|
+
if (error instanceof ResourceNotFoundException$14) return RESOURCE_NOT_FOUND;
|
|
53662
54125
|
throw error;
|
|
53663
54126
|
}
|
|
53664
54127
|
const arn = response.StreamDescriptionSummary?.StreamARN;
|
|
@@ -53717,7 +54180,7 @@ async function readCurrentState$14(physicalId, _logicalId, resourceType, _proper
|
|
|
53717
54180
|
try {
|
|
53718
54181
|
stream = (await this.getClient().send(new DescribeStreamCommand({ StreamName: physicalId }))).StreamDescription;
|
|
53719
54182
|
} catch (err) {
|
|
53720
|
-
if (err instanceof ResourceNotFoundException$
|
|
54183
|
+
if (err instanceof ResourceNotFoundException$14) return RESOURCE_NOT_FOUND;
|
|
53721
54184
|
throw err;
|
|
53722
54185
|
}
|
|
53723
54186
|
if (!stream) return void 0;
|
|
@@ -53740,14 +54203,14 @@ async function readCurrentState$14(physicalId, _logicalId, resourceType, _proper
|
|
|
53740
54203
|
const strategy = summaryResp.StreamDescriptionSummary?.RecordDistributionStrategy;
|
|
53741
54204
|
if (strategy !== void 0) result["RecordDistributionStrategy"] = strategy;
|
|
53742
54205
|
} catch (err) {
|
|
53743
|
-
if (err instanceof ResourceNotFoundException$
|
|
54206
|
+
if (err instanceof ResourceNotFoundException$14) return RESOURCE_NOT_FOUND;
|
|
53744
54207
|
throw err;
|
|
53745
54208
|
}
|
|
53746
54209
|
try {
|
|
53747
54210
|
const tagsResp = await this.getClient().send(new ListTagsForStreamCommand({ StreamName: physicalId }));
|
|
53748
54211
|
result["Tags"] = normalizeAwsTagsToCfn(tagsResp.Tags);
|
|
53749
54212
|
} catch (err) {
|
|
53750
|
-
if (err instanceof ResourceNotFoundException$
|
|
54213
|
+
if (err instanceof ResourceNotFoundException$14) return RESOURCE_NOT_FOUND;
|
|
53751
54214
|
throw err;
|
|
53752
54215
|
}
|
|
53753
54216
|
return result;
|
|
@@ -53763,7 +54226,7 @@ async function importImpl$12(input) {
|
|
|
53763
54226
|
attributes: streamAttributes(response.StreamDescriptionSummary)
|
|
53764
54227
|
};
|
|
53765
54228
|
} catch (err) {
|
|
53766
|
-
if (err instanceof ResourceNotFoundException$
|
|
54229
|
+
if (err instanceof ResourceNotFoundException$14) return null;
|
|
53767
54230
|
throw err;
|
|
53768
54231
|
}
|
|
53769
54232
|
return null;
|
|
@@ -53995,7 +54458,7 @@ var KinesisStreamConsumerProvider = class {
|
|
|
53995
54458
|
await this.getClient().send(new DeregisterStreamConsumerCommand({ ConsumerARN: physicalId }));
|
|
53996
54459
|
this.logger.debug(`Successfully deregistered Kinesis stream consumer ${logicalId}`);
|
|
53997
54460
|
} catch (error) {
|
|
53998
|
-
if (error instanceof ResourceNotFoundException$
|
|
54461
|
+
if (error instanceof ResourceNotFoundException$14) {
|
|
53999
54462
|
const clientRegion = await this.getClient().config.region();
|
|
54000
54463
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
54001
54464
|
this.logger.debug(`Kinesis stream consumer ${physicalId} not found, skipping`);
|
|
@@ -54024,7 +54487,7 @@ var KinesisStreamConsumerProvider = class {
|
|
|
54024
54487
|
try {
|
|
54025
54488
|
desc = (await this.getClient().send(new DescribeStreamConsumerCommand({ ConsumerARN: physicalId }))).ConsumerDescription;
|
|
54026
54489
|
} catch (err) {
|
|
54027
|
-
if (err instanceof ResourceNotFoundException$
|
|
54490
|
+
if (err instanceof ResourceNotFoundException$14) return RESOURCE_NOT_FOUND;
|
|
54028
54491
|
throw err;
|
|
54029
54492
|
}
|
|
54030
54493
|
if (!desc) return void 0;
|
|
@@ -54035,7 +54498,7 @@ var KinesisStreamConsumerProvider = class {
|
|
|
54035
54498
|
const tagsResp = await this.getClient().send(new ListTagsForResourceCommand$17({ ResourceARN: physicalId }));
|
|
54036
54499
|
result["Tags"] = normalizeAwsTagsToCfn(tagsResp.Tags);
|
|
54037
54500
|
} catch (err) {
|
|
54038
|
-
if (err instanceof ResourceNotFoundException$
|
|
54501
|
+
if (err instanceof ResourceNotFoundException$14) return RESOURCE_NOT_FOUND;
|
|
54039
54502
|
throw err;
|
|
54040
54503
|
}
|
|
54041
54504
|
return result;
|
|
@@ -54048,14 +54511,14 @@ var KinesisStreamConsumerProvider = class {
|
|
|
54048
54511
|
const tagsToAdd = Object.fromEntries(plan.set);
|
|
54049
54512
|
const tagsToRemove = plan.remove;
|
|
54050
54513
|
if (tagsToRemove.length > 0) {
|
|
54051
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
54514
|
+
await this.getClient().send(new UntagResourceCommand$25({
|
|
54052
54515
|
ResourceARN: consumerArn,
|
|
54053
54516
|
TagKeys: tagsToRemove
|
|
54054
54517
|
}));
|
|
54055
54518
|
this.logger.debug(mask(`Removed ${tagsToRemove.length} tag(s) from Kinesis stream consumer ${consumerArn}`));
|
|
54056
54519
|
}
|
|
54057
54520
|
if (Object.keys(tagsToAdd).length > 0) {
|
|
54058
|
-
await this.getClient().send(new TagResourceCommand$
|
|
54521
|
+
await this.getClient().send(new TagResourceCommand$24({
|
|
54059
54522
|
ResourceARN: consumerArn,
|
|
54060
54523
|
Tags: tagsToAdd
|
|
54061
54524
|
}));
|
|
@@ -54205,7 +54668,7 @@ async function creationDateBestEffort(logicalId, name, groupName) {
|
|
|
54205
54668
|
for (let attempt = 0;; attempt++) try {
|
|
54206
54669
|
return (await this.readIdentity(name, groupName)).creation;
|
|
54207
54670
|
} catch (error) {
|
|
54208
|
-
const transient = error instanceof ResourceNotFoundException$
|
|
54671
|
+
const transient = error instanceof ResourceNotFoundException$15 || isThrottlingError(error);
|
|
54209
54672
|
const delay = this.readBackDelaysMs[attempt];
|
|
54210
54673
|
if (transient && delay !== void 0) {
|
|
54211
54674
|
await this.sleep(delay);
|
|
@@ -54256,7 +54719,7 @@ async function confirmRecordedSchedule(logicalId, physicalId, resourceType, grou
|
|
|
54256
54719
|
try {
|
|
54257
54720
|
live = await this.readIdentity(physicalId, groupName);
|
|
54258
54721
|
} catch (error) {
|
|
54259
|
-
if (error instanceof ResourceNotFoundException$
|
|
54722
|
+
if (error instanceof ResourceNotFoundException$15) return "absent";
|
|
54260
54723
|
throw this.wrapUnconfirmedGroupError(logicalId, physicalId, resourceType, error, mask);
|
|
54261
54724
|
}
|
|
54262
54725
|
if (sameRecordedDate(live, recorded) && !sameRecordedIdentity(live, recorded)) this.refuseUnconfirmed(logicalId, physicalId, resourceType, "holds a schedule of this name that carries the recorded creation date but not the recorded target or role (edited outside cdkd?)", false, `restore them, or drop the record with ${pasteableCommand("cdkd orphan", [{ hole: "constructPath" }]).command} and deploy again`);
|
|
@@ -54353,7 +54816,7 @@ async function deleteByRecordedIdentity(logicalId, physicalId, resourceType, rec
|
|
|
54353
54816
|
try {
|
|
54354
54817
|
live = await this.readIdentity(physicalId, group);
|
|
54355
54818
|
} catch (error) {
|
|
54356
|
-
if (error instanceof ResourceNotFoundException$
|
|
54819
|
+
if (error instanceof ResourceNotFoundException$15) continue;
|
|
54357
54820
|
throw wrapDeleteError("reading a schedule of its name", error);
|
|
54358
54821
|
}
|
|
54359
54822
|
if (sameRecordedIdentity(live, recorded)) matches.push(group);
|
|
@@ -54389,7 +54852,7 @@ async function deleteByRecordedIdentity(logicalId, physicalId, resourceType, rec
|
|
|
54389
54852
|
}));
|
|
54390
54853
|
this.logger.debug(safeMsg`Deleted Schedule ${logicalId} (found by its recorded creation date)`);
|
|
54391
54854
|
} catch (error) {
|
|
54392
|
-
if (error instanceof ResourceNotFoundException$
|
|
54855
|
+
if (error instanceof ResourceNotFoundException$15) return;
|
|
54393
54856
|
throw wrapDeleteError("the delete", error);
|
|
54394
54857
|
}
|
|
54395
54858
|
}
|
|
@@ -54419,7 +54882,7 @@ async function deleteImpl$13(logicalId, physicalId, resourceType, properties, co
|
|
|
54419
54882
|
}));
|
|
54420
54883
|
this.logger.debug(`Deleted Schedule ${logicalId}`);
|
|
54421
54884
|
} catch (error) {
|
|
54422
|
-
if (error instanceof ResourceNotFoundException$
|
|
54885
|
+
if (error instanceof ResourceNotFoundException$15) {
|
|
54423
54886
|
const clientRegion = await this.getClient().config.region();
|
|
54424
54887
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
54425
54888
|
this.logger.debug(`Schedule ${logicalId} already deleted (not found), treating as success`);
|
|
@@ -54437,7 +54900,7 @@ async function getAttribute$4(physicalId, resourceType, attributeName, logicalId
|
|
|
54437
54900
|
return (await this.getClient().send(new GetScheduleCommand({ Name: physicalId }))).Arn;
|
|
54438
54901
|
} catch (error) {
|
|
54439
54902
|
const cause = error instanceof Error ? error : void 0;
|
|
54440
|
-
const customGroupHint = error instanceof ResourceNotFoundException$
|
|
54903
|
+
const customGroupHint = error instanceof ResourceNotFoundException$15 ? " Schedules in a custom group cannot be looked up by bare name; the Arn is normally served from cdkd state attributes." : "";
|
|
54441
54904
|
throw this.wrapCaughtError(void 0, error, (text) => new ProvisioningError(`Failed to resolve Arn for Schedule ${physicalId}: ${text}${text.endsWith(".") ? "" : "."}${customGroupHint}`, resourceType, logicalId, physicalId, cause));
|
|
54442
54905
|
}
|
|
54443
54906
|
}
|
|
@@ -54463,7 +54926,7 @@ async function readCurrentState$13(physicalId, _logicalId, _resourceType, proper
|
|
|
54463
54926
|
...response.Target !== void 0 && { Target: this.toCfnTarget(response.Target) }
|
|
54464
54927
|
};
|
|
54465
54928
|
} catch (error) {
|
|
54466
|
-
if (error instanceof ResourceNotFoundException$
|
|
54929
|
+
if (error instanceof ResourceNotFoundException$15) return RESOURCE_NOT_FOUND;
|
|
54467
54930
|
throw error;
|
|
54468
54931
|
}
|
|
54469
54932
|
}
|
|
@@ -54484,7 +54947,7 @@ async function importImpl$11(input) {
|
|
|
54484
54947
|
}
|
|
54485
54948
|
};
|
|
54486
54949
|
} catch (error) {
|
|
54487
|
-
if (error instanceof ResourceNotFoundException$
|
|
54950
|
+
if (error instanceof ResourceNotFoundException$15) return null;
|
|
54488
54951
|
throw error;
|
|
54489
54952
|
}
|
|
54490
54953
|
}
|
|
@@ -54995,11 +55458,11 @@ async function update$12(logicalId, physicalId, resourceType, properties, previo
|
|
|
54995
55458
|
settled ??= await this.describe(physicalId);
|
|
54996
55459
|
const arn = settled.Arn;
|
|
54997
55460
|
if (!arn) throw new Error("DescribePipe returned no Arn, which tagging needs");
|
|
54998
|
-
if (plan.remove.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
55461
|
+
if (plan.remove.length > 0) await this.getClient().send(new UntagResourceCommand$26({
|
|
54999
55462
|
resourceArn: arn,
|
|
55000
55463
|
tagKeys: plan.remove
|
|
55001
55464
|
}));
|
|
55002
|
-
if (plan.set.size > 0) await this.getClient().send(new TagResourceCommand$
|
|
55465
|
+
if (plan.set.size > 0) await this.getClient().send(new TagResourceCommand$25({
|
|
55003
55466
|
resourceArn: arn,
|
|
55004
55467
|
tags: Object.fromEntries(plan.set)
|
|
55005
55468
|
}));
|
|
@@ -55347,11 +55810,11 @@ async function applyTagDiff$3(resourceId, resourceType, logicalId, recorded, des
|
|
|
55347
55810
|
const plan = planTagDiff(recorded, desired);
|
|
55348
55811
|
const warning = tagPlanWarning(plan, resourceType, logicalId);
|
|
55349
55812
|
if (warning !== void 0) log.warn(warning);
|
|
55350
|
-
if (plan.remove.length > 0) await this.retryOnTransientControlPlane(() => this.getClient().send(new UntagResourceCommand$
|
|
55813
|
+
if (plan.remove.length > 0) await this.retryOnTransientControlPlane(() => this.getClient().send(new UntagResourceCommand$27({
|
|
55351
55814
|
ResourceId: resourceId,
|
|
55352
55815
|
TagKeys: plan.remove
|
|
55353
55816
|
})), `UntagResource ${resourceId}`, log);
|
|
55354
|
-
if (plan.set.size > 0) await this.retryOnTransientControlPlane(() => this.getClient().send(new TagResourceCommand$
|
|
55817
|
+
if (plan.set.size > 0) await this.retryOnTransientControlPlane(() => this.getClient().send(new TagResourceCommand$26({
|
|
55355
55818
|
ResourceId: resourceId,
|
|
55356
55819
|
Tags: [...plan.set].map(([Key, Value]) => ({
|
|
55357
55820
|
Key,
|
|
@@ -57216,11 +57679,11 @@ async function applyTagDiff$2(physicalId, resourceType, logicalId, nextTags, pre
|
|
|
57216
57679
|
Value
|
|
57217
57680
|
}));
|
|
57218
57681
|
const toRemove = plan.remove;
|
|
57219
|
-
if (toSet.length > 0) await this.getClient().send(new TagResourceCommand$
|
|
57682
|
+
if (toSet.length > 0) await this.getClient().send(new TagResourceCommand$27({
|
|
57220
57683
|
ResourceARN: arn,
|
|
57221
57684
|
Tags: toSet
|
|
57222
57685
|
}));
|
|
57223
|
-
if (toRemove.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
57686
|
+
if (toRemove.length > 0) await this.getClient().send(new UntagResourceCommand$28({
|
|
57224
57687
|
ResourceARN: arn,
|
|
57225
57688
|
TagKeys: toRemove
|
|
57226
57689
|
}));
|
|
@@ -58352,7 +58815,7 @@ async function readCurrentState$9(physicalId, resourceType, properties) {
|
|
|
58352
58815
|
marker = group === void 0 ? resp.Marker : void 0;
|
|
58353
58816
|
} while (marker);
|
|
58354
58817
|
} catch (error) {
|
|
58355
|
-
if (error instanceof InvalidRequestException) return void 0;
|
|
58818
|
+
if (error instanceof InvalidRequestException$1) return void 0;
|
|
58356
58819
|
throw error;
|
|
58357
58820
|
}
|
|
58358
58821
|
const state = group?.Status?.State;
|
|
@@ -58712,7 +59175,7 @@ var EMRInstanceGroupConfigProvider = class {
|
|
|
58712
59175
|
if (properties?.["AutoScalingPolicy"] !== void 0) try {
|
|
58713
59176
|
await removeScalingPolicyForDelete(this.getClient(), jobFlowId, physicalId);
|
|
58714
59177
|
} catch (error) {
|
|
58715
|
-
if (error instanceof InvalidRequestException) this.logger.debug(safeMsg`EMR instance group ${physicalId} policy removal skipped (cluster/group gone)`);
|
|
59178
|
+
if (error instanceof InvalidRequestException$1) this.logger.debug(safeMsg`EMR instance group ${physicalId} policy removal skipped (cluster/group gone)`);
|
|
58716
59179
|
else {
|
|
58717
59180
|
const head = safeMsg`Removing the automatic scaling policy of EMR instance group ${physicalId} failed: `;
|
|
58718
59181
|
const text = this.cleanupFailureText(head, error, context?.maskSecrets);
|
|
@@ -58729,7 +59192,7 @@ var EMRInstanceGroupConfigProvider = class {
|
|
|
58729
59192
|
}));
|
|
58730
59193
|
this.logger.debug(`Scaled EMR TASK instance group ${physicalId} to 0 to release its instances (no standalone delete API exists)`);
|
|
58731
59194
|
} catch (error) {
|
|
58732
|
-
if (error instanceof InvalidRequestException) {
|
|
59195
|
+
if (error instanceof InvalidRequestException$1) {
|
|
58733
59196
|
const clientRegion = await this.getClient().config.region();
|
|
58734
59197
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
58735
59198
|
this.logger.debug(`EMR instance group ${physicalId} scale-to-0 skipped (cluster/group gone): ${error.message}`);
|
|
@@ -59001,7 +59464,7 @@ async function deleteImpl$9(logicalId, physicalId, resourceType, properties, con
|
|
|
59001
59464
|
}));
|
|
59002
59465
|
this.logger.debug(`Scaled EMR TASK instance fleet ${physicalId} to 0 to release its instances (no standalone delete API exists)`);
|
|
59003
59466
|
} catch (error) {
|
|
59004
|
-
if (error instanceof InvalidRequestException) {
|
|
59467
|
+
if (error instanceof InvalidRequestException$1) {
|
|
59005
59468
|
const clientRegion = await this.getClient().config.region();
|
|
59006
59469
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
59007
59470
|
this.logger.debug(`EMR instance fleet ${physicalId} scale-to-0 skipped (cluster/fleet gone): ${error.message}`);
|
|
@@ -59033,7 +59496,7 @@ async function readCurrentState$8(physicalId, _logicalId, resourceType, properti
|
|
|
59033
59496
|
marker = fleet === void 0 ? resp.Marker : void 0;
|
|
59034
59497
|
} while (marker);
|
|
59035
59498
|
} catch (error) {
|
|
59036
|
-
if (error instanceof InvalidRequestException) return void 0;
|
|
59499
|
+
if (error instanceof InvalidRequestException$1) return void 0;
|
|
59037
59500
|
throw error;
|
|
59038
59501
|
}
|
|
59039
59502
|
if (fleet === void 0 || fleet.Status?.State === "TERMINATED") return RESOURCE_NOT_FOUND;
|
|
@@ -59561,7 +60024,7 @@ async function deleteOnce(logicalId, physicalId, resourceType, context, flip) {
|
|
|
59561
60024
|
try {
|
|
59562
60025
|
current = (await this.getClient().send(new DescribeClusterCommand({ ClusterId: physicalId }))).Cluster;
|
|
59563
60026
|
} catch (error) {
|
|
59564
|
-
if (error instanceof InvalidRequestException) {
|
|
60027
|
+
if (error instanceof InvalidRequestException$1) {
|
|
59565
60028
|
const clientRegion = await this.getClient().config.region();
|
|
59566
60029
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
59567
60030
|
if (context?.failedCreateOrphan === true) this.logger.info(safeMsg` EMR cluster ${physicalId} (${logicalId}), which a failed deploy created, is already gone; nothing to delete`);
|
|
@@ -59647,7 +60110,7 @@ async function waitForClusterTerminated(clusterId, logicalId, resourceType, mask
|
|
|
59647
60110
|
try {
|
|
59648
60111
|
cluster = await this.describeForPoll(clusterId, transientState);
|
|
59649
60112
|
} catch (error) {
|
|
59650
|
-
if (error instanceof InvalidRequestException) return;
|
|
60113
|
+
if (error instanceof InvalidRequestException$1) return;
|
|
59651
60114
|
const cause = error instanceof Error ? error : void 0;
|
|
59652
60115
|
throw this.wrapCaughtError(mask, error, (text) => new ProvisioningError(`Failed to poll EMR Cluster ${clusterId} termination: ${text}`, resourceType, logicalId, clusterId, cause));
|
|
59653
60116
|
}
|
|
@@ -59702,7 +60165,7 @@ async function readClusterIdentity(clusterId) {
|
|
|
59702
60165
|
try {
|
|
59703
60166
|
response = await this.getClient().send(new DescribeClusterCommand({ ClusterId: clusterId }));
|
|
59704
60167
|
} catch (error) {
|
|
59705
|
-
if (error instanceof InvalidRequestException) return void 0;
|
|
60168
|
+
if (error instanceof InvalidRequestException$1) return void 0;
|
|
59706
60169
|
throw error;
|
|
59707
60170
|
}
|
|
59708
60171
|
const id = response.Cluster?.Id;
|
|
@@ -59725,7 +60188,7 @@ async function describeClusterOrUndefined(clusterId) {
|
|
|
59725
60188
|
try {
|
|
59726
60189
|
return (await this.getClient().send(new DescribeClusterCommand({ ClusterId: clusterId }))).Cluster;
|
|
59727
60190
|
} catch (err) {
|
|
59728
|
-
if (err instanceof InvalidRequestException) return void 0;
|
|
60191
|
+
if (err instanceof InvalidRequestException$1) return void 0;
|
|
59729
60192
|
throw err;
|
|
59730
60193
|
}
|
|
59731
60194
|
}
|
|
@@ -59747,7 +60210,7 @@ async function readCurrentState$7(physicalId, _logicalId, _resourceType, propert
|
|
|
59747
60210
|
managedScaling: declares("ManagedScalingPolicy")
|
|
59748
60211
|
})]);
|
|
59749
60212
|
} catch (err) {
|
|
59750
|
-
if (err instanceof InvalidRequestException) return void 0;
|
|
60213
|
+
if (err instanceof InvalidRequestException$1) return void 0;
|
|
59751
60214
|
throw err;
|
|
59752
60215
|
}
|
|
59753
60216
|
const out = {
|
|
@@ -59800,7 +60263,7 @@ async function readUnsettled$1(physicalId, logicalId, resourceType, names, recor
|
|
|
59800
60263
|
}
|
|
59801
60264
|
async function readDeclaredPolicies(clusterId, wanted) {
|
|
59802
60265
|
const readOne = (key, action, send) => send().then((value) => ({ value }), (err) => {
|
|
59803
|
-
if (err instanceof InvalidRequestException) throw err;
|
|
60266
|
+
if (err instanceof InvalidRequestException$1) throw err;
|
|
59804
60267
|
const name = err?.name;
|
|
59805
60268
|
const errorClass = typeof name === "string" && /^[A-Za-z0-9]{1,64}$/.test(name) ? name : "an error";
|
|
59806
60269
|
const hint = isPermissionDenial(err) ? `; allow elasticmapreduce:${action}` : "";
|
|
@@ -60835,7 +61298,7 @@ async function deleteImpl$7(logicalId, physicalId, resourceType, _properties, co
|
|
|
60835
61298
|
try {
|
|
60836
61299
|
await this.getClient().send(new DeleteDeliveryStreamCommand({ DeliveryStreamName: physicalId }));
|
|
60837
61300
|
} catch (error) {
|
|
60838
|
-
if (error instanceof ResourceNotFoundException$
|
|
61301
|
+
if (error instanceof ResourceNotFoundException$16) {
|
|
60839
61302
|
const clientRegion = await this.getClient().config.region();
|
|
60840
61303
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
60841
61304
|
this.logger.debug(`Firehose delivery stream ${physicalId} does not exist, skipping deletion`);
|
|
@@ -60860,7 +61323,7 @@ async function readDeliveryStreamStatusForDelete(streamName) {
|
|
|
60860
61323
|
try {
|
|
60861
61324
|
return (await this.getClient().send(new DescribeDeliveryStreamCommand({ DeliveryStreamName: streamName }))).DeliveryStreamDescription?.DeliveryStreamStatus ?? "UNKNOWN";
|
|
60862
61325
|
} catch (error) {
|
|
60863
|
-
if (error instanceof ResourceNotFoundException$
|
|
61326
|
+
if (error instanceof ResourceNotFoundException$16) return void 0;
|
|
60864
61327
|
throw error;
|
|
60865
61328
|
}
|
|
60866
61329
|
}
|
|
@@ -61221,7 +61684,7 @@ async function readCurrentState$6(physicalId, _logicalId, _resourceType, propert
|
|
|
61221
61684
|
try {
|
|
61222
61685
|
desc = (await this.getClient().send(new DescribeDeliveryStreamCommand({ DeliveryStreamName: physicalId }))).DeliveryStreamDescription;
|
|
61223
61686
|
} catch (err) {
|
|
61224
|
-
if (err instanceof ResourceNotFoundException$
|
|
61687
|
+
if (err instanceof ResourceNotFoundException$16) return RESOURCE_NOT_FOUND;
|
|
61225
61688
|
throw err;
|
|
61226
61689
|
}
|
|
61227
61690
|
if (!desc) return void 0;
|
|
@@ -61254,7 +61717,7 @@ async function readCurrentState$6(physicalId, _logicalId, _resourceType, propert
|
|
|
61254
61717
|
const tagsResp = await this.getClient().send(new ListTagsForDeliveryStreamCommand({ DeliveryStreamName: physicalId }));
|
|
61255
61718
|
result["Tags"] = normalizeAwsTagsToCfn(tagsResp.Tags);
|
|
61256
61719
|
} catch (err) {
|
|
61257
|
-
if (err instanceof ResourceNotFoundException$
|
|
61720
|
+
if (err instanceof ResourceNotFoundException$16) return RESOURCE_NOT_FOUND;
|
|
61258
61721
|
throw err;
|
|
61259
61722
|
}
|
|
61260
61723
|
return result;
|
|
@@ -61271,7 +61734,7 @@ async function importImpl$6(input) {
|
|
|
61271
61734
|
attributes: {}
|
|
61272
61735
|
};
|
|
61273
61736
|
} catch (err) {
|
|
61274
|
-
if (err instanceof ResourceNotFoundException$
|
|
61737
|
+
if (err instanceof ResourceNotFoundException$16) return null;
|
|
61275
61738
|
throw err;
|
|
61276
61739
|
}
|
|
61277
61740
|
return null;
|
|
@@ -61923,7 +62386,7 @@ async function readCurrentState$5(physicalId, _logicalId, _resourceType) {
|
|
|
61923
62386
|
const tagsResp = await this.getClient().send(new ListTagsCommand$2({ ResourceIdList: [trail.TrailARN] }));
|
|
61924
62387
|
tags = normalizeAwsTagsToCfn(tagsResp.ResourceTagList?.[0]?.TagsList);
|
|
61925
62388
|
} catch (err) {
|
|
61926
|
-
if (!(err instanceof ResourceNotFoundException$
|
|
62389
|
+
if (!(err instanceof ResourceNotFoundException$17)) throw err;
|
|
61927
62390
|
}
|
|
61928
62391
|
result["Tags"] = tags;
|
|
61929
62392
|
await readAggregationBlock.call(this, physicalId, result);
|
|
@@ -62493,7 +62956,7 @@ async function deleteImpl$5(logicalId, physicalId, resourceType, _properties, co
|
|
|
62493
62956
|
await this.getClient().send(new DeleteProjectCommand({ name: physicalId }));
|
|
62494
62957
|
this.logger.debug(`Successfully deleted CodeBuild Project ${logicalId}`);
|
|
62495
62958
|
} catch (error) {
|
|
62496
|
-
if (error instanceof ResourceNotFoundException$
|
|
62959
|
+
if (error instanceof ResourceNotFoundException$18) {
|
|
62497
62960
|
const clientRegion = await this.getClient().config.region();
|
|
62498
62961
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
62499
62962
|
this.logger.debug(`CodeBuild Project ${physicalId} does not exist, skipping deletion`);
|
|
@@ -62519,7 +62982,7 @@ async function readProject(physicalId) {
|
|
|
62519
62982
|
try {
|
|
62520
62983
|
project = (await this.getClient().send(new BatchGetProjectsCommand({ names: [physicalId] }))).projects?.[0];
|
|
62521
62984
|
} catch (err) {
|
|
62522
|
-
if (err instanceof ResourceNotFoundException$
|
|
62985
|
+
if (err instanceof ResourceNotFoundException$18) return RESOURCE_NOT_FOUND;
|
|
62523
62986
|
throw err;
|
|
62524
62987
|
}
|
|
62525
62988
|
if (!project) return RESOURCE_NOT_FOUND;
|
|
@@ -62694,7 +63157,7 @@ async function importImpl$4(input) {
|
|
|
62694
63157
|
attributes: {}
|
|
62695
63158
|
} : null;
|
|
62696
63159
|
} catch (err) {
|
|
62697
|
-
if (err instanceof ResourceNotFoundException$
|
|
63160
|
+
if (err instanceof ResourceNotFoundException$18) return null;
|
|
62698
63161
|
throw err;
|
|
62699
63162
|
}
|
|
62700
63163
|
return null;
|
|
@@ -63149,11 +63612,11 @@ async function update$4(logicalId, physicalId, resourceType, properties, previou
|
|
|
63149
63612
|
const repoArn = metadata?.Arn;
|
|
63150
63613
|
if (repoArn) {
|
|
63151
63614
|
const removedKeys = Object.keys(oldTagMap).filter((k) => !Object.hasOwn(newTagMap, k));
|
|
63152
|
-
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
63615
|
+
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$29({
|
|
63153
63616
|
resourceArn: repoArn,
|
|
63154
63617
|
tagKeys: removedKeys
|
|
63155
63618
|
}));
|
|
63156
|
-
if (Object.keys(newTagMap).length > 0) await this.getClient().send(new TagResourceCommand$
|
|
63619
|
+
if (Object.keys(newTagMap).length > 0) await this.getClient().send(new TagResourceCommand$28({
|
|
63157
63620
|
resourceArn: repoArn,
|
|
63158
63621
|
tags: newTagMap
|
|
63159
63622
|
}));
|
|
@@ -63660,7 +64123,7 @@ var DLMLifecyclePolicyProvider = class {
|
|
|
63660
64123
|
created = detail.Policy?.DateCreated;
|
|
63661
64124
|
defaultType = detail.Policy?.PolicyDetails?.ResourceType;
|
|
63662
64125
|
} catch (error) {
|
|
63663
|
-
if (error instanceof ResourceNotFoundException$
|
|
64126
|
+
if (error instanceof ResourceNotFoundException$19) continue;
|
|
63664
64127
|
throw error;
|
|
63665
64128
|
}
|
|
63666
64129
|
if (isDefault && defaultType !== void 0 && defaultType !== input.DefaultPolicy) continue;
|
|
@@ -63758,7 +64221,7 @@ var DLMLifecyclePolicyProvider = class {
|
|
|
63758
64221
|
if (tagsChanged && arn) {
|
|
63759
64222
|
const removedKeys = plan.remove;
|
|
63760
64223
|
if (removedKeys.length > 0) {
|
|
63761
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
64224
|
+
await this.getClient().send(new UntagResourceCommand$30({
|
|
63762
64225
|
ResourceArn: arn,
|
|
63763
64226
|
TagKeys: removedKeys
|
|
63764
64227
|
}));
|
|
@@ -63766,7 +64229,7 @@ var DLMLifecyclePolicyProvider = class {
|
|
|
63766
64229
|
}
|
|
63767
64230
|
const tagsToAdd = Object.fromEntries(plan.set);
|
|
63768
64231
|
if (Object.keys(tagsToAdd).length > 0) {
|
|
63769
|
-
await this.getClient().send(new TagResourceCommand$
|
|
64232
|
+
await this.getClient().send(new TagResourceCommand$29({
|
|
63770
64233
|
ResourceArn: arn,
|
|
63771
64234
|
Tags: tagsToAdd
|
|
63772
64235
|
}));
|
|
@@ -63790,7 +64253,7 @@ var DLMLifecyclePolicyProvider = class {
|
|
|
63790
64253
|
await this.getClient().send(new DeleteLifecyclePolicyCommand$1({ PolicyId: physicalId }));
|
|
63791
64254
|
this.logger.debug(`Successfully deleted DLM Lifecycle Policy ${logicalId}`);
|
|
63792
64255
|
} catch (error) {
|
|
63793
|
-
if (error instanceof ResourceNotFoundException$
|
|
64256
|
+
if (error instanceof ResourceNotFoundException$19) {
|
|
63794
64257
|
const clientRegion = await this.getClient().config.region();
|
|
63795
64258
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
63796
64259
|
this.logger.debug(`DLM Lifecycle Policy ${physicalId} does not exist, skipping deletion`);
|
|
@@ -63831,7 +64294,7 @@ var DLMLifecyclePolicyProvider = class {
|
|
|
63831
64294
|
Tags: normalizeAwsTagsToCfn(policy.Tags)
|
|
63832
64295
|
};
|
|
63833
64296
|
} catch (error) {
|
|
63834
|
-
if (error instanceof ResourceNotFoundException$
|
|
64297
|
+
if (error instanceof ResourceNotFoundException$19) return RESOURCE_NOT_FOUND;
|
|
63835
64298
|
throw error;
|
|
63836
64299
|
}
|
|
63837
64300
|
}
|
|
@@ -63858,7 +64321,7 @@ var DLMLifecyclePolicyProvider = class {
|
|
|
63858
64321
|
attributes: response.Policy.PolicyArn ? { Arn: response.Policy.PolicyArn } : {}
|
|
63859
64322
|
} : null;
|
|
63860
64323
|
} catch (err) {
|
|
63861
|
-
if (err instanceof ResourceNotFoundException$
|
|
64324
|
+
if (err instanceof ResourceNotFoundException$19) return null;
|
|
63862
64325
|
throw err;
|
|
63863
64326
|
}
|
|
63864
64327
|
return null;
|
|
@@ -63947,11 +64410,11 @@ var S3VectorsProvider = class S3VectorsProvider {
|
|
|
63947
64410
|
}
|
|
63948
64411
|
if (!resourceArn) throw new ProvisioningError(`Could not resolve ARN for S3 VectorBucket ${logicalId} (${mask(physicalId)}); cannot apply tag update.`, resourceType, logicalId, physicalId);
|
|
63949
64412
|
try {
|
|
63950
|
-
if (Object.keys(toSet).length > 0) await this.getClient().send(new TagResourceCommand$
|
|
64413
|
+
if (Object.keys(toSet).length > 0) await this.getClient().send(new TagResourceCommand$30({
|
|
63951
64414
|
resourceArn,
|
|
63952
64415
|
tags: toSet
|
|
63953
64416
|
}));
|
|
63954
|
-
if (toRemove.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
64417
|
+
if (toRemove.length > 0) await this.getClient().send(new UntagResourceCommand$31({
|
|
63955
64418
|
resourceArn,
|
|
63956
64419
|
tagKeys: toRemove
|
|
63957
64420
|
}));
|
|
@@ -66337,7 +66800,7 @@ async function applyTableTagsDiff(logicalId, physicalId, resourceType, previousT
|
|
|
66337
66800
|
const resourceArn = await this.lookupTableArn(tableBucketARN, namespace, name);
|
|
66338
66801
|
if (!resourceArn) throw new ProvisioningError(safeMsg`applyTableTagsDiff: GetTable returned no tableARN for ${physicalId} — table is gone ` + `or state is out-of-sync. Refusing to silently drop the tag update. If the table was deleted out-of-band, drop just this resource's record with the command below, filling in the construct path the CDK app gave this resource — its aws:cdk:path Metadata entry in the synthesized template.\nClean up with: ${pasteableCommand("cdkd orphan", [{ hole: "constructPath" }]).command}`, resourceType, logicalId, physicalId);
|
|
66339
66802
|
if (removedKeys.length > 0) try {
|
|
66340
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
66803
|
+
await this.getClient().send(new UntagResourceCommand$32({
|
|
66341
66804
|
resourceArn,
|
|
66342
66805
|
tagKeys: removedKeys
|
|
66343
66806
|
}));
|
|
@@ -66346,7 +66809,7 @@ async function applyTableTagsDiff(logicalId, physicalId, resourceType, previousT
|
|
|
66346
66809
|
throw this.wrapCaughtError(mask, err, (text) => new ProvisioningError(`applyTableTagsDiff: UntagResource failed for ${resourceArn} (keys: ${removedKeys.join(", ")}): ${sentence(text)} State has NOT been updated so the next deploy will retry the tag-diff.`, resourceType, logicalId, physicalId, cause));
|
|
66347
66810
|
}
|
|
66348
66811
|
if (Object.keys(upserts).length > 0) try {
|
|
66349
|
-
await this.getClient().send(new TagResourceCommand$
|
|
66812
|
+
await this.getClient().send(new TagResourceCommand$31({
|
|
66350
66813
|
resourceArn,
|
|
66351
66814
|
tags: upserts
|
|
66352
66815
|
}));
|
|
@@ -66364,7 +66827,7 @@ async function applyTableBucketTagsDiff(logicalId, physicalId, resourceType, pre
|
|
|
66364
66827
|
if (removedKeys.length === 0 && Object.keys(upserts).length === 0) return;
|
|
66365
66828
|
const resourceArn = physicalId;
|
|
66366
66829
|
if (removedKeys.length > 0) try {
|
|
66367
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
66830
|
+
await this.getClient().send(new UntagResourceCommand$32({
|
|
66368
66831
|
resourceArn,
|
|
66369
66832
|
tagKeys: removedKeys
|
|
66370
66833
|
}));
|
|
@@ -66373,7 +66836,7 @@ async function applyTableBucketTagsDiff(logicalId, physicalId, resourceType, pre
|
|
|
66373
66836
|
throw this.wrapCaughtError(mask, err, (text) => new ProvisioningError(`applyTableBucketTagsDiff: UntagResource failed for ${resourceArn} (keys: ${removedKeys.join(", ")}): ${sentence(text)} State has NOT been updated so the next deploy will retry the tag-diff.`, resourceType, logicalId, physicalId, cause));
|
|
66374
66837
|
}
|
|
66375
66838
|
if (Object.keys(upserts).length > 0) try {
|
|
66376
|
-
await this.getClient().send(new TagResourceCommand$
|
|
66839
|
+
await this.getClient().send(new TagResourceCommand$31({
|
|
66377
66840
|
resourceArn,
|
|
66378
66841
|
tags: upserts
|
|
66379
66842
|
}));
|
|
@@ -67178,7 +67641,7 @@ async function deleteImpl$1(logicalId, _physicalId, _resourceType, _properties,
|
|
|
67178
67641
|
async function runChildDeploy(parentCtx, logicalId, childStackName, childRegion, childTemplate, childParameters, grandchildTemplates, rowTags) {
|
|
67179
67642
|
const rowOwn = childRowTags(rowTags, getCurrentResourceSecrets());
|
|
67180
67643
|
if (rowOwn.tags === void 0) this.logger.warn(safeMsg`Nested stack ${displayIdent(logicalId)}: its Tags are not a list of string Key/Value pairs, so only the parent stack's tags are applied to its resources.`);
|
|
67181
|
-
for (const key of rowOwn.withheld) this.logger.warn(safeMsg`Nested stack ${displayIdent(logicalId)}: its tag ${key} is not applied to the nested stack's resources: its value holds a NoEcho value cdkd does not write to state.`);
|
|
67644
|
+
for (const key of rowOwn.withheld) this.logger.warn(safeMsg`Nested stack ${displayIdent(logicalId)}: its tag ${key} is not applied to the nested stack's resources: its value holds a secret (a NoEcho value, or a secret cdkd cannot pass down as its {{resolve:...}} reference), which cdkd does not write to state.`);
|
|
67182
67645
|
const stackTags = childStackTags(parentCtx.options?.stackTags, rowOwn.tags);
|
|
67183
67646
|
const inheritedSecrets = getCurrentResourceSecrets();
|
|
67184
67647
|
const passedClasses = passedParameterClassesOf(inheritedSecrets);
|
|
@@ -67337,7 +67800,11 @@ var NestedStackProvider = class {
|
|
|
67337
67800
|
logger = getLogger().child("NestedStackProvider");
|
|
67338
67801
|
disableOuterRetry = true;
|
|
67339
67802
|
disableCcApiFallback = true;
|
|
67340
|
-
handledProperties = /* @__PURE__ */ new Map([["AWS::CloudFormation::Stack", /* @__PURE__ */ new Set([
|
|
67803
|
+
handledProperties = /* @__PURE__ */ new Map([["AWS::CloudFormation::Stack", /* @__PURE__ */ new Set([
|
|
67804
|
+
"TemplateURL",
|
|
67805
|
+
"Parameters",
|
|
67806
|
+
"Tags"
|
|
67807
|
+
])]]);
|
|
67341
67808
|
unhandledByDesign = /* @__PURE__ */ new Map([["AWS::CloudFormation::Stack", /* @__PURE__ */ new Map([
|
|
67342
67809
|
["TemplateBody", "CFn-only inline template — cdkd reads the child template from the synth output via Metadata['aws:asset:path'] instead of accepting it inline"],
|
|
67343
67810
|
["Capabilities", "CFn-only IAM capability declaration — cdkd does not go through CloudFormation so capabilities have no equivalent"],
|
|
@@ -67350,7 +67817,6 @@ var NestedStackProvider = class {
|
|
|
67350
67817
|
["StackPolicyBody", "CFn-only stack-update policy — cdkd has no equivalent (per-resource diff replaces stack-level policy)"],
|
|
67351
67818
|
["StackPolicyURL", "CFn-only stack-update policy URL — cdkd has no equivalent"],
|
|
67352
67819
|
["StackStatusReason", "CFn-only read-only output — never a real input property"],
|
|
67353
|
-
["Tags", "CFn-only — cdkd does not tag the synthesized \"stack\" (the parent's synthesized ARN is a cdkd-local placeholder, not a real AWS resource)"],
|
|
67354
67820
|
["TimeoutInMinutes", "CFn-only stack-create deadline — cdkd uses per-resource --resource-timeout instead"]
|
|
67355
67821
|
])]]);
|
|
67356
67822
|
create(logicalId, resourceType, properties, context) {
|
|
@@ -68085,5 +68551,5 @@ var ACMCertificateProvider = class {
|
|
|
68085
68551
|
}
|
|
68086
68552
|
};
|
|
68087
68553
|
|
|
68088
|
-
export { ACMCertificateProvider, ASGProvider, AgentCoreBrowserProvider, AgentCoreCodeInterpreterProvider, AgentCoreEvaluatorProvider, AgentCoreRuntimeProvider, ApiGatewayProvider, ApiGatewayV2Provider, AppConfigEnvironmentProvider, AppSyncProvider, BudgetsBudgetProvider, CloudFrontDistributionProvider, CloudFrontOACProvider, CloudFrontOAIProvider, CloudTrailProvider, CloudWatchAlarmProvider, CloudWatchAnomalyDetectorProvider, CodeBuildProvider, CodeCommitRepositoryProvider, CognitoUserPoolProvider, DLMLifecyclePolicyProvider, DocDBProvider, DocDBSubnetGroupProvider, DynamoDBGlobalTableProvider, DynamoDBTableProvider, EC2Provider, ECRProvider, ECSProvider, EFSProvider, ELBv2Provider, EMRClusterProvider, EMRInstanceFleetConfigProvider, EMRInstanceGroupConfigProvider, ElastiCacheProvider, EventBridgeArchiveProvider, EventBridgeBusProvider, EventBridgeRuleProvider, FSxFileSystemProvider, FirehoseProvider, GlueConnectionProvider, GlueCrawlerProvider, GlueJobProvider, GlueProvider, GlueSecurityConfigurationProvider, GlueTriggerProvider, GlueWorkflowProvider, IAMAccessKeyProvider, IAMInstanceProfileProvider, IAMManagedPolicyProvider, IAMPolicyProvider, IAMRoleProvider, IAMUserGroupProvider, KMSProvider, KinesisStreamConsumerProvider, KinesisStreamProvider, LambdaEventInvokeConfigProvider, LambdaEventSourceMappingProvider, LambdaFunctionProvider, LambdaLayerVersionProvider, LambdaMicrovmImageProvider, LambdaNetworkConnectorProvider, LambdaPermissionProvider, LambdaUrlProvider, LambdaWebFunctionEndpointProvider, LambdaWebFunctionRevisionProvider, 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 };
|
|
68089
|
-
//# sourceMappingURL=provider-classes-
|
|
68554
|
+
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, 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 };
|
|
68555
|
+
//# sourceMappingURL=provider-classes-CXmZ11Vu.js.map
|