@cdkd/cli 0.352.10 → 0.352.12
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-BVYJAAAk.js → ambient-client-defaults-zXLYCPYh.js} +3 -3
- package/dist/{ambient-client-defaults-BVYJAAAk.js.map → ambient-client-defaults-zXLYCPYh.js.map} +1 -1
- package/dist/{asg-provider-BIX-dyx7.js → asg-provider-vzD1uanW.js} +6 -6
- package/dist/{asg-provider-BIX-dyx7.js.map → asg-provider-vzD1uanW.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-DEuYtsGE.js → custom-resource-runtime-5yuSHn1E.js} +6 -6
- package/dist/{custom-resource-runtime-DEuYtsGE.js.map → custom-resource-runtime-5yuSHn1E.js.map} +1 -1
- package/dist/{db-associated-roles-Ctrt1hdT.js → db-associated-roles-D6FzrHrq.js} +2 -2
- package/dist/{db-associated-roles-Ctrt1hdT.js.map → db-associated-roles-D6FzrHrq.js.map} +1 -1
- package/dist/{delete-started-Cxz256SM.js → delete-started-BYb5bEiw.js} +4 -4
- package/dist/{delete-started-Cxz256SM.js.map → delete-started-BYb5bEiw.js.map} +1 -1
- package/dist/{deploy-engine-Dc_pXC_u.js → deploy-engine-DIe64g1M.js} +320 -20
- package/dist/deploy-engine-DIe64g1M.js.map +1 -0
- package/dist/{diff-calculator-B8G4NY9B.js → diff-calculator-e0X8wg5d.js} +12 -12
- package/dist/{diff-calculator-B8G4NY9B.js.map → diff-calculator-e0X8wg5d.js.map} +1 -1
- package/dist/{ec2-termination-protection-DrSBaNMt.js → ec2-termination-protection-BhINWGSK.js} +6 -6
- package/dist/{ec2-termination-protection-DrSBaNMt.js.map → ec2-termination-protection-BhINWGSK.js.map} +1 -1
- package/dist/{ecr-uri-AMEtblXK.js → ecr-uri-B4jEXWEo.js} +2 -2
- package/dist/{ecr-uri-AMEtblXK.js.map → ecr-uri-B4jEXWEo.js.map} +1 -1
- package/dist/{expected-bucket-owner-BXvwLOJi.js → expected-bucket-owner-BiM4Hy8G.js} +2 -2
- package/dist/{expected-bucket-owner-BXvwLOJi.js.map → expected-bucket-owner-BiM4Hy8G.js.map} +1 -1
- package/dist/{iam-role-provider-CUlxa8vD.js → iam-role-provider-CRAkOXUR.js} +8 -8
- package/dist/{iam-role-provider-CUlxa8vD.js.map → iam-role-provider-CRAkOXUR.js.map} +1 -1
- package/dist/{image-plan-BX5NwKbL.js → image-plan-BZ-0TCSM.js} +14 -14
- package/dist/{image-plan-BX5NwKbL.js.map → image-plan-BZ-0TCSM.js.map} +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-CdX4HLLL.js → logger-DGUlDiYH.js} +2 -2
- package/dist/{logger-CdX4HLLL.js.map → logger-DGUlDiYH.js.map} +1 -1
- package/dist/{neptune-provider-D1L2yBvT.js → neptune-provider-CHVuPvHJ.js} +7 -7
- package/dist/{neptune-provider-D1L2yBvT.js.map → neptune-provider-CHVuPvHJ.js.map} +1 -1
- package/dist/{program-D86lJCqz.js → program-pfwGZi1I.js} +59 -41
- package/dist/program-pfwGZi1I.js.map +1 -0
- package/dist/{provider-classes-CZATKCjg.js → provider-classes-CaogwY3K.js} +19 -33
- package/dist/provider-classes-CaogwY3K.js.map +1 -0
- package/dist/{rds-provider-gaLO6ZfO.js → rds-provider-I6YAiIv3.js} +10 -10
- package/dist/{rds-provider-gaLO6ZfO.js.map → rds-provider-I6YAiIv3.js.map} +1 -1
- package/dist/{read-replica-Jg7o-UN9.js → read-replica-BbDOKi8I.js} +3 -3
- package/dist/{read-replica-Jg7o-UN9.js.map → read-replica-BbDOKi8I.js.map} +1 -1
- package/dist/{replacement-rules-Bdc4YHjb.js → replacement-rules-DEMSUsSU.js} +3 -3
- package/dist/{replacement-rules-Bdc4YHjb.js.map → replacement-rules-DEMSUsSU.js.map} +1 -1
- package/dist/{resource-deadline-Cy21fDAy.js → resource-deadline-B34RyqEU.js} +4 -4
- package/dist/{resource-deadline-Cy21fDAy.js.map → resource-deadline-B34RyqEU.js.map} +1 -1
- package/dist/{run-cli-BO2zqQbR.js → run-cli-D_mCCBi9.js} +2 -2
- package/dist/{run-cli-BO2zqQbR.js.map → run-cli-D_mCCBi9.js.map} +1 -1
- package/dist/{update-removal-DZdmkYp6.js → update-removal-Cr8BZ_MT.js} +4 -4
- package/dist/{update-removal-DZdmkYp6.js.map → update-removal-Cr8BZ_MT.js.map} +1 -1
- package/dist/{version-Bnir9HXX.js → version-C3ovda8-.js} +2 -2
- package/dist/{version-Bnir9HXX.js.map → version-C3ovda8-.js.map} +1 -1
- package/package.json +2 -2
- package/dist/deploy-engine-Dc_pXC_u.js.map +0 -1
- package/dist/program-D86lJCqz.js.map +0 -1
- package/dist/provider-classes-CZATKCjg.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-CRAkOXUR.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-DGUlDiYH.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,
|
|
9
|
-
import { $ as planVectorIndexUpdates, Ac as
|
|
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-zXLYCPYh.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-Cr8BZ_MT.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-C3ovda8-.js";
|
|
7
|
+
import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-BYb5bEiw.js";
|
|
8
|
+
import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-pfwGZi1I.js";
|
|
9
|
+
import { $ as planVectorIndexUpdates, $n as sgProtocolKey, Ac as refuseMalformedResourcesForDestroy, At as hasCdkAutoDeleteTag, B as declaredStreamTagsMember, Ba as resolvedResourceTimeoutMs, Ct as TABLE_INDEX_NOUN, Da as getCurrentResourceSecrets, Do as s3BucketRegionalDomainName, Dt as waitForIndexesSettled, Eo as s3BucketDualStackDomainName, Et as relayedIndexBusyDelete, Fc as accountArgs, Fr as redactedDeleteAddressSkip, G as streamMemberRefusals, Gl as isAbsoluteAssetPath, H as reverseMapStreamPolicy, Ho as outputReferenceProvenanceOf, I as DynamoDBGlobalTableProvider, Ic as withheldAccountClause, J as isTtlAlreadyDisabled, Ji as secretNamedAttributeNamesOf, Jo as getAccountInfo, Jt as lookupEachName, K as streamPolicyMatchesDeclared, Ka as deleteSkipReason, Kl as listNestedTemplateRows, Kr as getCurrentProducerRegions, Kt as chunks, L as STREAM_POLICY_KEY, La as waitForLambdaFunctionActive, Mr as REDACTED_DELETE_ADDRESS_SKIP_REASON, Nr as isRedactedRecordedValue, Oo as s3BucketWebsiteUrl, Ot as ECR_AUTO_DELETE_IMAGES_TAG, Pr as redactedDeleteAddressFields, Q as sendTtlWaitingOutRateLimit, Qn as cfnIngressPortValue, R as STREAM_TAGS_KEY, Ro as parseWebACLArn, St as INDEX_SETTLE_POLL_INTERVAL_MS, To as s3BucketDomainName, Ts as passedParameterClassesOf, Tt as maskedLogger, U as streamDeclaresPolicy, Ut as getPriorAttempts, V as planStreamMemberOps, W as streamDeclaresTags, Wc as findSdkUnwiredProperties, Wl as findNestedTemplateTreeDefect, Wt as markRefusedBeforeApplying, X as planTimeToLive, Y as isTtlRateLimited, Yn as siblingOwnedSgRuleIdentities, Yt as withApiLimit, Z as readTtlSpec, Zn as withoutSiblingOwnedSgRules, _r as acquireIdempotencyToken, _s as toCfnInteger, _t as compensateRemovedDeletionProtection, an as revertNestedChildFromJournal, at as contributorInsightsRefusals, bc as refuseMalformedNestedChildOutputs, bi as replacedDeleteFailureVerdict, bt as resolveDynamoDbDeleteBudgetMs, ct as planIndexContributorInsightsOps, da as collectPrincipalsAttachingPolicy, dt as reverseMapTableContributorInsights, du as displayAssemblyPath, eo as isSettledInstanceState, er as canonicalizeIpProtocolValue, et as readbackVectorIndexes, eu as decodeListingKey, ft as stripIndexContributorInsights, gi as awaitInFlightSibling, gs as isWarmThroughputDecrease, gt as beginDeleteWait, hl as stringifyValue, hr as reserveStackCreateToken, hs as coerceWarmThroughput$1, ht as DYNAMODB_DELETE_POLL_COST_MS, it as CONTRIBUTOR_INSIGHTS_KEY, jt as isTruthyCfnBoolean, kt as S3_AUTO_DELETE_OBJECTS_TAG, la as collectGroupsAddedBySiblings, ln as getCurrentNestedStackContext, lt as readContributorInsightsSpec, ma as withoutSiblingOwned, ms as WARM_THROUGHPUT_MEMBERS, mt as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, mu as resolveAssemblyPath, nn as getNestedRevertRun, no as maskedSecretSegment, nt as vectorIndexesSettled, ot as indexDeclaresContributorInsights, pa as withoutSiblingAttachedArns, pr as earliestDefined, pt as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, pu as renderAssemblyPathEscape, q as streamTagsMatchDeclared, qa as withIndeterminateGuard, qc as withoutSdkUnwiredProperties, ql as renderNestedTemplateTreeDefect, qt as isAccessDeniedError, rt as vectorIndexesShapeDetail, st as planContributorInsightsOp, t as DeployEngine, to as APPSYNC_APIKEY_ARN_RESOURCE_PATH, tt as vectorIndexesForCreate, ua as collectManagedPolicyArnsAttachedBySiblings, un as withNestedStackContext, ut as reverseMapIndexContributorInsights, uu as describeFileReadFailure, vi as getStackRecords, vs as toFiniteNumber, vt as deleteBudgetKey, wl as rewriteTemplateAssetReferences, wo as s3BucketArn, wt as deleteTableWithIndexBusyRetry, xt as DELETE_INDEX_WAIT_PROCEED_NOTE, yt as resolveDynamoDbDeleteBudgetClock, z as declaredStreamPolicyMember, za as waitForGoneAfterDelete } from "./deploy-engine-DIe64g1M.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-B34RyqEU.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-BhINWGSK.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-DEMSUsSU.js";
|
|
15
|
+
import { RDSProvider } from "./rds-provider-I6YAiIv3.js";
|
|
16
|
+
import { NeptuneProvider } from "./neptune-provider-CHVuPvHJ.js";
|
|
17
|
+
import { ASGProvider } from "./asg-provider-vzD1uanW.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";
|
|
@@ -18766,9 +18766,6 @@ function flattenIpPermissions(perms, direction) {
|
|
|
18766
18766
|
}
|
|
18767
18767
|
return out;
|
|
18768
18768
|
}
|
|
18769
|
-
function sgProtocolKey(value) {
|
|
18770
|
-
return canonicalizeIpProtocolValue(value ?? "-1");
|
|
18771
|
-
}
|
|
18772
18769
|
function ingressRuleIdentity(groupId, properties) {
|
|
18773
18770
|
const source = (key) => properties[key] ?? null;
|
|
18774
18771
|
return JSON.stringify({
|
|
@@ -18890,17 +18887,6 @@ function singleSecurityGroupRuleId(rules) {
|
|
|
18890
18887
|
const ids = (rules ?? []).map((rule) => rule.SecurityGroupRuleId).filter((id) => typeof id === "string" && id.trim() !== "");
|
|
18891
18888
|
return ids.length === 1 ? ids[0] : void 0;
|
|
18892
18889
|
}
|
|
18893
|
-
function cfnIngressPortValue(value) {
|
|
18894
|
-
if (value === void 0 || value === null) return -1;
|
|
18895
|
-
if (typeof value === "number") return Number.isFinite(value) ? value : NaN;
|
|
18896
|
-
if (typeof value === "string") {
|
|
18897
|
-
const trimmed = value.trim();
|
|
18898
|
-
if (trimmed === "") return -1;
|
|
18899
|
-
const parsed = Number(trimmed);
|
|
18900
|
-
return Number.isFinite(parsed) ? parsed : NaN;
|
|
18901
|
-
}
|
|
18902
|
-
return NaN;
|
|
18903
|
-
}
|
|
18904
18890
|
function securityGroupRuleMatchesCfnIngress(rule, properties) {
|
|
18905
18891
|
if (sgProtocolKey(rule.IpProtocol) !== sgProtocolKey(properties["IpProtocol"])) return false;
|
|
18906
18892
|
if ((rule.FromPort ?? -1) !== cfnIngressPortValue(properties["FromPort"])) return false;
|
|
@@ -24358,7 +24344,7 @@ async function readCurrentStateOnce(physicalId, logicalId, resourceType, propert
|
|
|
24358
24344
|
case "AWS::EC2::InternetGateway": return await this.readInternetGatewayCurrentState(physicalId);
|
|
24359
24345
|
case "AWS::EC2::NatGateway": return await this.readNatGatewayCurrentState(physicalId, properties);
|
|
24360
24346
|
case "AWS::EC2::RouteTable": return await this.readRouteTableCurrentState(physicalId);
|
|
24361
|
-
case "AWS::EC2::SecurityGroup": return await this.readSecurityGroupCurrentState(physicalId, properties);
|
|
24347
|
+
case "AWS::EC2::SecurityGroup": return await this.readSecurityGroupCurrentState(physicalId, properties, context);
|
|
24362
24348
|
case "AWS::EC2::Instance": return await this.readInstanceCurrentState(physicalId, properties);
|
|
24363
24349
|
case "AWS::EC2::NetworkAcl": return await this.readNetworkAclCurrentState(physicalId);
|
|
24364
24350
|
case "AWS::EC2::EIP": return await this.readEipCurrentState(physicalId, properties, context?.afterOwnWrite === true);
|
|
@@ -24584,7 +24570,7 @@ async function readRouteTableCurrentState(physicalId) {
|
|
|
24584
24570
|
if (rt.VpcId !== void 0) result["VpcId"] = rt.VpcId;
|
|
24585
24571
|
return result;
|
|
24586
24572
|
}
|
|
24587
|
-
async function readSecurityGroupCurrentState(physicalId, properties) {
|
|
24573
|
+
async function readSecurityGroupCurrentState(physicalId, properties, context) {
|
|
24588
24574
|
const sg = (await this.ec2Client.send(new DescribeSecurityGroupsCommand({ GroupIds: [physicalId] }))).SecurityGroups?.[0];
|
|
24589
24575
|
if (!sg) return RESOURCE_NOT_FOUND;
|
|
24590
24576
|
const result = {};
|
|
@@ -24594,10 +24580,10 @@ async function readSecurityGroupCurrentState(physicalId, properties) {
|
|
|
24594
24580
|
const tags = normalizeAwsTagsToCfn(sg.Tags);
|
|
24595
24581
|
if (tags.length > 0) result["Tags"] = tags;
|
|
24596
24582
|
const stateIngress = Array.isArray(properties?.["SecurityGroupIngress"]) ? properties["SecurityGroupIngress"] : void 0;
|
|
24597
|
-
const ingressRules = flattenIpPermissions(sg.IpPermissions ?? [], "ingress");
|
|
24583
|
+
const ingressRules = withoutSiblingOwnedSgRules(flattenIpPermissions(sg.IpPermissions ?? [], "ingress"), siblingOwnedSgRuleIdentities(physicalId, "ingress", properties, context), "ingress");
|
|
24598
24584
|
result["SecurityGroupIngress"] = reconcileSgRules(ingressRules, stateIngress, "ingress");
|
|
24599
24585
|
const stateEgress = Array.isArray(properties?.["SecurityGroupEgress"]) ? properties["SecurityGroupEgress"] : void 0;
|
|
24600
|
-
let egressRules = flattenIpPermissions(sg.IpPermissionsEgress ?? [], "egress");
|
|
24586
|
+
let egressRules = withoutSiblingOwnedSgRules(flattenIpPermissions(sg.IpPermissionsEgress ?? [], "egress"), siblingOwnedSgRuleIdentities(physicalId, "egress", properties, context), "egress");
|
|
24601
24587
|
if (stateEgress === void 0) egressRules = egressRules.filter((r) => !isDefaultEgressRule(r));
|
|
24602
24588
|
result["SecurityGroupEgress"] = reconcileSgRules(egressRules, stateEgress, "egress");
|
|
24603
24589
|
return result;
|
|
@@ -63424,4 +63410,4 @@ var ACMCertificateProvider = class {
|
|
|
63424
63410
|
};
|
|
63425
63411
|
|
|
63426
63412
|
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 };
|
|
63427
|
-
//# sourceMappingURL=provider-classes-
|
|
63413
|
+
//# sourceMappingURL=provider-classes-CaogwY3K.js.map
|