@cdkd/cli 0.359.0 → 0.360.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-BNqC0q-Z.js → ambient-client-defaults-Zw14vfrI.js} +3 -3
- package/dist/{ambient-client-defaults-BNqC0q-Z.js.map → ambient-client-defaults-Zw14vfrI.js.map} +1 -1
- package/dist/{asg-provider-BDCUGWZV.js → asg-provider-D1t6qsKn.js} +6 -6
- package/dist/{asg-provider-BDCUGWZV.js.map → asg-provider-D1t6qsKn.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-DMkX_oQo.js → custom-resource-runtime-CIDXtQ5Q.js} +6 -6
- package/dist/{custom-resource-runtime-DMkX_oQo.js.map → custom-resource-runtime-CIDXtQ5Q.js.map} +1 -1
- package/dist/{db-associated-roles-Bx5ML-MI.js → db-associated-roles-CYMYBGeh.js} +2 -2
- package/dist/{db-associated-roles-Bx5ML-MI.js.map → db-associated-roles-CYMYBGeh.js.map} +1 -1
- package/dist/{delete-started-V5NHQ1O-.js → delete-started-dMEHah06.js} +4 -4
- package/dist/{delete-started-V5NHQ1O-.js.map → delete-started-dMEHah06.js.map} +1 -1
- package/dist/{deploy-engine-BjSv27_M.js → deploy-engine-T1iXkB24.js} +151 -39
- package/dist/deploy-engine-T1iXkB24.js.map +1 -0
- package/dist/{ec2-termination-protection-hc3MeuqF.js → ec2-termination-protection-Ct7iZKky.js} +6 -6
- package/dist/{ec2-termination-protection-hc3MeuqF.js.map → ec2-termination-protection-Ct7iZKky.js.map} +1 -1
- package/dist/{ecr-uri-D1ijxg7D.js → ecr-uri-DMMMk4h5.js} +2 -2
- package/dist/{ecr-uri-D1ijxg7D.js.map → ecr-uri-DMMMk4h5.js.map} +1 -1
- package/dist/{expected-bucket-owner-CQimj8gv.js → expected-bucket-owner-D0my0zRR.js} +2 -2
- package/dist/{expected-bucket-owner-CQimj8gv.js.map → expected-bucket-owner-D0my0zRR.js.map} +1 -1
- package/dist/{iam-role-provider-b46RdZD5.js → iam-role-provider-R89AqWLY.js} +9 -9
- package/dist/{iam-role-provider-b46RdZD5.js.map → iam-role-provider-R89AqWLY.js.map} +1 -1
- package/dist/{image-plan-DtFbiJj5.js → image-plan-nkTmvIbr.js} +8 -8
- package/dist/{image-plan-DtFbiJj5.js.map → image-plan-nkTmvIbr.js.map} +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-CqKPJ_tV.js → logger-Fqr4kSBL.js} +2 -2
- package/dist/{logger-CqKPJ_tV.js.map → logger-Fqr4kSBL.js.map} +1 -1
- package/dist/{neptune-provider-DiyWADaS.js → neptune-provider-BMDYjSf5.js} +7 -7
- package/dist/{neptune-provider-DiyWADaS.js.map → neptune-provider-BMDYjSf5.js.map} +1 -1
- package/dist/{program-Cdwgr3Yv.js → program-Di80isf8.js} +17 -16
- package/dist/program-Di80isf8.js.map +1 -0
- package/dist/{provider-classes-DhmwW7hI.js → provider-classes-Bkb_H0Sp.js} +89 -30
- package/dist/provider-classes-Bkb_H0Sp.js.map +1 -0
- package/dist/{rds-provider-DpOZv_UG.js → rds-provider-BcNL1C0E.js} +10 -10
- package/dist/{rds-provider-DpOZv_UG.js.map → rds-provider-BcNL1C0E.js.map} +1 -1
- package/dist/{read-replica-Ct0oakPU.js → read-replica-mqoiWJdM.js} +3 -3
- package/dist/{read-replica-Ct0oakPU.js.map → read-replica-mqoiWJdM.js.map} +1 -1
- package/dist/{replacement-rules-CMnMy7rf.js → replacement-rules-Y1UE2Vqb.js} +3 -3
- package/dist/{replacement-rules-CMnMy7rf.js.map → replacement-rules-Y1UE2Vqb.js.map} +1 -1
- package/dist/{resource-deadline-DlZTHrBj.js → resource-deadline-BSt_tRep.js} +4 -4
- package/dist/{resource-deadline-DlZTHrBj.js.map → resource-deadline-BSt_tRep.js.map} +1 -1
- package/dist/{restore-source-guard-DIs6rqZm.js → restore-source-guard-CDrsW4tB.js} +4 -4
- package/dist/{restore-source-guard-DIs6rqZm.js.map → restore-source-guard-CDrsW4tB.js.map} +1 -1
- package/dist/{run-cli-BLZnjA32.js → run-cli-BKSKYUvl.js} +2 -2
- package/dist/{run-cli-BLZnjA32.js.map → run-cli-BKSKYUvl.js.map} +1 -1
- package/dist/{settle-own-write-members-C1uPhq2z.js → settle-own-write-members-BqIDAx00.js} +71 -13
- package/dist/settle-own-write-members-BqIDAx00.js.map +1 -0
- package/dist/{version-DyE_oClc.js → version-yPbqfysZ.js} +2 -2
- package/dist/{version-DyE_oClc.js.map → version-yPbqfysZ.js.map} +1 -1
- package/package.json +2 -2
- package/dist/deploy-engine-BjSv27_M.js.map +0 -1
- package/dist/program-Cdwgr3Yv.js.map +0 -1
- package/dist/provider-classes-DhmwW7hI.js.map +0 -1
- package/dist/settle-own-write-members-C1uPhq2z.js.map +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-
|
|
2
|
-
import { A as configStringRefusal, B as generateResourceName, D as coerceCfnInteger, E as coerceCfnBoolean, F as requireConfigString, J as getCurrentStackName, M as replayWarn, N as requireConfigArray, O as configBooleanRefusal, P as requireConfigObject, U as recordedGeneratedNameKept, V as generateResourceNameWithFallback, Y as isBeforeStateRead, c as VERBOSE_POINTER, d as describeAwsStatusReason, f as isAwsAuthoredFailure, g as verbosePointerTail, h as verbosePointerSentence, j as readConfigString, k as configIntegerRefusal, n as getLogger, p as safeStringify, q as getCurrentStackInstanceId, u as describeAwsFailure, w as generatedNameFor } from "./logger-
|
|
1
|
+
import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-R89AqWLY.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-Fqr4kSBL.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 isProceedDbStatus, $t as markAuxiliaryFailure, A as isPlainImportJson, At as canonicalizeRoute53QueryName, B as assertRegionMatch, Bt as createMaskedRetryLogger, C as isInsideWindow, Ct as SECRET_DERIVED_READ_LIVE, D as withoutServerErrorRetries, E as setBounded, Et as readPrincipalLists, F as refusalTypeShown, Ft as packCompositeId, G as logGroupProtectionSite, H as markNotGone, Ht as maskDeep, I as remedyLogicalId, K as observeThenDisableProtection, L as resolveExplicitPhysicalId, Lt as segmentAfterAnchor, M as isQuotableImportValue, Mt as compositeIdSeparatorRefusal, N as normalizeAwsTagsToCfn, Nt as compositeIdSkipResult, O as VALUE_NOT_SHOWN, Ot as recordedPrincipalsRepair, P as quotedRemedyLogicalId, Pt as logicalIdShown, R as DriftReadRefusedError, Rt as stateOrphanRecordRemedy, S as createAttemptKey, T as replayedSendWindow, Tt as onlySecretDerived, Ut as maskerOrIdentity, Vt as isSecretDerivedValue, W as deleteWithProtectionCompensation, Wt as withDerivedNameMasks, X as PROTECTION_FLIP_RETRY_WAIT_MS, Y as userPoolProtectionSite, Z as deleteAfterProtectionFlipWithFinalSnapshot, Zt as isAuxiliaryFailure, _ as AMBIGUOUS_LATCH_TTL_MS, _n as withPasteableAwsProfile, a as clearOnUpdateRemoval, b as RecentIdSet, bt as startInterruptWatch, c as removedTemplateKeys, dt as WITHHELD_AWS_COMMAND, en as markCreatedBeforeFailure, et as isTerminalDbWaitStatus, ft as isAwsCliLiteral, g as retractCreatedResource, ht as renderDisableCommand, it as protectionFlipKey, j as isPlainImportValue, jt as compositeIdFormatMessage, k as importRemedyCommand, l as withRemovalDefaults, m as reportCreatedResource, mt as protectedReplacementAdvice, n as enclosingDeadlineRemainingMs, nt as ProtectionFlipRegistry, ot as ElapsedBudget, pt as pasteableAwsCommand, q as rdsFamilyProtectionSite, qt as clearCreatedBeforeFailure, rt as isTerminalDeleteFailure, st as ElapsedBudgetRegistry, t as enclosingDeadlineExpired, tn as markSupersedesEarlierCreate, ut as UNNAMEABLE_ID_CLAUSE, v as AmbiguousCreateLatch, vn as injectiveKey, w as replayFollowedAmbiguousAttempt, wt as holdsSecretDerivedEntry, x as ambiguousAttemptLead, y as CREATION_DATE_SKEW_MARGIN_MS, yn as injectiveKeyPrefix, yt as isInterruptedWaitError, z as RESOURCE_NOT_FOUND, zt as createMaskedLogSinks } from "./resource-deadline-
|
|
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 { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-
|
|
8
|
-
import { $ as effectiveInventoryItem, A as tagListsMatch, B as LIFECYCLE_DEFAULT_STATUS, C as reconcileSgRules, D as singleSecurityGroupRuleId, E as sgRuleKey, 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 declaredSgRulesRead, N as mergeDeclaredSgRules, O as stackIngressRuleHolder, P as LIFECYCLE_BASELINE_REREAD_DELAYS_MS, Q as effectiveIntelligentTieringItem, R as settleLifecycleRead, S as narrowIngressIpProtocol, T as securityGroupRuleMatchesCfnIngress, 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 flattenIpPermissions, a as resolveSecretDerivedPrincipals, at as declaresBucketObjectLock, b as isDefaultEgressRule, c as readSgIngressById, ct as isPlainObject$4, d as SG_RULE_PAGE_SIZE, dt as shownLifecycleRuleId, et as effectiveNotificationConfiguration, f as authorizeDefinitelyNotApplied, g as descriptionKey, h as comparableIngressIdentity, i as isResolvableSecretPrincipalList, it as configItemId, j as markCopiesAgreed, k as survivingRecordOfRuleId, l as siblingIdOwnedSgRules, lt as manualBucketDeletionClause, m as canonicalizeSgRuleProtocol, n as runDestroyForStack, nt as caughtErrorName, o as refuseRevertRevokingSiblingRules, ot as declaresNestedObjectLock, p as canonicalizeSgInlineRuleProtocols, q as lifecycleRuleScope, r as holdsUnprovenSecretPrincipalToken, rt as coerceCfnNumber, s as sgRuleDiffKey, st as describeValue$1, t as canonicalizeIpv4Cidr, tt as eventBridgeEnabledOf, u as SG_READBACK_RETRY_DELAY_MS, ut as mergeLegacySingular, v as ingressRuleIdentity, w as securityGroupReadbackDelays, x as isResendableSocketFailure, y as isConnectTimeout, z as takeLifecycleWrite } from "./program-
|
|
9
|
-
import { $ as recordTagWrite, $r as redactedDeleteAddressSkip,
|
|
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 { W as timePhase, _ as onlySecretReferencesDiffer, a as reDisableInstanceApiTermination, c as resolvedResourceTimeoutMs, f as markRefusedBeforeApplying, i as observeThenDisableInstanceApiTermination, j as withRetry, 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, d as planSubscriptionAttributes, n as declaredStringList, o as settleOwnWriteMembers
|
|
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-Zw14vfrI.js";
|
|
5
|
+
import { $ as isProceedDbStatus, $t as markAuxiliaryFailure, A as isPlainImportJson, At as canonicalizeRoute53QueryName, B as assertRegionMatch, Bt as createMaskedRetryLogger, C as isInsideWindow, Ct as SECRET_DERIVED_READ_LIVE, D as withoutServerErrorRetries, E as setBounded, Et as readPrincipalLists, F as refusalTypeShown, Ft as packCompositeId, G as logGroupProtectionSite, H as markNotGone, Ht as maskDeep, I as remedyLogicalId, K as observeThenDisableProtection, L as resolveExplicitPhysicalId, Lt as segmentAfterAnchor, M as isQuotableImportValue, Mt as compositeIdSeparatorRefusal, N as normalizeAwsTagsToCfn, Nt as compositeIdSkipResult, O as VALUE_NOT_SHOWN, Ot as recordedPrincipalsRepair, P as quotedRemedyLogicalId, Pt as logicalIdShown, R as DriftReadRefusedError, Rt as stateOrphanRecordRemedy, S as createAttemptKey, T as replayedSendWindow, Tt as onlySecretDerived, Ut as maskerOrIdentity, Vt as isSecretDerivedValue, W as deleteWithProtectionCompensation, Wt as withDerivedNameMasks, X as PROTECTION_FLIP_RETRY_WAIT_MS, Y as userPoolProtectionSite, Z as deleteAfterProtectionFlipWithFinalSnapshot, Zt as isAuxiliaryFailure, _ as AMBIGUOUS_LATCH_TTL_MS, _n as withPasteableAwsProfile, a as clearOnUpdateRemoval, b as RecentIdSet, bt as startInterruptWatch, c as removedTemplateKeys, dt as WITHHELD_AWS_COMMAND, en as markCreatedBeforeFailure, et as isTerminalDbWaitStatus, ft as isAwsCliLiteral, g as retractCreatedResource, ht as renderDisableCommand, it as protectionFlipKey, j as isPlainImportValue, jt as compositeIdFormatMessage, k as importRemedyCommand, l as withRemovalDefaults, m as reportCreatedResource, mt as protectedReplacementAdvice, n as enclosingDeadlineRemainingMs, nt as ProtectionFlipRegistry, ot as ElapsedBudget, pt as pasteableAwsCommand, q as rdsFamilyProtectionSite, qt as clearCreatedBeforeFailure, rt as isTerminalDeleteFailure, st as ElapsedBudgetRegistry, t as enclosingDeadlineExpired, tn as markSupersedesEarlierCreate, ut as UNNAMEABLE_ID_CLAUSE, v as AmbiguousCreateLatch, vn as injectiveKey, w as replayFollowedAmbiguousAttempt, wt as holdsSecretDerivedEntry, x as ambiguousAttemptLead, y as CREATION_DATE_SKEW_MARGIN_MS, yn as injectiveKeyPrefix, yt as isInterruptedWaitError, z as RESOURCE_NOT_FOUND, zt as createMaskedLogSinks } from "./resource-deadline-BSt_tRep.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-yPbqfysZ.js";
|
|
7
|
+
import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-dMEHah06.js";
|
|
8
|
+
import { $ as effectiveInventoryItem, A as tagListsMatch, B as LIFECYCLE_DEFAULT_STATUS, C as reconcileSgRules, D as singleSecurityGroupRuleId, E as sgRuleKey, 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 declaredSgRulesRead, N as mergeDeclaredSgRules, O as stackIngressRuleHolder, P as LIFECYCLE_BASELINE_REREAD_DELAYS_MS, Q as effectiveIntelligentTieringItem, R as settleLifecycleRead, S as narrowIngressIpProtocol, T as securityGroupRuleMatchesCfnIngress, 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 flattenIpPermissions, a as resolveSecretDerivedPrincipals, at as declaresBucketObjectLock, b as isDefaultEgressRule, c as readSgIngressById, ct as isPlainObject$4, d as SG_RULE_PAGE_SIZE, dt as shownLifecycleRuleId, et as effectiveNotificationConfiguration, f as authorizeDefinitelyNotApplied, g as descriptionKey, h as comparableIngressIdentity, i as isResolvableSecretPrincipalList, it as configItemId, j as markCopiesAgreed, k as survivingRecordOfRuleId, l as siblingIdOwnedSgRules, lt as manualBucketDeletionClause, m as canonicalizeSgRuleProtocol, n as runDestroyForStack, nt as caughtErrorName, o as refuseRevertRevokingSiblingRules, ot as declaresNestedObjectLock, p as canonicalizeSgInlineRuleProtocols, q as lifecycleRuleScope, r as holdsUnprovenSecretPrincipalToken, rt as coerceCfnNumber, s as sgRuleDiffKey, st as describeValue$1, t as canonicalizeIpv4Cidr, tt as eventBridgeEnabledOf, u as SG_READBACK_RETRY_DELAY_MS, ut as mergeLegacySingular, v as ingressRuleIdentity, w as securityGroupReadbackDelays, x as isResendableSocketFailure, y as isConnectTimeout, z as takeLifecycleWrite } from "./program-Di80isf8.js";
|
|
9
|
+
import { $ as recordTagWrite, $r as redactedDeleteAddressSkip, $s as LEGACY_HANDLE_ID_PREFIX, As as parseWebACLArn, At as DELETE_INDEX_WAIT_PROCEED_NOTE, B as declaredStreamTagsMember, Ba as SNS_DEFAULT_POLICY_ID, Bl as findSdkUnwiredProperties, Bs as getAccountInfo, Bt as isTruthyCfnBoolean, Co as waitForLambdaFunctionActive, Cr as calculateResourceDrift, Ct as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, Do as RecordedIdentityMismatchError, Dr as verbatimEchoDriftKeys, Dt as deleteBudgetKey, El as refuseMalformedResourcesForDestroy, Eo as RecordedIdentityError, Et as compensateRemovedDeletionProtection, Fa as withoutSiblingAttachedArns, Fo as withIndeterminateGuard, Ft as relayedIndexBusyDelete, G as streamDeclaresTags, Ga as memberReadFailure, Go as APPSYNC_APIKEY_ARN_RESOURCE_PATH, Ha as declaredPolicyDocument, I as DynamoDBGlobalTableProvider, Ia as withoutSiblingOwned, Ii as getStackRecords, Ir as acquireIdempotencyToken, It as waitForIndexesSettled, Iu as rewriteTemplateAssetReferences, J as streamTagsMatchDeclared, Ja as settleDeclaredMember, K as streamMemberRefusals, Ka as policyDocumentMatchesDeclared, Ki as replacedDeleteFailureVerdict, L as STREAM_POLICY_KEY, La as KMS_DEFAULT_KEY_POLICY_ID, Lt as ECR_AUTO_DELETE_IMAGES_TAG, Ma as collectManagedPolicyArnsAttachedBySiblings, Ml as withheldAccountClause, Mr as earliestDefined, Mt as TABLE_INDEX_NOUN, Na as collectPrincipalsAttachingPolicy, Nt as deleteTableWithIndexBusyRetry, Oo as assertRecordedIdentity, Ot as resolveDynamoDbDeleteBudgetClock, Pa as isStoredExpression, Pi as awaitInFlightSibling, Po as deleteSkipReason, Pr as reserveStackCreateToken, Ps as outputReferenceProvenanceOf, Pt as maskedLogger, Q as isDynamoDBTableArnIn, Qr as redactedDeleteAddressFields, Qt as licensedNameHolder, R as STREAM_TAGS_KEY, Ro as markWaitAbandoned, Rt as S3_AUTO_DELETE_OBJECTS_TAG, St as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, To as waitForGoneAfterDelete, Tt as beginDeleteWait, U as reverseMapStreamPolicy, Ua as efsPolicyMatchesDeclared, Ul as withoutSdkUnwiredProperties, V as planStreamMemberOps, Va as declaredMemberDocument, W as streamDeclaresPolicy, Wa as lambdaPermissionMatchesDeclared, Wo as isSettledInstanceState, X as clearTagWrites, Xa as attemptedPolicyDocument, Xr as REDACTED_DELETE_ADDRESS_SKIP_REASON, Y as TAGS_BASELINE_REREAD_DELAYS_MS, Ya as warnUnsettledMember, Za as policyContentKey, Zr as isRedactedRecordedValue, _n as getCurrentNestedStackContext, _s as s3BucketDomainName, _t as planIndexContributorInsightsOps, _u as renderNestedTemplateTreeDefect, ao as evaluateSignals, at as planTimeToLive, bs as s3BucketWebsiteUrl, bt as reverseMapTableContributorInsights, cc as WARM_THROUGHPUT_MEMBERS, cr as siblingOwnedSgRuleIdentities, ct as planVectorIndexUpdates, dc as toCfnInteger, dd as displayAssemblyPath, dr as SG_RULE_ID_PATTERN, dt as vectorIndexesSettled, ec as isLegacyHandleId, en as chunks, et as settleWrittenTags, fc as toFiniteNumber, fr as cfnIngressPortValue, ft as vectorIndexesShapeDetail, fu as stringifyValue, ga as secretNamedAttributeNamesOf, gl as refuseMalformedNestedChildOutputs, gs as s3BucketArn, gt as planContributorInsightsOp, gu as listNestedTemplateRows, ht as indexDeclaresContributorInsights, hu as isAbsoluteAssetPath, io as classifyHandleUrl, it as isTtlRateLimited, ja as collectGroupsAddedBySiblings, jl as accountArgs, jt as INDEX_SETTLE_POLL_INTERVAL_MS, kt as resolveDynamoDbDeleteBudgetMs, lc as coerceWarmThroughput$1, lt as readbackVectorIndexes, md as resolveAssemblyPath, mr as sgProtocolKey, mt as contributorInsightsRefusals, mu as findNestedTemplateTreeDefect, nn as lookupEachName, nt as takeTagWrite, ot as readTtlSpec, pd as renderAssemblyPathEscape, pn as revertNestedChildFromJournal, po as getCurrentResourceSecrets, pr as recordedSgRuleId, pt as CONTRIBUTOR_INSIGHTS_KEY, q as streamPolicyMatchesDeclared, qa as reReadUntilSettled, qo as maskedSecretSegment, rn as withApiLimit, ro as WaitConditionSignalStore, rt as isTtlAlreadyDisabled, st as sendTtlWaitingOutRateLimit, t as DeployEngine, tn as isAccessDeniedError, uc as isWarmThroughputDecrease, ud as describeFileReadFailure, ui as getCurrentProducerRegions, un as getNestedRevertRun, ur as withoutSiblingOwnedSgRules, ut as vectorIndexesForCreate, vn as withNestedStackContext, vs as s3BucketDualStackDomainName, vt as readContributorInsightsSpec, wt as DYNAMODB_DELETE_POLL_COST_MS, wu as decodeListingKey, xc as passedParameterClassesOf, xt as stripIndexContributorInsights, ys as s3BucketRegionalDomainName, yt as reverseMapIndexContributorInsights, z as declaredStreamPolicyMember, za as OWN_WRITE_REREAD_DELAYS_MS, zt as hasCdkAutoDeleteTag } from "./deploy-engine-T1iXkB24.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-CDrsW4tB.js";
|
|
11
|
+
import { W as timePhase, _ as onlySecretReferencesDiffer, a as reDisableInstanceApiTermination, c as resolvedResourceTimeoutMs, f as markRefusedBeforeApplying, i as observeThenDisableInstanceApiTermination, j as withRetry, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, r as isTerminationProtectionPropagationError, s as resolvedPerTypeResourceTimeoutMs, u as getPriorAttempts, v as unchangedBehindSecretReference } from "./ec2-termination-protection-Ct7iZKky.js";
|
|
12
|
+
import { a as principalOwnWriteMembers, c as stringListMember, d as normalizeRecordName, f as planSubscriptionAttributes, n as declaredStringList, o as settleOwnWriteMembers } from "./settle-own-write-members-BqIDAx00.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, At as withoutPhysicalNameCopies, C as passedNoEchoParametersOf, I as markSameGenerationBag, Nt as dynamicReferenceTokens, W as redactForState, Z as recordReferenceProvenanceEntry, a as emrClusterInstancesReplaced, cn as recordAttributeIdCopy, i as ecsServiceLaunchTypeSetOrChanged, it as hasMaskableValues, l as sameLambdaFunctionAddress, mn as carriesSecretMask, n as blockDeviceMappingsDifferOnlyInDeleteOnTermination, o as canonicalLambdaFunctionName, on as recoverMaskedOutput, s as lambdaFunctionNameForMask, sn as physicalNameCopiesOf } from "./replacement-rules-
|
|
16
|
-
import { RDSProvider } from "./rds-provider-
|
|
17
|
-
import { NeptuneProvider } from "./neptune-provider-
|
|
18
|
-
import { ASGProvider } from "./asg-provider-
|
|
15
|
+
import { $ as snapshotPassProvenance, At as withoutPhysicalNameCopies, C as passedNoEchoParametersOf, I as markSameGenerationBag, Nt as dynamicReferenceTokens, W as redactForState, Z as recordReferenceProvenanceEntry, a as emrClusterInstancesReplaced, cn as recordAttributeIdCopy, i as ecsServiceLaunchTypeSetOrChanged, it as hasMaskableValues, l as sameLambdaFunctionAddress, mn as carriesSecretMask, n as blockDeviceMappingsDifferOnlyInDeleteOnTermination, o as canonicalLambdaFunctionName, on as recoverMaskedOutput, s as lambdaFunctionNameForMask, sn as physicalNameCopiesOf } from "./replacement-rules-Y1UE2Vqb.js";
|
|
16
|
+
import { RDSProvider } from "./rds-provider-BcNL1C0E.js";
|
|
17
|
+
import { NeptuneProvider } from "./neptune-provider-BMDYjSf5.js";
|
|
18
|
+
import { ASGProvider } from "./asg-provider-D1t6qsKn.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, DeleteGroupCommand, DeleteGroupPolicyCommand, DeleteInstanceProfileCommand, DeleteLoginProfileCommand, DeletePolicyCommand, DeletePolicyVersionCommand, DeleteRolePolicyCommand, DeleteUserCommand, DeleteUserPermissionsBoundaryCommand, DeleteUserPolicyCommand, DetachGroupPolicyCommand, DetachRolePolicyCommand, DetachUserPolicyCommand, GetAccessKeyLastUsedCommand, GetGroupCommand, GetGroupPolicyCommand, GetInstanceProfileCommand, GetPolicyCommand, GetPolicyVersionCommand, GetRolePolicyCommand, GetUserCommand, GetUserPolicyCommand, IAMClient, ListAccessKeysCommand, ListAttachedGroupPoliciesCommand, ListAttachedUserPoliciesCommand, ListEntitiesForPolicyCommand, ListGroupPoliciesCommand, ListGroupsForUserCommand, ListPoliciesCommand, ListPolicyTagsCommand, ListPolicyVersionsCommand, ListUserPoliciesCommand, NoSuchEntityException, PutGroupPolicyCommand, PutRolePolicyCommand, PutUserPermissionsBoundaryCommand, PutUserPolicyCommand, RemoveRoleFromInstanceProfileCommand, RemoveUserFromGroupCommand, TagPolicyCommand, TagUserCommand, UntagPolicyCommand, UntagUserCommand, UpdateAccessKeyCommand, UpdateGroupCommand, UpdateLoginProfileCommand, UpdateUserCommand } from "@aws-sdk/client-iam";
|
|
@@ -12352,15 +12352,15 @@ function buildCommonImageInput(properties) {
|
|
|
12352
12352
|
return input;
|
|
12353
12353
|
}
|
|
12354
12354
|
function mapCodeArtifact(value) {
|
|
12355
|
-
if (!isRecord$
|
|
12355
|
+
if (!isRecord$4(value)) return void 0;
|
|
12356
12356
|
const uri = value["Uri"];
|
|
12357
12357
|
return typeof uri === "string" ? { uri } : void 0;
|
|
12358
12358
|
}
|
|
12359
12359
|
function mapLogging(value) {
|
|
12360
|
-
if (!isRecord$
|
|
12360
|
+
if (!isRecord$4(value)) return void 0;
|
|
12361
12361
|
if (value["Disabled"] === true) return { disabled: {} };
|
|
12362
12362
|
const cloudWatch = value["CloudWatch"];
|
|
12363
|
-
if (isRecord$
|
|
12363
|
+
if (isRecord$4(cloudWatch)) {
|
|
12364
12364
|
const cw = {};
|
|
12365
12365
|
if (typeof cloudWatch["LogGroup"] === "string") cw.logGroup = cloudWatch["LogGroup"];
|
|
12366
12366
|
if (typeof cloudWatch["LogStream"] === "string") cw.logStream = cloudWatch["LogStream"];
|
|
@@ -12369,32 +12369,32 @@ function mapLogging(value) {
|
|
|
12369
12369
|
}
|
|
12370
12370
|
function mapCpuConfigurations(value) {
|
|
12371
12371
|
if (!Array.isArray(value)) return void 0;
|
|
12372
|
-
return value.filter(isRecord$
|
|
12372
|
+
return value.filter(isRecord$4).map((c) => ({ architecture: c["Architecture"] }));
|
|
12373
12373
|
}
|
|
12374
12374
|
function mapResources(value) {
|
|
12375
12375
|
if (!Array.isArray(value)) return void 0;
|
|
12376
|
-
return value.filter(isRecord$
|
|
12376
|
+
return value.filter(isRecord$4).map((r) => Number(r["MinimumMemoryInMiB"])).filter((n) => Number.isFinite(n)).map((minimumMemoryInMiB) => ({ minimumMemoryInMiB }));
|
|
12377
12377
|
}
|
|
12378
12378
|
function mapHooks(value) {
|
|
12379
|
-
if (!isRecord$
|
|
12379
|
+
if (!isRecord$4(value)) return void 0;
|
|
12380
12380
|
return lowerFirstKeysDeep(value);
|
|
12381
12381
|
}
|
|
12382
12382
|
function mapKeyValueListToRecord(value) {
|
|
12383
12383
|
if (!Array.isArray(value)) return void 0;
|
|
12384
12384
|
const out = {};
|
|
12385
|
-
for (const entry of value) if (isRecord$
|
|
12385
|
+
for (const entry of value) if (isRecord$4(entry) && typeof entry["Key"] === "string") out[entry["Key"]] = typeof entry["Value"] === "string" ? entry["Value"] : "";
|
|
12386
12386
|
return Object.keys(out).length > 0 ? out : void 0;
|
|
12387
12387
|
}
|
|
12388
12388
|
function lowerFirstKeysDeep(value) {
|
|
12389
12389
|
if (Array.isArray(value)) return value.map(lowerFirstKeysDeep);
|
|
12390
|
-
if (isRecord$
|
|
12390
|
+
if (isRecord$4(value)) {
|
|
12391
12391
|
const out = {};
|
|
12392
12392
|
for (const [k, v] of Object.entries(value)) out[k.charAt(0).toLowerCase() + k.slice(1)] = lowerFirstKeysDeep(v);
|
|
12393
12393
|
return out;
|
|
12394
12394
|
}
|
|
12395
12395
|
return value;
|
|
12396
12396
|
}
|
|
12397
|
-
function isRecord$
|
|
12397
|
+
function isRecord$4(value) {
|
|
12398
12398
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
12399
12399
|
}
|
|
12400
12400
|
|
|
@@ -27256,6 +27256,47 @@ async function updateAccountWithRetry(cloudWatchRoleArn, logicalId, _resourceTyp
|
|
|
27256
27256
|
}
|
|
27257
27257
|
}
|
|
27258
27258
|
|
|
27259
|
+
// src/provisioning/providers/apigateway/jwt-configuration.ts
|
|
27260
|
+
function toSdkJwtConfiguration(value) {
|
|
27261
|
+
if (value === void 0 || value === null) return void 0;
|
|
27262
|
+
if (!isRecord$3(value)) return value;
|
|
27263
|
+
return {
|
|
27264
|
+
issuers: mapList(value["Issuers"], (issuer) => ({
|
|
27265
|
+
issuer: issuer["Issuer"],
|
|
27266
|
+
audiences: issuer["Audiences"],
|
|
27267
|
+
...issuer["AdditionalClaims"] !== void 0 && { additionalClaims: mapList(issuer["AdditionalClaims"], (claim) => ({
|
|
27268
|
+
claimName: claim["ClaimName"],
|
|
27269
|
+
format: claim["Format"],
|
|
27270
|
+
...claim["Required"] !== void 0 && { required: claim["Required"] },
|
|
27271
|
+
...claim["ExpectedValues"] !== void 0 && { expectedValues: claim["ExpectedValues"] }
|
|
27272
|
+
})) }
|
|
27273
|
+
})),
|
|
27274
|
+
defaultAlgorithms: value["DefaultAlgorithms"]
|
|
27275
|
+
};
|
|
27276
|
+
}
|
|
27277
|
+
function fromSdkJwtConfiguration(config) {
|
|
27278
|
+
return {
|
|
27279
|
+
Issuers: (config.issuers ?? []).map((issuer) => ({
|
|
27280
|
+
Issuer: issuer.issuer,
|
|
27281
|
+
Audiences: issuer.audiences ?? [],
|
|
27282
|
+
...issuer.additionalClaims !== void 0 && { AdditionalClaims: issuer.additionalClaims.map((claim) => ({
|
|
27283
|
+
ClaimName: claim.claimName,
|
|
27284
|
+
Format: claim.format,
|
|
27285
|
+
...claim.required !== void 0 && { Required: claim.required },
|
|
27286
|
+
...claim.expectedValues !== void 0 && { ExpectedValues: claim.expectedValues }
|
|
27287
|
+
})) }
|
|
27288
|
+
})),
|
|
27289
|
+
DefaultAlgorithms: config.defaultAlgorithms ?? []
|
|
27290
|
+
};
|
|
27291
|
+
}
|
|
27292
|
+
function isRecord$3(value) {
|
|
27293
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
27294
|
+
}
|
|
27295
|
+
function mapList(value, map) {
|
|
27296
|
+
if (!Array.isArray(value)) return value;
|
|
27297
|
+
return value.map((item) => isRecord$3(item) ? map(item) : item);
|
|
27298
|
+
}
|
|
27299
|
+
|
|
27259
27300
|
// src/provisioning/providers/apigateway/authorizer.ts
|
|
27260
27301
|
async function createAuthorizer$1(logicalId, resourceType, properties, log) {
|
|
27261
27302
|
log.debug(`Creating API Gateway Authorizer ${logicalId}`);
|
|
@@ -27303,7 +27344,8 @@ async function createAuthorizer$1(logicalId, resourceType, properties, log) {
|
|
|
27303
27344
|
authorizerCredentials: properties["AuthorizerCredentials"],
|
|
27304
27345
|
identitySource: properties["IdentitySource"],
|
|
27305
27346
|
identityValidationExpression: properties["IdentityValidationExpression"],
|
|
27306
|
-
authorizerResultTtlInSeconds: properties["AuthorizerResultTtlInSeconds"]
|
|
27347
|
+
authorizerResultTtlInSeconds: properties["AuthorizerResultTtlInSeconds"],
|
|
27348
|
+
jwtConfiguration: toSdkJwtConfiguration(properties["JwtConfiguration"])
|
|
27307
27349
|
}));
|
|
27308
27350
|
} catch (error) {
|
|
27309
27351
|
createAuthorizerLatch$1.noteFailure(logicalId, error, attemptStartMs, orphanWindow);
|
|
@@ -27327,6 +27369,7 @@ async function updateAuthorizer$1(logicalId, physicalId, resourceType, propertie
|
|
|
27327
27369
|
log.debug(`Updating API Gateway Authorizer ${logicalId}: ${physicalId}`);
|
|
27328
27370
|
const restApiId = properties["RestApiId"];
|
|
27329
27371
|
if (!restApiId) throw new ProvisioningError(`RestApiId is required to update API Gateway Authorizer ${logicalId}`, resourceType, logicalId, physicalId);
|
|
27372
|
+
if (properties["Type"] === "JWT" && properties["JwtConfiguration"] == null && previousProperties["JwtConfiguration"] != null) throw markNonRetryable(new ProvisioningError(`API Gateway Authorizer ${logicalId} is a JWT authorizer, which needs JwtConfiguration: API Gateway cannot remove it, so the issuers deployed before would stay in force. Declare the JwtConfiguration it should hold, or change Type.`, resourceType, logicalId, physicalId));
|
|
27330
27373
|
const arnOps = listPatchOps("/providerARNs", properties["ProviderARNs"], previousProperties["ProviderARNs"]);
|
|
27331
27374
|
const patchOperations = [...arnOps.adds];
|
|
27332
27375
|
for (const { key, path } of [
|
|
@@ -27373,6 +27416,12 @@ async function updateAuthorizer$1(logicalId, physicalId, resourceType, propertie
|
|
|
27373
27416
|
});
|
|
27374
27417
|
}
|
|
27375
27418
|
}
|
|
27419
|
+
const jwt = properties["JwtConfiguration"];
|
|
27420
|
+
if (jwt != null && !isDeepStrictEqual(jwt, previousProperties["JwtConfiguration"])) patchOperations.push({
|
|
27421
|
+
op: "replace",
|
|
27422
|
+
path: "/jwtConfiguration",
|
|
27423
|
+
value: JSON.stringify(toSdkJwtConfiguration(jwt))
|
|
27424
|
+
});
|
|
27376
27425
|
patchOperations.push(...arnOps.removes);
|
|
27377
27426
|
if (patchOperations.length === 0) {
|
|
27378
27427
|
log.debug(`No changes detected for API Gateway Authorizer ${logicalId}`);
|
|
@@ -28189,6 +28238,7 @@ async function readCurrentStateAuthorizer(physicalId, properties) {
|
|
|
28189
28238
|
result["IdentitySource"] = resp.identitySource ?? "";
|
|
28190
28239
|
result["IdentityValidationExpression"] = resp.identityValidationExpression ?? "";
|
|
28191
28240
|
if (resp.authorizerResultTtlInSeconds !== void 0) result["AuthorizerResultTtlInSeconds"] = resp.authorizerResultTtlInSeconds;
|
|
28241
|
+
if (resp.jwtConfiguration !== void 0) result["JwtConfiguration"] = fromSdkJwtConfiguration(resp.jwtConfiguration);
|
|
28192
28242
|
return result;
|
|
28193
28243
|
} catch (err) {
|
|
28194
28244
|
if (err instanceof NotFoundException$1) return RESOURCE_NOT_FOUND;
|
|
@@ -28344,7 +28394,8 @@ var ApiGatewayProvider = class {
|
|
|
28344
28394
|
"AuthorizerCredentials",
|
|
28345
28395
|
"IdentitySource",
|
|
28346
28396
|
"IdentityValidationExpression",
|
|
28347
|
-
"AuthorizerResultTtlInSeconds"
|
|
28397
|
+
"AuthorizerResultTtlInSeconds",
|
|
28398
|
+
"JwtConfiguration"
|
|
28348
28399
|
])],
|
|
28349
28400
|
["AWS::ApiGateway::Resource", /* @__PURE__ */ new Set([
|
|
28350
28401
|
"RestApiId",
|
|
@@ -65165,7 +65216,6 @@ var NestedStackProvider = class {
|
|
|
65165
65216
|
};
|
|
65166
65217
|
|
|
65167
65218
|
// src/provisioning/providers/wait-condition-handle-provider.ts
|
|
65168
|
-
const SHORT_URL_LIFETIME_MS = 432e5;
|
|
65169
65219
|
var WaitConditionHandleProvider = class {
|
|
65170
65220
|
logger = getLogger().child("WaitConditionHandleProvider");
|
|
65171
65221
|
handledProperties = /* @__PURE__ */ new Map([["AWS::CloudFormation::WaitConditionHandle", /* @__PURE__ */ new Set([])]]);
|
|
@@ -65181,13 +65231,22 @@ var WaitConditionHandleProvider = class {
|
|
|
65181
65231
|
throw markNonRetryable(new ProvisioningError(`Failed to issue the signal URL for WaitConditionHandle ${logicalId}: ${error instanceof Error ? error.message : safeStringify(error)}`, resourceType, logicalId, void 0, error instanceof Error ? error : void 0));
|
|
65182
65232
|
}
|
|
65183
65233
|
this.logger.debug(safeMsg`Issued WaitConditionHandle ${logicalId} signal URL for ${issued.key}`);
|
|
65184
|
-
if (issued.
|
|
65234
|
+
if (issued.limitedByCredentials) this.logger.warn(safeMsg`WaitConditionHandle ${logicalId}: its signal URL is signed with temporary credentials and stops accepting signals at ${issued.expiresAt.toISOString()}. Deploy with longer-lived credentials if anything signals it later than that.`);
|
|
65185
65235
|
return {
|
|
65186
65236
|
physicalId: issued.url,
|
|
65187
65237
|
attributes: {}
|
|
65188
65238
|
};
|
|
65189
65239
|
}
|
|
65190
|
-
async update(logicalId, physicalId,
|
|
65240
|
+
async update(logicalId, physicalId, resourceType, properties, _previousProperties, _context) {
|
|
65241
|
+
if (isLegacyHandleId(physicalId)) {
|
|
65242
|
+
const created = await this.create(logicalId, resourceType, properties);
|
|
65243
|
+
this.logger.warn(safeMsg`WaitConditionHandle ${logicalId}: issued a signal URL in place of the placeholder id an earlier cdkd recorded. Resources embedding the handle are updated to the new URL in this deploy (an EC2 instance's UserData change stops and starts it), and an instance that already booted does not run its user data again, so it signals only once it is replaced.`);
|
|
65244
|
+
return {
|
|
65245
|
+
physicalId: created.physicalId,
|
|
65246
|
+
wasReplaced: true,
|
|
65247
|
+
attributes: {}
|
|
65248
|
+
};
|
|
65249
|
+
}
|
|
65191
65250
|
this.logger.debug(`No-op update for WaitConditionHandle ${logicalId}`);
|
|
65192
65251
|
return {
|
|
65193
65252
|
physicalId,
|
|
@@ -65828,4 +65887,4 @@ var ACMCertificateProvider = class {
|
|
|
65828
65887
|
};
|
|
65829
65888
|
|
|
65830
65889
|
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, 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 };
|
|
65831
|
-
//# sourceMappingURL=provider-classes-
|
|
65890
|
+
//# sourceMappingURL=provider-classes-Bkb_H0Sp.js.map
|