@cdkd/cli 0.351.1 → 0.352.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-B6WnCkIH.js → ambient-client-defaults-2EgaNQt6.js} +3 -3
- package/dist/{ambient-client-defaults-B6WnCkIH.js.map → ambient-client-defaults-2EgaNQt6.js.map} +1 -1
- package/dist/{asg-provider-Cvt28cjZ.js → asg-provider-DDasylld.js} +26 -6
- package/dist/{asg-provider-Cvt28cjZ.js.map → asg-provider-DDasylld.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-q-XZhmNY.js → custom-resource-runtime-xwfbkU59.js} +6 -6
- package/dist/{custom-resource-runtime-q-XZhmNY.js.map → custom-resource-runtime-xwfbkU59.js.map} +1 -1
- package/dist/{db-associated-roles-C4lSFcA4.js → db-associated-roles-CiJ3fwoy.js} +2 -2
- package/dist/{db-associated-roles-C4lSFcA4.js.map → db-associated-roles-CiJ3fwoy.js.map} +1 -1
- package/dist/{delete-started-B5fdSbyi.js → delete-started-Cdj_X1ce.js} +4 -4
- package/dist/{delete-started-B5fdSbyi.js.map → delete-started-Cdj_X1ce.js.map} +1 -1
- package/dist/{deploy-engine-BCutoRqN.js → deploy-engine-rrhXxAzF.js} +295 -23
- package/dist/deploy-engine-rrhXxAzF.js.map +1 -0
- package/dist/{diff-calculator-Dpy3mtdK.js → diff-calculator-Cv7FEACA.js} +12 -12
- package/dist/{diff-calculator-Dpy3mtdK.js.map → diff-calculator-Cv7FEACA.js.map} +1 -1
- package/dist/{ec2-termination-protection-DEedWKNw.js → ec2-termination-protection-BNf2l1QI.js} +6 -6
- package/dist/{ec2-termination-protection-DEedWKNw.js.map → ec2-termination-protection-BNf2l1QI.js.map} +1 -1
- package/dist/{ecr-uri-BdY53T_-.js → ecr-uri-Dm00jsiv.js} +2 -2
- package/dist/{ecr-uri-BdY53T_-.js.map → ecr-uri-Dm00jsiv.js.map} +1 -1
- package/dist/{expected-bucket-owner-iywep2CV.js → expected-bucket-owner-C3_UQqmr.js} +2 -2
- package/dist/{expected-bucket-owner-iywep2CV.js.map → expected-bucket-owner-C3_UQqmr.js.map} +1 -1
- package/dist/{iam-role-provider-BQAmYWyO.js → iam-role-provider-CCLXKOwV.js} +10 -8
- package/dist/iam-role-provider-CCLXKOwV.js.map +1 -0
- package/dist/{image-plan-Cc837NpF.js → image-plan-DwOkHuCO.js} +8 -8
- package/dist/{image-plan-Cc837NpF.js.map → image-plan-DwOkHuCO.js.map} +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-CmaW95DR.js → logger-Djomyd7a.js} +2 -2
- package/dist/{logger-CmaW95DR.js.map → logger-Djomyd7a.js.map} +1 -1
- package/dist/{neptune-provider-BkaMldJg.js → neptune-provider-hy-djBeW.js} +7 -7
- package/dist/{neptune-provider-BkaMldJg.js.map → neptune-provider-hy-djBeW.js.map} +1 -1
- package/dist/{program-8-3OnhIJ.js → program-CAYCIXXD.js} +623 -170
- package/dist/program-CAYCIXXD.js.map +1 -0
- package/dist/{provider-classes-DcmiLT1V.js → provider-classes-COuCWmvl.js} +54 -33
- package/dist/provider-classes-COuCWmvl.js.map +1 -0
- package/dist/{rds-provider-BWOEzXOQ.js → rds-provider-6iZvN0TP.js} +10 -10
- package/dist/{rds-provider-BWOEzXOQ.js.map → rds-provider-6iZvN0TP.js.map} +1 -1
- package/dist/{read-replica-BQhsK5Fn.js → read-replica-ao96BB-E.js} +3 -3
- package/dist/{read-replica-BQhsK5Fn.js.map → read-replica-ao96BB-E.js.map} +1 -1
- package/dist/{replacement-rules-DywtM6vS.js → replacement-rules-BW-MOSWB.js} +3 -3
- package/dist/{replacement-rules-DywtM6vS.js.map → replacement-rules-BW-MOSWB.js.map} +1 -1
- package/dist/{resource-deadline-C_l7cJ75.js → resource-deadline-Cl2RyXXx.js} +4 -4
- package/dist/{resource-deadline-C_l7cJ75.js.map → resource-deadline-Cl2RyXXx.js.map} +1 -1
- package/dist/{run-cli-lankPggb.js → run-cli-BSPAMQq2.js} +2 -2
- package/dist/{run-cli-lankPggb.js.map → run-cli-BSPAMQq2.js.map} +1 -1
- package/dist/{update-removal-MnBAwEGA.js → update-removal-DbnBrny0.js} +4 -4
- package/dist/{update-removal-MnBAwEGA.js.map → update-removal-DbnBrny0.js.map} +1 -1
- package/dist/{version-7SpD1NBk.js → version-DPQcS4hU.js} +2 -2
- package/dist/{version-7SpD1NBk.js.map → version-DPQcS4hU.js.map} +1 -1
- package/package.json +66 -66
- package/dist/deploy-engine-BCutoRqN.js.map +0 -1
- package/dist/iam-role-provider-BQAmYWyO.js.map +0 -1
- package/dist/program-8-3OnhIJ.js.map +0 -1
- package/dist/provider-classes-DcmiLT1V.js.map +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
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-CCLXKOwV.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-Djomyd7a.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 userPoolProtectionSite, A as replayedSendWindow, At as packCompositeId, B as refusalTypeShown, C as AmbiguousCreateLatch, Ct as isInterruptedWaitError, D as createAttemptKey, Dt as compositeIdSeparatorRefusal, E as ambiguousAttemptLead, Et as compositeIdFormatMessage, F as isPlainImportJson, Ft as createMaskedRetryLogger, H as resolveExplicitPhysicalId, Ht as clearCreatedBeforeFailure, I as isPlainImportValue, It as isSecretDerivedValue, J as deleteWithProtectionCompensation, Jt as markAuxiliaryFailure, K as markNotGone, Kt as isAuxiliaryFailure, L as isQuotableImportValue, Lt as maskDeep, M as withoutServerErrorRetries, Mt as segmentAfterAnchor, N as VALUE_NOT_SHOWN, Nt as stateOrphanRecordRemedy, O as isInsideWindow, Ot as compositeIdSkipResult, P as importRemedyCommand, Pt as createMaskedLogSinks, R as normalizeAwsTagsToCfn, Rt as maskerOrIdentity, S as AMBIGUOUS_LATCH_TTL_MS, T as RecentIdSet, Tt as canonicalizeRoute53QueryName, U as RESOURCE_NOT_FOUND, V as remedyLogicalId, W as assertRegionMatch, X as observeThenDisableProtection, Xt as markSupersedesEarlierCreate, Y as logGroupProtectionSite, Yt as markCreatedBeforeFailure, Z as rdsFamilyProtectionSite, _ as onlySecretDerived, _t as pasteableAwsCommand, a as withRemovalDefaults, b as recordedPrincipalsRepair, ct as protectionFlipKey, dt as ElapsedBudgetRegistry, et as PROTECTION_FLIP_RETRY_WAIT_MS, f as retractCreatedResource, g as holdsSecretDerivedEntry, gt as isAwsCliLiteral, h as SECRET_DERIVED_READ_LIVE, hn as withPasteableAwsProfile, ht as WITHHELD_AWS_COMMAND, i as removedTemplateKeys, it as isTerminalDbWaitStatus, j as setBounded, k as replayFollowedAmbiguousAttempt, kt as logicalIdShown, ln as injectiveKey, mt as UNNAMEABLE_ID_CLAUSE, ot as ProtectionFlipRegistry, rt as isProceedDbStatus, st as isTerminalDeleteFailure, t as clearOnUpdateRemoval, tt as deleteAfterProtectionFlipWithFinalSnapshot, u as reportCreatedResource, un as injectiveKeyPrefix, ut as ElapsedBudget, v as readPrincipalLists, vt as protectedReplacementAdvice, w as CREATION_DATE_SKEW_MARGIN_MS, wt as startInterruptWatch, yt as renderDisableCommand, z as quotedRemedyLogicalId, zt as withDerivedNameMasks } 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 { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-
|
|
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 isTtlAlreadyDisabled, $
|
|
10
|
-
import { _ as isModifyNotAvailableRefusal, b as stringifyIfAssigned, 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 modifyDbInstanceWhenAvailable, x as isUsableAttemptedName, y as definedAttributes } from "./resource-deadline-
|
|
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-2EgaNQt6.js";
|
|
5
|
+
import { $ as userPoolProtectionSite, A as replayedSendWindow, At as packCompositeId, B as refusalTypeShown, C as AmbiguousCreateLatch, Ct as isInterruptedWaitError, D as createAttemptKey, Dt as compositeIdSeparatorRefusal, E as ambiguousAttemptLead, Et as compositeIdFormatMessage, F as isPlainImportJson, Ft as createMaskedRetryLogger, H as resolveExplicitPhysicalId, Ht as clearCreatedBeforeFailure, I as isPlainImportValue, It as isSecretDerivedValue, J as deleteWithProtectionCompensation, Jt as markAuxiliaryFailure, K as markNotGone, Kt as isAuxiliaryFailure, L as isQuotableImportValue, Lt as maskDeep, M as withoutServerErrorRetries, Mt as segmentAfterAnchor, N as VALUE_NOT_SHOWN, Nt as stateOrphanRecordRemedy, O as isInsideWindow, Ot as compositeIdSkipResult, P as importRemedyCommand, Pt as createMaskedLogSinks, R as normalizeAwsTagsToCfn, Rt as maskerOrIdentity, S as AMBIGUOUS_LATCH_TTL_MS, T as RecentIdSet, Tt as canonicalizeRoute53QueryName, U as RESOURCE_NOT_FOUND, V as remedyLogicalId, W as assertRegionMatch, X as observeThenDisableProtection, Xt as markSupersedesEarlierCreate, Y as logGroupProtectionSite, Yt as markCreatedBeforeFailure, Z as rdsFamilyProtectionSite, _ as onlySecretDerived, _t as pasteableAwsCommand, a as withRemovalDefaults, b as recordedPrincipalsRepair, ct as protectionFlipKey, dt as ElapsedBudgetRegistry, et as PROTECTION_FLIP_RETRY_WAIT_MS, f as retractCreatedResource, g as holdsSecretDerivedEntry, gt as isAwsCliLiteral, h as SECRET_DERIVED_READ_LIVE, hn as withPasteableAwsProfile, ht as WITHHELD_AWS_COMMAND, i as removedTemplateKeys, it as isTerminalDbWaitStatus, j as setBounded, k as replayFollowedAmbiguousAttempt, kt as logicalIdShown, ln as injectiveKey, mt as UNNAMEABLE_ID_CLAUSE, ot as ProtectionFlipRegistry, rt as isProceedDbStatus, st as isTerminalDeleteFailure, t as clearOnUpdateRemoval, tt as deleteAfterProtectionFlipWithFinalSnapshot, u as reportCreatedResource, un as injectiveKeyPrefix, ut as ElapsedBudget, v as readPrincipalLists, vt as protectedReplacementAdvice, w as CREATION_DATE_SKEW_MARGIN_MS, wt as startInterruptWatch, yt as renderDisableCommand, z as quotedRemedyLogicalId, zt as withDerivedNameMasks } from "./update-removal-DbnBrny0.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-DPQcS4hU.js";
|
|
7
|
+
import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-Cdj_X1ce.js";
|
|
8
|
+
import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, o as canonicalizeIpProtocolValue, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-CAYCIXXD.js";
|
|
9
|
+
import { $ as isTtlAlreadyDisabled, $a as APPSYNC_APIKEY_ARN_RESOURCE_PATH, $t as lookupEachName, Ar as REDACTED_DELETE_ADDRESS_SKIP_REASON, At as maskedLogger, Bo as outputReferenceProvenanceOf, C as isAbsoluteAssetPath, Co as s3BucketDomainName, Cs as passedParameterClassesOf, Ct as deleteBudgetKey, Dt as INDEX_SETTLE_POLL_INTERVAL_MS, Eo as s3BucketWebsiteUrl, Et as DELETE_INDEX_WAIT_PROCEED_NOTE, Fa as waitForLambdaFunctionActive, Ft as hasCdkAutoDeleteTag, G as declaredStreamTagsMember, Ga as withIndeterminateGuard, Gc as withoutSdkUnwiredProperties, H as STREAM_POLICY_KEY, Hc as findSdkUnwiredProperties, Io as parseWebACLArn, It as isTruthyCfnBoolean, J as streamDeclaresPolicy, Jt as getPriorAttempts, K as planStreamMemberOps, Ki as secretNamedAttributeNamesOf, Kl as decodeListingKey, Ko as getAccountInfo, La as waitForGoneAfterDelete, Mr as redactedDeleteAddressFields, Mt as waitForIndexesSettled, Nc as accountArgs, Nr as redactedDeleteAddressSkip, Nt as ECR_AUTO_DELETE_IMAGES_TAG, Oc as refuseMalformedResourcesForDestroy, Ot as TABLE_INDEX_NOUN, Pc as withheldAccountClause, Pt as S3_AUTO_DELETE_OBJECTS_TAG, Q as streamTagsMatchDeclared, Qa as isSettledInstanceState, Qt as isAccessDeniedError, Ra as resolvedResourceTimeoutMs, S as findNestedTemplateTreeDefect, So as s3BucketArn, St as compensateRemovedDeletionProtection, T as renderNestedTemplateTreeDefect, Ta as getCurrentResourceSecrets, To as s3BucketRegionalDomainName, Tt as resolveDynamoDbDeleteBudgetMs, U as STREAM_TAGS_KEY, V as DynamoDBGlobalTableProvider, W as declaredStreamPolicyMember, Wa as deleteSkipReason, Wr as getCurrentProducerRegions, X as streamMemberRefusals, Y as streamDeclaresTags, Yt as markRefusedBeforeApplying, Z as streamPolicyMatchesDeclared, Zt as chunks, _t as stripIndexContributorInsights, at as readbackVectorIndexes, au as renderAssemblyPathEscape, bt as DYNAMODB_DELETE_POLL_COST_MS, ca as collectManagedPolicyArnsAttachedBySiblings, ct as vectorIndexesShapeDetail, da as withoutSiblingAttachedArns, dr as earliestDefined, dt as indexDeclaresContributorInsights, en as withApiLimit, eo as maskedSecretSegment, et as isTtlRateLimited, fa as withoutSiblingOwned, fl as stringifyValue, fs as WARM_THROUGHPUT_MEMBERS, ft as planContributorInsightsOp, gi as getStackRecords, gs as toFiniteNumber, gt as reverseMapTableContributorInsights, hn as withNestedStackContext, hr as acquireIdempotencyToken, hs as toCfnInteger, ht as reverseMapIndexContributorInsights, it as planVectorIndexUpdates, jr as isRedactedRecordedValue, jt as relayedIndexBusyDelete, kt as deleteTableWithIndexBusyRetry, la as collectPrincipalsAttachingPolicy, lt as CONTRIBUTOR_INSIGHTS_KEY, mi as awaitInFlightSibling, mn as getCurrentNestedStackContext, ms as isWarmThroughputDecrease, mt as readContributorInsightsSpec, nt as readTtlSpec, nu as describeFileReadFailure, ot as vectorIndexesForCreate, ou as resolveAssemblyPath, pr as reserveStackCreateToken, ps as coerceWarmThroughput$1, pt as planIndexContributorInsightsOps, q as reverseMapStreamPolicy, rt as sendTtlWaitingOutRateLimit, ru as displayAssemblyPath, sa as collectGroupsAddedBySiblings, sn as getNestedRevertRun, st as vectorIndexesSettled, t as DeployEngine, tt as planTimeToLive, un as revertNestedChildFromJournal, ut as contributorInsightsRefusals, vc as refuseMalformedNestedChildOutputs, vi as replacedDeleteFailureVerdict, vt as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, w as listNestedTemplateRows, wo as s3BucketDualStackDomainName, wt as resolveDynamoDbDeleteBudgetClock, xl as rewriteTemplateAssetReferences, xt as beginDeleteWait, yt as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS } from "./deploy-engine-rrhXxAzF.js";
|
|
10
|
+
import { _ as isModifyNotAvailableRefusal, b as stringifyIfAssigned, 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 modifyDbInstanceWhenAvailable, x as isUsableAttemptedName, y as definedAttributes } from "./resource-deadline-Cl2RyXXx.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-BNf2l1QI.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, 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-
|
|
15
|
-
import { RDSProvider } from "./rds-provider-
|
|
16
|
-
import { NeptuneProvider } from "./neptune-provider-
|
|
17
|
-
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, 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-BW-MOSWB.js";
|
|
15
|
+
import { RDSProvider } from "./rds-provider-6iZvN0TP.js";
|
|
16
|
+
import { NeptuneProvider } from "./neptune-provider-hy-djBeW.js";
|
|
17
|
+
import { ASGProvider } from "./asg-provider-DDasylld.js";
|
|
18
18
|
import { createHash, randomUUID } from "node:crypto";
|
|
19
19
|
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
20
|
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";
|
|
@@ -979,7 +979,7 @@ async function deleteImpl$39(logicalId, physicalId, resourceType, _properties, c
|
|
|
979
979
|
|
|
980
980
|
// src/provisioning/providers/iam-managed-policy/read-state.ts
|
|
981
981
|
const AWS_MANAGED_POLICY_ARN_RE = /^arn:aws[a-z0-9-]*:iam::aws:/;
|
|
982
|
-
async function readCurrentState$39(physicalId, _logicalId, _resourceType,
|
|
982
|
+
async function readCurrentState$39(physicalId, _logicalId, _resourceType, properties, context) {
|
|
983
983
|
let policy;
|
|
984
984
|
try {
|
|
985
985
|
policy = (await this.iamClient.send(new GetPolicyCommand({ PolicyArn: physicalId }))).Policy;
|
|
@@ -1021,9 +1021,10 @@ async function readCurrentState$39(physicalId, _logicalId, _resourceType, _prope
|
|
|
1021
1021
|
if (!resp.IsTruncated) break;
|
|
1022
1022
|
marker = resp.Marker;
|
|
1023
1023
|
}
|
|
1024
|
-
|
|
1025
|
-
result["
|
|
1026
|
-
result["
|
|
1024
|
+
const own = (key, names) => withoutSiblingOwned(names, collectPrincipalsAttachingPolicy(physicalId, context, key), properties, key);
|
|
1025
|
+
result["Groups"] = own("Groups", groups);
|
|
1026
|
+
result["Roles"] = own("Roles", roles);
|
|
1027
|
+
result["Users"] = own("Users", users);
|
|
1027
1028
|
} catch (err) {
|
|
1028
1029
|
if (!(err instanceof NoSuchEntityException)) throw err;
|
|
1029
1030
|
}
|
|
@@ -1125,8 +1126,8 @@ var IAMManagedPolicyProvider = class {
|
|
|
1125
1126
|
return managedPolicyAttributes(physicalId, resp.Policy)[attributeName];
|
|
1126
1127
|
}
|
|
1127
1128
|
}
|
|
1128
|
-
readCurrentState(physicalId, logicalId, resourceType, properties) {
|
|
1129
|
-
return readCurrentState$39.call(this, physicalId, logicalId, resourceType, properties);
|
|
1129
|
+
readCurrentState(physicalId, logicalId, resourceType, properties, context) {
|
|
1130
|
+
return readCurrentState$39.call(this, physicalId, logicalId, resourceType, properties, context);
|
|
1130
1131
|
}
|
|
1131
1132
|
import(input) {
|
|
1132
1133
|
return importImpl$39.call(this, input);
|
|
@@ -3040,12 +3041,14 @@ async function readUserCurrentState(physicalId, properties, context) {
|
|
|
3040
3041
|
if (user.Path !== void 0) result["Path"] = user.Path;
|
|
3041
3042
|
result["PermissionsBoundary"] = user.PermissionsBoundary?.PermissionsBoundaryArn ?? "";
|
|
3042
3043
|
try {
|
|
3043
|
-
|
|
3044
|
+
const arns = ((await this.iamClient.send(new ListAttachedUserPoliciesCommand({ UserName: physicalId }))).AttachedPolicies ?? []).map((p) => p.PolicyArn).filter((arn) => !!arn);
|
|
3045
|
+
result["ManagedPolicyArns"] = withoutSiblingAttachedArns(arns, collectManagedPolicyArnsAttachedBySiblings(physicalId, context, "Users"), properties);
|
|
3044
3046
|
} catch (err) {
|
|
3045
3047
|
if (!(err instanceof NoSuchEntityException)) throw err;
|
|
3046
3048
|
}
|
|
3047
3049
|
try {
|
|
3048
|
-
|
|
3050
|
+
const names = ((await this.iamClient.send(new ListGroupsForUserCommand({ UserName: physicalId }))).Groups ?? []).map((g) => g.GroupName).filter((n) => !!n);
|
|
3051
|
+
result["Groups"] = withoutSiblingOwned(names, collectGroupsAddedBySiblings(physicalId, context), properties, "Groups", true);
|
|
3049
3052
|
} catch (err) {
|
|
3050
3053
|
if (!(err instanceof NoSuchEntityException)) throw err;
|
|
3051
3054
|
}
|
|
@@ -3069,7 +3072,8 @@ async function readGroupCurrentState(physicalId, properties, context) {
|
|
|
3069
3072
|
if (group.GroupName !== void 0) result["GroupName"] = group.GroupName;
|
|
3070
3073
|
if (group.Path !== void 0) result["Path"] = group.Path;
|
|
3071
3074
|
try {
|
|
3072
|
-
|
|
3075
|
+
const arns = ((await this.iamClient.send(new ListAttachedGroupPoliciesCommand({ GroupName: physicalId }))).AttachedPolicies ?? []).map((p) => p.PolicyArn).filter((arn) => !!arn);
|
|
3076
|
+
result["ManagedPolicyArns"] = withoutSiblingAttachedArns(arns, collectManagedPolicyArnsAttachedBySiblings(physicalId, context, "Groups"), properties);
|
|
3073
3077
|
} catch (err) {
|
|
3074
3078
|
if (!(err instanceof NoSuchEntityException)) throw err;
|
|
3075
3079
|
}
|
|
@@ -9351,6 +9355,7 @@ async function create$36(logicalId, resourceType, properties, context) {
|
|
|
9351
9355
|
DurableConfig: properties["DurableConfig"],
|
|
9352
9356
|
TenancyConfig: properties["TenancyConfig"],
|
|
9353
9357
|
CodeSigningConfigArn: properties["CodeSigningConfigArn"],
|
|
9358
|
+
RuntimeConfig: properties["RuntimeConfig"],
|
|
9354
9359
|
Tags: tags,
|
|
9355
9360
|
...capacityProviderConfig !== void 0 && {
|
|
9356
9361
|
CapacityProviderConfig: capacityProviderConfig,
|
|
@@ -9567,6 +9572,11 @@ async function update$37(logicalId, physicalId, resourceType, properties, previo
|
|
|
9567
9572
|
replayingState: context?.replayingState,
|
|
9568
9573
|
physicalId
|
|
9569
9574
|
}, log.warn);
|
|
9575
|
+
if (properties["Runtime"] === "custom" && properties["RuntimeConfig"] == null && previousProperties["RuntimeConfig"] != null) {
|
|
9576
|
+
const message = `Lambda function ${logicalId} keeps Runtime 'custom' without RuntimeConfig: AWS keeps the live RuntimeConfig, and refuses a 'custom' function without one. Keep the property, or change Runtime to remove it.`;
|
|
9577
|
+
if (context?.replayingState === true) log.warn(message);
|
|
9578
|
+
else throw markNonRetryable(new ProvisioningError(message, resourceType, logicalId, physicalId));
|
|
9579
|
+
}
|
|
9570
9580
|
try {
|
|
9571
9581
|
const desiredCapacity = properties["CapacityProviderConfig"];
|
|
9572
9582
|
const recordedCapacity = previousProperties["CapacityProviderConfig"];
|
|
@@ -9593,7 +9603,8 @@ async function update$37(logicalId, physicalId, resourceType, properties, previo
|
|
|
9593
9603
|
"SnapStart",
|
|
9594
9604
|
"LoggingConfig",
|
|
9595
9605
|
"DurableConfig",
|
|
9596
|
-
"CapacityProviderConfig"
|
|
9606
|
+
"CapacityProviderConfig",
|
|
9607
|
+
"RuntimeConfig"
|
|
9597
9608
|
];
|
|
9598
9609
|
const changedConfigFields = [];
|
|
9599
9610
|
for (const field of configFields) {
|
|
@@ -9621,7 +9632,8 @@ async function update$37(logicalId, physicalId, resourceType, properties, previo
|
|
|
9621
9632
|
SnapStart: properties["SnapStart"],
|
|
9622
9633
|
LoggingConfig: properties["LoggingConfig"],
|
|
9623
9634
|
DurableConfig: properties["DurableConfig"],
|
|
9624
|
-
CapacityProviderConfig: capacityProviderConfigForUpdate(capacityNeverApplied ? void 0 : desiredCapacity)
|
|
9635
|
+
CapacityProviderConfig: capacityProviderConfigForUpdate(capacityNeverApplied ? void 0 : desiredCapacity),
|
|
9636
|
+
RuntimeConfig: properties["RuntimeConfig"]
|
|
9625
9637
|
};
|
|
9626
9638
|
for (const field of changedConfigFields) markUnsettled(field);
|
|
9627
9639
|
await this.lambdaClient.send(new UpdateFunctionConfigurationCommand(configParams));
|
|
@@ -10206,6 +10218,12 @@ async function readCurrentState$35(physicalId, _logicalId, _resourceType) {
|
|
|
10206
10218
|
if (Object.keys(dc).length > 0) result["DurableConfig"] = dc;
|
|
10207
10219
|
}
|
|
10208
10220
|
if (cfg.TenancyConfig?.TenantIsolationMode !== void 0) result["TenancyConfig"] = { TenantIsolationMode: cfg.TenancyConfig.TenantIsolationMode };
|
|
10221
|
+
if (cfg.RuntimeConfig !== void 0) {
|
|
10222
|
+
const rc = {};
|
|
10223
|
+
if (cfg.RuntimeConfig.RuntimeArn !== void 0) rc["RuntimeArn"] = cfg.RuntimeConfig.RuntimeArn;
|
|
10224
|
+
if (cfg.RuntimeConfig.RuntimeAlias !== void 0) rc["RuntimeAlias"] = cfg.RuntimeConfig.RuntimeAlias;
|
|
10225
|
+
if (Object.keys(rc).length > 0) result["RuntimeConfig"] = rc;
|
|
10226
|
+
}
|
|
10209
10227
|
if (cfg.CapacityProviderConfig !== void 0) {
|
|
10210
10228
|
result["CapacityProviderConfig"] = cfg.CapacityProviderConfig;
|
|
10211
10229
|
try {
|
|
@@ -10294,7 +10312,8 @@ var LambdaFunctionProvider = class {
|
|
|
10294
10312
|
"TenancyConfig",
|
|
10295
10313
|
"CapacityProviderConfig",
|
|
10296
10314
|
"FunctionScalingConfig",
|
|
10297
|
-
"PublishToLatestPublished"
|
|
10315
|
+
"PublishToLatestPublished",
|
|
10316
|
+
"RuntimeConfig"
|
|
10298
10317
|
])]]);
|
|
10299
10318
|
removalDefaults = /* @__PURE__ */ new Map([["AWS::Lambda::Function", /* @__PURE__ */ new Map([
|
|
10300
10319
|
["Timeout", 3],
|
|
@@ -10328,7 +10347,8 @@ var LambdaFunctionProvider = class {
|
|
|
10328
10347
|
"RuntimeManagementConfig",
|
|
10329
10348
|
"CapacityProviderConfig",
|
|
10330
10349
|
"FunctionScalingConfig",
|
|
10331
|
-
"PublishToLatestPublished"
|
|
10350
|
+
"PublishToLatestPublished",
|
|
10351
|
+
"RuntimeConfig"
|
|
10332
10352
|
])]]);
|
|
10333
10353
|
cleanupDeleteRetryDelayMs = 2e3;
|
|
10334
10354
|
eniWaitTimeoutMs = 6e5;
|
|
@@ -19848,6 +19868,7 @@ const SUBNET_POOL_ASSOCIATION_READS = 10;
|
|
|
19848
19868
|
async function prepareSubnetProperties(logicalId, resourceType, properties, context, physicalId, previousProperties) {
|
|
19849
19869
|
let prepared = properties;
|
|
19850
19870
|
for (const key of [
|
|
19871
|
+
"MapPublicIpOnLaunch",
|
|
19851
19872
|
"EnableDns64",
|
|
19852
19873
|
"Ipv6CidrBlock",
|
|
19853
19874
|
"AssignIpv6AddressOnCreation",
|
|
@@ -19933,8 +19954,7 @@ async function createSubnet(logicalId, resourceType, properties, context) {
|
|
|
19933
19954
|
if (!associationId) throw new ProvisioningError(`CreateSubnet returned no IPv6 association ID for ${logicalId}`, resourceType, logicalId, subnetId);
|
|
19934
19955
|
await this.waitForSubnetIpv6Association(logicalId, subnetId, resourceType, associationId, "associated");
|
|
19935
19956
|
}
|
|
19936
|
-
|
|
19937
|
-
if (mapPublicIp === true || mapPublicIp === "true") {
|
|
19957
|
+
if (coerceCfnBoolean(prepared["MapPublicIpOnLaunch"]) === true) {
|
|
19938
19958
|
await this.ec2Client.send(new ModifySubnetAttributeCommand({
|
|
19939
19959
|
SubnetId: subnetId,
|
|
19940
19960
|
MapPublicIpOnLaunch: { Value: true }
|
|
@@ -20008,9 +20028,10 @@ async function updateSubnet(logicalId, physicalId, resourceType, properties, pre
|
|
|
20008
20028
|
if (previousProperties["Ipv6CidrBlock"] === void 0) delete prepared["Ipv6CidrBlock"];
|
|
20009
20029
|
else prepared["Ipv6CidrBlock"] = previousProperties["Ipv6CidrBlock"];
|
|
20010
20030
|
}
|
|
20011
|
-
const
|
|
20012
|
-
const
|
|
20013
|
-
if (newMapPublicIp
|
|
20031
|
+
const newMapPublicIp = coerceCfnBoolean(prepared["MapPublicIpOnLaunch"]);
|
|
20032
|
+
const oldMapPublicIp = coerceCfnBoolean(previousProperties["MapPublicIpOnLaunch"]);
|
|
20033
|
+
if (context?.replayingState === true && newMapPublicIp === void 0 && prepared["MapPublicIpOnLaunch"] === properties["MapPublicIpOnLaunch"] && oldMapPublicIp === true) this.logger.warn(safeMsg`Subnet ${logicalId}: MapPublicIpOnLaunch may stay true after the rollback, since the restored record does not declare it (CloudFormation keeps a removed value)`);
|
|
20034
|
+
if (newMapPublicIp !== void 0 && newMapPublicIp !== oldMapPublicIp) {
|
|
20014
20035
|
await this.ec2Client.send(new ModifySubnetAttributeCommand({
|
|
20015
20036
|
SubnetId: physicalId,
|
|
20016
20037
|
MapPublicIpOnLaunch: { Value: newMapPublicIp }
|
|
@@ -63348,4 +63369,4 @@ var ACMCertificateProvider = class {
|
|
|
63348
63369
|
};
|
|
63349
63370
|
|
|
63350
63371
|
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 };
|
|
63351
|
-
//# sourceMappingURL=provider-classes-
|
|
63372
|
+
//# sourceMappingURL=provider-classes-COuCWmvl.js.map
|