@cdkd/cli 0.353.3 → 0.355.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ambient-client-defaults-C5srQQ9o.js → ambient-client-defaults-BJiN5aTn.js} +3 -3
- package/dist/{ambient-client-defaults-C5srQQ9o.js.map → ambient-client-defaults-BJiN5aTn.js.map} +1 -1
- package/dist/{asg-provider-tB1k8Uwh.js → asg-provider-CGorVUPJ.js} +427 -13
- package/dist/asg-provider-CGorVUPJ.js.map +1 -0
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-D4u5m0jm.js → custom-resource-runtime-BdDMjfLC.js} +6 -6
- package/dist/{custom-resource-runtime-D4u5m0jm.js.map → custom-resource-runtime-BdDMjfLC.js.map} +1 -1
- package/dist/{db-associated-roles-BnaNi5RN.js → db-associated-roles-BqVpMI0m.js} +2 -2
- package/dist/{db-associated-roles-BnaNi5RN.js.map → db-associated-roles-BqVpMI0m.js.map} +1 -1
- package/dist/{delete-started-C2CSl-I6.js → delete-started-C19J5kNj.js} +4 -4
- package/dist/{delete-started-C2CSl-I6.js.map → delete-started-C19J5kNj.js.map} +1 -1
- package/dist/{deploy-engine-BVpckkRS.js → deploy-engine-BOKcCf9R.js} +999 -209
- package/dist/deploy-engine-BOKcCf9R.js.map +1 -0
- package/dist/{diff-calculator-BCU775Mq.js → diff-calculator-STmKp2mr.js} +137 -19
- package/dist/diff-calculator-STmKp2mr.js.map +1 -0
- package/dist/{update-policy-CwlmV_Gu.js → ec2-termination-protection-CcXbTL4N.js} +157 -15
- package/dist/ec2-termination-protection-CcXbTL4N.js.map +1 -0
- package/dist/{ecr-uri-XUGi32Yg.js → ecr-uri-DkYBMkSf.js} +2 -2
- package/dist/{ecr-uri-XUGi32Yg.js.map → ecr-uri-DkYBMkSf.js.map} +1 -1
- package/dist/{expected-bucket-owner-C4dNW0qP.js → expected-bucket-owner-iWIC_uzK.js} +2 -2
- package/dist/{expected-bucket-owner-C4dNW0qP.js.map → expected-bucket-owner-iWIC_uzK.js.map} +1 -1
- package/dist/{iam-role-provider-DJEUwSEl.js → iam-role-provider-DvIPwNAz.js} +8 -8
- package/dist/{iam-role-provider-DJEUwSEl.js.map → iam-role-provider-DvIPwNAz.js.map} +1 -1
- package/dist/{image-plan-DzYuesLu.js → image-plan-B_MsB6uj.js} +15 -18
- package/dist/image-plan-B_MsB6uj.js.map +1 -0
- package/dist/index.d.ts +28 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-DPzmJjGz.js → logger-CRTakAJI.js} +2 -2
- package/dist/{logger-DPzmJjGz.js.map → logger-CRTakAJI.js.map} +1 -1
- package/dist/{neptune-provider-BOGkXyqL.js → neptune-provider-7DAE0TN7.js} +7 -7
- package/dist/{neptune-provider-BOGkXyqL.js.map → neptune-provider-7DAE0TN7.js.map} +1 -1
- package/dist/{program-BiexuIhK.js → program-CWUDb373.js} +307 -84
- package/dist/program-CWUDb373.js.map +1 -0
- package/dist/{provider-classes-DQeVpjrY.js → provider-classes-C8Pm3Ay1.js} +393 -125
- package/dist/provider-classes-C8Pm3Ay1.js.map +1 -0
- package/dist/{rds-provider-DAsMfyF7.js → rds-provider-CGsB4Wp0.js} +10 -10
- package/dist/{rds-provider-DAsMfyF7.js.map → rds-provider-CGsB4Wp0.js.map} +1 -1
- package/dist/{read-replica-CsjvBe-D.js → read-replica-DsWNg8kx.js} +3 -3
- package/dist/{read-replica-CsjvBe-D.js.map → read-replica-DsWNg8kx.js.map} +1 -1
- package/dist/{replacement-rules-p8Qw0DJO.js → replacement-rules-QZUAl8ah.js} +4 -3
- package/dist/{replacement-rules-p8Qw0DJO.js.map → replacement-rules-QZUAl8ah.js.map} +1 -1
- package/dist/{resource-deadline-CM7iQyoh.js → resource-deadline-CXP2TUVz.js} +4 -4
- package/dist/{resource-deadline-CM7iQyoh.js.map → resource-deadline-CXP2TUVz.js.map} +1 -1
- package/dist/{restore-source-guard-DISHGYsK.js → restore-source-guard-BRT1OlJ2.js} +4 -4
- package/dist/{restore-source-guard-DISHGYsK.js.map → restore-source-guard-BRT1OlJ2.js.map} +1 -1
- package/dist/{run-cli-BVB8mILG.js → run-cli-9IvHor5O.js} +2 -2
- package/dist/{run-cli-BVB8mILG.js.map → run-cli-9IvHor5O.js.map} +1 -1
- package/dist/{version-Be5vs808.js → version-DyK3ezVd.js} +2 -2
- package/dist/{version-Be5vs808.js.map → version-DyK3ezVd.js.map} +1 -1
- package/package.json +3 -2
- package/dist/asg-provider-tB1k8Uwh.js.map +0 -1
- package/dist/deploy-engine-BVpckkRS.js.map +0 -1
- package/dist/diff-calculator-BCU775Mq.js.map +0 -1
- package/dist/image-plan-DzYuesLu.js.map +0 -1
- package/dist/program-BiexuIhK.js.map +0 -1
- package/dist/provider-classes-DQeVpjrY.js.map +0 -1
- package/dist/update-policy-CwlmV_Gu.js.map +0 -1
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-
|
|
2
|
-
import { A as configStringRefusal, B as generateResourceName, D as coerceCfnInteger, E as coerceCfnBoolean, F as requireConfigString, J as getCurrentStackName, M as replayWarn, N as requireConfigArray, O as configBooleanRefusal, P as requireConfigObject, U as recordedGeneratedNameKept, V as generateResourceNameWithFallback, Y as isBeforeStateRead, c as VERBOSE_POINTER, d as describeAwsStatusReason, f as isAwsAuthoredFailure, g as verbosePointerTail, h as verbosePointerSentence, j as readConfigString, k as configIntegerRefusal, n as getLogger, p as safeStringify, q as getCurrentStackInstanceId, u as describeAwsFailure, w as generatedNameFor } from "./logger-
|
|
1
|
+
import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-DvIPwNAz.js";
|
|
2
|
+
import { A as configStringRefusal, B as generateResourceName, D as coerceCfnInteger, E as coerceCfnBoolean, F as requireConfigString, J as getCurrentStackName, M as replayWarn, N as requireConfigArray, O as configBooleanRefusal, P as requireConfigObject, U as recordedGeneratedNameKept, V as generateResourceNameWithFallback, Y as isBeforeStateRead, c as VERBOSE_POINTER, d as describeAwsStatusReason, f as isAwsAuthoredFailure, g as verbosePointerTail, h as verbosePointerSentence, j as readConfigString, k as configIntegerRefusal, n as getLogger, p as safeStringify, q as getCurrentStackInstanceId, u as describeAwsFailure, w as generatedNameFor } from "./logger-CRTakAJI.js";
|
|
3
3
|
import { d as withApiGatewayPacing, l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-DOkPjjAW.js";
|
|
4
|
-
import { D as markReplayMayCollide, E as markNameCollision, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, I as isExplicitDenyError, K as wrapMaskedAwsError, M as explicitDenyPolicyKind, O as relayedNameCollision, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, V as THROTTLING_ERROR_NAMES, W as markNonRetryable, _ as ResourceUpdateNotSupportedError, at as ProvisioningError, et as CdkdError, i as credentialFingerprint, n as ambientCredentialConfig, r as clientDefaultsFor, t as ambientClientDefaults, z as isTransientServerError } from "./ambient-client-defaults-
|
|
5
|
-
import { $ as logGroupProtectionSite, $t as markCreatedBeforeFailure, A as ambiguousAttemptLead, At as compositeIdFormatMessage, B as isPlainImportValue, Bt as isSecretDerivedValue, Ct as renderDisableCommand, D as AmbiguousCreateLatch, Dt as isInterruptedWaitError, E as AMBIGUOUS_LATCH_TTL_MS, F as setBounded, G as remedyLogicalId, H as normalizeAwsTagsToCfn, Ht as maskerOrIdentity, I as withoutServerErrorRetries, It as segmentAfterAnchor, J as assertRegionMatch, K as resolveExplicitPhysicalId, Kt as clearCreatedBeforeFailure, L as VALUE_NOT_SHOWN, Lt as stateOrphanRecordRemedy, M as isInsideWindow, Mt as compositeIdSkipResult, N as replayFollowedAmbiguousAttempt, Nt as logicalIdShown, O as CREATION_DATE_SKEW_MARGIN_MS, Ot as startInterruptWatch, P as replayedSendWindow, Pt as packCompositeId, Q as deleteWithProtectionCompensation, Qt as markAuxiliaryFailure, R as importRemedyCommand, Rt as createMaskedLogSinks, S as readPrincipalLists, St as protectedReplacementAdvice, U as quotedRemedyLogicalId, Ut as withDerivedNameMasks, V as isQuotableImportValue, Vt as maskDeep, W as refusalTypeShown, X as markNotGone, Xt as isAuxiliaryFailure, _n as injectiveKeyPrefix, a as clearOnUpdateRemoval, at as deleteAfterProtectionFlipWithFinalSnapshot, b as holdsSecretDerivedEntry, bt as isAwsCliLiteral, c as removedTemplateKeys, ct as isTerminalDbWaitStatus, dt as isTerminalDeleteFailure, en as markSupersedesEarlierCreate, et as observeThenDisableProtection, ft as protectionFlipKey, g as retractCreatedResource, gn as injectiveKey, hn as withPasteableAwsProfile, ht as ElapsedBudgetRegistry, it as PROTECTION_FLIP_RETRY_WAIT_MS, j as createAttemptKey, jt as compositeIdSeparatorRefusal, k as RecentIdSet, kt as canonicalizeRoute53QueryName, l as withRemovalDefaults, m as reportCreatedResource, mt as ElapsedBudget, n as enclosingDeadlineRemainingMs, q as RESOURCE_NOT_FOUND, rt as userPoolProtectionSite, st as isProceedDbStatus, t as enclosingDeadlineExpired, tt as rdsFamilyProtectionSite, ut as ProtectionFlipRegistry, vt as UNNAMEABLE_ID_CLAUSE, w as recordedPrincipalsRepair, x as onlySecretDerived, xt as pasteableAwsCommand, y as SECRET_DERIVED_READ_LIVE, yt as WITHHELD_AWS_COMMAND, z as isPlainImportJson, zt as createMaskedRetryLogger } from "./resource-deadline-
|
|
6
|
-
import { A as displayStackName, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, c as deployReplaceCommand, d as pasteableCommand, j as isPasteableIdent, k as displaySafe, l as hasClauseBreak, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, u as isInertUnquoted, v as withheldTargetClause } from "./version-
|
|
7
|
-
import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-
|
|
8
|
-
import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-
|
|
9
|
-
import { $ as planVectorIndexUpdates, $
|
|
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 {
|
|
4
|
+
import { D as markReplayMayCollide, E as markNameCollision, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, I as isExplicitDenyError, K as wrapMaskedAwsError, M as explicitDenyPolicyKind, O as relayedNameCollision, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, V as THROTTLING_ERROR_NAMES, W as markNonRetryable, _ as ResourceUpdateNotSupportedError, at as ProvisioningError, et as CdkdError, i as credentialFingerprint, n as ambientCredentialConfig, r as clientDefaultsFor, t as ambientClientDefaults, z as isTransientServerError } from "./ambient-client-defaults-BJiN5aTn.js";
|
|
5
|
+
import { $ as logGroupProtectionSite, $t as markCreatedBeforeFailure, A as ambiguousAttemptLead, At as compositeIdFormatMessage, B as isPlainImportValue, Bt as isSecretDerivedValue, Ct as renderDisableCommand, D as AmbiguousCreateLatch, Dt as isInterruptedWaitError, E as AMBIGUOUS_LATCH_TTL_MS, F as setBounded, G as remedyLogicalId, H as normalizeAwsTagsToCfn, Ht as maskerOrIdentity, I as withoutServerErrorRetries, It as segmentAfterAnchor, J as assertRegionMatch, K as resolveExplicitPhysicalId, Kt as clearCreatedBeforeFailure, L as VALUE_NOT_SHOWN, Lt as stateOrphanRecordRemedy, M as isInsideWindow, Mt as compositeIdSkipResult, N as replayFollowedAmbiguousAttempt, Nt as logicalIdShown, O as CREATION_DATE_SKEW_MARGIN_MS, Ot as startInterruptWatch, P as replayedSendWindow, Pt as packCompositeId, Q as deleteWithProtectionCompensation, Qt as markAuxiliaryFailure, R as importRemedyCommand, Rt as createMaskedLogSinks, S as readPrincipalLists, St as protectedReplacementAdvice, U as quotedRemedyLogicalId, Ut as withDerivedNameMasks, V as isQuotableImportValue, Vt as maskDeep, W as refusalTypeShown, X as markNotGone, Xt as isAuxiliaryFailure, _n as injectiveKeyPrefix, a as clearOnUpdateRemoval, at as deleteAfterProtectionFlipWithFinalSnapshot, b as holdsSecretDerivedEntry, bt as isAwsCliLiteral, c as removedTemplateKeys, ct as isTerminalDbWaitStatus, dt as isTerminalDeleteFailure, en as markSupersedesEarlierCreate, et as observeThenDisableProtection, ft as protectionFlipKey, g as retractCreatedResource, gn as injectiveKey, hn as withPasteableAwsProfile, ht as ElapsedBudgetRegistry, it as PROTECTION_FLIP_RETRY_WAIT_MS, j as createAttemptKey, jt as compositeIdSeparatorRefusal, k as RecentIdSet, kt as canonicalizeRoute53QueryName, l as withRemovalDefaults, m as reportCreatedResource, mt as ElapsedBudget, n as enclosingDeadlineRemainingMs, q as RESOURCE_NOT_FOUND, rt as userPoolProtectionSite, st as isProceedDbStatus, t as enclosingDeadlineExpired, tt as rdsFamilyProtectionSite, ut as ProtectionFlipRegistry, vt as UNNAMEABLE_ID_CLAUSE, w as recordedPrincipalsRepair, x as onlySecretDerived, xt as pasteableAwsCommand, y as SECRET_DERIVED_READ_LIVE, yt as WITHHELD_AWS_COMMAND, z as isPlainImportJson, zt as createMaskedRetryLogger } from "./resource-deadline-CXP2TUVz.js";
|
|
6
|
+
import { A as displayStackName, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, c as deployReplaceCommand, d as pasteableCommand, j as isPasteableIdent, k as displaySafe, l as hasClauseBreak, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, u as isInertUnquoted, v as withheldTargetClause } from "./version-DyK3ezVd.js";
|
|
7
|
+
import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-C19J5kNj.js";
|
|
8
|
+
import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-CWUDb373.js";
|
|
9
|
+
import { $ as planVectorIndexUpdates, $a as isSettledInstanceState, At as hasCdkAutoDeleteTag, B as declaredStreamTagsMember, Co as s3BucketArn, Ct as TABLE_INDEX_NOUN, Da as getCurrentResourceSecrets, Do as s3BucketWebsiteUrl, Dt as waitForIndexesSettled, Eo as s3BucketRegionalDomainName, Es as passedParameterClassesOf, Et as relayedIndexBusyDelete, Fr as redactedDeleteAddressSkip, G as streamMemberRefusals, Ga as withIndeterminateGuard, Gc as findSdkUnwiredProperties, Gt as isAccessDeniedError, H as reverseMapStreamPolicy, I as DynamoDBGlobalTableProvider, Ic as accountArgs, J as isTtlAlreadyDisabled, Jc as withoutSdkUnwiredProperties, Ji as secretNamedAttributeNamesOf, K as streamPolicyMatchesDeclared, Kr as getCurrentProducerRegions, Kt as lookupEachName, L as STREAM_POLICY_KEY, La as waitForLambdaFunctionActive, Lc as withheldAccountClause, Lo as parseWebACLArn, Mr as REDACTED_DELETE_ADDRESS_SKIP_REASON, Nr as isRedactedRecordedValue, Ot as ECR_AUTO_DELETE_IMAGES_TAG, Pr as redactedDeleteAddressFields, Q as sendTtlWaitingOutRateLimit, Qn as canonicalizeIpProtocolValue, R as STREAM_TAGS_KEY, Sl as renderNestedTemplateTreeDefect, St as INDEX_SETTLE_POLL_INTERVAL_MS, To as s3BucketDualStackDomainName, Tt as maskedLogger, U as streamDeclaresPolicy, V as planStreamMemberOps, Vl as rewriteTemplateAssetReferences, Vo as outputReferenceProvenanceOf, W as streamDeclaresTags, Wa as deleteSkipReason, Wt as chunks, X as planTimeToLive, Xn as cfnIngressPortValue, Y as isTtlRateLimited, Yn as withoutSiblingOwnedSgRules, Z as readTtlSpec, Zn as sgProtocolKey, _l as stringifyValue, _r as acquireIdempotencyToken, _s as toFiniteNumber, _t as compensateRemovedDeletionProtection, at as contributorInsightsRefusals, bi as replacedDeleteFailureVerdict, bl as isAbsoluteAssetPath, bt as resolveDynamoDbDeleteBudgetMs, cn as withNestedStackContext, ct as planIndexContributorInsightsOps, da as collectPrincipalsAttachingPolicy, dt as reverseMapTableContributorInsights, en as getNestedRevertRun, eo as APPSYNC_APIKEY_ARN_RESOURCE_PATH, et as readbackVectorIndexes, ft as stripIndexContributorInsights, gi as awaitInFlightSibling, gs as toCfnInteger, gt as beginDeleteWait, gu as displayAssemblyPath, hr as reserveStackCreateToken, hs as isWarmThroughputDecrease, ht as DYNAMODB_DELETE_POLL_COST_MS, hu as describeFileReadFailure, it as CONTRIBUTOR_INSIGHTS_KEY, jc as refuseMalformedResourcesForDestroy, jt as isTruthyCfnBoolean, kl as decodeListingKey, kt as S3_AUTO_DELETE_OBJECTS_TAG, la as collectGroupsAddedBySiblings, lt as readContributorInsightsSpec, ma as withoutSiblingOwned, ms as coerceWarmThroughput$1, mt as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, nt as vectorIndexesSettled, ot as indexDeclaresContributorInsights, pa as withoutSiblingAttachedArns, pr as earliestDefined, ps as WARM_THROUGHPUT_MEMBERS, pt as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, q as streamTagsMatchDeclared, qn as siblingOwnedSgRuleIdentities, qo as getAccountInfo, qt as withApiLimit, rn as revertNestedChildFromJournal, rt as vectorIndexesShapeDetail, sn as getCurrentNestedStackContext, st as planContributorInsightsOp, t as DeployEngine, to as maskedSecretSegment, tt as vectorIndexesForCreate, ua as collectManagedPolicyArnsAttachedBySiblings, ut as reverseMapIndexContributorInsights, vi as getStackRecords, vt as deleteBudgetKey, vu as renderAssemblyPathEscape, wo as s3BucketDomainName, wt as deleteTableWithIndexBusyRetry, xc as refuseMalformedNestedChildOutputs, xl as listNestedTemplateRows, xt as DELETE_INDEX_WAIT_PROCEED_NOTE, yl as findNestedTemplateTreeDefect, yt as resolveDynamoDbDeleteBudgetClock, yu as resolveAssemblyPath, z as declaredStreamPolicyMember, za as waitForGoneAfterDelete } from "./deploy-engine-BOKcCf9R.js";
|
|
10
|
+
import { _ as isUsableAttemptedName, c as planTagDiff, d as tagMapAsList, f as tagPlanWarning, g as stringifyIfAssigned, h as definedAttributes, i as refuseRestoreFromItself, l as readTagList, m as modifyDbInstanceWhenAvailable, o as DBPROXY_TAGS_WHAT, p as isModifyNotAvailableRefusal, s as DBPROXY_TAG_OPTIONS, u as refuseMalformedDesiredTags } from "./restore-source-guard-BRT1OlJ2.js";
|
|
11
|
+
import { A as withRetry, U as timePhase, _ as unchangedBehindSecretReference, a as reDisableInstanceApiTermination, d as markRefusedBeforeApplying, g as onlySecretReferencesDiffer, i as observeThenDisableInstanceApiTermination, l as getPriorAttempts, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, r as isTerminationProtectionPropagationError, s as resolvedResourceTimeoutMs } from "./ec2-termination-protection-CcXbTL4N.js";
|
|
12
12
|
import { n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
|
|
13
13
|
import { f as ambientRegion } from "./aws-client-defaults-DAebi99J.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
14
|
+
import { n as planSubscriptionAttributes } from "./diff-calculator-STmKp2mr.js";
|
|
15
|
+
import { $ as snapshotPassProvenance, At as withoutPhysicalNameCopies, C as passedNoEchoParametersOf, I as markSameGenerationBag, Nt as dynamicReferenceTokens, W as redactForState, Z as recordReferenceProvenanceEntry, a as emrClusterInstancesReplaced, cn as recordAttributeIdCopy, i as ecsServiceLaunchTypeSetOrChanged, it as hasMaskableValues, l as sameLambdaFunctionAddress, mn as carriesSecretMask, n as blockDeviceMappingsDifferOnlyInDeleteOnTermination, o as canonicalLambdaFunctionName, on as recoverMaskedOutput, s as lambdaFunctionNameForMask, sn as physicalNameCopiesOf } from "./replacement-rules-QZUAl8ah.js";
|
|
16
|
+
import { RDSProvider } from "./rds-provider-CGsB4Wp0.js";
|
|
17
|
+
import { NeptuneProvider } from "./neptune-provider-7DAE0TN7.js";
|
|
18
|
+
import { ASGProvider } from "./asg-provider-CGorVUPJ.js";
|
|
18
19
|
import { createHash, randomUUID } from "node:crypto";
|
|
19
20
|
import { CreateBucketCommand, CreateBucketMetadataConfigurationCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketEncryptionCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetadataConfigurationCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketOwnershipControlsCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAbacCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketMetadataConfigurationCommand, GetBucketNotificationConfigurationCommand, GetBucketOwnershipControlsCommand, GetBucketPolicyCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetBucketVersioningCommand, GetBucketWebsiteCommand, GetObjectCommand, GetObjectLockConfigurationCommand, GetPublicAccessBlockCommand, HeadBucketCommand, ListBucketAnalyticsConfigurationsCommand, ListBucketIntelligentTieringConfigurationsCommand, ListBucketInventoryConfigurationsCommand, ListBucketMetricsConfigurationsCommand, ListBucketsCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, PutBucketAbacCommand, PutBucketAccelerateConfigurationCommand, PutBucketAnalyticsConfigurationCommand, PutBucketCorsCommand, PutBucketEncryptionCommand, PutBucketIntelligentTieringConfigurationCommand, PutBucketInventoryConfigurationCommand, PutBucketLifecycleConfigurationCommand, PutBucketLoggingCommand, PutBucketMetricsConfigurationCommand, PutBucketNotificationConfigurationCommand, PutBucketOwnershipControlsCommand, PutBucketPolicyCommand, PutBucketReplicationCommand, PutBucketTaggingCommand, PutBucketVersioningCommand, PutBucketWebsiteCommand, PutObjectLockConfigurationCommand, PutPublicAccessBlockCommand, S3Client, UpdateBucketMetadataAnnotationTableConfigurationCommand, UpdateBucketMetadataInventoryTableConfigurationCommand, UpdateBucketMetadataJournalTableConfigurationCommand } from "@aws-sdk/client-s3";
|
|
20
21
|
import { AddRoleToInstanceProfileCommand, AddUserToGroupCommand, AttachGroupPolicyCommand, AttachRolePolicyCommand, AttachUserPolicyCommand, CreateAccessKeyCommand, CreateGroupCommand, CreateInstanceProfileCommand, CreateLoginProfileCommand, CreatePolicyCommand, CreatePolicyVersionCommand, CreateUserCommand, DeleteAccessKeyCommand, DeleteGroupCommand, DeleteGroupPolicyCommand, DeleteInstanceProfileCommand, DeleteLoginProfileCommand, DeletePolicyCommand, DeletePolicyVersionCommand, DeleteRolePolicyCommand, DeleteUserCommand, DeleteUserPermissionsBoundaryCommand, DeleteUserPolicyCommand, DetachGroupPolicyCommand, DetachRolePolicyCommand, DetachUserPolicyCommand, GetAccessKeyLastUsedCommand, GetGroupCommand, GetGroupPolicyCommand, GetInstanceProfileCommand, GetPolicyCommand, GetPolicyVersionCommand, GetRolePolicyCommand, GetUserCommand, GetUserPolicyCommand, IAMClient, ListAccessKeysCommand, ListAttachedGroupPoliciesCommand, ListAttachedUserPoliciesCommand, ListEntitiesForPolicyCommand, ListGroupPoliciesCommand, ListGroupsForUserCommand, ListPoliciesCommand, ListPolicyTagsCommand, ListPolicyVersionsCommand, ListUserPoliciesCommand, NoSuchEntityException, PutGroupPolicyCommand, PutRolePolicyCommand, PutUserPermissionsBoundaryCommand, PutUserPolicyCommand, RemoveRoleFromInstanceProfileCommand, RemoveUserFromGroupCommand, TagPolicyCommand, TagUserCommand, UntagPolicyCommand, UntagUserCommand, UpdateAccessKeyCommand, UpdateGroupCommand, UpdateLoginProfileCommand, UpdateUserCommand } from "@aws-sdk/client-iam";
|
|
@@ -22,7 +23,7 @@ import { CreateQueueCommand, DeleteQueueCommand, GetQueueAttributesCommand, GetQ
|
|
|
22
23
|
import { CreateTopicCommand, DeleteTopicCommand, GetSubscriptionAttributesCommand, GetTopicAttributesCommand, InvalidParameterException, ListSubscriptionsByTopicCommand, ListTagsForResourceCommand, ListTopicsCommand, NotFoundException, SNSClient, SetSubscriptionAttributesCommand, SetTopicAttributesCommand, SubscribeCommand, TagResourceCommand, UnsubscribeCommand, UntagResourceCommand } from "@aws-sdk/client-sns";
|
|
23
24
|
import { AddPermissionCommand, CreateEventSourceMappingCommand, CreateFunctionCommand, CreateFunctionUrlConfigCommand, DeleteEventSourceMappingCommand, DeleteFunctionCodeSigningConfigCommand, DeleteFunctionCommand, DeleteFunctionConcurrencyCommand, DeleteFunctionEventInvokeConfigCommand, DeleteFunctionUrlConfigCommand, DeleteLayerVersionCommand, GetEventSourceMappingCommand, GetFunctionCodeSigningConfigCommand, GetFunctionCommand, GetFunctionConcurrencyCommand, GetFunctionConfigurationCommand, GetFunctionEventInvokeConfigCommand, GetFunctionRecursionConfigCommand, GetFunctionScalingConfigCommand, GetFunctionUrlConfigCommand, GetLayerVersionByArnCommand, GetPolicyCommand as GetPolicyCommand$1, GetRuntimeManagementConfigCommand, LambdaClient, ListEventSourceMappingsCommand, ListLayerVersionsCommand, ListTagsCommand, PublishLayerVersionCommand, PublishVersionCommand, PutFunctionCodeSigningConfigCommand, PutFunctionConcurrencyCommand, PutFunctionEventInvokeConfigCommand, PutFunctionRecursionConfigCommand, PutFunctionScalingConfigCommand, PutRuntimeManagementConfigCommand, RemovePermissionCommand, ResourceNotFoundException, TagResourceCommand as TagResourceCommand$1, UntagResourceCommand as UntagResourceCommand$1, UpdateEventSourceMappingCommand, UpdateFunctionCodeCommand, UpdateFunctionConfigurationCommand, UpdateFunctionUrlConfigCommand, waitUntilFunctionActiveV2, waitUntilFunctionUpdatedV2 } from "@aws-sdk/client-lambda";
|
|
24
25
|
import { GetCallerIdentityCommand, STSClient } from "@aws-sdk/client-sts";
|
|
25
|
-
import { AllocateAddressCommand, AssociateAddressCommand, AssociateIamInstanceProfileCommand, AssociateNatGatewayAddressCommand, AssociateRouteTableCommand, AssociateSubnetCidrBlockCommand, AttachInternetGatewayCommand, AttachVolumeCommand, AttachVpnGatewayCommand, AuthorizeSecurityGroupEgressCommand, AuthorizeSecurityGroupIngressCommand, CreateInternetGatewayCommand, CreateNatGatewayCommand, CreateNetworkAclCommand, CreateNetworkAclEntryCommand, CreateRouteCommand, CreateRouteTableCommand, CreateSecurityGroupCommand, CreateSubnetCommand, CreateTagsCommand, CreateVpcCommand, DeleteInternetGatewayCommand, DeleteNatGatewayCommand, DeleteNetworkAclCommand, DeleteNetworkAclEntryCommand, DeleteNetworkInterfaceCommand, DeleteRouteCommand, DeleteRouteTableCommand, DeleteSecurityGroupCommand, DeleteSubnetCommand, DeleteTagsCommand, DeleteVpcCommand, DescribeAddressesCommand, DescribeAvailabilityZonesCommand, DescribeIamInstanceProfileAssociationsCommand, DescribeInstanceAttributeCommand, DescribeInstanceCreditSpecificationsCommand, DescribeInstancesCommand, DescribeInternetGatewaysCommand, DescribeNatGatewaysCommand, DescribeNetworkAclsCommand, DescribeNetworkInterfacesCommand, DescribeRouteTablesCommand, DescribeSecurityGroupRulesCommand, DescribeSecurityGroupsCommand, DescribeSubnetsCommand, DescribeVolumesCommand, DescribeVpcAttributeCommand, DescribeVpcsCommand, DescribeVpnGatewaysCommand, DetachInternetGatewayCommand, DetachVolumeCommand, DetachVpnGatewayCommand, DisassociateAddressCommand, DisassociateIamInstanceProfileCommand, DisassociateNatGatewayAddressCommand, DisassociateRouteTableCommand, DisassociateSubnetCidrBlockCommand, EC2Client, GetIpamPoolAllocationsCommand, ModifyInstanceAttributeCommand, ModifyInstanceCreditSpecificationCommand, ModifyInstanceMetadataOptionsCommand, ModifyInstancePlacementCommand, ModifyPrivateDnsNameOptionsCommand, ModifySubnetAttributeCommand, ModifyVpcAttributeCommand, ModifyVpcTenancyCommand, MonitorInstancesCommand, ReleaseAddressCommand, ReplaceIamInstanceProfileAssociationCommand, ReplaceNetworkAclAssociationCommand, ReplaceNetworkAclEntryCommand, ReplaceRouteCommand, RevokeSecurityGroupEgressCommand, RevokeSecurityGroupIngressCommand, RunInstancesCommand, StartInstancesCommand, StopInstancesCommand, TerminateInstancesCommand, UnmonitorInstancesCommand, waitUntilInstanceRunning, waitUntilInstanceTerminated, waitUntilNatGatewayAvailable, waitUntilNatGatewayDeleted } from "@aws-sdk/client-ec2";
|
|
26
|
+
import { AllocateAddressCommand, AssociateAddressCommand, AssociateIamInstanceProfileCommand, AssociateNatGatewayAddressCommand, AssociateRouteTableCommand, AssociateSubnetCidrBlockCommand, AttachInternetGatewayCommand, AttachVolumeCommand, AttachVpnGatewayCommand, AuthorizeSecurityGroupEgressCommand, AuthorizeSecurityGroupIngressCommand, CreateInternetGatewayCommand, CreateNatGatewayCommand, CreateNetworkAclCommand, CreateNetworkAclEntryCommand, CreateRouteCommand, CreateRouteTableCommand, CreateSecurityGroupCommand, CreateSubnetCommand, CreateTagsCommand, CreateVpcCommand, DeleteInternetGatewayCommand, DeleteNatGatewayCommand, DeleteNetworkAclCommand, DeleteNetworkAclEntryCommand, DeleteNetworkInterfaceCommand, DeleteRouteCommand, DeleteRouteTableCommand, DeleteSecurityGroupCommand, DeleteSubnetCommand, DeleteTagsCommand, DeleteVpcCommand, DescribeAddressesCommand, DescribeAvailabilityZonesCommand, DescribeIamInstanceProfileAssociationsCommand, DescribeInstanceAttributeCommand, DescribeInstanceCreditSpecificationsCommand, DescribeInstancesCommand, DescribeInternetGatewaysCommand, DescribeNatGatewaysCommand, DescribeNetworkAclsCommand, DescribeNetworkInterfacesCommand, DescribeRouteTablesCommand, DescribeSecurityGroupRulesCommand, DescribeSecurityGroupsCommand, DescribeSubnetsCommand, DescribeVolumesCommand, DescribeVpcAttributeCommand, DescribeVpcsCommand, DescribeVpnGatewaysCommand, DetachInternetGatewayCommand, DetachVolumeCommand, DetachVpnGatewayCommand, DisassociateAddressCommand, DisassociateIamInstanceProfileCommand, DisassociateNatGatewayAddressCommand, DisassociateRouteTableCommand, DisassociateSubnetCidrBlockCommand, EC2Client, GetIpamPoolAllocationsCommand, ModifyInstanceAttributeCommand, ModifyInstanceCreditSpecificationCommand, ModifyInstanceMetadataOptionsCommand, ModifyInstancePlacementCommand, ModifyPrivateDnsNameOptionsCommand, ModifySubnetAttributeCommand, ModifyVpcAttributeCommand, ModifyVpcTenancyCommand, MonitorInstancesCommand, ReleaseAddressCommand, ReplaceIamInstanceProfileAssociationCommand, ReplaceNetworkAclAssociationCommand, ReplaceNetworkAclEntryCommand, ReplaceRouteCommand, RevokeSecurityGroupEgressCommand, RevokeSecurityGroupIngressCommand, RunInstancesCommand, StartInstancesCommand, StopInstancesCommand, TerminateInstancesCommand, UnmonitorInstancesCommand, UpdateSecurityGroupRuleDescriptionsEgressCommand, UpdateSecurityGroupRuleDescriptionsIngressCommand, waitUntilInstanceRunning, waitUntilInstanceTerminated, waitUntilNatGatewayAvailable, waitUntilNatGatewayDeleted } from "@aws-sdk/client-ec2";
|
|
26
27
|
import { CreateTableCommand, DeleteResourcePolicyCommand, DeleteTableCommand, DescribeContinuousBackupsCommand, DescribeContributorInsightsCommand, DescribeKinesisStreamingDestinationCommand, DescribeTableCommand, DescribeTimeToLiveCommand, DisableKinesisStreamingDestinationCommand, DynamoDBClient, EnableKinesisStreamingDestinationCommand, GetResourcePolicyCommand, ListTagsOfResourceCommand, PolicyNotFoundException, PutResourcePolicyCommand, ResourceNotFoundException as ResourceNotFoundException$1, TagResourceCommand as TagResourceCommand$2, UntagResourceCommand as UntagResourceCommand$2, UpdateContinuousBackupsCommand, UpdateContributorInsightsCommand, UpdateKinesisStreamingDestinationCommand, UpdateTableCommand, UpdateTimeToLiveCommand } from "@aws-sdk/client-dynamodb";
|
|
27
28
|
import { APIGatewayClient, CreateAuthorizerCommand, CreateDeploymentCommand, CreateResourceCommand, CreateRestApiCommand, CreateStageCommand, DeleteAuthorizerCommand, DeleteDeploymentCommand, DeleteIntegrationCommand, DeleteIntegrationResponseCommand, DeleteMethodCommand, DeleteMethodResponseCommand, DeleteResourceCommand, DeleteRestApiCommand, DeleteStageCommand, GetAccountCommand, GetAuthorizerCommand, GetAuthorizersCommand, GetDeploymentCommand, GetDeploymentsCommand, GetMethodCommand, GetResourceCommand, GetRestApiCommand, GetRestApisCommand, GetStageCommand, ImportRestApiCommand, NotFoundException as NotFoundException$1, PutIntegrationCommand, PutIntegrationResponseCommand, PutMethodCommand, PutMethodResponseCommand, PutRestApiCommand, TagResourceCommand as TagResourceCommand$3, UntagResourceCommand as UntagResourceCommand$3, UpdateAccountCommand, UpdateAuthorizerCommand, UpdateDeploymentCommand, UpdateMethodCommand, UpdateRestApiCommand, UpdateStageCommand } from "@aws-sdk/client-api-gateway";
|
|
28
29
|
import { CreateEventBusCommand, DeleteEventBusCommand, DeleteRuleCommand, DescribeEventBusCommand, DescribeRuleCommand, EventBridgeClient, ListRulesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$1, ListTargetsByRuleCommand, PutPermissionCommand, PutRuleCommand, PutTargetsCommand, RemoveTargetsCommand, ResourceNotFoundException as ResourceNotFoundException$2, TagResourceCommand as TagResourceCommand$4, UntagResourceCommand as UntagResourceCommand$4, UpdateEventBusCommand } from "@aws-sdk/client-eventbridge";
|
|
@@ -8513,45 +8514,11 @@ var SNSTopicProvider = class {
|
|
|
8513
8514
|
|
|
8514
8515
|
// src/provisioning/providers/sns-subscription-provider.ts
|
|
8515
8516
|
const SNS_SUBSCRIPTION_DELETE_THREW_REASON = "the Unsubscribe call did not complete, so the old subscription is unproven";
|
|
8516
|
-
const MUTABLE_ATTRIBUTES = [
|
|
8517
|
-
"RawMessageDelivery",
|
|
8518
|
-
"FilterPolicy",
|
|
8519
|
-
"FilterPolicyScope",
|
|
8520
|
-
"RedrivePolicy",
|
|
8521
|
-
"DeliveryPolicy",
|
|
8522
|
-
"ReplayPolicy",
|
|
8523
|
-
"SubscriptionRoleArn"
|
|
8524
|
-
];
|
|
8525
|
-
const RESET_VALUES = {
|
|
8526
|
-
RawMessageDelivery: "false",
|
|
8527
|
-
FilterPolicy: "",
|
|
8528
|
-
FilterPolicyScope: "MessageAttributes",
|
|
8529
|
-
RedrivePolicy: ""
|
|
8530
|
-
};
|
|
8531
8517
|
const CREATE_ONLY_FIELDS = [
|
|
8532
8518
|
"TopicArn",
|
|
8533
8519
|
"Protocol",
|
|
8534
8520
|
"Endpoint"
|
|
8535
8521
|
];
|
|
8536
|
-
function toAttributeValue(key, value) {
|
|
8537
|
-
if (value === void 0) return void 0;
|
|
8538
|
-
if (key === "FilterPolicy" || key === "RedrivePolicy" || key === "DeliveryPolicy" || key === "ReplayPolicy") return typeof value === "string" ? value : JSON.stringify(value);
|
|
8539
|
-
return stringifyValue(value);
|
|
8540
|
-
}
|
|
8541
|
-
function sameAttributeValue(name, desired, current) {
|
|
8542
|
-
if (current === void 0) return desired === RESET_VALUES[name];
|
|
8543
|
-
if (desired === current) return true;
|
|
8544
|
-
try {
|
|
8545
|
-
return JSON.stringify(JSON.parse(desired)) === JSON.stringify(JSON.parse(current));
|
|
8546
|
-
} catch {
|
|
8547
|
-
return false;
|
|
8548
|
-
}
|
|
8549
|
-
}
|
|
8550
|
-
function filterPolicyCleared(plan, current) {
|
|
8551
|
-
const planned = plan.find(([name]) => name === "FilterPolicy");
|
|
8552
|
-
if (planned !== void 0) return planned[1] === "";
|
|
8553
|
-
return current["FilterPolicy"] === void 0 || current["FilterPolicy"] === "";
|
|
8554
|
-
}
|
|
8555
8522
|
var SNSSubscriptionProvider = class {
|
|
8556
8523
|
snsClient;
|
|
8557
8524
|
logger = getLogger().child("SNSSubscriptionProvider");
|
|
@@ -8649,23 +8616,8 @@ var SNSSubscriptionProvider = class {
|
|
|
8649
8616
|
const desired = properties[field];
|
|
8650
8617
|
if (desired !== void 0 && stringifyValue(desired) !== current[field]) return void 0;
|
|
8651
8618
|
}
|
|
8652
|
-
const
|
|
8653
|
-
|
|
8654
|
-
const desired = toAttributeValue(name, properties[name]);
|
|
8655
|
-
const now = current[name];
|
|
8656
|
-
if (desired !== void 0) {
|
|
8657
|
-
if (!sameAttributeValue(name, desired, now)) plan.push([name, desired]);
|
|
8658
|
-
continue;
|
|
8659
|
-
}
|
|
8660
|
-
if (now === void 0 || now === "") continue;
|
|
8661
|
-
if (name === "FilterPolicyScope" && filterPolicyCleared(plan, current)) continue;
|
|
8662
|
-
const reset = RESET_VALUES[name];
|
|
8663
|
-
if (reset === void 0) return void 0;
|
|
8664
|
-
if (now !== reset) plan.push([name, reset]);
|
|
8665
|
-
}
|
|
8666
|
-
const policy = plan.find(([name]) => name === "FilterPolicy");
|
|
8667
|
-
if (policy !== void 0 && policy[1] !== "" && plan.some(([name]) => name === "FilterPolicyScope")) return;
|
|
8668
|
-
return plan;
|
|
8619
|
+
const planned = planSubscriptionAttributes(current, properties);
|
|
8620
|
+
return planned.kind === "replace" ? void 0 : planned.calls;
|
|
8669
8621
|
}
|
|
8670
8622
|
wrapMaskedAwsCallError(mask, error, prefix, resourceType, logicalId, physicalId) {
|
|
8671
8623
|
const build = (text) => new ProvisioningError(`${prefix}: ${text}`, resourceType, logicalId, physicalId, error instanceof Error ? error : void 0);
|
|
@@ -18563,12 +18515,12 @@ var EventBridgeBusProvider = class {
|
|
|
18563
18515
|
}
|
|
18564
18516
|
async delete(logicalId, physicalId, resourceType, _properties, context) {
|
|
18565
18517
|
this.logger.debug(`Deleting EventBus ${logicalId}: ${physicalId}`);
|
|
18566
|
-
|
|
18518
|
+
const mask = maskerOrIdentity(context?.maskSecrets);
|
|
18567
18519
|
try {
|
|
18568
|
-
|
|
18569
|
-
await this.eventBridgeClient.send(new DeleteEventBusCommand({ Name: physicalId }));
|
|
18520
|
+
await this.deleteBusOnceManagedRulesClear(logicalId, physicalId, resourceType, mask);
|
|
18570
18521
|
this.logger.debug(`Successfully deleted EventBus ${logicalId}`);
|
|
18571
18522
|
} catch (error) {
|
|
18523
|
+
if (error instanceof ProvisioningError || isInterruptedWaitError(error)) throw error;
|
|
18572
18524
|
if (error instanceof ResourceNotFoundException$2) {
|
|
18573
18525
|
const clientRegion = await this.eventBridgeClient.config.region();
|
|
18574
18526
|
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
@@ -18582,48 +18534,69 @@ var EventBridgeBusProvider = class {
|
|
|
18582
18534
|
return;
|
|
18583
18535
|
}
|
|
18584
18536
|
const cause = error instanceof Error ? error : void 0;
|
|
18585
|
-
const failure = this.wrapMaskedError(
|
|
18586
|
-
|
|
18587
|
-
throw stripped ? markDeleteStarted(marked) : marked;
|
|
18537
|
+
const failure = this.wrapMaskedError(mask, error, (text) => new ProvisioningError(`Failed to delete EventBus ${logicalId}: ${text}`, resourceType, logicalId, physicalId, cause));
|
|
18538
|
+
throw error instanceof Error && error.name.includes("NotFound") ? markNotGone(failure) : failure;
|
|
18588
18539
|
}
|
|
18589
18540
|
}
|
|
18590
|
-
|
|
18591
|
-
|
|
18592
|
-
|
|
18593
|
-
|
|
18594
|
-
}
|
|
18595
|
-
async
|
|
18596
|
-
|
|
18541
|
+
managedRuleWait = {
|
|
18542
|
+
pollIntervalMs: 5e3,
|
|
18543
|
+
timeoutMs: 12e4,
|
|
18544
|
+
sleep: (ms) => new Promise((resolve) => setTimeout(resolve, ms))
|
|
18545
|
+
};
|
|
18546
|
+
async deleteBusOnceManagedRulesClear(logicalId, busName, resourceType, mask) {
|
|
18547
|
+
const { pollIntervalMs, timeoutMs, sleep } = this.managedRuleWait;
|
|
18548
|
+
const deadline = Date.now() + timeoutMs;
|
|
18549
|
+
const watch = startInterruptWatch(`EventBus ${logicalId} managed-rule wait`);
|
|
18550
|
+
let retriedEmptyListing = false;
|
|
18597
18551
|
try {
|
|
18598
|
-
|
|
18599
|
-
if (rules.length === 0) return false;
|
|
18600
|
-
found = true;
|
|
18601
|
-
this.logger.debug(`Cleaning up ${rules.length} rule(s) on bus ${busName}`);
|
|
18602
|
-
for (const rule of rules) {
|
|
18603
|
-
if (!rule.Name) continue;
|
|
18552
|
+
for (;;) {
|
|
18604
18553
|
try {
|
|
18605
|
-
|
|
18606
|
-
|
|
18607
|
-
|
|
18608
|
-
|
|
18609
|
-
|
|
18610
|
-
|
|
18611
|
-
|
|
18612
|
-
|
|
18613
|
-
|
|
18614
|
-
|
|
18615
|
-
|
|
18616
|
-
|
|
18617
|
-
|
|
18618
|
-
|
|
18619
|
-
|
|
18620
|
-
|
|
18554
|
+
await this.eventBridgeClient.send(new DeleteEventBusCommand({ Name: busName }));
|
|
18555
|
+
return;
|
|
18556
|
+
} catch (error) {
|
|
18557
|
+
if (!isBusHasRulesRefusal(error)) throw error;
|
|
18558
|
+
}
|
|
18559
|
+
const rules = await this.listRulesOnBus(busName);
|
|
18560
|
+
const unmanaged = rules.filter((rule) => !rule.managedBy);
|
|
18561
|
+
if (unmanaged.length > 0) throw this.busHasRulesError(logicalId, busName, resourceType, mask, `${unmanaged.length} rule(s) this stack does not delete: ${unmanaged.map((rule) => rule.name).join(", ")}. Delete or move them, then re-run`);
|
|
18562
|
+
if (Date.now() >= deadline) {
|
|
18563
|
+
const seconds = Math.round(timeoutMs / 1e3);
|
|
18564
|
+
throw this.busHasRulesError(logicalId, busName, resourceType, mask, rules.length === 0 ? `rules ListRules does not report, ${seconds}s after the first refusal. Check the bus for rules, then re-run` : `rule(s) an AWS service manages, still there ${seconds}s later: ${rules.map((rule) => `${rule.name} (${rule.managedBy})`).join(", ")}. AWS removes each when the resource that owns it (an archive, a schema discoverer) is deleted; delete that resource if this stack does not own it, then re-run`);
|
|
18565
|
+
}
|
|
18566
|
+
if (watch.isInterrupted()) throw watch.onInterrupted();
|
|
18567
|
+
if (rules.length === 0 && !retriedEmptyListing) {
|
|
18568
|
+
retriedEmptyListing = true;
|
|
18569
|
+
continue;
|
|
18570
|
+
}
|
|
18571
|
+
await sleep(pollIntervalMs);
|
|
18621
18572
|
}
|
|
18622
|
-
}
|
|
18623
|
-
|
|
18624
|
-
this.logger.debug(`Failed to list rules on bus ${busName}: ${describeAwsFailure(error).detail}`);
|
|
18573
|
+
} finally {
|
|
18574
|
+
watch.dispose();
|
|
18625
18575
|
}
|
|
18626
|
-
|
|
18576
|
+
}
|
|
18577
|
+
async listRulesOnBus(busName) {
|
|
18578
|
+
const rules = [];
|
|
18579
|
+
let nextToken;
|
|
18580
|
+
do {
|
|
18581
|
+
const page = await this.eventBridgeClient.send(new ListRulesCommand({
|
|
18582
|
+
EventBusName: busName,
|
|
18583
|
+
NextToken: nextToken
|
|
18584
|
+
}));
|
|
18585
|
+
for (const rule of page.Rules ?? []) if (rule.Name) rules.push({
|
|
18586
|
+
name: rule.Name,
|
|
18587
|
+
...rule.ManagedBy && { managedBy: rule.ManagedBy }
|
|
18588
|
+
});
|
|
18589
|
+
nextToken = page.NextToken;
|
|
18590
|
+
} while (nextToken);
|
|
18591
|
+
return rules;
|
|
18592
|
+
}
|
|
18593
|
+
busHasRulesError(logicalId, busName, resourceType, mask, remaining) {
|
|
18594
|
+
return markNonRetryable(markNotGone(new ProvisioningError(mask(safeMsg`Failed to delete EventBus ${logicalId}: AWS refuses to delete an event bus that has rules, and ${busName} still has ${remaining}.`), resourceType, logicalId, busName)));
|
|
18595
|
+
}
|
|
18596
|
+
getAttribute(physicalId, _resourceType, attributeName) {
|
|
18597
|
+
if (attributeName === "Arn") return Promise.resolve(void 0);
|
|
18598
|
+
if (attributeName === "Name") return Promise.resolve(physicalId);
|
|
18599
|
+
return Promise.resolve(void 0);
|
|
18627
18600
|
}
|
|
18628
18601
|
async readCurrentState(physicalId, _logicalId, _resourceType) {
|
|
18629
18602
|
try {
|
|
@@ -18672,6 +18645,9 @@ var EventBridgeBusProvider = class {
|
|
|
18672
18645
|
return null;
|
|
18673
18646
|
}
|
|
18674
18647
|
};
|
|
18648
|
+
function isBusHasRulesRefusal(error) {
|
|
18649
|
+
return error instanceof Error && error.name === "ValidationException" && /has rules/i.test(error.message);
|
|
18650
|
+
}
|
|
18675
18651
|
|
|
18676
18652
|
// src/provisioning/providers/ec2/sg-support.ts
|
|
18677
18653
|
const SG_INGRESS_IP_PROTOCOL_DEFAULT = "-1";
|
|
@@ -21450,6 +21426,23 @@ const routeMethods = {
|
|
|
21450
21426
|
deleteSubnetRouteTableAssociation
|
|
21451
21427
|
};
|
|
21452
21428
|
|
|
21429
|
+
// src/provisioning/providers/ec2/sg-rule-description.ts
|
|
21430
|
+
const SG_RULE_PERMISSION_NOT_FOUND_NAMES = /* @__PURE__ */ new Set(["InvalidPermission.NotFound"]);
|
|
21431
|
+
async function updateSgRuleDescription(client, groupId, direction, permission) {
|
|
21432
|
+
const input = {
|
|
21433
|
+
GroupId: groupId,
|
|
21434
|
+
IpPermissions: [permission]
|
|
21435
|
+
};
|
|
21436
|
+
try {
|
|
21437
|
+
if (direction === "egress") await client.send(new UpdateSecurityGroupRuleDescriptionsEgressCommand(input));
|
|
21438
|
+
else await client.send(new UpdateSecurityGroupRuleDescriptionsIngressCommand(input));
|
|
21439
|
+
return "updated";
|
|
21440
|
+
} catch (error) {
|
|
21441
|
+
if (isNamedError(error, SG_RULE_PERMISSION_NOT_FOUND_NAMES)) return "not-found";
|
|
21442
|
+
throw error;
|
|
21443
|
+
}
|
|
21444
|
+
}
|
|
21445
|
+
|
|
21453
21446
|
// src/provisioning/providers/ec2/security-group.ts
|
|
21454
21447
|
async function createSecurityGroup(logicalId, resourceType, properties, context) {
|
|
21455
21448
|
this.logger.debug(`Creating SecurityGroup ${logicalId}`);
|
|
@@ -21691,8 +21684,7 @@ async function applySecurityGroupRuleDiff(groupId, previousRules, nextRules, dir
|
|
|
21691
21684
|
peer: peerKey ?? null,
|
|
21692
21685
|
peerName: peerKey ? null : peerName ?? null,
|
|
21693
21686
|
peerOwner: peerOwner ?? null,
|
|
21694
|
-
pl: prefixKey ?? null
|
|
21695
|
-
d: rule["Description"] ?? null
|
|
21687
|
+
pl: prefixKey ?? null
|
|
21696
21688
|
});
|
|
21697
21689
|
};
|
|
21698
21690
|
const prevByKey = /* @__PURE__ */ new Map();
|
|
@@ -21702,7 +21694,12 @@ async function applySecurityGroupRuleDiff(groupId, previousRules, nextRules, dir
|
|
|
21702
21694
|
const toRevoke = [];
|
|
21703
21695
|
for (const [key, rule] of prevByKey) if (!nextByKey.has(key)) toRevoke.push(rule);
|
|
21704
21696
|
const toAuthorize = [];
|
|
21705
|
-
|
|
21697
|
+
const toDescribe = [];
|
|
21698
|
+
for (const [key, rule] of nextByKey) {
|
|
21699
|
+
const previous = prevByKey.get(key);
|
|
21700
|
+
if (previous === void 0) toAuthorize.push(rule);
|
|
21701
|
+
else if ((previous["Description"] ?? null) !== (rule["Description"] ?? null)) toDescribe.push(rule);
|
|
21702
|
+
}
|
|
21706
21703
|
for (const rule of toRevoke) {
|
|
21707
21704
|
if (direction === "ingress" && logicalId !== void 0) {
|
|
21708
21705
|
const holder = stackIngressRuleHolder(getStackRecords()?.survivors(), logicalId, groupId, rule);
|
|
@@ -21724,6 +21721,17 @@ async function applySecurityGroupRuleDiff(groupId, previousRules, nextRules, dir
|
|
|
21724
21721
|
if (!this.isNotFoundError(error)) throw error;
|
|
21725
21722
|
}
|
|
21726
21723
|
}
|
|
21724
|
+
for (const rule of toDescribe) {
|
|
21725
|
+
if (isRedactedRecordedValue(rule["Description"])) continue;
|
|
21726
|
+
if (direction === "ingress" && logicalId !== void 0) {
|
|
21727
|
+
const holder = stackIngressRuleHolder(getStackRecords()?.survivors(), logicalId, groupId, rule);
|
|
21728
|
+
if (holder !== void 0) {
|
|
21729
|
+
this.logger.info(safeMsg`SecurityGroup ${logicalId}: an ingress rule whose description changed is also held by ${holder} of this stack, so its description was left as it is`);
|
|
21730
|
+
continue;
|
|
21731
|
+
}
|
|
21732
|
+
}
|
|
21733
|
+
if (await updateSgRuleDescription(this.ec2Client, groupId, direction, this.buildIpPermission(rule, direction, direction === "ingress")) === "not-found") toAuthorize.push(rule);
|
|
21734
|
+
}
|
|
21727
21735
|
for (const rule of toAuthorize) try {
|
|
21728
21736
|
if (direction === "egress") await this.ec2Client.send(new AuthorizeSecurityGroupEgressCommand({
|
|
21729
21737
|
GroupId: groupId,
|
|
@@ -22013,6 +22021,26 @@ async function updateSecurityGroupIngress(logicalId, physicalId, resourceType, p
|
|
|
22013
22021
|
...recordedAttributes && { attributes: { ...recordedAttributes } }
|
|
22014
22022
|
};
|
|
22015
22023
|
}
|
|
22024
|
+
const identity = comparableIngressIdentity(properties["GroupId"], properties);
|
|
22025
|
+
if (identity !== void 0 && identity === comparableIngressIdentity(previousProperties["GroupId"], previousProperties) && !isRedactedRecordedValue(properties["Description"])) {
|
|
22026
|
+
const { ipProtocol, narrowed } = narrowIngressIpProtocol(properties, (message) => this.logger.warn(message));
|
|
22027
|
+
let outcome;
|
|
22028
|
+
try {
|
|
22029
|
+
outcome = await updateSgRuleDescription(this.ec2Client, properties["GroupId"], "ingress", {
|
|
22030
|
+
...this.buildIpPermission(properties),
|
|
22031
|
+
IpProtocol: ipProtocol
|
|
22032
|
+
});
|
|
22033
|
+
} catch (error) {
|
|
22034
|
+
const cause = error instanceof Error ? error : void 0;
|
|
22035
|
+
throw this.wrapCaughtError(maskerOrIdentity(maskSecrets), error, (text) => new ProvisioningError(`Failed to update the description of SecurityGroupIngress ${logicalId}: ${text}`, resourceType, logicalId, physicalId, cause));
|
|
22036
|
+
}
|
|
22037
|
+
if (outcome === "updated") return {
|
|
22038
|
+
physicalId,
|
|
22039
|
+
wasReplaced: false,
|
|
22040
|
+
...recordedAttributes && { attributes: { ...recordedAttributes } },
|
|
22041
|
+
...narrowed !== properties && { effectiveProperties: narrowed }
|
|
22042
|
+
};
|
|
22043
|
+
}
|
|
22016
22044
|
try {
|
|
22017
22045
|
if (keptFor !== void 0) this.logger.info(safeMsg`SecurityGroupIngress ${logicalId}: its previous rule is also held by ${keptFor} of this stack, so the update left it in place`);
|
|
22018
22046
|
const revoked = keptFor !== void 0 ? void 0 : await this.deleteSecurityGroupIngress(logicalId, physicalId, resourceType, previousProperties, recordedAttributes || maskSecrets ? {
|
|
@@ -29679,7 +29707,7 @@ async function update$28(logicalId, physicalId, resourceType, properties, previo
|
|
|
29679
29707
|
const currentConfig = getConfigResponse.DistributionConfig;
|
|
29680
29708
|
const newDistributionConfig = properties["DistributionConfig"] ?? {};
|
|
29681
29709
|
const previousDistributionConfig = previousProperties["DistributionConfig"] ?? {};
|
|
29682
|
-
const sdkConfig = this.mergeUpdateConfig(currentConfig, newDistributionConfig, previousDistributionConfig, logicalId);
|
|
29710
|
+
const sdkConfig = this.mergeUpdateConfig(currentConfig, newDistributionConfig, previousDistributionConfig, logicalId, context?.replayingState === true, context?.restoredObservedProperties);
|
|
29683
29711
|
await this.cloudFrontClient.send(new UpdateDistributionCommand({
|
|
29684
29712
|
Id: physicalId,
|
|
29685
29713
|
IfMatch: etag,
|
|
@@ -29936,7 +29964,7 @@ async function importImpl$28(input) {
|
|
|
29936
29964
|
}
|
|
29937
29965
|
|
|
29938
29966
|
// src/provisioning/providers/cloudfront-distribution/update-config.ts
|
|
29939
|
-
function mergeUpdateConfig(currentConfig, newDistributionConfig, previousDistributionConfig, logicalId) {
|
|
29967
|
+
function mergeUpdateConfig(currentConfig, newDistributionConfig, previousDistributionConfig, logicalId, replayingState, restoredObserved) {
|
|
29940
29968
|
const templateSdk = this.convertToSdkFormat(newDistributionConfig);
|
|
29941
29969
|
const previousSdk = this.convertToSdkFormat(previousDistributionConfig);
|
|
29942
29970
|
const merged = { ...currentConfig };
|
|
@@ -29950,9 +29978,68 @@ function mergeUpdateConfig(currentConfig, newDistributionConfig, previousDistrib
|
|
|
29950
29978
|
}
|
|
29951
29979
|
Object.assign(merged, templateSdk);
|
|
29952
29980
|
merged["CallerReference"] = currentConfig["CallerReference"];
|
|
29981
|
+
fillOriginSslProtocols(merged, currentConfig, previousSdk, replayingState === true ? snapshotOriginSslProtocols(restoredObserved) : () => void 0, (originId) => this.logger.warn(replayingState ? safeMsg`CloudFront Distribution ${logicalId}: the rollback restores a template without OriginSSLProtocols on origin '${String(originId)}', so the value the failed deploy applied stays; revert it by declaring OriginSSLProtocols.` : safeMsg`CloudFront Distribution ${logicalId}: OriginSSLProtocols was removed from origin '${String(originId)}' in the template; keeping the live value rather than CloudFormation's SSLv3, TLSv1 default. Set it explicitly in the template to change it.`));
|
|
29953
29982
|
this.completeRequiredUpdateFields(merged);
|
|
29954
29983
|
return merged;
|
|
29955
29984
|
}
|
|
29985
|
+
const CREATE_DEFAULT_ORIGIN_SSL_PROTOCOLS = {
|
|
29986
|
+
Quantity: 3,
|
|
29987
|
+
Items: [
|
|
29988
|
+
"TLSv1",
|
|
29989
|
+
"TLSv1.1",
|
|
29990
|
+
"TLSv1.2"
|
|
29991
|
+
]
|
|
29992
|
+
};
|
|
29993
|
+
const ORIGIN_SSL_PROTOCOLS = /* @__PURE__ */ new Set([
|
|
29994
|
+
"SSLv3",
|
|
29995
|
+
"TLSv1",
|
|
29996
|
+
"TLSv1.1",
|
|
29997
|
+
"TLSv1.2"
|
|
29998
|
+
]);
|
|
29999
|
+
function snapshotOriginSslProtocols(observed) {
|
|
30000
|
+
const config = observed?.["DistributionConfig"];
|
|
30001
|
+
const origins = config && typeof config === "object" ? config["Origins"] : void 0;
|
|
30002
|
+
if (!Array.isArray(origins)) return () => void 0;
|
|
30003
|
+
return (originId) => {
|
|
30004
|
+
const matches = origins.filter((o) => o && typeof o === "object" && o["Id"] === originId);
|
|
30005
|
+
if (matches.length !== 1) return void 0;
|
|
30006
|
+
const custom = matches[0]["CustomOriginConfig"];
|
|
30007
|
+
if (!custom || typeof custom !== "object") return void 0;
|
|
30008
|
+
const items = custom["OriginSSLProtocols"];
|
|
30009
|
+
if (!Array.isArray(items) || items.length === 0 || new Set(items).size !== items.length || !items.every((p) => typeof p === "string" && ORIGIN_SSL_PROTOCOLS.has(p))) return;
|
|
30010
|
+
return {
|
|
30011
|
+
Quantity: items.length,
|
|
30012
|
+
Items: [...items]
|
|
30013
|
+
};
|
|
30014
|
+
};
|
|
30015
|
+
}
|
|
30016
|
+
function fillOriginSslProtocols(config, currentConfig, previousConfig, restored, onRemovedKept) {
|
|
30017
|
+
const origins = config["Origins"];
|
|
30018
|
+
if (!origins || !Array.isArray(origins["Items"])) return;
|
|
30019
|
+
const liveOrigins = currentConfig["Origins"]?.["Items"];
|
|
30020
|
+
const liveProtocols = (id) => {
|
|
30021
|
+
if (!Array.isArray(liveOrigins)) return void 0;
|
|
30022
|
+
return (liveOrigins.find((o) => o?.["Id"] === id)?.["CustomOriginConfig"])?.["OriginSslProtocols"];
|
|
30023
|
+
};
|
|
30024
|
+
const previousItems = previousConfig["Origins"]?.["Items"];
|
|
30025
|
+
const previouslyDeclared = (id) => Array.isArray(previousItems) && previousItems.some((o) => o?.["Id"] === id && (o?.["CustomOriginConfig"])?.["OriginSslProtocols"] !== void 0);
|
|
30026
|
+
origins["Items"] = origins["Items"].map((origin) => {
|
|
30027
|
+
const custom = origin?.["CustomOriginConfig"];
|
|
30028
|
+
if (!custom || typeof custom !== "object") return origin;
|
|
30029
|
+
if (custom["OriginSslProtocols"] !== void 0) return origin;
|
|
30030
|
+
const live = liveProtocols(origin["Id"]);
|
|
30031
|
+
const declared = previouslyDeclared(origin["Id"]);
|
|
30032
|
+
const snapshot = declared || live === void 0 ? restored(origin["Id"]) : void 0;
|
|
30033
|
+
if (snapshot === void 0 && live !== void 0 && declared) onRemovedKept(origin["Id"]);
|
|
30034
|
+
return {
|
|
30035
|
+
...origin,
|
|
30036
|
+
CustomOriginConfig: {
|
|
30037
|
+
...custom,
|
|
30038
|
+
OriginSslProtocols: structuredClone(snapshot ?? live ?? CREATE_DEFAULT_ORIGIN_SSL_PROTOCOLS)
|
|
30039
|
+
}
|
|
30040
|
+
};
|
|
30041
|
+
});
|
|
30042
|
+
}
|
|
29956
30043
|
function completeRequiredUpdateFields(config) {
|
|
29957
30044
|
const origins = config["Origins"];
|
|
29958
30045
|
if (origins && Array.isArray(origins["Items"])) origins["Items"] = origins["Items"].map((origin) => {
|
|
@@ -29973,6 +30060,7 @@ function completeRequiredUpdateFields(config) {
|
|
|
29973
30060
|
const fillBehavior = (behavior) => {
|
|
29974
30061
|
const b = { ...behavior };
|
|
29975
30062
|
if (b["SmoothStreaming"] === void 0) b["SmoothStreaming"] = false;
|
|
30063
|
+
if (b["Compress"] === void 0) b["Compress"] = false;
|
|
29976
30064
|
if (b["FieldLevelEncryptionId"] === void 0) b["FieldLevelEncryptionId"] = "";
|
|
29977
30065
|
if (b["LambdaFunctionAssociations"] === void 0) b["LambdaFunctionAssociations"] = {
|
|
29978
30066
|
Quantity: 0,
|
|
@@ -30331,8 +30419,8 @@ var CloudFrontDistributionProvider = class {
|
|
|
30331
30419
|
waitForDistributionStable(distributionId, expectedEnabled) {
|
|
30332
30420
|
return waitForDistributionStable.call(this, distributionId, expectedEnabled);
|
|
30333
30421
|
}
|
|
30334
|
-
mergeUpdateConfig(currentConfig, newDistributionConfig, previousDistributionConfig, logicalId) {
|
|
30335
|
-
return mergeUpdateConfig.call(this, currentConfig, newDistributionConfig, previousDistributionConfig, logicalId);
|
|
30422
|
+
mergeUpdateConfig(currentConfig, newDistributionConfig, previousDistributionConfig, logicalId, replayingState, restoredObserved) {
|
|
30423
|
+
return mergeUpdateConfig.call(this, currentConfig, newDistributionConfig, previousDistributionConfig, logicalId, replayingState, restoredObserved);
|
|
30336
30424
|
}
|
|
30337
30425
|
completeRequiredUpdateFields(config) {
|
|
30338
30426
|
return completeRequiredUpdateFields.call(this, config);
|
|
@@ -30470,6 +30558,86 @@ async function importImpl$27(input) {
|
|
|
30470
30558
|
}
|
|
30471
30559
|
}
|
|
30472
30560
|
|
|
30561
|
+
// src/provisioning/providers/agentcore-runtime/wait.ts
|
|
30562
|
+
const RUNTIME_WAIT_POLL_MS = 5e3;
|
|
30563
|
+
const RUNTIME_WAIT_MAX_POLLS = 360;
|
|
30564
|
+
const IN_FLIGHT = /* @__PURE__ */ new Set(["CREATING", "UPDATING"]);
|
|
30565
|
+
async function waitForRuntimeReady(deps, agentRuntimeId, logicalId, resourceType, operation, mask) {
|
|
30566
|
+
deps.debug(`Waiting for BedrockAgentCore Runtime ${agentRuntimeId} to be READY after ${operation}`);
|
|
30567
|
+
const failure = (text) => new ProvisioningError(`BedrockAgentCore Runtime ${logicalId} (${agentRuntimeId}) ${text}`, resourceType, logicalId, agentRuntimeId);
|
|
30568
|
+
const watch = startInterruptWatch(`BedrockAgentCore Runtime ${logicalId} ${operation} wait`);
|
|
30569
|
+
try {
|
|
30570
|
+
let status;
|
|
30571
|
+
for (let poll = 1; poll <= 360; poll++) {
|
|
30572
|
+
if (watch.isInterrupted()) throw watch.onInterrupted();
|
|
30573
|
+
let runtime;
|
|
30574
|
+
try {
|
|
30575
|
+
runtime = await deps.client.send(new GetAgentRuntimeCommand({ agentRuntimeId }));
|
|
30576
|
+
} catch (error) {
|
|
30577
|
+
const failed = describeAwsFailure(error);
|
|
30578
|
+
if (isRetryableTransientError(error, error instanceof Error ? error.message : "")) {
|
|
30579
|
+
deps.debug(mask(`Status read of runtime ${agentRuntimeId} failed transiently (${failed.detail}); polling on`));
|
|
30580
|
+
await deps.sleep(RUNTIME_WAIT_POLL_MS);
|
|
30581
|
+
continue;
|
|
30582
|
+
}
|
|
30583
|
+
throw markNonRetryable(new ProvisioningError(`BedrockAgentCore Runtime ${logicalId} (${agentRuntimeId}) could not be read while cdkd waited for READY after ${operation}: ${failed.summary}`, resourceType, logicalId, agentRuntimeId, error instanceof Error ? error : void 0));
|
|
30584
|
+
}
|
|
30585
|
+
status = runtime.status;
|
|
30586
|
+
if (status === "READY") return runtime;
|
|
30587
|
+
if (status === "CREATE_FAILED" || status === "UPDATE_FAILED") {
|
|
30588
|
+
deps.debug(mask(`Runtime ${agentRuntimeId} failureReason: ${runtime.failureReason ?? "(none)"}`));
|
|
30589
|
+
throw markNonRetryable(failure(`entered ${status} during ${operation}; its failureReason (GetAgentRuntime) says why`));
|
|
30590
|
+
}
|
|
30591
|
+
if (status === void 0 || !IN_FLIGHT.has(status)) throw markNonRetryable(failure(`reported status ${status ?? "(none)"} while cdkd waited for READY after ${operation}`));
|
|
30592
|
+
deps.debug(`Runtime ${agentRuntimeId} is ${status} (poll ${poll}/${360})`);
|
|
30593
|
+
await deps.sleep(RUNTIME_WAIT_POLL_MS);
|
|
30594
|
+
}
|
|
30595
|
+
throw markNonRetryable(failure(`was still ${status} ${360 * RUNTIME_WAIT_POLL_MS / 1e3}s after the ${operation}; re-run once it is READY, or pass --no-wait to return without waiting`));
|
|
30596
|
+
} finally {
|
|
30597
|
+
watch.dispose();
|
|
30598
|
+
}
|
|
30599
|
+
}
|
|
30600
|
+
async function waitForRuntimeSettledBeforeDelete(deps, agentRuntimeId, logicalId) {
|
|
30601
|
+
const watch = startInterruptWatch(`BedrockAgentCore Runtime ${logicalId} pre-delete wait`);
|
|
30602
|
+
try {
|
|
30603
|
+
for (let poll = 1; poll <= 360; poll++) {
|
|
30604
|
+
if (watch.isInterrupted()) throw watch.onInterrupted();
|
|
30605
|
+
let status;
|
|
30606
|
+
try {
|
|
30607
|
+
status = (await deps.client.send(new GetAgentRuntimeCommand({ agentRuntimeId }))).status;
|
|
30608
|
+
} catch (error) {
|
|
30609
|
+
deps.debug(`Pre-delete read of runtime ${agentRuntimeId} failed (${describeAwsFailure(error).summary}); deleting without waiting`);
|
|
30610
|
+
return;
|
|
30611
|
+
}
|
|
30612
|
+
if (status === void 0 || !IN_FLIGHT.has(status)) return;
|
|
30613
|
+
deps.debug(`Runtime ${agentRuntimeId} is ${status}; waiting before the delete (poll ${poll}/${360})`);
|
|
30614
|
+
await deps.sleep(RUNTIME_WAIT_POLL_MS);
|
|
30615
|
+
}
|
|
30616
|
+
deps.debug(`Runtime ${agentRuntimeId} is still in flight; deleting anyway`);
|
|
30617
|
+
} finally {
|
|
30618
|
+
watch.dispose();
|
|
30619
|
+
}
|
|
30620
|
+
}
|
|
30621
|
+
async function retireFailedRuntimeCreate(deps, agentRuntimeId, region, mask) {
|
|
30622
|
+
try {
|
|
30623
|
+
await deps.client.send(new DeleteAgentRuntimeCommand({ agentRuntimeId }));
|
|
30624
|
+
deps.debug(`Deleted runtime ${agentRuntimeId} left by the failed create`);
|
|
30625
|
+
return "";
|
|
30626
|
+
} catch (cleanupError) {
|
|
30627
|
+
if (cleanupError instanceof ResourceNotFoundException$6) return "";
|
|
30628
|
+
const failed = describeAwsFailure(cleanupError);
|
|
30629
|
+
deps.debug(mask(`Delete of runtime ${agentRuntimeId} after the failed create failed: ${failed.detail}`));
|
|
30630
|
+
return ` The runtime ${agentRuntimeId} it created could not be deleted (${failed.summary}); delete it with: ${deleteRuntimeCommand(agentRuntimeId, region, mask)}`;
|
|
30631
|
+
}
|
|
30632
|
+
}
|
|
30633
|
+
function keptIdempotentRuntimeNote(agentRuntimeId, region, mask) {
|
|
30634
|
+
return ` The template declares a ClientToken, so AWS may have returned an existing runtime for it: cdkd left runtime ${agentRuntimeId} in place. If this deploy created it, delete it with: ${deleteRuntimeCommand(agentRuntimeId, region, mask)}`;
|
|
30635
|
+
}
|
|
30636
|
+
function deleteRuntimeCommand(agentRuntimeId, region, mask) {
|
|
30637
|
+
const aws = pasteableAwsCommand(mask);
|
|
30638
|
+
return aws`aws bedrock-agentcore-control delete-agent-runtime --agent-runtime-id ${agentRuntimeId}${region ? aws` --region ${region}` : aws``}`.render();
|
|
30639
|
+
}
|
|
30640
|
+
|
|
30473
30641
|
// src/provisioning/providers/agentcore-runtime-provider.ts
|
|
30474
30642
|
const RUNTIME_TAGS_WHAT = "a map of tag keys to scalar values or a list of tags with a non-empty string Key and a scalar Value";
|
|
30475
30643
|
function desiredRuntimeTags(raw, resourceType, logicalId, physicalId) {
|
|
@@ -30503,6 +30671,20 @@ var AgentCoreRuntimeProvider = class {
|
|
|
30503
30671
|
client;
|
|
30504
30672
|
logger = getLogger().child("AgentCoreRuntimeProvider");
|
|
30505
30673
|
sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
30674
|
+
waitDeps() {
|
|
30675
|
+
return {
|
|
30676
|
+
client: this.client,
|
|
30677
|
+
sleep: (ms) => this.sleep(ms),
|
|
30678
|
+
debug: (message) => this.logger.debug(message)
|
|
30679
|
+
};
|
|
30680
|
+
}
|
|
30681
|
+
async settledStatus(agentRuntimeId, logicalId, resourceType, operation, responseStatus, mask) {
|
|
30682
|
+
if (process.env["CDKD_NO_WAIT"] === "true") {
|
|
30683
|
+
this.logger.debug(safeMsg`Skipping the READY wait for BedrockAgentCore Runtime ${logicalId} after ${operation} (CDKD_NO_WAIT=true)`);
|
|
30684
|
+
return responseStatus;
|
|
30685
|
+
}
|
|
30686
|
+
return (await waitForRuntimeReady(this.waitDeps(), agentRuntimeId, logicalId, resourceType, operation, mask)).status;
|
|
30687
|
+
}
|
|
30506
30688
|
async sendCreateTagCall(send) {
|
|
30507
30689
|
for (let attempt = 0;; attempt++) try {
|
|
30508
30690
|
return await send();
|
|
@@ -30575,16 +30757,36 @@ var AgentCoreRuntimeProvider = class {
|
|
|
30575
30757
|
createdRuntimeId = agentRuntimeId;
|
|
30576
30758
|
reportCreatedResource(logicalId, resourceType, agentRuntimeId);
|
|
30577
30759
|
this.logger.debug(`Created BedrockAgentCore Runtime: ${agentRuntimeId} (${agentRuntimeArn})`);
|
|
30760
|
+
const status = await this.settledStatus(agentRuntimeId, logicalId, resourceType, "create", response.status, maskerOrIdentity(context?.maskSecrets));
|
|
30578
30761
|
if (desiredTags.length > 0) await this.ensureCreateTags(agentRuntimeId, agentRuntimeArn, desiredTags);
|
|
30579
30762
|
return {
|
|
30580
30763
|
physicalId: agentRuntimeId,
|
|
30581
|
-
attributes: this.buildAttributes(
|
|
30764
|
+
attributes: this.buildAttributes({
|
|
30765
|
+
...response,
|
|
30766
|
+
status
|
|
30767
|
+
}, agentRuntimeName)
|
|
30582
30768
|
};
|
|
30583
30769
|
} catch (error) {
|
|
30584
30770
|
if (createdRuntimeId !== void 0) markAuxiliaryFailure(error, logicalId);
|
|
30771
|
+
const mask = maskerOrIdentity(context?.maskSecrets);
|
|
30772
|
+
let survivor;
|
|
30773
|
+
if (createdRuntimeId !== void 0 && !isInterruptedWaitError(error)) {
|
|
30774
|
+
const region = await this.client.config.region().catch(() => void 0);
|
|
30775
|
+
survivor = properties["ClientToken"] !== void 0 ? keptIdempotentRuntimeNote(createdRuntimeId, region, mask) : await retireFailedRuntimeCreate(this.waitDeps(), createdRuntimeId, region, mask);
|
|
30776
|
+
}
|
|
30585
30777
|
const cause = error instanceof Error ? error : void 0;
|
|
30586
|
-
|
|
30587
|
-
if (
|
|
30778
|
+
let thrown;
|
|
30779
|
+
if (error instanceof CdkdError) thrown = survivor ? new ProvisioningError(`${error.message}${survivor}`, resourceType, logicalId, void 0, error) : error;
|
|
30780
|
+
else thrown = this.wrapCaughtError(mask, error, (text) => new ProvisioningError(`Failed to create BedrockAgentCore Runtime ${logicalId}: ${text}${survivor ?? ""}`, resourceType, logicalId, void 0, cause));
|
|
30781
|
+
if (createdRuntimeId !== void 0) {
|
|
30782
|
+
if (survivor === "") {
|
|
30783
|
+
retractCreatedResource(logicalId, resourceType, createdRuntimeId);
|
|
30784
|
+
markNonRetryable(thrown);
|
|
30785
|
+
} else {
|
|
30786
|
+
if (survivor !== void 0) markNonRetryable(thrown);
|
|
30787
|
+
markCreatedBeforeFailure(thrown, logicalId, resourceType, createdRuntimeId);
|
|
30788
|
+
}
|
|
30789
|
+
}
|
|
30588
30790
|
throw thrown;
|
|
30589
30791
|
}
|
|
30590
30792
|
}
|
|
@@ -30616,11 +30818,15 @@ var AgentCoreRuntimeProvider = class {
|
|
|
30616
30818
|
const response = await this.client.send(new UpdateAgentRuntimeCommand(input));
|
|
30617
30819
|
const agentRuntimeId = response.agentRuntimeId;
|
|
30618
30820
|
await this.syncTags(logicalId, resourceType, physicalId, response.agentRuntimeArn, previousProperties["Tags"], properties["Tags"], mask);
|
|
30821
|
+
const status = await this.settledStatus(agentRuntimeId, logicalId, resourceType, "update", response.status, mask);
|
|
30619
30822
|
this.logger.debug(`Successfully updated BedrockAgentCore Runtime ${logicalId}`);
|
|
30620
30823
|
return {
|
|
30621
30824
|
physicalId: agentRuntimeId,
|
|
30622
30825
|
wasReplaced: false,
|
|
30623
|
-
attributes: this.buildAttributes(
|
|
30826
|
+
attributes: this.buildAttributes({
|
|
30827
|
+
...response,
|
|
30828
|
+
status
|
|
30829
|
+
}, properties["AgentRuntimeName"])
|
|
30624
30830
|
};
|
|
30625
30831
|
} catch (error) {
|
|
30626
30832
|
if (error instanceof CdkdError) throw error;
|
|
@@ -30663,6 +30869,7 @@ var AgentCoreRuntimeProvider = class {
|
|
|
30663
30869
|
}
|
|
30664
30870
|
async delete(logicalId, physicalId, resourceType, _properties, context) {
|
|
30665
30871
|
this.logger.debug(`Deleting BedrockAgentCore Runtime ${logicalId}: ${physicalId}`);
|
|
30872
|
+
await waitForRuntimeSettledBeforeDelete(this.waitDeps(), physicalId, logicalId);
|
|
30666
30873
|
try {
|
|
30667
30874
|
await this.client.send(new DeleteAgentRuntimeCommand({ agentRuntimeId: physicalId }));
|
|
30668
30875
|
this.logger.debug(`Successfully deleted BedrockAgentCore Runtime ${logicalId}`);
|
|
@@ -35861,6 +36068,7 @@ var RDSDBProxyEndpointProvider = class {
|
|
|
35861
36068
|
} catch (error) {
|
|
35862
36069
|
throw this.wrapCaughtError(error, "UPDATE", resourceType, logicalId, physicalId, mask);
|
|
35863
36070
|
}
|
|
36071
|
+
await this.waitForAvailableAfterModify(physicalId, resourceType, logicalId, mask);
|
|
35864
36072
|
}
|
|
35865
36073
|
this.invalidateAttributeCache(physicalId);
|
|
35866
36074
|
await this.applyTagDiff(physicalId, previousProperties["Tags"], properties["Tags"], resourceType, logicalId, mask);
|
|
@@ -35869,6 +36077,25 @@ var RDSDBProxyEndpointProvider = class {
|
|
|
35869
36077
|
wasReplaced: false
|
|
35870
36078
|
};
|
|
35871
36079
|
}
|
|
36080
|
+
async waitForAvailableAfterModify(physicalId, resourceType, logicalId, mask) {
|
|
36081
|
+
const client = this.getClient();
|
|
36082
|
+
const deadline = Date.now() + POLL_TIMEOUT_MS;
|
|
36083
|
+
let status;
|
|
36084
|
+
while (Date.now() < deadline) {
|
|
36085
|
+
try {
|
|
36086
|
+
const ep = (await client.send(new DescribeDBProxyEndpointsCommand({ DBProxyEndpointName: physicalId }))).DBProxyEndpoints?.[0];
|
|
36087
|
+
if (!ep) throw new ProvisioningError(mask(`DBProxyEndpoint ${physicalId} was not found while waiting for it after modify`), resourceType, logicalId, physicalId);
|
|
36088
|
+
status = ep.Status;
|
|
36089
|
+
} catch (error) {
|
|
36090
|
+
if (error instanceof ProvisioningError) throw error;
|
|
36091
|
+
throw this.wrapCaughtError(error, "UPDATE (poll)", resourceType, logicalId, physicalId, mask);
|
|
36092
|
+
}
|
|
36093
|
+
if (status === "available") return;
|
|
36094
|
+
if (status === "incompatible-network" || status === "insufficient-resource-limits") throw new ProvisioningError(mask(`DBProxyEndpoint ${physicalId} entered terminal failure state after modify: ${status}`), resourceType, logicalId, physicalId);
|
|
36095
|
+
await new Promise((resolve) => setTimeout(resolve, POLL_INTERVAL_MS));
|
|
36096
|
+
}
|
|
36097
|
+
throw new ProvisioningError(mask(`Timed out waiting for DBProxyEndpoint ${physicalId} to become available after modify (last status: ${status ?? "unknown"})`), resourceType, logicalId, physicalId);
|
|
36098
|
+
}
|
|
35872
36099
|
async delete(logicalId, physicalId, resourceType, _properties, context) {
|
|
35873
36100
|
const client = this.getClient();
|
|
35874
36101
|
const mask = maskerOrIdentity(context?.maskSecrets);
|
|
@@ -42590,7 +42817,7 @@ function update$17(logicalId, physicalId, resourceType, properties, previousProp
|
|
|
42590
42817
|
case "AWS::ServiceDiscovery::PrivateDnsNamespace": return this.updateNamespace(logicalId, physicalId, resourceType, properties, previousProperties, context?.maskSecrets);
|
|
42591
42818
|
case "AWS::ServiceDiscovery::HttpNamespace": return this.updateHttpNamespace(logicalId, physicalId, resourceType, properties, previousProperties, context?.maskSecrets);
|
|
42592
42819
|
case "AWS::ServiceDiscovery::PublicDnsNamespace": return this.updatePublicDnsNamespace(logicalId, physicalId, resourceType, properties, previousProperties, context?.maskSecrets);
|
|
42593
|
-
case "AWS::ServiceDiscovery::Service": return this.updateService(logicalId, physicalId, resourceType, properties, previousProperties, context?.maskSecrets, context?.changedProperties);
|
|
42820
|
+
case "AWS::ServiceDiscovery::Service": return this.updateService(logicalId, physicalId, resourceType, properties, previousProperties, context?.maskSecrets, context?.changedProperties, context?.unsettledProperties);
|
|
42594
42821
|
default: throw new ProvisioningError(`Unsupported resource type: ${resourceType}`, resourceType, logicalId, physicalId);
|
|
42595
42822
|
}
|
|
42596
42823
|
}
|
|
@@ -42933,7 +43160,7 @@ async function createService(logicalId, resourceType, properties, maskSecrets) {
|
|
|
42933
43160
|
throw thrown;
|
|
42934
43161
|
}
|
|
42935
43162
|
}
|
|
42936
|
-
async function updateService(logicalId, physicalId, resourceType, properties, previousProperties, maskSecrets, changedProperties) {
|
|
43163
|
+
async function updateService(logicalId, physicalId, resourceType, properties, previousProperties, maskSecrets, changedProperties, unsettledProperties) {
|
|
42937
43164
|
this.logger.debug(`Updating service discovery service ${logicalId}: ${physicalId}`);
|
|
42938
43165
|
refuseMalformedDesiredTags(properties["Tags"], resourceType, logicalId, physicalId);
|
|
42939
43166
|
const client = this.getClient();
|
|
@@ -42961,13 +43188,24 @@ async function updateService(logicalId, physicalId, resourceType, properties, pr
|
|
|
42961
43188
|
};
|
|
42962
43189
|
}
|
|
42963
43190
|
let knownArn;
|
|
43191
|
+
let serviceChangeRefused = false;
|
|
43192
|
+
let liveAfterRefusal;
|
|
42964
43193
|
try {
|
|
42965
43194
|
if (hasServiceChange) {
|
|
42966
43195
|
if (servicePlan.keepRemovedFromLive) knownArn = await this.keepUndeclaredServiceFields(physicalId, serviceChange);
|
|
42967
|
-
|
|
42968
|
-
|
|
42969
|
-
|
|
42970
|
-
|
|
43196
|
+
let response = {};
|
|
43197
|
+
try {
|
|
43198
|
+
response = await client.send(new UpdateServiceCommand$1({
|
|
43199
|
+
Id: physicalId,
|
|
43200
|
+
Service: serviceChange
|
|
43201
|
+
}));
|
|
43202
|
+
} catch (error) {
|
|
43203
|
+
if (!isApiOnlyNamespaceRefusal(error)) throw error;
|
|
43204
|
+
serviceChangeRefused = true;
|
|
43205
|
+
liveAfterRefusal = await readServiceChangeFields(client, physicalId);
|
|
43206
|
+
this.logger.warn(safeMsg`Cloud Map cannot update service ${logicalId}: it is in an HTTP (API-only) namespace, ` + "where AWS refuses UpdateService. Its Description, DnsConfig and HealthCheckConfig changes were not applied, as in CloudFormation, and the state record keeps only values AWS is seen to hold; replace the service to change them.");
|
|
43207
|
+
}
|
|
43208
|
+
const operationId = response.OperationId;
|
|
42971
43209
|
if (operationId) await this.pollOperation(operationId, logicalId, resourceType, maskSecrets);
|
|
42972
43210
|
}
|
|
42973
43211
|
if (hasAttrUpsert || hasAttrRemove) {
|
|
@@ -43016,6 +43254,11 @@ async function updateService(logicalId, physicalId, resourceType, properties, pr
|
|
|
43016
43254
|
}
|
|
43017
43255
|
this.logger.debug(`Successfully updated service discovery service ${logicalId}`);
|
|
43018
43256
|
await this.warnUnappliedDnsConfigMembers(logicalId, physicalId, properties, unapplied);
|
|
43257
|
+
if (serviceChangeRefused) return {
|
|
43258
|
+
physicalId,
|
|
43259
|
+
wasReplaced: false,
|
|
43260
|
+
effectiveProperties: withServiceChangeKeysKept(properties, previousProperties, unsettledProperties, liveAfterRefusal)
|
|
43261
|
+
};
|
|
43019
43262
|
return {
|
|
43020
43263
|
physicalId,
|
|
43021
43264
|
wasReplaced: false
|
|
@@ -43092,6 +43335,31 @@ async function deleteService(logicalId, physicalId, resourceType, context) {
|
|
|
43092
43335
|
throw markNotGoneOnNotFoundClass(error, this.wrapCaughtError(maskerOrIdentity(context?.maskSecrets), error, (text) => new ProvisioningError(`Failed to delete service discovery service ${logicalId}: ${text}`, resourceType, logicalId, physicalId, cause)));
|
|
43093
43336
|
}
|
|
43094
43337
|
}
|
|
43338
|
+
function isApiOnlyNamespaceRefusal(error) {
|
|
43339
|
+
return error instanceof Error && error.name === "InvalidInput" && /API-only namespace/i.test(error.message);
|
|
43340
|
+
}
|
|
43341
|
+
const SERVICE_CHANGE_KEYS = [
|
|
43342
|
+
"Description",
|
|
43343
|
+
"DnsConfig",
|
|
43344
|
+
"HealthCheckConfig"
|
|
43345
|
+
];
|
|
43346
|
+
function withServiceChangeKeysKept(properties, previousProperties, unsettledProperties, live) {
|
|
43347
|
+
const kept = { ...properties };
|
|
43348
|
+
for (const key of SERVICE_CHANGE_KEYS) if (Object.hasOwn(previousProperties, key) && !unsettledProperties?.has(key) && live !== void 0 && isDeepStrictEqual(live[key], previousProperties[key])) kept[key] = structuredClone(previousProperties[key]);
|
|
43349
|
+
else delete kept[key];
|
|
43350
|
+
return kept;
|
|
43351
|
+
}
|
|
43352
|
+
async function readServiceChangeFields(client, serviceId) {
|
|
43353
|
+
try {
|
|
43354
|
+
const service = (await client.send(new GetServiceCommand({ Id: serviceId }))).Service;
|
|
43355
|
+
if (!service) return void 0;
|
|
43356
|
+
const live = {};
|
|
43357
|
+
for (const key of SERVICE_CHANGE_KEYS) if (service[key] !== void 0) live[key] = service[key];
|
|
43358
|
+
return live;
|
|
43359
|
+
} catch {
|
|
43360
|
+
return;
|
|
43361
|
+
}
|
|
43362
|
+
}
|
|
43095
43363
|
|
|
43096
43364
|
// src/provisioning/providers/servicediscovery/read-state.ts
|
|
43097
43365
|
async function getAttribute$6(physicalId, resourceType, attributeName) {
|
|
@@ -43411,8 +43679,8 @@ var ServiceDiscoveryProvider = class {
|
|
|
43411
43679
|
createService(logicalId, resourceType, properties, maskSecrets) {
|
|
43412
43680
|
return createService.call(this, logicalId, resourceType, properties, maskSecrets);
|
|
43413
43681
|
}
|
|
43414
|
-
updateService(logicalId, physicalId, resourceType, properties, previousProperties, maskSecrets, changedProperties) {
|
|
43415
|
-
return updateService.call(this, logicalId, physicalId, resourceType, properties, previousProperties, maskSecrets, changedProperties);
|
|
43682
|
+
updateService(logicalId, physicalId, resourceType, properties, previousProperties, maskSecrets, changedProperties, unsettledProperties) {
|
|
43683
|
+
return updateService.call(this, logicalId, physicalId, resourceType, properties, previousProperties, maskSecrets, changedProperties, unsettledProperties);
|
|
43416
43684
|
}
|
|
43417
43685
|
planServiceChange(properties, previousProperties, changedProperties) {
|
|
43418
43686
|
return planServiceChange.call(this, properties, previousProperties, changedProperties);
|
|
@@ -63410,4 +63678,4 @@ var ACMCertificateProvider = class {
|
|
|
63410
63678
|
};
|
|
63411
63679
|
|
|
63412
63680
|
export { ACMCertificateProvider, ASGProvider, AgentCoreBrowserProvider, AgentCoreCodeInterpreterProvider, AgentCoreEvaluatorProvider, AgentCoreRuntimeProvider, ApiGatewayProvider, ApiGatewayV2Provider, AppConfigEnvironmentProvider, AppSyncProvider, BudgetsBudgetProvider, CloudFrontDistributionProvider, CloudFrontOACProvider, CloudFrontOAIProvider, CloudTrailProvider, CloudWatchAlarmProvider, CloudWatchAnomalyDetectorProvider, CodeBuildProvider, CodeCommitRepositoryProvider, CognitoUserPoolProvider, DLMLifecyclePolicyProvider, DocDBProvider, DocDBSubnetGroupProvider, DynamoDBGlobalTableProvider, DynamoDBTableProvider, EC2Provider, ECRProvider, ECSProvider, EFSProvider, ELBv2Provider, EMRClusterProvider, EMRInstanceFleetConfigProvider, EMRInstanceGroupConfigProvider, ElastiCacheProvider, EventBridgeBusProvider, EventBridgeRuleProvider, FSxFileSystemProvider, FirehoseProvider, GlueConnectionProvider, GlueCrawlerProvider, GlueJobProvider, GlueProvider, GlueSecurityConfigurationProvider, GlueTriggerProvider, GlueWorkflowProvider, IAMAccessKeyProvider, IAMInstanceProfileProvider, IAMManagedPolicyProvider, IAMPolicyProvider, IAMRoleProvider, IAMUserGroupProvider, KMSProvider, KinesisStreamConsumerProvider, KinesisStreamProvider, LambdaEventInvokeConfigProvider, LambdaEventSourceMappingProvider, LambdaFunctionProvider, LambdaLayerVersionProvider, LambdaMicrovmImageProvider, LambdaNetworkConnectorProvider, LambdaPermissionProvider, LambdaUrlProvider, LambdaWebFunctionEndpointProvider, LambdaWebFunctionRevisionProvider, LogsLogGroupProvider, NeptuneProvider, NestedStackProvider, PipesPipeProvider, RDSDBProxyEndpointProvider, RDSDBProxyProvider, RDSDBProxyTargetGroupProvider, RDSProvider, Route53Provider, S3BucketPolicyProvider, S3BucketProvider, S3DirectoryBucketProvider, S3TablesProvider, S3VectorsProvider, SNSSubscriptionProvider, SNSTopicPolicyProvider, SNSTopicProvider, SQSQueuePolicyProvider, SQSQueueProvider, SSMParameterProvider, SchedulerScheduleProvider, SecretsManagerSecretProvider, ServiceDiscoveryProvider, StepFunctionsProvider, WAFv2WebACLProvider, WaitConditionHandleProvider };
|
|
63413
|
-
//# sourceMappingURL=provider-classes-
|
|
63681
|
+
//# sourceMappingURL=provider-classes-C8Pm3Ay1.js.map
|