@cdkd/cli 0.350.2 → 0.350.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ambient-client-defaults-nYbcw8Dc.js → ambient-client-defaults-CqrM5nDS.js} +6 -4
- package/dist/{ambient-client-defaults-nYbcw8Dc.js.map → ambient-client-defaults-CqrM5nDS.js.map} +1 -1
- package/dist/{asg-provider-C2lKCOu5.js → asg-provider-hZ4nyheM.js} +6 -6
- package/dist/{asg-provider-C2lKCOu5.js.map → asg-provider-hZ4nyheM.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-BcxDxd28.js → custom-resource-runtime-CcClWTa-.js} +6 -6
- package/dist/{custom-resource-runtime-BcxDxd28.js.map → custom-resource-runtime-CcClWTa-.js.map} +1 -1
- package/dist/{db-instance-modify-retry-EpoVdg4u.js → db-instance-modify-retry-CsIlFgIJ.js} +4 -4
- package/dist/{db-instance-modify-retry-EpoVdg4u.js.map → db-instance-modify-retry-CsIlFgIJ.js.map} +1 -1
- package/dist/{delete-started-Co5Gt1jH.js → delete-started-C0g7PYI-.js} +24 -2
- package/dist/delete-started-C0g7PYI-.js.map +1 -0
- package/dist/{deploy-engine-DWLm19jg.js → deploy-engine-Sw2eta-t.js} +649 -163
- package/dist/deploy-engine-Sw2eta-t.js.map +1 -0
- package/dist/{diff-calculator-DNuEc3vO.js → diff-calculator-BvN5rnLe.js} +12 -12
- package/dist/{diff-calculator-DNuEc3vO.js.map → diff-calculator-BvN5rnLe.js.map} +1 -1
- package/dist/{ec2-termination-protection-BrCiVso0.js → ec2-termination-protection-BIIHrzUa.js} +6 -6
- package/dist/{ec2-termination-protection-BrCiVso0.js.map → ec2-termination-protection-BIIHrzUa.js.map} +1 -1
- package/dist/{ecr-uri-JpCbWN50.js → ecr-uri-CQ_BCOjX.js} +2 -2
- package/dist/{ecr-uri-JpCbWN50.js.map → ecr-uri-CQ_BCOjX.js.map} +1 -1
- package/dist/{expected-bucket-owner-IaiC3JwO.js → expected-bucket-owner-DR9qK772.js} +2 -2
- package/dist/{expected-bucket-owner-IaiC3JwO.js.map → expected-bucket-owner-DR9qK772.js.map} +1 -1
- package/dist/{iam-role-provider-fNKzA1U5.js → iam-role-provider-i52A7e_4.js} +7 -7
- package/dist/{iam-role-provider-fNKzA1U5.js.map → iam-role-provider-i52A7e_4.js.map} +1 -1
- package/dist/{image-plan-C87HDsmb.js → image-plan-DOnhBOIa.js} +19 -11
- package/dist/image-plan-DOnhBOIa.js.map +1 -0
- package/dist/index.js +5 -5
- package/dist/{logger-CD1O0WGI.js → logger-Ce9kvuBB.js} +3 -5
- package/dist/logger-Ce9kvuBB.js.map +1 -0
- package/dist/{neptune-provider-BYb2XZFH.js → neptune-provider-Bir1AdqM.js} +7 -7
- package/dist/{neptune-provider-BYb2XZFH.js.map → neptune-provider-Bir1AdqM.js.map} +1 -1
- package/dist/{program-DJWAG98-.js → program-DAAu8qUr.js} +281 -52
- package/dist/program-DAAu8qUr.js.map +1 -0
- package/dist/{provider-classes-B8WD5ucF.js → provider-classes-CM8Txuvb.js} +61 -26
- package/dist/{provider-classes-B8WD5ucF.js.map → provider-classes-CM8Txuvb.js.map} +1 -1
- package/dist/{rds-provider-B5Ox8FBm.js → rds-provider-DmVAU_Mv.js} +13 -25
- package/dist/{rds-provider-B5Ox8FBm.js.map → rds-provider-DmVAU_Mv.js.map} +1 -1
- package/dist/{read-replica-6SDKYiLa.js → read-replica-Bmq3NTlC.js} +3 -3
- package/dist/{read-replica-6SDKYiLa.js.map → read-replica-Bmq3NTlC.js.map} +1 -1
- package/dist/{replacement-rules-Dpkm5pWN.js → replacement-rules-lOM1aGPr.js} +3 -3
- package/dist/{replacement-rules-Dpkm5pWN.js.map → replacement-rules-lOM1aGPr.js.map} +1 -1
- package/dist/{resource-deadline-P1IssiEh.js → resource-deadline-1VcUPyH4.js} +19 -19
- package/dist/{resource-deadline-P1IssiEh.js.map → resource-deadline-1VcUPyH4.js.map} +1 -1
- package/dist/{run-cli-CXI5umz9.js → run-cli-BlVizMfM.js} +2 -2
- package/dist/{run-cli-CXI5umz9.js.map → run-cli-BlVizMfM.js.map} +1 -1
- package/dist/{update-removal-C8I2P2bf.js → update-removal-BOue-bJm.js} +4 -4
- package/dist/{update-removal-C8I2P2bf.js.map → update-removal-BOue-bJm.js.map} +1 -1
- package/dist/{version-Cu2oblwQ.js → version-DINEmsQH.js} +2 -2
- package/dist/{version-Cu2oblwQ.js.map → version-DINEmsQH.js.map} +1 -1
- package/package.json +2 -2
- package/dist/delete-started-Co5Gt1jH.js.map +0 -1
- package/dist/deploy-engine-DWLm19jg.js.map +0 -1
- package/dist/image-plan-C87HDsmb.js.map +0 -1
- package/dist/logger-CD1O0WGI.js.map +0 -1
- package/dist/program-DJWAG98-.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-i52A7e_4.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-Ce9kvuBB.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 PROTECTION_FLIP_RETRY_WAIT_MS, A as setBounded, B as remedyLogicalId, C as AmbiguousCreateLatch, Ct as startInterruptWatch, D as isInsideWindow, Dt as compositeIdSkipResult, E as createAttemptKey, Et as compositeIdSeparatorRefusal, F as isPlainImportValue, Ft as isSecretDerivedValue, G as markNotGone, Gt as isAuxiliaryFailure, H as RESOURCE_NOT_FOUND, I as isQuotableImportValue, It as maskDeep, J as logGroupProtectionSite, Jt as markCreatedBeforeFailure, L as normalizeAwsTagsToCfn, Lt as maskerOrIdentity, M as VALUE_NOT_SHOWN, Mt as stateOrphanRecordRemedy, N as importRemedyCommand, Nt as createMaskedLogSinks, O as replayFollowedAmbiguousAttempt, Ot as logicalIdShown, P as isPlainImportJson, Pt as createMaskedRetryLogger, Q as userPoolProtectionSite, R as quotedRemedyLogicalId, Rt as withDerivedNameMasks, S as AMBIGUOUS_LATCH_TTL_MS, St as isInterruptedWaitError, T as ambiguousAttemptLead, Tt as compositeIdFormatMessage, U as assertRegionMatch, V as resolveExplicitPhysicalId, Vt as clearCreatedBeforeFailure, X as rdsFamilyProtectionSite, Y as observeThenDisableProtection, Yt as markSupersedesEarlierCreate, _ as onlySecretDerived, _t as protectedReplacementAdvice, a as withRemovalDefaults, at as ProtectionFlipRegistry, b as recordedPrincipalsRepair, cn as injectiveKey, et as deleteAfterProtectionFlipWithFinalSnapshot, f as retractCreatedResource, g as holdsSecretDerivedEntry, gt as pasteableAwsCommand, h as SECRET_DERIVED_READ_LIVE, ht as isAwsCliLiteral, i as removedTemplateKeys, j as withoutServerErrorRetries, jt as segmentAfterAnchor, k as replayedSendWindow, kt as packCompositeId, ln as injectiveKeyPrefix, lt as ElapsedBudget, mn as withPasteableAwsProfile, mt as WITHHELD_AWS_COMMAND, nt as isProceedDbStatus, ot as isTerminalDeleteFailure, pt as UNNAMEABLE_ID_CLAUSE, q as deleteWithProtectionCompensation, qt as markAuxiliaryFailure, rt as isTerminalDbWaitStatus, st as protectionFlipKey, t as clearOnUpdateRemoval, u as reportCreatedResource, ut as ElapsedBudgetRegistry, v as readPrincipalLists, vt as renderDisableCommand, w as RecentIdSet, wt as canonicalizeRoute53QueryName, z as refusalTypeShown } from "./update-removal-
|
|
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 {
|
|
8
|
-
import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, o as canonicalizeIpProtocolValue, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-
|
|
9
|
-
import { $ as
|
|
10
|
-
import { _ as
|
|
11
|
-
import { O as timePhase, a as reDisableInstanceApiTermination, c as unchangedBehindSecretReference, i as observeThenDisableInstanceApiTermination, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, r as isTerminationProtectionPropagationError, s as onlySecretReferencesDiffer, x as withRetry } from "./ec2-termination-protection-
|
|
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-CqrM5nDS.js";
|
|
5
|
+
import { $ as PROTECTION_FLIP_RETRY_WAIT_MS, A as setBounded, B as remedyLogicalId, C as AmbiguousCreateLatch, Ct as startInterruptWatch, D as isInsideWindow, Dt as compositeIdSkipResult, E as createAttemptKey, Et as compositeIdSeparatorRefusal, F as isPlainImportValue, Ft as isSecretDerivedValue, G as markNotGone, Gt as isAuxiliaryFailure, H as RESOURCE_NOT_FOUND, I as isQuotableImportValue, It as maskDeep, J as logGroupProtectionSite, Jt as markCreatedBeforeFailure, L as normalizeAwsTagsToCfn, Lt as maskerOrIdentity, M as VALUE_NOT_SHOWN, Mt as stateOrphanRecordRemedy, N as importRemedyCommand, Nt as createMaskedLogSinks, O as replayFollowedAmbiguousAttempt, Ot as logicalIdShown, P as isPlainImportJson, Pt as createMaskedRetryLogger, Q as userPoolProtectionSite, R as quotedRemedyLogicalId, Rt as withDerivedNameMasks, S as AMBIGUOUS_LATCH_TTL_MS, St as isInterruptedWaitError, T as ambiguousAttemptLead, Tt as compositeIdFormatMessage, U as assertRegionMatch, V as resolveExplicitPhysicalId, Vt as clearCreatedBeforeFailure, X as rdsFamilyProtectionSite, Y as observeThenDisableProtection, Yt as markSupersedesEarlierCreate, _ as onlySecretDerived, _t as protectedReplacementAdvice, a as withRemovalDefaults, at as ProtectionFlipRegistry, b as recordedPrincipalsRepair, cn as injectiveKey, et as deleteAfterProtectionFlipWithFinalSnapshot, f as retractCreatedResource, g as holdsSecretDerivedEntry, gt as pasteableAwsCommand, h as SECRET_DERIVED_READ_LIVE, ht as isAwsCliLiteral, i as removedTemplateKeys, j as withoutServerErrorRetries, jt as segmentAfterAnchor, k as replayedSendWindow, kt as packCompositeId, ln as injectiveKeyPrefix, lt as ElapsedBudget, mn as withPasteableAwsProfile, mt as WITHHELD_AWS_COMMAND, nt as isProceedDbStatus, ot as isTerminalDeleteFailure, pt as UNNAMEABLE_ID_CLAUSE, q as deleteWithProtectionCompensation, qt as markAuxiliaryFailure, rt as isTerminalDbWaitStatus, st as protectionFlipKey, t as clearOnUpdateRemoval, u as reportCreatedResource, ut as ElapsedBudgetRegistry, v as readPrincipalLists, vt as renderDisableCommand, w as RecentIdSet, wt as canonicalizeRoute53QueryName, z as refusalTypeShown } from "./update-removal-BOue-bJm.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-DINEmsQH.js";
|
|
7
|
+
import { a as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-C0g7PYI-.js";
|
|
8
|
+
import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, o as canonicalizeIpProtocolValue, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-DAAu8qUr.js";
|
|
9
|
+
import { $ as readTtlSpec, Ao as outputReferenceProvenanceOf, Ar as redactedDeleteAddressSkip, At as ECR_AUTO_DELETE_IMAGES_TAG, B as STREAM_TAGS_KEY, Cc as accountArgs, Ct as DELETE_INDEX_WAIT_PROCEED_NOTE, Dr as REDACTED_DELETE_ADDRESS_SKIP_REASON, Dt as maskedLogger, Ea as waitForLambdaFunctionActive, Eo as parseWebACLArn, Et as deleteTableWithIndexBusyRetry, Fa as deleteSkipReason, Fc as withoutSdkUnwiredProperties, G as streamDeclaresPolicy, Ga as maskedSecretSegment, Gt as getPriorAttempts, H as declaredStreamTagsMember, Ia as withIndeterminateGuard, Il as decodeListingKey, Io as getAccountInfo, J as streamPolicyMatchesDeclared, Jt as chunks, K as streamDeclaresTags, Kl as describeFileReadFailure, Kt as markRefusedBeforeApplying, Mc as findSdkUnwiredProperties, Mt as hasCdkAutoDeleteTag, Nt as isTruthyCfnBoolean, Oa as waitForGoneAfterDelete, Or as isRedactedRecordedValue, Ot as relayedIndexBusyDelete, Q as planTimeToLive, R as DynamoDBGlobalTableProvider, S as renderNestedTemplateTreeDefect, St as resolveDynamoDbDeleteBudgetMs, Tt as TABLE_INDEX_NOUN, U as planStreamMemberOps, Ua as isSettledInstanceState, Ui as secretNamedAttributeNamesOf, V as declaredStreamPolicyMember, Vr as getCurrentProducerRegions, W as reverseMapStreamPolicy, Wa as APPSYNC_APIKEY_ARN_RESOURCE_PATH, X as isTtlAlreadyDisabled, Xl as resolveAssemblyPath, Xt as lookupEachName, Y as streamTagsMatchDeclared, Yl as renderAssemblyPathEscape, Yt as isAccessDeniedError, Z as isTtlRateLimited, Zt as withApiLimit, _t as DYNAMODB_DELETE_POLL_COST_MS, as as toCfnInteger, at as vectorIndexesShapeDetail, b as isAbsoluteAssetPath, bt as deleteBudgetKey, cc as refuseMalformedNestedChildOutputs, cr as earliestDefined, ct as indexDeclaresContributorInsights, di as awaitInFlightSibling, dl as rewriteTemplateAssetReferences, dn as getCurrentNestedStackContext, dt as readContributorInsightsSpec, et as sendTtlWaitingOutRateLimit, fn as withNestedStackContext, fo as s3BucketArn, fr as acquireIdempotencyToken, ft as reverseMapIndexContributorInsights, ga as getCurrentResourceSecrets, go as s3BucketWebsiteUrl, gt as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, hi as replacedDeleteFailureVerdict, ho as s3BucketRegionalDomainName, ht as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, in as getNestedRevertRun, is as isWarmThroughputDecrease, it as vectorIndexesSettled, jt as S3_AUTO_DELETE_OBJECTS_TAG, ka as resolvedResourceTimeoutMs, kr as redactedDeleteAddressFields, kt as waitForIndexesSettled, lt as planContributorInsightsOp, mo as s3BucketDualStackDomainName, mt as stripIndexContributorInsights, nl as stringifyValue, ns as WARM_THROUGHPUT_MEMBERS, nt as readbackVectorIndexes, os as toFiniteNumber, ot as CONTRIBUTOR_INSIGHTS_KEY, pi as getStackRecords, po as s3BucketDomainName, ps as passedParameterClassesOf, pt as reverseMapTableContributorInsights, q as streamMemberRefusals, ql as displayAssemblyPath, rs as coerceWarmThroughput$1, rt as vectorIndexesForCreate, sn as revertNestedChildFromJournal, st as contributorInsightsRefusals, t as DeployEngine, tt as planVectorIndexUpdates, ur as reserveStackCreateToken, ut as planIndexContributorInsightsOps, vc as refuseMalformedResourcesForDestroy, vt as beginDeleteWait, wc as withheldAccountClause, wt as INDEX_SETTLE_POLL_INTERVAL_MS, x as listNestedTemplateRows, xt as resolveDynamoDbDeleteBudgetClock, y as findNestedTemplateTreeDefect, yt as compensateRemovedDeletionProtection, z as STREAM_POLICY_KEY } from "./deploy-engine-Sw2eta-t.js";
|
|
10
|
+
import { _ as definedAttributes, c as refuseRestoreFromItself, d as DBPROXY_TAG_OPTIONS, f as planTagDiff, g as tagPlanWarning, h as tagMapAsList, m as refuseMalformedDesiredTags, n as enclosingDeadlineRemainingMs, p as readTagList, t as enclosingDeadlineExpired, u as DBPROXY_TAGS_WHAT, v as stringifyIfAssigned, y as isUsableAttemptedName } from "./resource-deadline-1VcUPyH4.js";
|
|
11
|
+
import { O as timePhase, a as reDisableInstanceApiTermination, c as unchangedBehindSecretReference, i as observeThenDisableInstanceApiTermination, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, r as isTerminationProtectionPropagationError, s as onlySecretReferencesDiffer, x as withRetry } from "./ec2-termination-protection-BIIHrzUa.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 { $ as snapshotPassProvenance, At as withoutPhysicalNameCopies, C as passedNoEchoParametersOf, I as markSameGenerationBag, Nt as dynamicReferenceTokens, W as redactForState, Z as recordReferenceProvenanceEntry, a as emrClusterInstancesReplaced, an as physicalNameCopiesOf, fn as carriesSecretMask, i as ecsServiceLaunchTypeSetOrChanged, in as recoverMaskedOutput, it as hasMaskableValues, l as sameLambdaFunctionAddress, n as blockDeviceMappingsDifferOnlyInDeleteOnTermination, o as canonicalLambdaFunctionName, on as recordAttributeIdCopy, s as lambdaFunctionNameForMask } from "./replacement-rules-
|
|
15
|
-
import { RDSProvider } from "./rds-provider-
|
|
16
|
-
import { n as modifyDbInstanceWhenAvailable, t as isModifyNotAvailableRefusal } from "./db-instance-modify-retry-
|
|
17
|
-
import { NeptuneProvider } from "./neptune-provider-
|
|
18
|
-
import { ASGProvider } from "./asg-provider-
|
|
14
|
+
import { $ as snapshotPassProvenance, At as withoutPhysicalNameCopies, C as passedNoEchoParametersOf, I as markSameGenerationBag, Nt as dynamicReferenceTokens, W as redactForState, Z as recordReferenceProvenanceEntry, a as emrClusterInstancesReplaced, an as physicalNameCopiesOf, fn as carriesSecretMask, i as ecsServiceLaunchTypeSetOrChanged, in as recoverMaskedOutput, it as hasMaskableValues, l as sameLambdaFunctionAddress, n as blockDeviceMappingsDifferOnlyInDeleteOnTermination, o as canonicalLambdaFunctionName, on as recordAttributeIdCopy, s as lambdaFunctionNameForMask } from "./replacement-rules-lOM1aGPr.js";
|
|
15
|
+
import { RDSProvider } from "./rds-provider-DmVAU_Mv.js";
|
|
16
|
+
import { n as modifyDbInstanceWhenAvailable, t as isModifyNotAvailableRefusal } from "./db-instance-modify-retry-CsIlFgIJ.js";
|
|
17
|
+
import { NeptuneProvider } from "./neptune-provider-Bir1AdqM.js";
|
|
18
|
+
import { ASGProvider } from "./asg-provider-hZ4nyheM.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";
|
|
@@ -44130,7 +44130,10 @@ async function createGraphQLApi(logicalId, resourceType, properties, context) {
|
|
|
44130
44130
|
attributes: definedAttributes({
|
|
44131
44131
|
ApiId: apiId,
|
|
44132
44132
|
Arn: arn,
|
|
44133
|
-
GraphQLUrl: graphQLUrl
|
|
44133
|
+
GraphQLUrl: graphQLUrl,
|
|
44134
|
+
GraphQLDns: response.graphqlApi?.dns?.["GRAPHQL"],
|
|
44135
|
+
RealtimeDns: response.graphqlApi?.dns?.["REALTIME"],
|
|
44136
|
+
RealtimeUrl: response.graphqlApi?.uris?.["REALTIME"]
|
|
44134
44137
|
}),
|
|
44135
44138
|
...envRecord && { effectiveProperties: this.withEnvironmentVariablesRecord(properties, envRecord) }
|
|
44136
44139
|
};
|
|
@@ -44801,7 +44804,10 @@ async function importImpl$15(input) {
|
|
|
44801
44804
|
attributes: definedAttributes({
|
|
44802
44805
|
ApiId: explicit,
|
|
44803
44806
|
Arn: response.graphqlApi?.arn,
|
|
44804
|
-
GraphQLUrl: response.graphqlApi?.uris?.["GRAPHQL"]
|
|
44807
|
+
GraphQLUrl: response.graphqlApi?.uris?.["GRAPHQL"],
|
|
44808
|
+
GraphQLDns: response.graphqlApi?.dns?.["GRAPHQL"],
|
|
44809
|
+
RealtimeDns: response.graphqlApi?.dns?.["REALTIME"],
|
|
44810
|
+
RealtimeUrl: response.graphqlApi?.uris?.["REALTIME"]
|
|
44805
44811
|
})
|
|
44806
44812
|
};
|
|
44807
44813
|
} catch (err) {
|
|
@@ -57251,6 +57257,12 @@ function leftInPlaceWarning(logicalId, names, caller) {
|
|
|
57251
57257
|
const subject = one ? "property" : "properties";
|
|
57252
57258
|
return caller === "rollback" ? safeMsg`${logicalId} (AWS::CloudTrail::Trail): ${subject} ${names.join(", ")} ${one ? "is" : "are"} absent from the state being restored; UpdateTrail keeps a field it is not sent, so the rollback leaves the value the failed deploy applied in place.` : safeMsg`${logicalId} (AWS::CloudTrail::Trail): ${subject} ${names.join(", ")} ${one ? "was" : "were"} removed from the template; cdkd leaves the current AWS value in place (whether CloudFormation resets it is unmeasured). Declare the intended value explicitly to change it.`;
|
|
57253
57259
|
}
|
|
57260
|
+
function trailAttributes(trailArn, snsTopicArn) {
|
|
57261
|
+
return definedAttributes({
|
|
57262
|
+
Arn: trailArn || void 0,
|
|
57263
|
+
SnsTopicArn: snsTopicArn || void 0
|
|
57264
|
+
});
|
|
57265
|
+
}
|
|
57254
57266
|
|
|
57255
57267
|
// src/provisioning/providers/cloudtrail/core.ts
|
|
57256
57268
|
function wrapCaughtError$1(mask, error, build) {
|
|
@@ -57338,7 +57350,7 @@ async function create$6(logicalId, resourceType, properties, context) {
|
|
|
57338
57350
|
this.logger.debug(`Successfully created CloudTrail Trail ${logicalId}: ${trailArn}`);
|
|
57339
57351
|
return {
|
|
57340
57352
|
physicalId: trailArn,
|
|
57341
|
-
attributes:
|
|
57353
|
+
attributes: trailAttributes(trailArn, result.SnsTopicARN),
|
|
57342
57354
|
...skippedOnReplay.length > 0 && { effectiveProperties: retainPreviousLists(properties, {}, skippedOnReplay) }
|
|
57343
57355
|
};
|
|
57344
57356
|
} catch (error) {
|
|
@@ -57372,8 +57384,9 @@ async function update$6(logicalId, physicalId, resourceType, properties, previou
|
|
|
57372
57384
|
const isOrganizationTrail = trailBoolean(properties["IsOrganizationTrail"]);
|
|
57373
57385
|
const recursiveLogging = trailBoolean(properties["RecursiveLogging"]);
|
|
57374
57386
|
const appliedBeforeFailure = [];
|
|
57387
|
+
let attributes;
|
|
57375
57388
|
try {
|
|
57376
|
-
await this.getClient().send(new UpdateTrailCommand({
|
|
57389
|
+
const updated = await this.getClient().send(new UpdateTrailCommand({
|
|
57377
57390
|
Name: physicalId,
|
|
57378
57391
|
S3BucketName: s3BucketName,
|
|
57379
57392
|
S3KeyPrefix: s3KeyPrefix,
|
|
@@ -57387,6 +57400,7 @@ async function update$6(logicalId, physicalId, resourceType, properties, previou
|
|
|
57387
57400
|
IsOrganizationTrail: isOrganizationTrail,
|
|
57388
57401
|
RecursiveLogging: recursiveLogging
|
|
57389
57402
|
}));
|
|
57403
|
+
attributes = updated?.TrailARN ? trailAttributes(updated.TrailARN, updated.SnsTopicARN) : void 0;
|
|
57390
57404
|
const keptNames = removalsLeftInPlace(properties, previousProperties, context, globalEventsResetSkipped);
|
|
57391
57405
|
if (keptNames.length > 0) this.logger.warn(leftInPlaceWarning(logicalId, keptNames, context?.replayingState ? "rollback" : "deploy"));
|
|
57392
57406
|
const basicRead = readListBlock(properties["EventSelectors"], "AWS::CloudTrail::Trail EventSelectors");
|
|
@@ -57468,12 +57482,14 @@ async function update$6(logicalId, physicalId, resourceType, properties, previou
|
|
|
57468
57482
|
const skipped = [...selectorsUnusable ? ["EventSelectors", "AdvancedEventSelectors"] : [], ...aggregationRead.kind === "unusable" ? ["AggregationConfigurations"] : []];
|
|
57469
57483
|
if (skipped.length === 0) return {
|
|
57470
57484
|
physicalId,
|
|
57471
|
-
wasReplaced: false
|
|
57485
|
+
wasReplaced: false,
|
|
57486
|
+
...attributes && { attributes }
|
|
57472
57487
|
};
|
|
57473
57488
|
const live = skipped.some((key) => previousProperties[key] != null && !Array.isArray(previousProperties[key])) ? await this.readLiveForRecord(physicalId, resourceType) : void 0;
|
|
57474
57489
|
return {
|
|
57475
57490
|
physicalId,
|
|
57476
57491
|
wasReplaced: false,
|
|
57492
|
+
...attributes && { attributes },
|
|
57477
57493
|
effectiveProperties: retainPreviousLists(desiredProperties, previousProperties, skipped, live)
|
|
57478
57494
|
};
|
|
57479
57495
|
} catch (error) {
|
|
@@ -57609,10 +57625,10 @@ async function readCurrentState$4(physicalId, _logicalId, _resourceType) {
|
|
|
57609
57625
|
async function importImpl$5(input) {
|
|
57610
57626
|
const explicit = resolveExplicitPhysicalId(input, "TrailName");
|
|
57611
57627
|
if (explicit) try {
|
|
57612
|
-
await this.getClient().send(new GetTrailCommand({ Name: explicit }));
|
|
57628
|
+
const resp = await this.getClient().send(new GetTrailCommand({ Name: explicit }));
|
|
57613
57629
|
return {
|
|
57614
57630
|
physicalId: explicit,
|
|
57615
|
-
attributes:
|
|
57631
|
+
attributes: trailAttributes(resp.Trail?.TrailARN, resp.Trail?.SnsTopicARN)
|
|
57616
57632
|
};
|
|
57617
57633
|
} catch (err) {
|
|
57618
57634
|
if (err instanceof TrailNotFoundException) return null;
|
|
@@ -61097,9 +61113,21 @@ async function createTable(logicalId, resourceType, properties, context) {
|
|
|
61097
61113
|
if (!response.tableARN) throw new ProvisioningError(`CreateTable did not return a tableARN for ${logicalId} (${physicalId}) — refusing to record an empty TableARN attribute`, resourceType, logicalId, physicalId);
|
|
61098
61114
|
const tableARN = response.tableARN;
|
|
61099
61115
|
this.logger.debug(`Successfully created S3 Tables Table ${logicalId}: ${physicalId}`);
|
|
61116
|
+
let described;
|
|
61117
|
+
try {
|
|
61118
|
+
described = await this.getClient().send(new GetTableCommand$1({ tableArn: tableARN }));
|
|
61119
|
+
} catch (readError) {
|
|
61120
|
+
described = void 0;
|
|
61121
|
+
const errorClass = readError?.name ?? "Error";
|
|
61122
|
+
this.logger.debug(safeMsg`GetTable after creating S3 Tables Table ${logicalId} failed (${errorClass}); WarehouseLocation is left to a later re-read`);
|
|
61123
|
+
}
|
|
61100
61124
|
return {
|
|
61101
61125
|
physicalId,
|
|
61102
|
-
attributes: {
|
|
61126
|
+
attributes: definedAttributes({
|
|
61127
|
+
TableARN: tableARN,
|
|
61128
|
+
WarehouseLocation: described?.warehouseLocation,
|
|
61129
|
+
VersionToken: described?.versionToken ?? response.versionToken
|
|
61130
|
+
})
|
|
61103
61131
|
};
|
|
61104
61132
|
} catch (error) {
|
|
61105
61133
|
const cause = error instanceof Error ? error : void 0;
|
|
@@ -61552,7 +61580,7 @@ async function importTable(input) {
|
|
|
61552
61580
|
this.logger.debug(`S3 Tables Table ${input.logicalId}: template carries a Cloud-Control-routing property, recording the bare TableARN (CC's identifier) rather than cdkd's composite.`);
|
|
61553
61581
|
return {
|
|
61554
61582
|
physicalId: tableARN,
|
|
61555
|
-
attributes:
|
|
61583
|
+
attributes: tableAttributes(tableARN, response)
|
|
61556
61584
|
};
|
|
61557
61585
|
}
|
|
61558
61586
|
const tableRefusal = compositeIdSeparatorRefusal("AWS::S3Tables::Table", input.logicalId, [
|
|
@@ -61575,9 +61603,16 @@ async function importTable(input) {
|
|
|
61575
61603
|
}
|
|
61576
61604
|
return {
|
|
61577
61605
|
physicalId: `${identity.tableBucketARN}|${identity.namespace}|${identity.name}`,
|
|
61578
|
-
attributes:
|
|
61606
|
+
attributes: tableAttributes(tableARN, response)
|
|
61579
61607
|
};
|
|
61580
61608
|
}
|
|
61609
|
+
function tableAttributes(tableARN, response) {
|
|
61610
|
+
return definedAttributes({
|
|
61611
|
+
TableARN: tableARN,
|
|
61612
|
+
WarehouseLocation: response.warehouseLocation,
|
|
61613
|
+
VersionToken: response.versionToken
|
|
61614
|
+
});
|
|
61615
|
+
}
|
|
61581
61616
|
|
|
61582
61617
|
// src/provisioning/providers/s3-tables/tags.ts
|
|
61583
61618
|
function tagListToSdkMap(tags) {
|
|
@@ -63034,4 +63069,4 @@ var ACMCertificateProvider = class {
|
|
|
63034
63069
|
};
|
|
63035
63070
|
|
|
63036
63071
|
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 };
|
|
63037
|
-
//# sourceMappingURL=provider-classes-
|
|
63072
|
+
//# sourceMappingURL=provider-classes-CM8Txuvb.js.map
|