@cdkd/cli 0.367.1 → 0.368.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ambient-client-defaults-XQF39qQj.js → ambient-client-defaults-sDf76v3S.js} +3 -3
- package/dist/{ambient-client-defaults-XQF39qQj.js.map → ambient-client-defaults-sDf76v3S.js.map} +1 -1
- package/dist/{asg-provider-y1fMA5wH.js → asg-provider-D0P2oc54.js} +6 -6
- package/dist/{asg-provider-y1fMA5wH.js.map → asg-provider-D0P2oc54.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-DYjojUID.js} +6 -6
- package/dist/{custom-resource-runtime-C-mY6sq6.js.map → custom-resource-runtime-DYjojUID.js.map} +1 -1
- package/dist/{db-associated-roles-2nu3r_PQ.js → db-associated-roles-Dzy8cj2v.js} +2 -2
- package/dist/{db-associated-roles-2nu3r_PQ.js.map → db-associated-roles-Dzy8cj2v.js.map} +1 -1
- package/dist/{delete-started-BdXPDSx0.js → delete-started-CsP3MTbA.js} +9 -6
- package/dist/delete-started-CsP3MTbA.js.map +1 -0
- package/dist/{deploy-engine-DksIRiiT.js → deploy-engine-CSe_egmn.js} +454 -59
- package/dist/deploy-engine-CSe_egmn.js.map +1 -0
- package/dist/{ec2-termination-protection-DOVV8kr6.js → ec2-termination-protection-CmWOst0b.js} +11 -6
- package/dist/ec2-termination-protection-CmWOst0b.js.map +1 -0
- package/dist/{ecr-uri-TWqh2xnl.js → ecr-uri-D60GcgZh.js} +2 -2
- package/dist/{ecr-uri-TWqh2xnl.js.map → ecr-uri-D60GcgZh.js.map} +1 -1
- package/dist/{expected-bucket-owner-D5QfvmhW.js → expected-bucket-owner-Y8rVebnr.js} +2 -2
- package/dist/{expected-bucket-owner-D5QfvmhW.js.map → expected-bucket-owner-Y8rVebnr.js.map} +1 -1
- package/dist/{iam-role-provider-CD5kIcoP.js → iam-role-provider-eIsyKbXN.js} +9 -9
- package/dist/{iam-role-provider-CD5kIcoP.js.map → iam-role-provider-eIsyKbXN.js.map} +1 -1
- package/dist/{image-plan-DCV_kAg_.js → image-plan-D-tX8hxm.js} +14 -11
- package/dist/image-plan-D-tX8hxm.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-KcU9IK83.js → logger-c-SNKnID.js} +2 -2
- package/dist/{logger-KcU9IK83.js.map → logger-c-SNKnID.js.map} +1 -1
- package/dist/{neptune-provider-Cxp67na9.js → neptune-provider-DjLlFfkQ.js} +7 -7
- package/dist/{neptune-provider-Cxp67na9.js.map → neptune-provider-DjLlFfkQ.js.map} +1 -1
- package/dist/{program-D4wssD37.js → program-Bq6COj9L.js} +258 -44
- package/dist/program-Bq6COj9L.js.map +1 -0
- package/dist/{provider-classes-B7kV4F_k.js → provider-classes-BfmqRWw8.js} +606 -141
- package/dist/{provider-classes-B7kV4F_k.js.map → provider-classes-BfmqRWw8.js.map} +1 -1
- package/dist/{rds-provider-BQ7VeAPO.js → rds-provider-DtwBQKQa.js} +10 -10
- package/dist/{rds-provider-BQ7VeAPO.js.map → rds-provider-DtwBQKQa.js.map} +1 -1
- package/dist/{read-replica-O1JLfZeG.js → read-replica-wnmC5O6i.js} +3 -3
- package/dist/{read-replica-O1JLfZeG.js.map → read-replica-wnmC5O6i.js.map} +1 -1
- package/dist/{replacement-rules-oI6WUksx.js → replacement-rules-FVwMQOyO.js} +65 -4
- package/dist/replacement-rules-FVwMQOyO.js.map +1 -0
- package/dist/{resource-deadline-B7OMwesr.js → resource-deadline-CKhiQ5jv.js} +5 -5
- package/dist/{resource-deadline-B7OMwesr.js.map → resource-deadline-CKhiQ5jv.js.map} +1 -1
- package/dist/{restore-source-guard-B86BS38p.js → restore-source-guard-B-V5B42P.js} +4 -4
- package/dist/{restore-source-guard-B86BS38p.js.map → restore-source-guard-B-V5B42P.js.map} +1 -1
- package/dist/{run-cli-4VaXla8O.js → run-cli-DI5DQMk-.js} +2 -2
- package/dist/{run-cli-4VaXla8O.js.map → run-cli-DI5DQMk-.js.map} +1 -1
- package/dist/{settle-own-write-members-DMLYghh3.js → settle-own-write-members-X3fAZHTr.js} +12 -12
- package/dist/{settle-own-write-members-DMLYghh3.js.map → settle-own-write-members-X3fAZHTr.js.map} +1 -1
- package/dist/{version-ge-gIa5n.js → version-CpD8EJXa.js} +2 -2
- package/dist/{version-ge-gIa5n.js.map → version-CpD8EJXa.js.map} +1 -1
- package/package.json +2 -1
- 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/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-eIsyKbXN.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-c-SNKnID.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-sDf76v3S.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-CKhiQ5jv.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-CpD8EJXa.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-CsP3MTbA.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-Bq6COj9L.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-CSe_egmn.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-B-V5B42P.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-CmWOst0b.js";
|
|
12
|
+
import { a as principalOwnWriteMembers, c as stringListMember, n as declaredStringList, o as settleOwnWriteMembers } from "./settle-own-write-members-X3fAZHTr.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-FVwMQOyO.js";
|
|
16
|
+
import { RDSProvider } from "./rds-provider-DtwBQKQa.js";
|
|
17
|
+
import { NeptuneProvider } from "./neptune-provider-DjLlFfkQ.js";
|
|
18
|
+
import { ASGProvider } from "./asg-provider-D0P2oc54.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,467 @@ 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
|
+
let instance = await this.waitForInstance(instanceId, logicalId, written.length > 0 ? "settled" : "ready", deadline, mask);
|
|
21041
|
+
for (const [key, flag] of written) await this.updateAttribute(instanceId, key, flag, deadline, logicalId, mask);
|
|
21042
|
+
const noWait = process.env["CDKD_NO_WAIT"] === "true";
|
|
21043
|
+
if (noWait) this.logger.debug(mask(`Skipping the ACTIVE wait for Connect instance ${logicalId} (CDKD_NO_WAIT=true)`));
|
|
21044
|
+
else {
|
|
21045
|
+
instance = await this.waitForInstance(instanceId, logicalId, "active", deadline, mask);
|
|
21046
|
+
if (written.length > 0) {
|
|
21047
|
+
const live = attributesFromList(await this.listAttributes(instanceId));
|
|
21048
|
+
for (const [key, flag] of written) {
|
|
21049
|
+
if (live[key] === void 0 || live[key] === flag) continue;
|
|
21050
|
+
this.logger.debug(mask(`Connect instance ${logicalId}: ${key} reverted, writing it again`));
|
|
21051
|
+
await this.updateAttribute(instanceId, key, flag, deadline, logicalId, mask);
|
|
21052
|
+
}
|
|
21053
|
+
}
|
|
21054
|
+
}
|
|
21055
|
+
createToken.release();
|
|
21056
|
+
return {
|
|
21057
|
+
physicalId: arn,
|
|
21058
|
+
attributes: {
|
|
21059
|
+
...attributesOf(instance, noWait),
|
|
21060
|
+
Id: instanceId,
|
|
21061
|
+
Arn: arn
|
|
21062
|
+
}
|
|
21063
|
+
};
|
|
21064
|
+
} catch (error) {
|
|
21065
|
+
if (isInterruptedWaitError(error)) throw error;
|
|
21066
|
+
const cause = error instanceof Error ? error : void 0;
|
|
21067
|
+
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));
|
|
21068
|
+
if (arn !== void 0) thrown = await this.retireFailedCreate(thrown, logicalId, resourceType, arn, mask, () => createToken.release());
|
|
21069
|
+
throw thrown;
|
|
21070
|
+
}
|
|
21071
|
+
}
|
|
21072
|
+
async createInstance(input, alias, logicalId, mask) {
|
|
21073
|
+
const releaseDeadline = Date.now() + this.aliasReleaseWaitMs;
|
|
21074
|
+
const watch = startInterruptWatch(`Connect instance ${logicalId} alias release wait`);
|
|
21075
|
+
try {
|
|
21076
|
+
for (;;) try {
|
|
21077
|
+
return await this.getClient().send(new CreateInstanceCommand(input));
|
|
21078
|
+
} catch (error) {
|
|
21079
|
+
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;
|
|
21080
|
+
this.logger.debug(mask(`Connect instance ${logicalId}: alias ${alias} still being released, retrying`));
|
|
21081
|
+
if (watch.isInterrupted()) throw watch.onInterrupted();
|
|
21082
|
+
await this.instanceWait.sleep(this.instanceWait.pollIntervalMs);
|
|
21083
|
+
}
|
|
21084
|
+
} finally {
|
|
21085
|
+
watch.dispose();
|
|
21086
|
+
}
|
|
21087
|
+
}
|
|
21088
|
+
aliasReleaseWaitMs = 18e4;
|
|
21089
|
+
async aliasIsListed(alias, mask) {
|
|
21090
|
+
try {
|
|
21091
|
+
let nextToken;
|
|
21092
|
+
do {
|
|
21093
|
+
const page = await this.getClient().send(new ListInstancesCommand({ NextToken: nextToken }));
|
|
21094
|
+
if (page.InstanceSummaryList?.some((s) => s.InstanceAlias === alias)) return true;
|
|
21095
|
+
nextToken = page.NextToken;
|
|
21096
|
+
} while (nextToken);
|
|
21097
|
+
return false;
|
|
21098
|
+
} catch (error) {
|
|
21099
|
+
this.logger.debug(mask(`ListInstances failed while checking alias ${alias}: ${describeAwsFailure(error).detail}`));
|
|
21100
|
+
return true;
|
|
21101
|
+
}
|
|
21102
|
+
}
|
|
21103
|
+
async deleteInstanceConfirmed(instanceId) {
|
|
21104
|
+
const deadline = this.deadline();
|
|
21105
|
+
const watch = startInterruptWatch(`Connect instance ${instanceId} delete`);
|
|
21106
|
+
try {
|
|
21107
|
+
for (;;) try {
|
|
21108
|
+
await this.getClient().send(new DeleteInstanceCommand({ InstanceId: instanceId }));
|
|
21109
|
+
return "deleted";
|
|
21110
|
+
} catch (error) {
|
|
21111
|
+
if (!(error instanceof ResourceNotFoundException$11)) throw error;
|
|
21112
|
+
try {
|
|
21113
|
+
await this.getClient().send(new DescribeInstanceCommand({ InstanceId: instanceId }));
|
|
21114
|
+
} catch (describeError) {
|
|
21115
|
+
if (describeError instanceof ResourceNotFoundException$11) return "gone";
|
|
21116
|
+
throw describeError;
|
|
21117
|
+
}
|
|
21118
|
+
if (Date.now() >= deadline) throw error;
|
|
21119
|
+
if (watch.isInterrupted()) throw watch.onInterrupted();
|
|
21120
|
+
await this.instanceWait.sleep(this.instanceWait.pollIntervalMs);
|
|
21121
|
+
}
|
|
21122
|
+
} finally {
|
|
21123
|
+
watch.dispose();
|
|
21124
|
+
}
|
|
21125
|
+
}
|
|
21126
|
+
deadline() {
|
|
21127
|
+
const userTimeoutMs = resolvedResourceTimeoutMs(RESOURCE_TYPE);
|
|
21128
|
+
const timeoutMs = userTimeoutMs === void 0 ? this.instanceWait.timeoutMs : Math.min(this.instanceWait.timeoutMs, userTimeoutMs / 2);
|
|
21129
|
+
return Date.now() + timeoutMs;
|
|
21130
|
+
}
|
|
21131
|
+
async retireFailedCreate(thrown, logicalId, resourceType, arn, mask, onGone) {
|
|
21132
|
+
try {
|
|
21133
|
+
await this.deleteInstanceConfirmed(connectInstanceIdOf(arn));
|
|
21134
|
+
retractCreatedResource(logicalId, resourceType, arn);
|
|
21135
|
+
onGone();
|
|
21136
|
+
return thrown;
|
|
21137
|
+
} catch (cleanupError) {
|
|
21138
|
+
const failure = describeAwsFailure(cleanupError);
|
|
21139
|
+
this.logger.debug(mask(`Failed to delete Connect instance ${arn} after its create failed: ${failure.detail}`));
|
|
21140
|
+
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)}`));
|
|
21141
|
+
return markCreatedBeforeFailure(thrown, logicalId, resourceType, arn);
|
|
21142
|
+
}
|
|
21143
|
+
}
|
|
21144
|
+
async waitForInstance(instanceId, logicalId, until, deadline, mask) {
|
|
21145
|
+
const { pollIntervalMs, sleep } = this.instanceWait;
|
|
21146
|
+
const watch = startInterruptWatch(`Connect instance ${logicalId} ${until} wait`);
|
|
21147
|
+
let instance;
|
|
21148
|
+
try {
|
|
21149
|
+
for (;;) {
|
|
21150
|
+
let ready = false;
|
|
21151
|
+
try {
|
|
21152
|
+
instance = (await this.getClient().send(new DescribeInstanceCommand({ InstanceId: instanceId }))).Instance;
|
|
21153
|
+
const status = instance?.InstanceStatus;
|
|
21154
|
+
if (status === "CREATION_FAILED") {
|
|
21155
|
+
const reason = instance?.StatusReason?.Message;
|
|
21156
|
+
if (reason) this.logger.debug(mask(`Connect instance ${logicalId} entered CREATION_FAILED: ${reason}`));
|
|
21157
|
+
throw markNonRetryable(new ProvisioningError(safeMsg`Connect instance ${logicalId} entered CREATION_FAILED.` + verbosePointerTail(), RESOURCE_TYPE, logicalId, instance?.Arn));
|
|
21158
|
+
}
|
|
21159
|
+
if (status === "ACTIVE") return instance;
|
|
21160
|
+
if (until === "ready") {
|
|
21161
|
+
await this.getClient().send(new DescribeInstanceAttributeCommand$1({
|
|
21162
|
+
InstanceId: instanceId,
|
|
21163
|
+
AttributeType: "INBOUND_CALLS"
|
|
21164
|
+
}));
|
|
21165
|
+
ready = true;
|
|
21166
|
+
} else if (until === "settled") {
|
|
21167
|
+
const live = new Map((await this.listAttributes(instanceId)).map((a) => [a.AttributeType, a.Value]));
|
|
21168
|
+
ready = CONNECT_INSTANCE_ASYNC_DEFAULTS.every((type) => live.get(type) === "true");
|
|
21169
|
+
}
|
|
21170
|
+
} catch (error) {
|
|
21171
|
+
if (error instanceof ProvisioningError) throw error;
|
|
21172
|
+
if (!(error instanceof ResourceNotFoundException$11) && !isTransientRead(error)) throw error;
|
|
21173
|
+
if (Date.now() >= deadline) throw error;
|
|
21174
|
+
this.logger.debug(mask(`Connect instance ${instanceId}: not readable yet (${describeAwsFailure(error).summary})`));
|
|
21175
|
+
}
|
|
21176
|
+
if (ready) return instance;
|
|
21177
|
+
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));
|
|
21178
|
+
if (watch.isInterrupted()) throw watch.onInterrupted();
|
|
21179
|
+
await sleep(pollIntervalMs);
|
|
21180
|
+
}
|
|
21181
|
+
} finally {
|
|
21182
|
+
watch.dispose();
|
|
21183
|
+
}
|
|
21184
|
+
}
|
|
21185
|
+
async updateAttribute(instanceId, key, flag, deadline, logicalId, mask) {
|
|
21186
|
+
const attributeType = CONNECT_INSTANCE_ATTRIBUTE_TYPES[key];
|
|
21187
|
+
for (;;) try {
|
|
21188
|
+
await this.getClient().send(new UpdateInstanceAttributeCommand({
|
|
21189
|
+
InstanceId: instanceId,
|
|
21190
|
+
AttributeType: attributeType,
|
|
21191
|
+
Value: String(flag)
|
|
21192
|
+
}));
|
|
21193
|
+
return;
|
|
21194
|
+
} catch (error) {
|
|
21195
|
+
if (!(error instanceof ResourceNotFoundException$11) && !isTransientRead(error)) throw error;
|
|
21196
|
+
if (Date.now() >= deadline) throw error;
|
|
21197
|
+
this.logger.debug(mask(`Connect instance ${logicalId}: ${key} not writable yet, retrying`));
|
|
21198
|
+
await this.instanceWait.sleep(this.instanceWait.pollIntervalMs);
|
|
21199
|
+
}
|
|
21200
|
+
}
|
|
21201
|
+
async update(logicalId, physicalId, resourceType, properties, previousProperties, context) {
|
|
21202
|
+
assertRegionMatch(context?.expectedRegion ? await this.getClient().config.region() : void 0, context?.expectedRegion, resourceType, logicalId, physicalId, "pre-update");
|
|
21203
|
+
const mask = maskerOrIdentity(context?.maskSecrets);
|
|
21204
|
+
const stateBorne = context?.replayingState === true || context?.desiredFromAwsReadback === true;
|
|
21205
|
+
let desired;
|
|
21206
|
+
try {
|
|
21207
|
+
desired = this.desiredAttributes(properties, logicalId, physicalId);
|
|
21208
|
+
} catch (error) {
|
|
21209
|
+
if (!stateBorne) throw error;
|
|
21210
|
+
desired = readAttributes(properties["Attributes"]).values;
|
|
21211
|
+
this.logger.warn(safeMsg`${logicalId} (${resourceType}): Attributes is not a block of booleans; only its usable members are applied.`);
|
|
21212
|
+
}
|
|
21213
|
+
const previous = readAttributes(previousProperties["Attributes"]).values;
|
|
21214
|
+
const changed = [...desired].filter(([key, flag]) => previous.get(key) !== flag);
|
|
21215
|
+
const toWrite = context?.unsettledProperties?.has("Attributes") === true ? [...desired] : changed;
|
|
21216
|
+
const removed = [...previous.keys()].filter((key) => !desired.has(key));
|
|
21217
|
+
if (removed.length > 0) this.logger.warn(safeMsg`${logicalId} (${resourceType}): Attributes no longer declares ${removed.join(", ")}; the instance keeps the current value.`);
|
|
21218
|
+
const desiredTags = refuseMalformedDesiredTags(properties["Tags"], resourceType, logicalId, physicalId);
|
|
21219
|
+
const recordedPlan = planTagDiff(previousProperties["Tags"], desiredTags);
|
|
21220
|
+
const plan = context?.unsettledProperties?.has("Tags") === true ? {
|
|
21221
|
+
...recordedPlan,
|
|
21222
|
+
set: planTagDiff([], desiredTags).set
|
|
21223
|
+
} : recordedPlan;
|
|
21224
|
+
const warning = tagPlanWarning(plan, resourceType, logicalId);
|
|
21225
|
+
if (warning) this.logger.warn(warning);
|
|
21226
|
+
const instanceId = connectInstanceIdOf(physicalId);
|
|
21227
|
+
try {
|
|
21228
|
+
if (toWrite.length > 0) {
|
|
21229
|
+
context?.markUnsettled?.("Attributes");
|
|
21230
|
+
this.logger.debug(mask(`Updating Connect instance ${logicalId} attributes: ${physicalId}`));
|
|
21231
|
+
for (const [key, flag] of toWrite) await this.updateAttribute(instanceId, key, flag, Date.now(), logicalId, mask);
|
|
21232
|
+
}
|
|
21233
|
+
if (plan.remove.length > 0 || plan.set.size > 0) {
|
|
21234
|
+
context?.markUnsettled?.("Tags");
|
|
21235
|
+
if (plan.remove.length > 0) await this.getClient().send(new UntagResourceCommand$14({
|
|
21236
|
+
resourceArn: physicalId,
|
|
21237
|
+
tagKeys: plan.remove
|
|
21238
|
+
}));
|
|
21239
|
+
if (plan.set.size > 0) await this.getClient().send(new TagResourceCommand$14({
|
|
21240
|
+
resourceArn: physicalId,
|
|
21241
|
+
tags: Object.fromEntries(plan.set)
|
|
21242
|
+
}));
|
|
21243
|
+
}
|
|
21244
|
+
return {
|
|
21245
|
+
physicalId,
|
|
21246
|
+
wasReplaced: false
|
|
21247
|
+
};
|
|
21248
|
+
} catch (error) {
|
|
21249
|
+
if (error instanceof CdkdError || isInterruptedWaitError(error)) throw error;
|
|
21250
|
+
if (error instanceof ResourceNotFoundException$11) assertRegionMatch(await this.getClient().config.region(), context?.expectedRegion ?? arnRegionOf(physicalId), resourceType, logicalId, physicalId);
|
|
21251
|
+
const cause = error instanceof Error ? error : void 0;
|
|
21252
|
+
throw this.wrapMaskedError(mask, error, (text) => new ProvisioningError(`Failed to update Connect instance ${logicalId}: ${text}`, resourceType, logicalId, physicalId, cause));
|
|
21253
|
+
}
|
|
21254
|
+
}
|
|
21255
|
+
async delete(logicalId, physicalId, resourceType, _properties, context) {
|
|
21256
|
+
this.logger.debug(safeMsg`Deleting Connect instance ${logicalId}: ${physicalId}`);
|
|
21257
|
+
const mask = maskerOrIdentity(context?.maskSecrets);
|
|
21258
|
+
let outcome;
|
|
21259
|
+
try {
|
|
21260
|
+
outcome = await this.deleteInstanceConfirmed(connectInstanceIdOf(physicalId));
|
|
21261
|
+
} catch (error) {
|
|
21262
|
+
if (isInterruptedWaitError(error)) throw error;
|
|
21263
|
+
const cause = error instanceof Error ? error : void 0;
|
|
21264
|
+
const failure = this.wrapMaskedError(mask, error, (text) => new ProvisioningError(`Failed to delete Connect instance ${logicalId}: ${text}`, resourceType, logicalId, physicalId, cause));
|
|
21265
|
+
throw error instanceof Error && error.name.includes("NotFound") ? markNotGone(failure) : failure;
|
|
21266
|
+
}
|
|
21267
|
+
if (outcome === "gone") {
|
|
21268
|
+
assertRegionMatch(await this.getClient().config.region(), context?.expectedRegion ?? arnRegionOf(physicalId), resourceType, logicalId, physicalId);
|
|
21269
|
+
this.logger.debug(safeMsg`Connect instance ${physicalId} does not exist, skipping`);
|
|
21270
|
+
}
|
|
21271
|
+
}
|
|
21272
|
+
async listAttributes(instanceId) {
|
|
21273
|
+
const list = [];
|
|
21274
|
+
let nextToken;
|
|
21275
|
+
do {
|
|
21276
|
+
const page = await this.getClient().send(new ListInstanceAttributesCommand({
|
|
21277
|
+
InstanceId: instanceId,
|
|
21278
|
+
NextToken: nextToken
|
|
21279
|
+
}));
|
|
21280
|
+
list.push(...page.Attributes ?? []);
|
|
21281
|
+
nextToken = page.NextToken;
|
|
21282
|
+
} while (nextToken);
|
|
21283
|
+
return list;
|
|
21284
|
+
}
|
|
21285
|
+
async getAttribute(physicalId, _resourceType, attributeName) {
|
|
21286
|
+
if (attributeName === "Arn") return physicalId;
|
|
21287
|
+
if (attributeName === "Id") return connectInstanceIdOf(physicalId);
|
|
21288
|
+
return attributesOf((await this.getClient().send(new DescribeInstanceCommand({ InstanceId: connectInstanceIdOf(physicalId) }))).Instance)[attributeName];
|
|
21289
|
+
}
|
|
21290
|
+
async readCurrentState(physicalId, _logicalId, _resourceType) {
|
|
21291
|
+
const instanceId = connectInstanceIdOf(physicalId);
|
|
21292
|
+
try {
|
|
21293
|
+
const instance = (await this.getClient().send(new DescribeInstanceCommand({ InstanceId: instanceId }))).Instance;
|
|
21294
|
+
if (!instance) return RESOURCE_NOT_FOUND;
|
|
21295
|
+
const list = await this.listAttributes(instanceId);
|
|
21296
|
+
const result = {};
|
|
21297
|
+
if (instance.IdentityManagementType !== void 0) result["IdentityManagementType"] = instance.IdentityManagementType;
|
|
21298
|
+
if (instance.InstanceAlias !== void 0) result["InstanceAlias"] = instance.InstanceAlias;
|
|
21299
|
+
result["Attributes"] = attributesFromList(list);
|
|
21300
|
+
result["Tags"] = normalizeAwsTagsToCfn(instance.Tags);
|
|
21301
|
+
return result;
|
|
21302
|
+
} catch (err) {
|
|
21303
|
+
if (err instanceof ResourceNotFoundException$11) return RESOURCE_NOT_FOUND;
|
|
21304
|
+
throw err;
|
|
21305
|
+
}
|
|
21306
|
+
}
|
|
21307
|
+
async import(input) {
|
|
21308
|
+
if (input.knownPhysicalId) try {
|
|
21309
|
+
const instance = (await this.getClient().send(new DescribeInstanceCommand({ InstanceId: connectInstanceIdOf(input.knownPhysicalId) }))).Instance;
|
|
21310
|
+
if (!instance?.Arn) return null;
|
|
21311
|
+
return {
|
|
21312
|
+
physicalId: instance.Arn,
|
|
21313
|
+
attributes: attributesOf(instance)
|
|
21314
|
+
};
|
|
21315
|
+
} catch (err) {
|
|
21316
|
+
if (err instanceof ResourceNotFoundException$11) return null;
|
|
21317
|
+
throw err;
|
|
21318
|
+
}
|
|
21319
|
+
const alias = readNameProperty(input, "InstanceAlias");
|
|
21320
|
+
if (alias === void 0) return null;
|
|
21321
|
+
let nextToken;
|
|
21322
|
+
do {
|
|
21323
|
+
const page = await this.getClient().send(new ListInstancesCommand({ NextToken: nextToken }));
|
|
21324
|
+
const match = page.InstanceSummaryList?.find((s) => s.InstanceAlias === alias);
|
|
21325
|
+
if (match?.Arn) return {
|
|
21326
|
+
physicalId: match.Arn,
|
|
21327
|
+
attributes: definedAttributes({
|
|
21328
|
+
Id: match.Id,
|
|
21329
|
+
Arn: match.Arn,
|
|
21330
|
+
ServiceRole: match.ServiceRole,
|
|
21331
|
+
CreatedTime: match.CreatedTime?.toISOString(),
|
|
21332
|
+
InstanceStatus: match.InstanceStatus
|
|
21333
|
+
})
|
|
21334
|
+
};
|
|
21335
|
+
nextToken = page.NextToken;
|
|
21336
|
+
} while (nextToken);
|
|
21337
|
+
return null;
|
|
21338
|
+
}
|
|
21339
|
+
};
|
|
21340
|
+
|
|
20879
21341
|
// src/provisioning/providers/ec2/common.ts
|
|
20880
21342
|
function isEc2NotFoundCode(error) {
|
|
20881
21343
|
const name = error?.name;
|
|
@@ -31172,11 +31634,11 @@ async function applyTagDiff$14(path, change) {
|
|
|
31172
31634
|
const region = await this.getClient().config.region();
|
|
31173
31635
|
const { partition } = derivePartitionAndUrlSuffix(region);
|
|
31174
31636
|
const resourceArn = `arn:${partition}:apigateway:${canonicalizeRegion(region)}::${path}`;
|
|
31175
|
-
if (change.remove.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
31637
|
+
if (change.remove.length > 0) await this.getClient().send(new UntagResourceCommand$15({
|
|
31176
31638
|
ResourceArn: resourceArn,
|
|
31177
31639
|
TagKeys: change.remove
|
|
31178
31640
|
}));
|
|
31179
|
-
if (Object.keys(change.set).length > 0) await this.getClient().send(new TagResourceCommand$
|
|
31641
|
+
if (Object.keys(change.set).length > 0) await this.getClient().send(new TagResourceCommand$15({
|
|
31180
31642
|
ResourceArn: resourceArn,
|
|
31181
31643
|
Tags: change.set
|
|
31182
31644
|
}));
|
|
@@ -33617,14 +34079,14 @@ async function applyTagDiff$12(stateMachineArn, resourceType, logicalId, oldTags
|
|
|
33617
34079
|
}));
|
|
33618
34080
|
const tagsToRemove = plan.remove;
|
|
33619
34081
|
if (tagsToRemove.length > 0) {
|
|
33620
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
34082
|
+
await this.getClient().send(new UntagResourceCommand$16({
|
|
33621
34083
|
resourceArn: stateMachineArn,
|
|
33622
34084
|
tagKeys: tagsToRemove
|
|
33623
34085
|
}));
|
|
33624
34086
|
this.logger.debug(`Removed ${tagsToRemove.length} tag(s) from SFN state machine ${stateMachineArn}`);
|
|
33625
34087
|
}
|
|
33626
34088
|
if (tagsToAdd.length > 0) {
|
|
33627
|
-
await this.getClient().send(new TagResourceCommand$
|
|
34089
|
+
await this.getClient().send(new TagResourceCommand$16({
|
|
33628
34090
|
resourceArn: stateMachineArn,
|
|
33629
34091
|
tags: tagsToAdd
|
|
33630
34092
|
}));
|
|
@@ -35076,14 +35538,14 @@ async function applyTagDiff$11(resourceArn, resourceType, logicalId, oldTagsRaw,
|
|
|
35076
35538
|
}));
|
|
35077
35539
|
const tagsToRemove = plan.remove;
|
|
35078
35540
|
if (tagsToRemove.length > 0) {
|
|
35079
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
35541
|
+
await this.getClient().send(new UntagResourceCommand$17({
|
|
35080
35542
|
resourceArn,
|
|
35081
35543
|
tagKeys: tagsToRemove
|
|
35082
35544
|
}));
|
|
35083
35545
|
log.debug(`Removed ${tagsToRemove.length} tag(s) from ECS resource ${resourceArn}`);
|
|
35084
35546
|
}
|
|
35085
35547
|
if (tagsToAdd.length > 0) {
|
|
35086
|
-
await this.getClient().send(new TagResourceCommand$
|
|
35548
|
+
await this.getClient().send(new TagResourceCommand$17({
|
|
35087
35549
|
resourceArn,
|
|
35088
35550
|
tags: tagsToAdd
|
|
35089
35551
|
}));
|
|
@@ -41205,11 +41667,11 @@ var AppConfigEnvironmentProvider = class {
|
|
|
41205
41667
|
if (warning) this.logger.warn(warning);
|
|
41206
41668
|
if (plan.set.size > 0 || plan.remove.length > 0) {
|
|
41207
41669
|
const arn = await this.environmentArn(applicationId, environmentId);
|
|
41208
|
-
if (plan.remove.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
41670
|
+
if (plan.remove.length > 0) await this.getClient().send(new UntagResourceCommand$18({
|
|
41209
41671
|
ResourceArn: arn,
|
|
41210
41672
|
TagKeys: plan.remove
|
|
41211
41673
|
}));
|
|
41212
|
-
if (plan.set.size > 0) await this.getClient().send(new TagResourceCommand$
|
|
41674
|
+
if (plan.set.size > 0) await this.getClient().send(new TagResourceCommand$18({
|
|
41213
41675
|
ResourceArn: arn,
|
|
41214
41676
|
Tags: Object.fromEntries(plan.set)
|
|
41215
41677
|
}));
|
|
@@ -43641,14 +44103,14 @@ async function applyTagDiff$8(arn, resourceType, logicalId, oldTagsRaw, newTagsR
|
|
|
43641
44103
|
}));
|
|
43642
44104
|
const tagsToRemove = plan.remove;
|
|
43643
44105
|
if (tagsToRemove.length > 0) {
|
|
43644
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
44106
|
+
await this.getClient().send(new UntagResourceCommand$19({
|
|
43645
44107
|
ResourceARN: arn,
|
|
43646
44108
|
TagKeys: tagsToRemove
|
|
43647
44109
|
}));
|
|
43648
44110
|
this.logger.debug(`Removed ${tagsToRemove.length} tag(s) from WAFv2 WebACL ${arn}`);
|
|
43649
44111
|
}
|
|
43650
44112
|
if (tagsToAdd.length > 0) {
|
|
43651
|
-
await this.getClient().send(new TagResourceCommand$
|
|
44113
|
+
await this.getClient().send(new TagResourceCommand$19({
|
|
43652
44114
|
ResourceARN: arn,
|
|
43653
44115
|
Tags: tagsToAdd
|
|
43654
44116
|
}));
|
|
@@ -44090,7 +44552,7 @@ async function readCurrentState$19(physicalId, _logicalId, resourceType) {
|
|
|
44090
44552
|
try {
|
|
44091
44553
|
resp = await this.getClient().send(new DescribeUserPoolCommand({ UserPoolId: physicalId }));
|
|
44092
44554
|
} catch (err) {
|
|
44093
|
-
if (err instanceof ResourceNotFoundException$
|
|
44555
|
+
if (err instanceof ResourceNotFoundException$12) return RESOURCE_NOT_FOUND;
|
|
44094
44556
|
throw err;
|
|
44095
44557
|
}
|
|
44096
44558
|
const pool = resp.UserPool;
|
|
@@ -44140,7 +44602,7 @@ async function readCurrentState$19(physicalId, _logicalId, resourceType) {
|
|
|
44140
44602
|
result["WebAuthnUserVerification"] = mfa.WebAuthnConfiguration?.UserVerification ?? "";
|
|
44141
44603
|
result["WebAuthnFactorConfiguration"] = mfa.WebAuthnConfiguration?.FactorConfiguration ?? "";
|
|
44142
44604
|
} catch (mfaErr) {
|
|
44143
|
-
if (!(mfaErr instanceof ResourceNotFoundException$
|
|
44605
|
+
if (!(mfaErr instanceof ResourceNotFoundException$12)) throw mfaErr;
|
|
44144
44606
|
this.logger.debug(`GetUserPoolMfaConfig failed for ${physicalId}, skipping MFA-derived drift keys: ${describeAwsFailure(mfaErr).detail}`);
|
|
44145
44607
|
}
|
|
44146
44608
|
return result;
|
|
@@ -44163,7 +44625,7 @@ async function importImpl$18(input) {
|
|
|
44163
44625
|
attributes: await this.userPoolAttributes(input.knownPhysicalId, resp.UserPool?.Arn)
|
|
44164
44626
|
};
|
|
44165
44627
|
} catch (err) {
|
|
44166
|
-
if (err instanceof ResourceNotFoundException$
|
|
44628
|
+
if (err instanceof ResourceNotFoundException$12) return null;
|
|
44167
44629
|
throw err;
|
|
44168
44630
|
}
|
|
44169
44631
|
const desiredName = typeof input.properties?.["UserPoolName"] === "string" ? input.properties["UserPoolName"] : void 0;
|
|
@@ -44179,7 +44641,7 @@ async function importImpl$18(input) {
|
|
|
44179
44641
|
try {
|
|
44180
44642
|
resp = await this.getClient().send(new DescribeUserPoolCommand({ UserPoolId: pool.Id }));
|
|
44181
44643
|
} catch (err) {
|
|
44182
|
-
if (err instanceof ResourceNotFoundException$
|
|
44644
|
+
if (err instanceof ResourceNotFoundException$12) return null;
|
|
44183
44645
|
throw err;
|
|
44184
44646
|
}
|
|
44185
44647
|
return {
|
|
@@ -44671,7 +45133,7 @@ async function untagRemovedUserPoolTags(logicalId, physicalId, resourceType, poo
|
|
|
44671
45133
|
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
45134
|
return;
|
|
44673
45135
|
}
|
|
44674
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
45136
|
+
await this.getClient().send(new UntagResourceCommand$20({
|
|
44675
45137
|
ResourceArn: poolArn,
|
|
44676
45138
|
TagKeys: removed
|
|
44677
45139
|
}));
|
|
@@ -44782,7 +45244,7 @@ async function deleteImpl$19(logicalId, physicalId, resourceType, _properties, c
|
|
|
44782
45244
|
} catch (bareError) {
|
|
44783
45245
|
failure = bareError;
|
|
44784
45246
|
}
|
|
44785
|
-
if (readOn && !(failure instanceof ResourceNotFoundException$
|
|
45247
|
+
if (readOn && !(failure instanceof ResourceNotFoundException$12)) {
|
|
44786
45248
|
const mask = maskerOrIdentity(context?.maskSecrets);
|
|
44787
45249
|
this.logger.debug(mask(safeMsg`Writing DeletionProtection back on ${mask(physicalId)} failed: ${mask(describeAwsFailure(failure).detail)}`));
|
|
44788
45250
|
return "read-on-write-failed";
|
|
@@ -44844,7 +45306,7 @@ async function deleteOnce$1(logicalId, physicalId, resourceType, context, flip)
|
|
|
44844
45306
|
return;
|
|
44845
45307
|
}
|
|
44846
45308
|
if (!observedPool) {
|
|
44847
|
-
if (observeError instanceof ResourceNotFoundException$
|
|
45309
|
+
if (observeError instanceof ResourceNotFoundException$12) return;
|
|
44848
45310
|
if (observeError !== void 0 && isTransientCognitoFailure(observeError)) {
|
|
44849
45311
|
transientReadError = observeError;
|
|
44850
45312
|
return;
|
|
@@ -44867,7 +45329,7 @@ async function deleteOnce$1(logicalId, physicalId, resourceType, context, flip)
|
|
|
44867
45329
|
flip.deleteAccepted = true;
|
|
44868
45330
|
this.logger.debug(`Successfully deleted Cognito User Pool ${logicalId}`);
|
|
44869
45331
|
} catch (error) {
|
|
44870
|
-
if (error instanceof ResourceNotFoundException$
|
|
45332
|
+
if (error instanceof ResourceNotFoundException$12) {
|
|
44871
45333
|
const clientRegion = await this.getClient().config.region();
|
|
44872
45334
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
44873
45335
|
this.logger.debug(`Cognito User Pool ${physicalId} does not exist, skipping deletion`);
|
|
@@ -44924,7 +45386,7 @@ async function disableUserPoolDeletionProtection(physicalId, pool, flip, mask) {
|
|
|
44924
45386
|
if (earlier) earlier.echoedSince = true;
|
|
44925
45387
|
return;
|
|
44926
45388
|
} catch (echoError) {
|
|
44927
|
-
if (echoError instanceof ResourceNotFoundException$
|
|
45389
|
+
if (echoError instanceof ResourceNotFoundException$12) throw echoError;
|
|
44928
45390
|
if (typeof echoError === "object" && echoError !== null && sentWithoutEmail.has(echoError) && isAmbiguousWriteFailure(echoError) && !this.emailOmittedFlips.has(flip)) this.emailOmittedFlips.set(flip, "ambiguous");
|
|
44929
45391
|
if (observedOn && isAmbiguousWriteFailure(echoError)) flip.flippedOffByThisRun = true;
|
|
44930
45392
|
if (isTransientCognitoFailure(echoError)) throw echoError;
|
|
@@ -44938,7 +45400,7 @@ async function disableUserPoolDeletionProtection(physicalId, pool, flip, mask) {
|
|
|
44938
45400
|
DeletionProtection: "INACTIVE"
|
|
44939
45401
|
}));
|
|
44940
45402
|
} catch (bareError) {
|
|
44941
|
-
if (bareError instanceof ResourceNotFoundException$
|
|
45403
|
+
if (bareError instanceof ResourceNotFoundException$12) throw bareError;
|
|
44942
45404
|
if (isAmbiguousWriteFailure(bareError)) {
|
|
44943
45405
|
if (observedOn) flip.flippedOffByThisRun = true;
|
|
44944
45406
|
if (!this.preFlipPools.has(flip)) this.preFlipPools.set(flip, {
|
|
@@ -46015,11 +46477,11 @@ async function syncNamespaceTags(logicalId, physicalId, resourceType, properties
|
|
|
46015
46477
|
const hasAdds = tagsToAdd.length > 0;
|
|
46016
46478
|
if (removedKeys.length === 0 && !hasAdds) return;
|
|
46017
46479
|
const arn = await this.resolveNamespaceArn(physicalId);
|
|
46018
|
-
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
46480
|
+
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$21({
|
|
46019
46481
|
ResourceARN: arn,
|
|
46020
46482
|
TagKeys: removedKeys
|
|
46021
46483
|
}));
|
|
46022
|
-
if (hasAdds) await this.getClient().send(new TagResourceCommand$
|
|
46484
|
+
if (hasAdds) await this.getClient().send(new TagResourceCommand$20({
|
|
46023
46485
|
ResourceARN: arn,
|
|
46024
46486
|
Tags: tagsToAdd
|
|
46025
46487
|
}));
|
|
@@ -46500,11 +46962,11 @@ async function updateService(logicalId, physicalId, resourceType, properties, pr
|
|
|
46500
46962
|
if (hasTagChange) {
|
|
46501
46963
|
const arn = knownArn ?? (await client.send(new GetServiceCommand({ Id: physicalId }))).Service?.Arn;
|
|
46502
46964
|
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$
|
|
46965
|
+
if (tagPlan.remove.length > 0) await client.send(new UntagResourceCommand$21({
|
|
46504
46966
|
ResourceARN: arn,
|
|
46505
46967
|
TagKeys: tagPlan.remove
|
|
46506
46968
|
}));
|
|
46507
|
-
if (tagPlan.set.size > 0) await client.send(new TagResourceCommand$
|
|
46969
|
+
if (tagPlan.set.size > 0) await client.send(new TagResourceCommand$20({
|
|
46508
46970
|
ResourceARN: arn,
|
|
46509
46971
|
Tags: [...tagPlan.set].map(([Key, Value]) => ({
|
|
46510
46972
|
Key,
|
|
@@ -46764,7 +47226,7 @@ async function attachTags(result, arn) {
|
|
|
46764
47226
|
const tagsResp = await this.getClient().send(new ListTagsForResourceCommand$15({ ResourceARN: arn }));
|
|
46765
47227
|
result["Tags"] = normalizeAwsTagsToCfn(tagsResp.Tags);
|
|
46766
47228
|
} catch (err) {
|
|
46767
|
-
if (!(err instanceof ResourceNotFoundException$
|
|
47229
|
+
if (!(err instanceof ResourceNotFoundException$13)) throw err;
|
|
46768
47230
|
this.logger.debug(`ServiceDiscovery ListTagsForResource(${arn}) failed: ${describeAwsFailure(err).detail}`);
|
|
46769
47231
|
}
|
|
46770
47232
|
}
|
|
@@ -47490,7 +47952,7 @@ async function applyTagDiff$6(apiId, resourceType, logicalId, oldTagsRaw, newTag
|
|
|
47490
47952
|
const tagKeysToRemove = plan.remove;
|
|
47491
47953
|
const tagsToAdd = Object.fromEntries(plan.set);
|
|
47492
47954
|
if (tagKeysToRemove.length > 0) try {
|
|
47493
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
47955
|
+
await this.getClient().send(new UntagResourceCommand$22({
|
|
47494
47956
|
resourceArn: arn,
|
|
47495
47957
|
tagKeys: tagKeysToRemove
|
|
47496
47958
|
}));
|
|
@@ -47498,7 +47960,7 @@ async function applyTagDiff$6(apiId, resourceType, logicalId, oldTagsRaw, newTag
|
|
|
47498
47960
|
throw this.wrapUpdateError(error, resourceType, logicalId, apiId, "GraphqlApi (untag)", mask);
|
|
47499
47961
|
}
|
|
47500
47962
|
if (Object.keys(tagsToAdd).length > 0) try {
|
|
47501
|
-
await this.getClient().send(new TagResourceCommand$
|
|
47963
|
+
await this.getClient().send(new TagResourceCommand$21({
|
|
47502
47964
|
resourceArn: arn,
|
|
47503
47965
|
tags: tagsToAdd
|
|
47504
47966
|
}));
|
|
@@ -49184,11 +49646,11 @@ async function applyGlueTagDiff(client, resourceArn, recorded, desired, resource
|
|
|
49184
49646
|
if (toSet.size === 0 && plan.remove.length === 0) return;
|
|
49185
49647
|
unsettled.beforeWrite();
|
|
49186
49648
|
const arn = await resourceArn();
|
|
49187
|
-
if (toSet.size > 0) await client.send(new TagResourceCommand$
|
|
49649
|
+
if (toSet.size > 0) await client.send(new TagResourceCommand$22({
|
|
49188
49650
|
ResourceArn: arn,
|
|
49189
49651
|
TagsToAdd: Object.fromEntries(toSet)
|
|
49190
49652
|
}));
|
|
49191
|
-
if (plan.remove.length > 0) await client.send(new UntagResourceCommand$
|
|
49653
|
+
if (plan.remove.length > 0) await client.send(new UntagResourceCommand$23({
|
|
49192
49654
|
ResourceArn: arn,
|
|
49193
49655
|
TagsToRemove: plan.remove
|
|
49194
49656
|
}));
|
|
@@ -52530,7 +52992,7 @@ async function update$15(logicalId, physicalId, resourceType, properties, previo
|
|
|
52530
52992
|
const newTags = this.toSdkResourceTags(next.ResourceTags);
|
|
52531
52993
|
if (prevTags.kind === "list") await this.reconcileResourceTags(accountId, physicalId, this.toSdkResourceTags(removableRecorded("ResourceTags", prevTags.items)), newTags);
|
|
52532
52994
|
else {
|
|
52533
|
-
if (newTags.length > 0) await this.getClient().send(new TagResourceCommand$
|
|
52995
|
+
if (newTags.length > 0) await this.getClient().send(new TagResourceCommand$23({
|
|
52534
52996
|
ResourceARN: await this.budgetArn(accountId, physicalId),
|
|
52535
52997
|
ResourceTags: newTags
|
|
52536
52998
|
}));
|
|
@@ -52674,11 +53136,11 @@ async function reconcileResourceTags(accountId, budgetName, oldTags, newTags) {
|
|
|
52674
53136
|
const removedKeys = oldTags.map((t) => t.Key).filter((k) => {
|
|
52675
53137
|
return typeof k === "string" && !newKeys.has(k);
|
|
52676
53138
|
});
|
|
52677
|
-
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
53139
|
+
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$24({
|
|
52678
53140
|
ResourceARN: arn,
|
|
52679
53141
|
ResourceTagKeys: removedKeys
|
|
52680
53142
|
}));
|
|
52681
|
-
if (newTags.length > 0) await this.getClient().send(new TagResourceCommand$
|
|
53143
|
+
if (newTags.length > 0) await this.getClient().send(new TagResourceCommand$23({
|
|
52682
53144
|
ResourceARN: arn,
|
|
52683
53145
|
ResourceTags: newTags
|
|
52684
53146
|
}));
|
|
@@ -53124,7 +53586,7 @@ async function readStreamArnIfExists(streamName) {
|
|
|
53124
53586
|
try {
|
|
53125
53587
|
response = await this.getClient().send(new DescribeStreamSummaryCommand({ StreamName: streamName }));
|
|
53126
53588
|
} catch (error) {
|
|
53127
|
-
if (error instanceof ResourceNotFoundException$
|
|
53589
|
+
if (error instanceof ResourceNotFoundException$14) return void 0;
|
|
53128
53590
|
throw error;
|
|
53129
53591
|
}
|
|
53130
53592
|
const arn = response.StreamDescriptionSummary?.StreamARN;
|
|
@@ -53135,7 +53597,7 @@ async function readStreamStatusForDelete(streamName) {
|
|
|
53135
53597
|
try {
|
|
53136
53598
|
return (await this.getClient().send(new DescribeStreamSummaryCommand({ StreamName: streamName }))).StreamDescriptionSummary?.StreamStatus ?? "UNKNOWN";
|
|
53137
53599
|
} catch (error) {
|
|
53138
|
-
if (error instanceof ResourceNotFoundException$
|
|
53600
|
+
if (error instanceof ResourceNotFoundException$14) return void 0;
|
|
53139
53601
|
throw error;
|
|
53140
53602
|
}
|
|
53141
53603
|
}
|
|
@@ -53618,7 +54080,7 @@ async function deleteImpl$14(logicalId, physicalId, resourceType, _properties, c
|
|
|
53618
54080
|
EnforceConsumerDeletion: true
|
|
53619
54081
|
}));
|
|
53620
54082
|
} catch (error) {
|
|
53621
|
-
if (error instanceof ResourceNotFoundException$
|
|
54083
|
+
if (error instanceof ResourceNotFoundException$14) {
|
|
53622
54084
|
const clientRegion = await this.getClient().config.region();
|
|
53623
54085
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
53624
54086
|
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 +54120,7 @@ async function resourceIdentity$1(physicalId, _resourceType, context) {
|
|
|
53658
54120
|
try {
|
|
53659
54121
|
response = await this.getClient().send(new DescribeStreamSummaryCommand({ StreamName: physicalId }));
|
|
53660
54122
|
} catch (error) {
|
|
53661
|
-
if (error instanceof ResourceNotFoundException$
|
|
54123
|
+
if (error instanceof ResourceNotFoundException$14) return RESOURCE_NOT_FOUND;
|
|
53662
54124
|
throw error;
|
|
53663
54125
|
}
|
|
53664
54126
|
const arn = response.StreamDescriptionSummary?.StreamARN;
|
|
@@ -53717,7 +54179,7 @@ async function readCurrentState$14(physicalId, _logicalId, resourceType, _proper
|
|
|
53717
54179
|
try {
|
|
53718
54180
|
stream = (await this.getClient().send(new DescribeStreamCommand({ StreamName: physicalId }))).StreamDescription;
|
|
53719
54181
|
} catch (err) {
|
|
53720
|
-
if (err instanceof ResourceNotFoundException$
|
|
54182
|
+
if (err instanceof ResourceNotFoundException$14) return RESOURCE_NOT_FOUND;
|
|
53721
54183
|
throw err;
|
|
53722
54184
|
}
|
|
53723
54185
|
if (!stream) return void 0;
|
|
@@ -53740,14 +54202,14 @@ async function readCurrentState$14(physicalId, _logicalId, resourceType, _proper
|
|
|
53740
54202
|
const strategy = summaryResp.StreamDescriptionSummary?.RecordDistributionStrategy;
|
|
53741
54203
|
if (strategy !== void 0) result["RecordDistributionStrategy"] = strategy;
|
|
53742
54204
|
} catch (err) {
|
|
53743
|
-
if (err instanceof ResourceNotFoundException$
|
|
54205
|
+
if (err instanceof ResourceNotFoundException$14) return RESOURCE_NOT_FOUND;
|
|
53744
54206
|
throw err;
|
|
53745
54207
|
}
|
|
53746
54208
|
try {
|
|
53747
54209
|
const tagsResp = await this.getClient().send(new ListTagsForStreamCommand({ StreamName: physicalId }));
|
|
53748
54210
|
result["Tags"] = normalizeAwsTagsToCfn(tagsResp.Tags);
|
|
53749
54211
|
} catch (err) {
|
|
53750
|
-
if (err instanceof ResourceNotFoundException$
|
|
54212
|
+
if (err instanceof ResourceNotFoundException$14) return RESOURCE_NOT_FOUND;
|
|
53751
54213
|
throw err;
|
|
53752
54214
|
}
|
|
53753
54215
|
return result;
|
|
@@ -53763,7 +54225,7 @@ async function importImpl$12(input) {
|
|
|
53763
54225
|
attributes: streamAttributes(response.StreamDescriptionSummary)
|
|
53764
54226
|
};
|
|
53765
54227
|
} catch (err) {
|
|
53766
|
-
if (err instanceof ResourceNotFoundException$
|
|
54228
|
+
if (err instanceof ResourceNotFoundException$14) return null;
|
|
53767
54229
|
throw err;
|
|
53768
54230
|
}
|
|
53769
54231
|
return null;
|
|
@@ -53995,7 +54457,7 @@ var KinesisStreamConsumerProvider = class {
|
|
|
53995
54457
|
await this.getClient().send(new DeregisterStreamConsumerCommand({ ConsumerARN: physicalId }));
|
|
53996
54458
|
this.logger.debug(`Successfully deregistered Kinesis stream consumer ${logicalId}`);
|
|
53997
54459
|
} catch (error) {
|
|
53998
|
-
if (error instanceof ResourceNotFoundException$
|
|
54460
|
+
if (error instanceof ResourceNotFoundException$14) {
|
|
53999
54461
|
const clientRegion = await this.getClient().config.region();
|
|
54000
54462
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
54001
54463
|
this.logger.debug(`Kinesis stream consumer ${physicalId} not found, skipping`);
|
|
@@ -54024,7 +54486,7 @@ var KinesisStreamConsumerProvider = class {
|
|
|
54024
54486
|
try {
|
|
54025
54487
|
desc = (await this.getClient().send(new DescribeStreamConsumerCommand({ ConsumerARN: physicalId }))).ConsumerDescription;
|
|
54026
54488
|
} catch (err) {
|
|
54027
|
-
if (err instanceof ResourceNotFoundException$
|
|
54489
|
+
if (err instanceof ResourceNotFoundException$14) return RESOURCE_NOT_FOUND;
|
|
54028
54490
|
throw err;
|
|
54029
54491
|
}
|
|
54030
54492
|
if (!desc) return void 0;
|
|
@@ -54035,7 +54497,7 @@ var KinesisStreamConsumerProvider = class {
|
|
|
54035
54497
|
const tagsResp = await this.getClient().send(new ListTagsForResourceCommand$17({ ResourceARN: physicalId }));
|
|
54036
54498
|
result["Tags"] = normalizeAwsTagsToCfn(tagsResp.Tags);
|
|
54037
54499
|
} catch (err) {
|
|
54038
|
-
if (err instanceof ResourceNotFoundException$
|
|
54500
|
+
if (err instanceof ResourceNotFoundException$14) return RESOURCE_NOT_FOUND;
|
|
54039
54501
|
throw err;
|
|
54040
54502
|
}
|
|
54041
54503
|
return result;
|
|
@@ -54048,14 +54510,14 @@ var KinesisStreamConsumerProvider = class {
|
|
|
54048
54510
|
const tagsToAdd = Object.fromEntries(plan.set);
|
|
54049
54511
|
const tagsToRemove = plan.remove;
|
|
54050
54512
|
if (tagsToRemove.length > 0) {
|
|
54051
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
54513
|
+
await this.getClient().send(new UntagResourceCommand$25({
|
|
54052
54514
|
ResourceARN: consumerArn,
|
|
54053
54515
|
TagKeys: tagsToRemove
|
|
54054
54516
|
}));
|
|
54055
54517
|
this.logger.debug(mask(`Removed ${tagsToRemove.length} tag(s) from Kinesis stream consumer ${consumerArn}`));
|
|
54056
54518
|
}
|
|
54057
54519
|
if (Object.keys(tagsToAdd).length > 0) {
|
|
54058
|
-
await this.getClient().send(new TagResourceCommand$
|
|
54520
|
+
await this.getClient().send(new TagResourceCommand$24({
|
|
54059
54521
|
ResourceARN: consumerArn,
|
|
54060
54522
|
Tags: tagsToAdd
|
|
54061
54523
|
}));
|
|
@@ -54205,7 +54667,7 @@ async function creationDateBestEffort(logicalId, name, groupName) {
|
|
|
54205
54667
|
for (let attempt = 0;; attempt++) try {
|
|
54206
54668
|
return (await this.readIdentity(name, groupName)).creation;
|
|
54207
54669
|
} catch (error) {
|
|
54208
|
-
const transient = error instanceof ResourceNotFoundException$
|
|
54670
|
+
const transient = error instanceof ResourceNotFoundException$15 || isThrottlingError(error);
|
|
54209
54671
|
const delay = this.readBackDelaysMs[attempt];
|
|
54210
54672
|
if (transient && delay !== void 0) {
|
|
54211
54673
|
await this.sleep(delay);
|
|
@@ -54256,7 +54718,7 @@ async function confirmRecordedSchedule(logicalId, physicalId, resourceType, grou
|
|
|
54256
54718
|
try {
|
|
54257
54719
|
live = await this.readIdentity(physicalId, groupName);
|
|
54258
54720
|
} catch (error) {
|
|
54259
|
-
if (error instanceof ResourceNotFoundException$
|
|
54721
|
+
if (error instanceof ResourceNotFoundException$15) return "absent";
|
|
54260
54722
|
throw this.wrapUnconfirmedGroupError(logicalId, physicalId, resourceType, error, mask);
|
|
54261
54723
|
}
|
|
54262
54724
|
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 +54815,7 @@ async function deleteByRecordedIdentity(logicalId, physicalId, resourceType, rec
|
|
|
54353
54815
|
try {
|
|
54354
54816
|
live = await this.readIdentity(physicalId, group);
|
|
54355
54817
|
} catch (error) {
|
|
54356
|
-
if (error instanceof ResourceNotFoundException$
|
|
54818
|
+
if (error instanceof ResourceNotFoundException$15) continue;
|
|
54357
54819
|
throw wrapDeleteError("reading a schedule of its name", error);
|
|
54358
54820
|
}
|
|
54359
54821
|
if (sameRecordedIdentity(live, recorded)) matches.push(group);
|
|
@@ -54389,7 +54851,7 @@ async function deleteByRecordedIdentity(logicalId, physicalId, resourceType, rec
|
|
|
54389
54851
|
}));
|
|
54390
54852
|
this.logger.debug(safeMsg`Deleted Schedule ${logicalId} (found by its recorded creation date)`);
|
|
54391
54853
|
} catch (error) {
|
|
54392
|
-
if (error instanceof ResourceNotFoundException$
|
|
54854
|
+
if (error instanceof ResourceNotFoundException$15) return;
|
|
54393
54855
|
throw wrapDeleteError("the delete", error);
|
|
54394
54856
|
}
|
|
54395
54857
|
}
|
|
@@ -54419,7 +54881,7 @@ async function deleteImpl$13(logicalId, physicalId, resourceType, properties, co
|
|
|
54419
54881
|
}));
|
|
54420
54882
|
this.logger.debug(`Deleted Schedule ${logicalId}`);
|
|
54421
54883
|
} catch (error) {
|
|
54422
|
-
if (error instanceof ResourceNotFoundException$
|
|
54884
|
+
if (error instanceof ResourceNotFoundException$15) {
|
|
54423
54885
|
const clientRegion = await this.getClient().config.region();
|
|
54424
54886
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
54425
54887
|
this.logger.debug(`Schedule ${logicalId} already deleted (not found), treating as success`);
|
|
@@ -54437,7 +54899,7 @@ async function getAttribute$4(physicalId, resourceType, attributeName, logicalId
|
|
|
54437
54899
|
return (await this.getClient().send(new GetScheduleCommand({ Name: physicalId }))).Arn;
|
|
54438
54900
|
} catch (error) {
|
|
54439
54901
|
const cause = error instanceof Error ? error : void 0;
|
|
54440
|
-
const customGroupHint = error instanceof ResourceNotFoundException$
|
|
54902
|
+
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
54903
|
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
54904
|
}
|
|
54443
54905
|
}
|
|
@@ -54463,7 +54925,7 @@ async function readCurrentState$13(physicalId, _logicalId, _resourceType, proper
|
|
|
54463
54925
|
...response.Target !== void 0 && { Target: this.toCfnTarget(response.Target) }
|
|
54464
54926
|
};
|
|
54465
54927
|
} catch (error) {
|
|
54466
|
-
if (error instanceof ResourceNotFoundException$
|
|
54928
|
+
if (error instanceof ResourceNotFoundException$15) return RESOURCE_NOT_FOUND;
|
|
54467
54929
|
throw error;
|
|
54468
54930
|
}
|
|
54469
54931
|
}
|
|
@@ -54484,7 +54946,7 @@ async function importImpl$11(input) {
|
|
|
54484
54946
|
}
|
|
54485
54947
|
};
|
|
54486
54948
|
} catch (error) {
|
|
54487
|
-
if (error instanceof ResourceNotFoundException$
|
|
54949
|
+
if (error instanceof ResourceNotFoundException$15) return null;
|
|
54488
54950
|
throw error;
|
|
54489
54951
|
}
|
|
54490
54952
|
}
|
|
@@ -54995,11 +55457,11 @@ async function update$12(logicalId, physicalId, resourceType, properties, previo
|
|
|
54995
55457
|
settled ??= await this.describe(physicalId);
|
|
54996
55458
|
const arn = settled.Arn;
|
|
54997
55459
|
if (!arn) throw new Error("DescribePipe returned no Arn, which tagging needs");
|
|
54998
|
-
if (plan.remove.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
55460
|
+
if (plan.remove.length > 0) await this.getClient().send(new UntagResourceCommand$26({
|
|
54999
55461
|
resourceArn: arn,
|
|
55000
55462
|
tagKeys: plan.remove
|
|
55001
55463
|
}));
|
|
55002
|
-
if (plan.set.size > 0) await this.getClient().send(new TagResourceCommand$
|
|
55464
|
+
if (plan.set.size > 0) await this.getClient().send(new TagResourceCommand$25({
|
|
55003
55465
|
resourceArn: arn,
|
|
55004
55466
|
tags: Object.fromEntries(plan.set)
|
|
55005
55467
|
}));
|
|
@@ -55347,11 +55809,11 @@ async function applyTagDiff$3(resourceId, resourceType, logicalId, recorded, des
|
|
|
55347
55809
|
const plan = planTagDiff(recorded, desired);
|
|
55348
55810
|
const warning = tagPlanWarning(plan, resourceType, logicalId);
|
|
55349
55811
|
if (warning !== void 0) log.warn(warning);
|
|
55350
|
-
if (plan.remove.length > 0) await this.retryOnTransientControlPlane(() => this.getClient().send(new UntagResourceCommand$
|
|
55812
|
+
if (plan.remove.length > 0) await this.retryOnTransientControlPlane(() => this.getClient().send(new UntagResourceCommand$27({
|
|
55351
55813
|
ResourceId: resourceId,
|
|
55352
55814
|
TagKeys: plan.remove
|
|
55353
55815
|
})), `UntagResource ${resourceId}`, log);
|
|
55354
|
-
if (plan.set.size > 0) await this.retryOnTransientControlPlane(() => this.getClient().send(new TagResourceCommand$
|
|
55816
|
+
if (plan.set.size > 0) await this.retryOnTransientControlPlane(() => this.getClient().send(new TagResourceCommand$26({
|
|
55355
55817
|
ResourceId: resourceId,
|
|
55356
55818
|
Tags: [...plan.set].map(([Key, Value]) => ({
|
|
55357
55819
|
Key,
|
|
@@ -57216,11 +57678,11 @@ async function applyTagDiff$2(physicalId, resourceType, logicalId, nextTags, pre
|
|
|
57216
57678
|
Value
|
|
57217
57679
|
}));
|
|
57218
57680
|
const toRemove = plan.remove;
|
|
57219
|
-
if (toSet.length > 0) await this.getClient().send(new TagResourceCommand$
|
|
57681
|
+
if (toSet.length > 0) await this.getClient().send(new TagResourceCommand$27({
|
|
57220
57682
|
ResourceARN: arn,
|
|
57221
57683
|
Tags: toSet
|
|
57222
57684
|
}));
|
|
57223
|
-
if (toRemove.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
57685
|
+
if (toRemove.length > 0) await this.getClient().send(new UntagResourceCommand$28({
|
|
57224
57686
|
ResourceARN: arn,
|
|
57225
57687
|
TagKeys: toRemove
|
|
57226
57688
|
}));
|
|
@@ -58352,7 +58814,7 @@ async function readCurrentState$9(physicalId, resourceType, properties) {
|
|
|
58352
58814
|
marker = group === void 0 ? resp.Marker : void 0;
|
|
58353
58815
|
} while (marker);
|
|
58354
58816
|
} catch (error) {
|
|
58355
|
-
if (error instanceof InvalidRequestException) return void 0;
|
|
58817
|
+
if (error instanceof InvalidRequestException$1) return void 0;
|
|
58356
58818
|
throw error;
|
|
58357
58819
|
}
|
|
58358
58820
|
const state = group?.Status?.State;
|
|
@@ -58712,7 +59174,7 @@ var EMRInstanceGroupConfigProvider = class {
|
|
|
58712
59174
|
if (properties?.["AutoScalingPolicy"] !== void 0) try {
|
|
58713
59175
|
await removeScalingPolicyForDelete(this.getClient(), jobFlowId, physicalId);
|
|
58714
59176
|
} catch (error) {
|
|
58715
|
-
if (error instanceof InvalidRequestException) this.logger.debug(safeMsg`EMR instance group ${physicalId} policy removal skipped (cluster/group gone)`);
|
|
59177
|
+
if (error instanceof InvalidRequestException$1) this.logger.debug(safeMsg`EMR instance group ${physicalId} policy removal skipped (cluster/group gone)`);
|
|
58716
59178
|
else {
|
|
58717
59179
|
const head = safeMsg`Removing the automatic scaling policy of EMR instance group ${physicalId} failed: `;
|
|
58718
59180
|
const text = this.cleanupFailureText(head, error, context?.maskSecrets);
|
|
@@ -58729,7 +59191,7 @@ var EMRInstanceGroupConfigProvider = class {
|
|
|
58729
59191
|
}));
|
|
58730
59192
|
this.logger.debug(`Scaled EMR TASK instance group ${physicalId} to 0 to release its instances (no standalone delete API exists)`);
|
|
58731
59193
|
} catch (error) {
|
|
58732
|
-
if (error instanceof InvalidRequestException) {
|
|
59194
|
+
if (error instanceof InvalidRequestException$1) {
|
|
58733
59195
|
const clientRegion = await this.getClient().config.region();
|
|
58734
59196
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
58735
59197
|
this.logger.debug(`EMR instance group ${physicalId} scale-to-0 skipped (cluster/group gone): ${error.message}`);
|
|
@@ -59001,7 +59463,7 @@ async function deleteImpl$9(logicalId, physicalId, resourceType, properties, con
|
|
|
59001
59463
|
}));
|
|
59002
59464
|
this.logger.debug(`Scaled EMR TASK instance fleet ${physicalId} to 0 to release its instances (no standalone delete API exists)`);
|
|
59003
59465
|
} catch (error) {
|
|
59004
|
-
if (error instanceof InvalidRequestException) {
|
|
59466
|
+
if (error instanceof InvalidRequestException$1) {
|
|
59005
59467
|
const clientRegion = await this.getClient().config.region();
|
|
59006
59468
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
59007
59469
|
this.logger.debug(`EMR instance fleet ${physicalId} scale-to-0 skipped (cluster/fleet gone): ${error.message}`);
|
|
@@ -59033,7 +59495,7 @@ async function readCurrentState$8(physicalId, _logicalId, resourceType, properti
|
|
|
59033
59495
|
marker = fleet === void 0 ? resp.Marker : void 0;
|
|
59034
59496
|
} while (marker);
|
|
59035
59497
|
} catch (error) {
|
|
59036
|
-
if (error instanceof InvalidRequestException) return void 0;
|
|
59498
|
+
if (error instanceof InvalidRequestException$1) return void 0;
|
|
59037
59499
|
throw error;
|
|
59038
59500
|
}
|
|
59039
59501
|
if (fleet === void 0 || fleet.Status?.State === "TERMINATED") return RESOURCE_NOT_FOUND;
|
|
@@ -59561,7 +60023,7 @@ async function deleteOnce(logicalId, physicalId, resourceType, context, flip) {
|
|
|
59561
60023
|
try {
|
|
59562
60024
|
current = (await this.getClient().send(new DescribeClusterCommand({ ClusterId: physicalId }))).Cluster;
|
|
59563
60025
|
} catch (error) {
|
|
59564
|
-
if (error instanceof InvalidRequestException) {
|
|
60026
|
+
if (error instanceof InvalidRequestException$1) {
|
|
59565
60027
|
const clientRegion = await this.getClient().config.region();
|
|
59566
60028
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
59567
60029
|
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 +60109,7 @@ async function waitForClusterTerminated(clusterId, logicalId, resourceType, mask
|
|
|
59647
60109
|
try {
|
|
59648
60110
|
cluster = await this.describeForPoll(clusterId, transientState);
|
|
59649
60111
|
} catch (error) {
|
|
59650
|
-
if (error instanceof InvalidRequestException) return;
|
|
60112
|
+
if (error instanceof InvalidRequestException$1) return;
|
|
59651
60113
|
const cause = error instanceof Error ? error : void 0;
|
|
59652
60114
|
throw this.wrapCaughtError(mask, error, (text) => new ProvisioningError(`Failed to poll EMR Cluster ${clusterId} termination: ${text}`, resourceType, logicalId, clusterId, cause));
|
|
59653
60115
|
}
|
|
@@ -59702,7 +60164,7 @@ async function readClusterIdentity(clusterId) {
|
|
|
59702
60164
|
try {
|
|
59703
60165
|
response = await this.getClient().send(new DescribeClusterCommand({ ClusterId: clusterId }));
|
|
59704
60166
|
} catch (error) {
|
|
59705
|
-
if (error instanceof InvalidRequestException) return void 0;
|
|
60167
|
+
if (error instanceof InvalidRequestException$1) return void 0;
|
|
59706
60168
|
throw error;
|
|
59707
60169
|
}
|
|
59708
60170
|
const id = response.Cluster?.Id;
|
|
@@ -59725,7 +60187,7 @@ async function describeClusterOrUndefined(clusterId) {
|
|
|
59725
60187
|
try {
|
|
59726
60188
|
return (await this.getClient().send(new DescribeClusterCommand({ ClusterId: clusterId }))).Cluster;
|
|
59727
60189
|
} catch (err) {
|
|
59728
|
-
if (err instanceof InvalidRequestException) return void 0;
|
|
60190
|
+
if (err instanceof InvalidRequestException$1) return void 0;
|
|
59729
60191
|
throw err;
|
|
59730
60192
|
}
|
|
59731
60193
|
}
|
|
@@ -59747,7 +60209,7 @@ async function readCurrentState$7(physicalId, _logicalId, _resourceType, propert
|
|
|
59747
60209
|
managedScaling: declares("ManagedScalingPolicy")
|
|
59748
60210
|
})]);
|
|
59749
60211
|
} catch (err) {
|
|
59750
|
-
if (err instanceof InvalidRequestException) return void 0;
|
|
60212
|
+
if (err instanceof InvalidRequestException$1) return void 0;
|
|
59751
60213
|
throw err;
|
|
59752
60214
|
}
|
|
59753
60215
|
const out = {
|
|
@@ -59800,7 +60262,7 @@ async function readUnsettled$1(physicalId, logicalId, resourceType, names, recor
|
|
|
59800
60262
|
}
|
|
59801
60263
|
async function readDeclaredPolicies(clusterId, wanted) {
|
|
59802
60264
|
const readOne = (key, action, send) => send().then((value) => ({ value }), (err) => {
|
|
59803
|
-
if (err instanceof InvalidRequestException) throw err;
|
|
60265
|
+
if (err instanceof InvalidRequestException$1) throw err;
|
|
59804
60266
|
const name = err?.name;
|
|
59805
60267
|
const errorClass = typeof name === "string" && /^[A-Za-z0-9]{1,64}$/.test(name) ? name : "an error";
|
|
59806
60268
|
const hint = isPermissionDenial(err) ? `; allow elasticmapreduce:${action}` : "";
|
|
@@ -60835,7 +61297,7 @@ async function deleteImpl$7(logicalId, physicalId, resourceType, _properties, co
|
|
|
60835
61297
|
try {
|
|
60836
61298
|
await this.getClient().send(new DeleteDeliveryStreamCommand({ DeliveryStreamName: physicalId }));
|
|
60837
61299
|
} catch (error) {
|
|
60838
|
-
if (error instanceof ResourceNotFoundException$
|
|
61300
|
+
if (error instanceof ResourceNotFoundException$16) {
|
|
60839
61301
|
const clientRegion = await this.getClient().config.region();
|
|
60840
61302
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
60841
61303
|
this.logger.debug(`Firehose delivery stream ${physicalId} does not exist, skipping deletion`);
|
|
@@ -60860,7 +61322,7 @@ async function readDeliveryStreamStatusForDelete(streamName) {
|
|
|
60860
61322
|
try {
|
|
60861
61323
|
return (await this.getClient().send(new DescribeDeliveryStreamCommand({ DeliveryStreamName: streamName }))).DeliveryStreamDescription?.DeliveryStreamStatus ?? "UNKNOWN";
|
|
60862
61324
|
} catch (error) {
|
|
60863
|
-
if (error instanceof ResourceNotFoundException$
|
|
61325
|
+
if (error instanceof ResourceNotFoundException$16) return void 0;
|
|
60864
61326
|
throw error;
|
|
60865
61327
|
}
|
|
60866
61328
|
}
|
|
@@ -61221,7 +61683,7 @@ async function readCurrentState$6(physicalId, _logicalId, _resourceType, propert
|
|
|
61221
61683
|
try {
|
|
61222
61684
|
desc = (await this.getClient().send(new DescribeDeliveryStreamCommand({ DeliveryStreamName: physicalId }))).DeliveryStreamDescription;
|
|
61223
61685
|
} catch (err) {
|
|
61224
|
-
if (err instanceof ResourceNotFoundException$
|
|
61686
|
+
if (err instanceof ResourceNotFoundException$16) return RESOURCE_NOT_FOUND;
|
|
61225
61687
|
throw err;
|
|
61226
61688
|
}
|
|
61227
61689
|
if (!desc) return void 0;
|
|
@@ -61254,7 +61716,7 @@ async function readCurrentState$6(physicalId, _logicalId, _resourceType, propert
|
|
|
61254
61716
|
const tagsResp = await this.getClient().send(new ListTagsForDeliveryStreamCommand({ DeliveryStreamName: physicalId }));
|
|
61255
61717
|
result["Tags"] = normalizeAwsTagsToCfn(tagsResp.Tags);
|
|
61256
61718
|
} catch (err) {
|
|
61257
|
-
if (err instanceof ResourceNotFoundException$
|
|
61719
|
+
if (err instanceof ResourceNotFoundException$16) return RESOURCE_NOT_FOUND;
|
|
61258
61720
|
throw err;
|
|
61259
61721
|
}
|
|
61260
61722
|
return result;
|
|
@@ -61271,7 +61733,7 @@ async function importImpl$6(input) {
|
|
|
61271
61733
|
attributes: {}
|
|
61272
61734
|
};
|
|
61273
61735
|
} catch (err) {
|
|
61274
|
-
if (err instanceof ResourceNotFoundException$
|
|
61736
|
+
if (err instanceof ResourceNotFoundException$16) return null;
|
|
61275
61737
|
throw err;
|
|
61276
61738
|
}
|
|
61277
61739
|
return null;
|
|
@@ -61923,7 +62385,7 @@ async function readCurrentState$5(physicalId, _logicalId, _resourceType) {
|
|
|
61923
62385
|
const tagsResp = await this.getClient().send(new ListTagsCommand$2({ ResourceIdList: [trail.TrailARN] }));
|
|
61924
62386
|
tags = normalizeAwsTagsToCfn(tagsResp.ResourceTagList?.[0]?.TagsList);
|
|
61925
62387
|
} catch (err) {
|
|
61926
|
-
if (!(err instanceof ResourceNotFoundException$
|
|
62388
|
+
if (!(err instanceof ResourceNotFoundException$17)) throw err;
|
|
61927
62389
|
}
|
|
61928
62390
|
result["Tags"] = tags;
|
|
61929
62391
|
await readAggregationBlock.call(this, physicalId, result);
|
|
@@ -62493,7 +62955,7 @@ async function deleteImpl$5(logicalId, physicalId, resourceType, _properties, co
|
|
|
62493
62955
|
await this.getClient().send(new DeleteProjectCommand({ name: physicalId }));
|
|
62494
62956
|
this.logger.debug(`Successfully deleted CodeBuild Project ${logicalId}`);
|
|
62495
62957
|
} catch (error) {
|
|
62496
|
-
if (error instanceof ResourceNotFoundException$
|
|
62958
|
+
if (error instanceof ResourceNotFoundException$18) {
|
|
62497
62959
|
const clientRegion = await this.getClient().config.region();
|
|
62498
62960
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
62499
62961
|
this.logger.debug(`CodeBuild Project ${physicalId} does not exist, skipping deletion`);
|
|
@@ -62519,7 +62981,7 @@ async function readProject(physicalId) {
|
|
|
62519
62981
|
try {
|
|
62520
62982
|
project = (await this.getClient().send(new BatchGetProjectsCommand({ names: [physicalId] }))).projects?.[0];
|
|
62521
62983
|
} catch (err) {
|
|
62522
|
-
if (err instanceof ResourceNotFoundException$
|
|
62984
|
+
if (err instanceof ResourceNotFoundException$18) return RESOURCE_NOT_FOUND;
|
|
62523
62985
|
throw err;
|
|
62524
62986
|
}
|
|
62525
62987
|
if (!project) return RESOURCE_NOT_FOUND;
|
|
@@ -62694,7 +63156,7 @@ async function importImpl$4(input) {
|
|
|
62694
63156
|
attributes: {}
|
|
62695
63157
|
} : null;
|
|
62696
63158
|
} catch (err) {
|
|
62697
|
-
if (err instanceof ResourceNotFoundException$
|
|
63159
|
+
if (err instanceof ResourceNotFoundException$18) return null;
|
|
62698
63160
|
throw err;
|
|
62699
63161
|
}
|
|
62700
63162
|
return null;
|
|
@@ -63149,11 +63611,11 @@ async function update$4(logicalId, physicalId, resourceType, properties, previou
|
|
|
63149
63611
|
const repoArn = metadata?.Arn;
|
|
63150
63612
|
if (repoArn) {
|
|
63151
63613
|
const removedKeys = Object.keys(oldTagMap).filter((k) => !Object.hasOwn(newTagMap, k));
|
|
63152
|
-
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
63614
|
+
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$29({
|
|
63153
63615
|
resourceArn: repoArn,
|
|
63154
63616
|
tagKeys: removedKeys
|
|
63155
63617
|
}));
|
|
63156
|
-
if (Object.keys(newTagMap).length > 0) await this.getClient().send(new TagResourceCommand$
|
|
63618
|
+
if (Object.keys(newTagMap).length > 0) await this.getClient().send(new TagResourceCommand$28({
|
|
63157
63619
|
resourceArn: repoArn,
|
|
63158
63620
|
tags: newTagMap
|
|
63159
63621
|
}));
|
|
@@ -63660,7 +64122,7 @@ var DLMLifecyclePolicyProvider = class {
|
|
|
63660
64122
|
created = detail.Policy?.DateCreated;
|
|
63661
64123
|
defaultType = detail.Policy?.PolicyDetails?.ResourceType;
|
|
63662
64124
|
} catch (error) {
|
|
63663
|
-
if (error instanceof ResourceNotFoundException$
|
|
64125
|
+
if (error instanceof ResourceNotFoundException$19) continue;
|
|
63664
64126
|
throw error;
|
|
63665
64127
|
}
|
|
63666
64128
|
if (isDefault && defaultType !== void 0 && defaultType !== input.DefaultPolicy) continue;
|
|
@@ -63758,7 +64220,7 @@ var DLMLifecyclePolicyProvider = class {
|
|
|
63758
64220
|
if (tagsChanged && arn) {
|
|
63759
64221
|
const removedKeys = plan.remove;
|
|
63760
64222
|
if (removedKeys.length > 0) {
|
|
63761
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
64223
|
+
await this.getClient().send(new UntagResourceCommand$30({
|
|
63762
64224
|
ResourceArn: arn,
|
|
63763
64225
|
TagKeys: removedKeys
|
|
63764
64226
|
}));
|
|
@@ -63766,7 +64228,7 @@ var DLMLifecyclePolicyProvider = class {
|
|
|
63766
64228
|
}
|
|
63767
64229
|
const tagsToAdd = Object.fromEntries(plan.set);
|
|
63768
64230
|
if (Object.keys(tagsToAdd).length > 0) {
|
|
63769
|
-
await this.getClient().send(new TagResourceCommand$
|
|
64231
|
+
await this.getClient().send(new TagResourceCommand$29({
|
|
63770
64232
|
ResourceArn: arn,
|
|
63771
64233
|
Tags: tagsToAdd
|
|
63772
64234
|
}));
|
|
@@ -63790,7 +64252,7 @@ var DLMLifecyclePolicyProvider = class {
|
|
|
63790
64252
|
await this.getClient().send(new DeleteLifecyclePolicyCommand$1({ PolicyId: physicalId }));
|
|
63791
64253
|
this.logger.debug(`Successfully deleted DLM Lifecycle Policy ${logicalId}`);
|
|
63792
64254
|
} catch (error) {
|
|
63793
|
-
if (error instanceof ResourceNotFoundException$
|
|
64255
|
+
if (error instanceof ResourceNotFoundException$19) {
|
|
63794
64256
|
const clientRegion = await this.getClient().config.region();
|
|
63795
64257
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
63796
64258
|
this.logger.debug(`DLM Lifecycle Policy ${physicalId} does not exist, skipping deletion`);
|
|
@@ -63831,7 +64293,7 @@ var DLMLifecyclePolicyProvider = class {
|
|
|
63831
64293
|
Tags: normalizeAwsTagsToCfn(policy.Tags)
|
|
63832
64294
|
};
|
|
63833
64295
|
} catch (error) {
|
|
63834
|
-
if (error instanceof ResourceNotFoundException$
|
|
64296
|
+
if (error instanceof ResourceNotFoundException$19) return RESOURCE_NOT_FOUND;
|
|
63835
64297
|
throw error;
|
|
63836
64298
|
}
|
|
63837
64299
|
}
|
|
@@ -63858,7 +64320,7 @@ var DLMLifecyclePolicyProvider = class {
|
|
|
63858
64320
|
attributes: response.Policy.PolicyArn ? { Arn: response.Policy.PolicyArn } : {}
|
|
63859
64321
|
} : null;
|
|
63860
64322
|
} catch (err) {
|
|
63861
|
-
if (err instanceof ResourceNotFoundException$
|
|
64323
|
+
if (err instanceof ResourceNotFoundException$19) return null;
|
|
63862
64324
|
throw err;
|
|
63863
64325
|
}
|
|
63864
64326
|
return null;
|
|
@@ -63947,11 +64409,11 @@ var S3VectorsProvider = class S3VectorsProvider {
|
|
|
63947
64409
|
}
|
|
63948
64410
|
if (!resourceArn) throw new ProvisioningError(`Could not resolve ARN for S3 VectorBucket ${logicalId} (${mask(physicalId)}); cannot apply tag update.`, resourceType, logicalId, physicalId);
|
|
63949
64411
|
try {
|
|
63950
|
-
if (Object.keys(toSet).length > 0) await this.getClient().send(new TagResourceCommand$
|
|
64412
|
+
if (Object.keys(toSet).length > 0) await this.getClient().send(new TagResourceCommand$30({
|
|
63951
64413
|
resourceArn,
|
|
63952
64414
|
tags: toSet
|
|
63953
64415
|
}));
|
|
63954
|
-
if (toRemove.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
64416
|
+
if (toRemove.length > 0) await this.getClient().send(new UntagResourceCommand$31({
|
|
63955
64417
|
resourceArn,
|
|
63956
64418
|
tagKeys: toRemove
|
|
63957
64419
|
}));
|
|
@@ -66337,7 +66799,7 @@ async function applyTableTagsDiff(logicalId, physicalId, resourceType, previousT
|
|
|
66337
66799
|
const resourceArn = await this.lookupTableArn(tableBucketARN, namespace, name);
|
|
66338
66800
|
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
66801
|
if (removedKeys.length > 0) try {
|
|
66340
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
66802
|
+
await this.getClient().send(new UntagResourceCommand$32({
|
|
66341
66803
|
resourceArn,
|
|
66342
66804
|
tagKeys: removedKeys
|
|
66343
66805
|
}));
|
|
@@ -66346,7 +66808,7 @@ async function applyTableTagsDiff(logicalId, physicalId, resourceType, previousT
|
|
|
66346
66808
|
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
66809
|
}
|
|
66348
66810
|
if (Object.keys(upserts).length > 0) try {
|
|
66349
|
-
await this.getClient().send(new TagResourceCommand$
|
|
66811
|
+
await this.getClient().send(new TagResourceCommand$31({
|
|
66350
66812
|
resourceArn,
|
|
66351
66813
|
tags: upserts
|
|
66352
66814
|
}));
|
|
@@ -66364,7 +66826,7 @@ async function applyTableBucketTagsDiff(logicalId, physicalId, resourceType, pre
|
|
|
66364
66826
|
if (removedKeys.length === 0 && Object.keys(upserts).length === 0) return;
|
|
66365
66827
|
const resourceArn = physicalId;
|
|
66366
66828
|
if (removedKeys.length > 0) try {
|
|
66367
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
66829
|
+
await this.getClient().send(new UntagResourceCommand$32({
|
|
66368
66830
|
resourceArn,
|
|
66369
66831
|
tagKeys: removedKeys
|
|
66370
66832
|
}));
|
|
@@ -66373,7 +66835,7 @@ async function applyTableBucketTagsDiff(logicalId, physicalId, resourceType, pre
|
|
|
66373
66835
|
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
66836
|
}
|
|
66375
66837
|
if (Object.keys(upserts).length > 0) try {
|
|
66376
|
-
await this.getClient().send(new TagResourceCommand$
|
|
66838
|
+
await this.getClient().send(new TagResourceCommand$31({
|
|
66377
66839
|
resourceArn,
|
|
66378
66840
|
tags: upserts
|
|
66379
66841
|
}));
|
|
@@ -67178,7 +67640,7 @@ async function deleteImpl$1(logicalId, _physicalId, _resourceType, _properties,
|
|
|
67178
67640
|
async function runChildDeploy(parentCtx, logicalId, childStackName, childRegion, childTemplate, childParameters, grandchildTemplates, rowTags) {
|
|
67179
67641
|
const rowOwn = childRowTags(rowTags, getCurrentResourceSecrets());
|
|
67180
67642
|
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.`);
|
|
67643
|
+
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
67644
|
const stackTags = childStackTags(parentCtx.options?.stackTags, rowOwn.tags);
|
|
67183
67645
|
const inheritedSecrets = getCurrentResourceSecrets();
|
|
67184
67646
|
const passedClasses = passedParameterClassesOf(inheritedSecrets);
|
|
@@ -67337,7 +67799,11 @@ var NestedStackProvider = class {
|
|
|
67337
67799
|
logger = getLogger().child("NestedStackProvider");
|
|
67338
67800
|
disableOuterRetry = true;
|
|
67339
67801
|
disableCcApiFallback = true;
|
|
67340
|
-
handledProperties = /* @__PURE__ */ new Map([["AWS::CloudFormation::Stack", /* @__PURE__ */ new Set([
|
|
67802
|
+
handledProperties = /* @__PURE__ */ new Map([["AWS::CloudFormation::Stack", /* @__PURE__ */ new Set([
|
|
67803
|
+
"TemplateURL",
|
|
67804
|
+
"Parameters",
|
|
67805
|
+
"Tags"
|
|
67806
|
+
])]]);
|
|
67341
67807
|
unhandledByDesign = /* @__PURE__ */ new Map([["AWS::CloudFormation::Stack", /* @__PURE__ */ new Map([
|
|
67342
67808
|
["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
67809
|
["Capabilities", "CFn-only IAM capability declaration — cdkd does not go through CloudFormation so capabilities have no equivalent"],
|
|
@@ -67350,7 +67816,6 @@ var NestedStackProvider = class {
|
|
|
67350
67816
|
["StackPolicyBody", "CFn-only stack-update policy — cdkd has no equivalent (per-resource diff replaces stack-level policy)"],
|
|
67351
67817
|
["StackPolicyURL", "CFn-only stack-update policy URL — cdkd has no equivalent"],
|
|
67352
67818
|
["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
67819
|
["TimeoutInMinutes", "CFn-only stack-create deadline — cdkd uses per-resource --resource-timeout instead"]
|
|
67355
67820
|
])]]);
|
|
67356
67821
|
create(logicalId, resourceType, properties, context) {
|
|
@@ -68085,5 +68550,5 @@ var ACMCertificateProvider = class {
|
|
|
68085
68550
|
}
|
|
68086
68551
|
};
|
|
68087
68552
|
|
|
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-
|
|
68553
|
+
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 };
|
|
68554
|
+
//# sourceMappingURL=provider-classes-BfmqRWw8.js.map
|