@cdkd/cli 0.370.7 → 0.371.1
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-DqS6NWx5.js → ambient-client-defaults-Cq58skpK.js} +3 -3
- package/dist/{ambient-client-defaults-DqS6NWx5.js.map → ambient-client-defaults-Cq58skpK.js.map} +1 -1
- package/dist/{asg-provider-BMQeGpmF.js → asg-provider-B3ngG-X4.js} +8 -8
- package/dist/{asg-provider-BMQeGpmF.js.map → asg-provider-B3ngG-X4.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{created-resource-sink-DGvRiBLW.js → created-resource-sink-Bzk9hJNq.js} +4 -4
- package/dist/{created-resource-sink-DGvRiBLW.js.map → created-resource-sink-Bzk9hJNq.js.map} +1 -1
- package/dist/{custom-resource-runtime-BJFVnN9S.js → custom-resource-runtime-CLHhYoEe.js} +6 -6
- package/dist/{custom-resource-runtime-BJFVnN9S.js.map → custom-resource-runtime-CLHhYoEe.js.map} +1 -1
- package/dist/{db-associated-roles-ConAeY8g.js → db-associated-roles-CYA2C3yZ.js} +2 -2
- package/dist/{db-associated-roles-ConAeY8g.js.map → db-associated-roles-CYA2C3yZ.js.map} +1 -1
- package/dist/{delete-started-Dya9H_gI.js → delete-started-D9FEXTba.js} +4 -4
- package/dist/{delete-started-Dya9H_gI.js.map → delete-started-D9FEXTba.js.map} +1 -1
- package/dist/{deploy-engine-CpeBWcxG.js → deploy-engine-DvPDae31.js} +892 -147
- package/dist/deploy-engine-DvPDae31.js.map +1 -0
- package/dist/{ec2-termination-protection-CVTp4mlC.js → ec2-termination-protection-C19A5IH9.js} +3 -3
- package/dist/{ec2-termination-protection-CVTp4mlC.js.map → ec2-termination-protection-C19A5IH9.js.map} +1 -1
- package/dist/{ecr-uri-DwYinaAB.js → ecr-uri-BW6V_9R5.js} +2 -2
- package/dist/{ecr-uri-DwYinaAB.js.map → ecr-uri-BW6V_9R5.js.map} +1 -1
- package/dist/{emr-cluster-provider-CR_OFsGZ.js → emr-cluster-provider-DVljF3YH.js} +10 -10
- package/dist/{emr-cluster-provider-CR_OFsGZ.js.map → emr-cluster-provider-DVljF3YH.js.map} +1 -1
- package/dist/{expected-bucket-owner-BhnjZsLt.js → expected-bucket-owner-DMq5H0Zm.js} +2 -2
- package/dist/{expected-bucket-owner-BhnjZsLt.js.map → expected-bucket-owner-DMq5H0Zm.js.map} +1 -1
- package/dist/{iam-role-provider-CKIdrdu5.js → iam-role-provider-B8c2g5fS.js} +12 -12
- package/dist/{iam-role-provider-CKIdrdu5.js.map → iam-role-provider-B8c2g5fS.js.map} +1 -1
- package/dist/{identity-read-denied-V23l4pKK.js → identity-read-denied-Cl8km1o3.js} +5 -5
- package/dist/{identity-read-denied-V23l4pKK.js.map → identity-read-denied-Cl8km1o3.js.map} +1 -1
- package/dist/{image-plan-D62M_M30.js → image-plan-Cg5bLNvP.js} +9 -9
- package/dist/{image-plan-D62M_M30.js.map → image-plan-Cg5bLNvP.js.map} +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-CSLdt93b.js → logger-BUi1Imxa.js} +2 -2
- package/dist/{logger-CSLdt93b.js.map → logger-BUi1Imxa.js.map} +1 -1
- package/dist/{neptune-provider-BCXKNNXR.js → neptune-provider-Ddse7yYJ.js} +9 -9
- package/dist/{neptune-provider-BCXKNNXR.js.map → neptune-provider-Ddse7yYJ.js.map} +1 -1
- package/dist/{program-Lw5gWY1A.js → program-bUaiwzJ2.js} +195 -49
- package/dist/program-bUaiwzJ2.js.map +1 -0
- package/dist/{provider-classes-DOrSeS2t.js → provider-classes-AI1PLFRf.js} +165 -40
- package/dist/provider-classes-AI1PLFRf.js.map +1 -0
- package/dist/{rds-provider-CCpEJkcN.js → rds-provider-6Cj8pik8.js} +103 -24
- package/dist/rds-provider-6Cj8pik8.js.map +1 -0
- package/dist/{read-replica-Dkepeh8a.js → read-replica-DWbYq3Fh.js} +3 -3
- package/dist/{read-replica-Dkepeh8a.js.map → read-replica-DWbYq3Fh.js.map} +1 -1
- package/dist/{redacted-delete-address-BPwMWIOq.js → redacted-delete-address-C1M-bYXm.js} +4 -4
- package/dist/{redacted-delete-address-BPwMWIOq.js.map → redacted-delete-address-C1M-bYXm.js.map} +1 -1
- package/dist/{replacement-rules-aKrUHcS2.js → replacement-rules-BimJi0H1.js} +516 -31
- package/dist/replacement-rules-BimJi0H1.js.map +1 -0
- package/dist/{resource-deadline-DjIkTygT.js → resource-deadline-Cj-4PzvY.js} +2 -2
- package/dist/{resource-deadline-DjIkTygT.js.map → resource-deadline-Cj-4PzvY.js.map} +1 -1
- package/dist/{restore-source-guard-Bprs9w8d.js → restore-source-guard-CP2cxnnh.js} +4 -4
- package/dist/{restore-source-guard-Bprs9w8d.js.map → restore-source-guard-CP2cxnnh.js.map} +1 -1
- package/dist/{run-cli-BfDyKYOs.js → run-cli-C0ZXPvze.js} +2 -2
- package/dist/{run-cli-BfDyKYOs.js.map → run-cli-C0ZXPvze.js.map} +1 -1
- package/dist/{secret-reference-immutable-DK77ST9u.js → secret-reference-immutable-BLsAuIkM.js} +6 -6
- package/dist/{secret-reference-immutable-DK77ST9u.js.map → secret-reference-immutable-BLsAuIkM.js.map} +1 -1
- package/dist/{settle-own-write-members-DgrfaXCf.js → settle-own-write-members-BJ1rf1Yt.js} +13 -13
- package/dist/{settle-own-write-members-DgrfaXCf.js.map → settle-own-write-members-BJ1rf1Yt.js.map} +1 -1
- package/dist/{tag-list-B4_wJ9vt.js → tag-list-CSQWFQbX.js} +4 -4
- package/dist/{tag-list-B4_wJ9vt.js.map → tag-list-CSQWFQbX.js.map} +1 -1
- package/dist/{version-3YWtwAiy.js → version-CQenoJzP.js} +2 -2
- package/dist/{version-3YWtwAiy.js.map → version-CQenoJzP.js.map} +1 -1
- package/package.json +2 -2
- package/dist/deploy-engine-CpeBWcxG.js.map +0 -1
- package/dist/program-Lw5gWY1A.js.map +0 -1
- package/dist/provider-classes-DOrSeS2t.js.map +0 -1
- package/dist/rds-provider-CCpEJkcN.js.map +0 -1
- package/dist/replacement-rules-aKrUHcS2.js.map +0 -1
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { _ as verifyOwnIdentityBeforeUpdate, a as stackOwnHolders, b as isEntityAlreadyExists, c as clearOwnWriteRemovals, d as takeOwnWriteRemovals, f as InlinePolicyPrincipalMismatchError, g as verifyInlinePolicyPrincipals, h as compareMembershipWrites, i as isStackOwnHolder, l as recordOwnWriteRemoval, m as assertInlinePolicyAttachTargets, n as collectInlinePolicyNamesManagedBySiblings, o as planInlinePolicyNames, p as MANAGED_POLICY_OWNER, r as heldText, s as sameInlinePolicyName, t as IAMRoleProvider, u as restoreOwnWriteRemovals, v as deferIamPropagationSettle, x as IamCreateClientCache, y as iamEntityLeftByThisCreate } 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 { _ as verifyOwnIdentityBeforeUpdate, a as stackOwnHolders, b as isEntityAlreadyExists, c as clearOwnWriteRemovals, d as takeOwnWriteRemovals, f as InlinePolicyPrincipalMismatchError, g as verifyInlinePolicyPrincipals, h as compareMembershipWrites, i as isStackOwnHolder, l as recordOwnWriteRemoval, m as assertInlinePolicyAttachTargets, n as collectInlinePolicyNamesManagedBySiblings, o as planInlinePolicyNames, p as MANAGED_POLICY_OWNER, r as heldText, s as sameInlinePolicyName, t as IAMRoleProvider, u as restoreOwnWriteRemovals, v as deferIamPropagationSettle, x as IamCreateClientCache, y as iamEntityLeftByThisCreate } from "./iam-role-provider-B8c2g5fS.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-BUi1Imxa.js";
|
|
3
3
|
import { d as withApiGatewayPacing, l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-DOkPjjAW.js";
|
|
4
|
-
import { D as markReplayMayCollide, E as markNameCollision, F as isAmbiguousOutcomeError, G as markRedactedCause, I as isExplicitDenyError, K as wrapMaskedAwsError, M as explicitDenyPolicyKind, O as relayedNameCollision, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, W as markNonRetryable, _ as ResourceUpdateNotSupportedError, at as ProvisioningError, et as CdkdError, i as credentialFingerprint, n as ambientCredentialConfig, r as clientDefaultsFor, t as ambientClientDefaults, x as hasReplayMayCollide, z as isTransientServerError } from "./ambient-client-defaults-
|
|
5
|
-
import { $ as ElapsedBudget, A as readNameProperty, B as rdsFamilyProtectionSite, C as VALUE_NOT_SHOWN, Ct as startInterruptWatch, D as isQuotableImportValue, Dt as compositeIdSkipResult, E as isPlainImportValue, Et as compositeIdSeparatorRefusal, F as markNotGone, Ft as isSecretDerivedValue, Gt as isAuxiliaryFailure, H as userPoolProtectionSite, It as maskDeep, Jt as markCreatedBeforeFailure, K as isProceedDbStatus, L as deleteWithProtectionCompensation, Lt as maskerOrIdentity, M as remedyLogicalId, Mt as stateOrphanRecordRemedy, N as resolveExplicitPhysicalId, Nt as createMaskedLogSinks, O as normalizeAwsTagsToCfn, Ot as logicalIdShown, Pt as createMaskedRetryLogger, R as logGroupProtectionSite, Rt as withDerivedNameMasks, S as holderRefusalRun, St as isInterruptedWaitError, T as isPlainImportJson, Tt as compositeIdFormatMessage, U as PROTECTION_FLIP_RETRY_WAIT_MS, Vt as clearCreatedBeforeFailure, W as deleteAfterProtectionFlipWithFinalSnapshot, X as isTerminalDeleteFailure, Y as ProtectionFlipRegistry, Yt as markSupersedesEarlierCreate, Z as protectionFlipKey, _ as withoutServerErrorRetries, _t as recordedPrincipalsRepair, at as isAwsCliLiteral, b as assertRegionMatch, c as AmbiguousCreateLatch, ct as renderDisableCommand, d as ambiguousAttemptLead, dn as withPasteableAwsProfile, dt as SECRET_DERIVED_READ_LIVE, et as ElapsedBudgetRegistry, f as createAttemptKey, fn as injectiveKey, ft as diffPrincipalNames, g as setBounded, h as replayedSendWindow, ht as readPrincipalLists, i as reportCreatedResource, it as WITHHELD_AWS_COMMAND, j as refusalTypeShown, jt as segmentAfterAnchor, k as quotedRemedyLogicalId, kt as packCompositeId, l as CREATION_DATE_SKEW_MARGIN_MS, m as replayFollowedAmbiguousAttempt, mt as onlySecretDerived, o as retractCreatedResource, ot as pasteableAwsCommand, p as isInsideWindow, pn as injectiveKeyPrefix, pt as holdsSecretDerivedEntry, q as isTerminalDbWaitStatus, qt as markAuxiliaryFailure, rt as UNNAMEABLE_ID_CLAUSE, s as AMBIGUOUS_LATCH_TTL_MS, st as protectedReplacementAdvice, u as RecentIdSet, v as DriftReadRefusedError, w as importRemedyCommand, wt as canonicalizeRoute53QueryName, x as holderRefusalMask, y as RESOURCE_NOT_FOUND, z as observeThenDisableProtection } from "./created-resource-sink-
|
|
6
|
-
import { A as displayStackName, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, _ 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 { S as isoTimestampAttribute, a as lookupEachName, c as RecordedIdentityMismatchError, g as identityTimestamp, i as isAccessDeniedError, l as assertRecordedIdentity, n as isPermissionDenial, o as withApiLimit, p as recordedIdentityId, r as chunks, s as RecordedIdentityError, t as deniedIdentityReadRefusal } from "./identity-read-denied-
|
|
8
|
-
import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-
|
|
9
|
-
import { $ as effectiveInventoryItem, A as withRecordedCidrSpelling, B as LIFECYCLE_DEFAULT_STATUS, C as securityGroupReadbackDelays, D as stackIngressRuleHolder, E as singleSecurityGroupRuleId, F as clearLifecycleWritesOf, G as canonicalizeItemList, H as LIFECYCLE_RULE_PATH, I as lifecycleSettleTarget, J as lifecycleUsesFilterForm, K as effectiveLifecycleConfiguration, L as recordLifecycleWrite, M as sgRemovalRuleKey, N as sgRuleListMember, O as survivingRecordOfRuleId, P as LIFECYCLE_BASELINE_REREAD_DELAYS_MS, Q as effectiveIntelligentTieringItem, R as settleLifecycleRead, S as reconcileSgRules, T as sgRuleKey, U as LIFECYCLE_TAG_FILTERS_PATH, V as LIFECYCLE_FILTER_PATH, W as canonicalizeBlock, X as EVENTBRIDGE_CONFIG_PATH, Y as parseCfnTimestamp, Z as effectiveAnalyticsItem, _ as ingressRuleIdentity, a as refuseRevertRevokingSiblingRules, at as declaresBucketObjectLock, b as isResendableSocketFailure, c as siblingIdOwnedSgRules, ct as isPlainObject$4, d as authorizeDefinitelyNotApplied, dt as shownLifecycleRuleId, et as effectiveNotificationConfiguration, f as canonicalizeSgInlineRuleProtocols, g as flattenIpPermissions, h as descriptionKey, i as resolveSecretDerivedPrincipals, it as configItemId, j as markCopiesAgreed, k as tagListsMatch, l as SG_READBACK_RETRY_DELAY_MS, lt as manualBucketDeletionClause, m as comparableIngressIdentity, n as holdsUnprovenSecretPrincipalToken, nt as caughtErrorName, o as sgRuleDiffKey, ot as declaresNestedObjectLock, p as canonicalizeSgRuleProtocol, q as lifecycleRuleScope, r as isResolvableSecretPrincipalList, rt as coerceCfnNumber, s as readSgIngressById, st as describeValue$1, t as runDestroyForStack, tt as eventBridgeEnabledOf, u as SG_RULE_PAGE_SIZE, ut as mergeLegacySingular, v as isConnectTimeout, w as securityGroupRuleMatchesCfnIngress, x as narrowIngressIpProtocol, y as isDefaultEgressRule, z as takeLifecycleWrite } from "./program-
|
|
10
|
-
import { i as redactedDeleteAddressSkip, n as isRedactedRecordedValue, r as redactedDeleteAddressFields, t as REDACTED_DELETE_ADDRESS_SKIP_REASON } from "./redacted-delete-address-
|
|
11
|
-
import { $ as
|
|
12
|
-
import { a as refuseMalformedDesiredTags, i as readTagList, n as DBPROXY_TAG_OPTIONS, o as tagMapAsList, r as planTagDiff, s as tagPlanWarning, t as DBPROXY_TAGS_WHAT } from "./tag-list-
|
|
13
|
-
import { _ as isUsableAttemptedName, c as definedAttributes, d as awaitDeferredResource, h as throwIfReadinessAborted, i as refuseRestoreFromItself, l as stringifyIfAssigned, m as deferReadiness, o as isModifyNotAvailableRefusal, s as modifyDbInstanceWhenAvailable, u as abortableSleep } from "./restore-source-guard-
|
|
14
|
-
import { C as timePhase, g as withRetry, n as unchangedBehindSecretReference, t as onlySecretReferencesDiffer } from "./secret-reference-immutable-
|
|
15
|
-
import { a as principalOwnWriteMembers, c as stringListMember, n as declaredStringList, o as settleOwnWriteMembers } from "./settle-own-write-members-
|
|
4
|
+
import { D as markReplayMayCollide, E as markNameCollision, F as isAmbiguousOutcomeError, G as markRedactedCause, I as isExplicitDenyError, K as wrapMaskedAwsError, M as explicitDenyPolicyKind, O as relayedNameCollision, Q as AccountIdUnavailableError, R as isRetryableTransientError, U as isThrottlingError, W as markNonRetryable, _ as ResourceUpdateNotSupportedError, at as ProvisioningError, et as CdkdError, i as credentialFingerprint, n as ambientCredentialConfig, r as clientDefaultsFor, t as ambientClientDefaults, x as hasReplayMayCollide, z as isTransientServerError } from "./ambient-client-defaults-Cq58skpK.js";
|
|
5
|
+
import { $ as ElapsedBudget, A as readNameProperty, B as rdsFamilyProtectionSite, C as VALUE_NOT_SHOWN, Ct as startInterruptWatch, D as isQuotableImportValue, Dt as compositeIdSkipResult, E as isPlainImportValue, Et as compositeIdSeparatorRefusal, F as markNotGone, Ft as isSecretDerivedValue, Gt as isAuxiliaryFailure, H as userPoolProtectionSite, It as maskDeep, Jt as markCreatedBeforeFailure, K as isProceedDbStatus, L as deleteWithProtectionCompensation, Lt as maskerOrIdentity, M as remedyLogicalId, Mt as stateOrphanRecordRemedy, N as resolveExplicitPhysicalId, Nt as createMaskedLogSinks, O as normalizeAwsTagsToCfn, Ot as logicalIdShown, Pt as createMaskedRetryLogger, R as logGroupProtectionSite, Rt as withDerivedNameMasks, S as holderRefusalRun, St as isInterruptedWaitError, T as isPlainImportJson, Tt as compositeIdFormatMessage, U as PROTECTION_FLIP_RETRY_WAIT_MS, Vt as clearCreatedBeforeFailure, W as deleteAfterProtectionFlipWithFinalSnapshot, X as isTerminalDeleteFailure, Y as ProtectionFlipRegistry, Yt as markSupersedesEarlierCreate, Z as protectionFlipKey, _ as withoutServerErrorRetries, _t as recordedPrincipalsRepair, at as isAwsCliLiteral, b as assertRegionMatch, c as AmbiguousCreateLatch, ct as renderDisableCommand, d as ambiguousAttemptLead, dn as withPasteableAwsProfile, dt as SECRET_DERIVED_READ_LIVE, et as ElapsedBudgetRegistry, f as createAttemptKey, fn as injectiveKey, ft as diffPrincipalNames, g as setBounded, h as replayedSendWindow, ht as readPrincipalLists, i as reportCreatedResource, it as WITHHELD_AWS_COMMAND, j as refusalTypeShown, jt as segmentAfterAnchor, k as quotedRemedyLogicalId, kt as packCompositeId, l as CREATION_DATE_SKEW_MARGIN_MS, m as replayFollowedAmbiguousAttempt, mt as onlySecretDerived, o as retractCreatedResource, ot as pasteableAwsCommand, p as isInsideWindow, pn as injectiveKeyPrefix, pt as holdsSecretDerivedEntry, q as isTerminalDbWaitStatus, qt as markAuxiliaryFailure, rt as UNNAMEABLE_ID_CLAUSE, s as AMBIGUOUS_LATCH_TTL_MS, st as protectedReplacementAdvice, u as RecentIdSet, v as DriftReadRefusedError, w as importRemedyCommand, wt as canonicalizeRoute53QueryName, x as holderRefusalMask, y as RESOURCE_NOT_FOUND, z as observeThenDisableProtection } from "./created-resource-sink-Bzk9hJNq.js";
|
|
6
|
+
import { A as displayStackName, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, _ 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-CQenoJzP.js";
|
|
7
|
+
import { S as isoTimestampAttribute, a as lookupEachName, c as RecordedIdentityMismatchError, g as identityTimestamp, i as isAccessDeniedError, l as assertRecordedIdentity, n as isPermissionDenial, o as withApiLimit, p as recordedIdentityId, r as chunks, s as RecordedIdentityError, t as deniedIdentityReadRefusal } from "./identity-read-denied-Cl8km1o3.js";
|
|
8
|
+
import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-D9FEXTba.js";
|
|
9
|
+
import { $ as effectiveInventoryItem, A as withRecordedCidrSpelling, B as LIFECYCLE_DEFAULT_STATUS, C as securityGroupReadbackDelays, D as stackIngressRuleHolder, E as singleSecurityGroupRuleId, F as clearLifecycleWritesOf, G as canonicalizeItemList, H as LIFECYCLE_RULE_PATH, I as lifecycleSettleTarget, J as lifecycleUsesFilterForm, K as effectiveLifecycleConfiguration, L as recordLifecycleWrite, M as sgRemovalRuleKey, N as sgRuleListMember, O as survivingRecordOfRuleId, P as LIFECYCLE_BASELINE_REREAD_DELAYS_MS, Q as effectiveIntelligentTieringItem, R as settleLifecycleRead, S as reconcileSgRules, T as sgRuleKey, U as LIFECYCLE_TAG_FILTERS_PATH, V as LIFECYCLE_FILTER_PATH, W as canonicalizeBlock, X as EVENTBRIDGE_CONFIG_PATH, Y as parseCfnTimestamp, Z as effectiveAnalyticsItem, _ as ingressRuleIdentity, a as refuseRevertRevokingSiblingRules, at as declaresBucketObjectLock, b as isResendableSocketFailure, c as siblingIdOwnedSgRules, ct as isPlainObject$4, d as authorizeDefinitelyNotApplied, dt as shownLifecycleRuleId, et as effectiveNotificationConfiguration, f as canonicalizeSgInlineRuleProtocols, g as flattenIpPermissions, h as descriptionKey, i as resolveSecretDerivedPrincipals, it as configItemId, j as markCopiesAgreed, k as tagListsMatch, l as SG_READBACK_RETRY_DELAY_MS, lt as manualBucketDeletionClause, m as comparableIngressIdentity, n as holdsUnprovenSecretPrincipalToken, nt as caughtErrorName, o as sgRuleDiffKey, ot as declaresNestedObjectLock, p as canonicalizeSgRuleProtocol, q as lifecycleRuleScope, r as isResolvableSecretPrincipalList, rt as coerceCfnNumber, s as readSgIngressById, st as describeValue$1, t as runDestroyForStack, tt as eventBridgeEnabledOf, u as SG_RULE_PAGE_SIZE, ut as mergeLegacySingular, v as isConnectTimeout, w as securityGroupRuleMatchesCfnIngress, x as narrowIngressIpProtocol, y as isDefaultEgressRule, z as takeLifecycleWrite } from "./program-bUaiwzJ2.js";
|
|
10
|
+
import { i as redactedDeleteAddressSkip, n as isRedactedRecordedValue, r as redactedDeleteAddressFields, t as REDACTED_DELETE_ADDRESS_SKIP_REASON } from "./redacted-delete-address-C1M-bYXm.js";
|
|
11
|
+
import { $ as canonicalizeStaleIndexDescription, $c as isWarmThroughputDecrease, $n as revertNestedChildFromJournal, $o as WaitConditionSignalStore, $r as withoutSiblingOwnedSgRules, $t as planIndexContributorInsightsOps, Ai as acquireIdempotencyToken, At as TAGS_BASELINE_REREAD_DELAYS_MS, B as DynamoDBGlobalTableProvider, Bo as memberReadFailure, Bt as planTimeToLive, Co as isStoredExpression, Ct as maskLeafValue, Ds as deleteSkipReason, Dt as sseSpecificationToSend, Du as withheldAccountClause, Ei as earliestDefined, Eo as awaitInFlightSibling, Et as sseSpecificationRefusal, Eu as accountArgs, Fo as SNS_DEFAULT_POLICY_ID, Ft as settleWrittenTags, Fu as findSdkUnwiredProperties, G as planStreamMemberOps, Gc as isLegacyHandleId, Go as verbatimEchoDriftKeys, Gt as vectorIndexesForCreate, H as STREAM_TAGS_KEY, Ho as reReadUntilSettled, Ht as sendTtlWaitingOutRateLimit, In as childRowTags, Io as declaredMemberDocument, J as streamDeclaresPolicy, Jt as CONTRIBUTOR_INSIGHTS_KEY, Ju as wireAttributeValue, Ko as attemptedPolicyDocument, Kt as vectorIndexesSettled, Ku as normalizeRecordName, Ld as rewriteTemplateAssetReferences, Ln as childStackTags, Lo as declaredPolicyDocument, Ls as isSettledInstanceState, Lt as takeTagWrite, Mo as KMS_DEFAULT_KEY_POLICY_ID, Nt as isDynamoDBTableArnIn, Oi as reserveStackCreateToken, Oo as getStackRecords, Os as withIndeterminateGuard, Ot as tableDeleteGoneWait, Pa as replacedDeleteFailureVerdict, Po as OWN_WRITE_REREAD_DELAYS_MS, Pt as recordTagWrite, Q as streamTagsMatchDeclared, Qt as planContributorInsightsOp, Ro as efsPolicyMatchesDeclared, Rs as connectInstanceIdOf, Rt as isTtlAlreadyDisabled, Ru as withoutSdkUnwiredProperties, So as collectPrincipalsAttachingPolicy, Ss as waitForGoneAfterDelete, St as mapSSESpecification, Td as decodeListingKey, To as withoutSiblingOwned, Tt as readCapacityNumber, U as declaredStreamPolicyMember, Uo as settleDeclaredMember, Ut as planVectorIndexUpdates, V as STREAM_POLICY_KEY, Vn as licensedNameHolder, Vo as policyDocumentMatchesDeclared, Vt as readTtlSpec, W as declaredStreamTagsMember, Wc as LEGACY_HANDLE_ID_PREFIX, Wo as warnUnsettledMember, Wt as readbackVectorIndexes, X as streamMemberRefusals, Xn as getNestedRevertRun, Xt as contributorInsightsRefusals, Y as streamDeclaresTags, Yt as completeTableContributorInsightsBaseline, Z as streamPolicyMatchesDeclared, Zr as siblingOwnedSgRuleIdentities, Zt as indexDeclaresContributorInsights, _d as listNestedTemplateRows, _n as waitForIndexesSettled, _t as KINESIS_DISABLE_PENDING_STATUSES, ac as dnsEntryStrings, ai as canonicalizeIpv6Cidr, an as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, at as projectIndexesOnto, bc as parseWebACLArn, bn as hasCdkAutoDeleteTag, bo as collectGroupsAddedBySiblings, bs as waitForLambdaFunctionActive, bt as isPlainCapacityBlock, cc as s3BucketDualStackDomainName, cn as deleteBudgetKey, ct as coerceWarmThroughput, df as describeFileReadFailure, dn as DELETE_INDEX_WAIT_PROCEED_NOTE, dt as isRefusedWarmThroughput, du as refuseMalformedNestedChildOutputs, ei as SG_RULE_ID_PATTERN, el as toCfnInteger, en as readContributorInsightsSpec, es as classifyHandleUrl, et as declaresIndexList, ff as displayAssemblyPath, fn as INDEX_SETTLE_POLL_INTERVAL_MS, ft as readbackWarmThroughput, gd as isAbsoluteAssetPath, gl as passedParameterClassesOf, gn as relayedIndexBusyDelete, gt as KINESIS_DESTINATION_SETTLE_POLL_MS, hd as findNestedTemplateTreeDefect, hf as resolveAssemblyPath, hn as maskedLogger, ht as warmThroughputAlreadyMatches, ii as sgProtocolKey, il as maskedSecretSegment, in as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, io as secretNamedAttributeNamesOf, ir as withNestedStackContext, it as localSecondaryIndexesKey, jc as getAccountInfo, js as markWaitAbandoned, jt as clearTagWrites, kt as tableNameReleaseWait, lc as s3BucketRegionalDomainName, ln as resolveDynamoDbDeleteBudgetClock, lt as declaresWarmThroughput, mf as renderAssemblyPathEscape, mn as deleteTableWithIndexBusyRetry, mt as trimUnsentWarmMembers, ni as recordedSgRuleId, nl as APPSYNC_APIKEY_ARN_RESOURCE_PATH, nn as reverseMapTableContributorInsights, nt as desiredIndexEntriesByName, oc as s3BucketArn, oi as canonicalizeIpv4Cidr, on as beginDeleteWait, ot as reverseMapSecondaryIndex, pd as stringifyValue, pn as TABLE_INDEX_NOUN, pt as sentWarmThroughputMembers, q as reverseMapStreamPolicy, qo as policyContentKey, qt as vectorIndexesShapeDetail, qu as planSubscriptionAttributes, rn as stripIndexContributorInsights, rr as getCurrentNestedStackContext, rt as gsiUnsendableChangeRefusal, sc as s3BucketDomainName, sn as compensateRemovedDeletionProtection, st as sameJsonValue, t as DeployEngine, ta as getCurrentProducerRegions, ti as cfnIngressPortValue, tl as toFiniteNumber, tn as reverseMapIndexContributorInsights, ts as evaluateSignals, tt as deletionProtectionRefusal, uc as s3BucketWebsiteUrl, un as resolveDynamoDbDeleteBudgetMs, us as getCurrentResourceSecrets, ut as desiredBagIsInformative, vd as renderNestedTemplateTreeDefect, vi as calculateResourceDrift, vn as ECR_AUTO_DELETE_IMAGES_TAG, vt as deleteTableRetryDelays, wc as outputReferenceProvenanceOf, wo as withoutSiblingAttachedArns, wt as pointInTimeRecoveryRefusal, xn as isTruthyCfnBoolean, xo as collectManagedPolicyArnsAttachedBySiblings, xt as isTableName, xu as refuseMalformedResourcesForDestroy, yn as S3_AUTO_DELETE_OBJECTS_TAG, yt as hasUsableDeclaredCapacity, zo as lambdaPermissionMatchesDeclared, zt as isTtlRateLimited } from "./deploy-engine-DvPDae31.js";
|
|
12
|
+
import { a as refuseMalformedDesiredTags, i as readTagList, n as DBPROXY_TAG_OPTIONS, o as tagMapAsList, r as planTagDiff, s as tagPlanWarning, t as DBPROXY_TAGS_WHAT } from "./tag-list-CSQWFQbX.js";
|
|
13
|
+
import { _ as isUsableAttemptedName, c as definedAttributes, d as awaitDeferredResource, h as throwIfReadinessAborted, i as refuseRestoreFromItself, l as stringifyIfAssigned, m as deferReadiness, o as isModifyNotAvailableRefusal, s as modifyDbInstanceWhenAvailable, u as abortableSleep } from "./restore-source-guard-CP2cxnnh.js";
|
|
14
|
+
import { C as timePhase, g as withRetry, n as unchangedBehindSecretReference, t as onlySecretReferencesDiffer } from "./secret-reference-immutable-BLsAuIkM.js";
|
|
15
|
+
import { a as principalOwnWriteMembers, c as stringListMember, n as declaredStringList, o as settleOwnWriteMembers } from "./settle-own-write-members-BJ1rf1Yt.js";
|
|
16
16
|
import { n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
|
|
17
17
|
import { f as ambientRegion, r as awsEndpointOverrideActive } from "./aws-client-defaults-DAebi99J.js";
|
|
18
|
-
import { a as reDisableInstanceApiTermination, c as resolvedResourceTimeoutMs, f as markRefusedBeforeApplying, i as observeThenDisableInstanceApiTermination, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, r as isTerminationProtectionPropagationError, s as resolvedPerTypeResourceTimeoutMs, u as getPriorAttempts } from "./ec2-termination-protection-
|
|
19
|
-
import { l as removedTemplateKeys, n as enclosingDeadlineRemainingMs, o as clearOnUpdateRemoval, t as enclosingDeadlineExpired, u as withRemovalDefaults } from "./resource-deadline-
|
|
20
|
-
import {
|
|
21
|
-
import { EMRClusterProvider, a as undeclaredDriftKeys, c as reportPossibleOrphans, i as projectDeclaredDriftPair, n as EMRInstanceGroupConfigProvider, o as collectOrphanIds, r as filledDefaultsFrom, s as orphanCommandRegionArg$2, t as EMRInstanceFleetConfigProvider } from "./emr-cluster-provider-
|
|
22
|
-
import { RDSProvider } from "./rds-provider-
|
|
23
|
-
import { NeptuneProvider } from "./neptune-provider-
|
|
24
|
-
import { ASGProvider } from "./asg-provider-
|
|
18
|
+
import { a as reDisableInstanceApiTermination, c as resolvedResourceTimeoutMs, f as markRefusedBeforeApplying, i as observeThenDisableInstanceApiTermination, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, r as isTerminationProtectionPropagationError, s as resolvedPerTypeResourceTimeoutMs, u as getPriorAttempts } from "./ec2-termination-protection-C19A5IH9.js";
|
|
19
|
+
import { l as removedTemplateKeys, n as enclosingDeadlineRemainingMs, o as clearOnUpdateRemoval, t as enclosingDeadlineExpired, u as withRemovalDefaults } from "./resource-deadline-Cj-4PzvY.js";
|
|
20
|
+
import { H as markSameGenerationBag, Lt as withoutPhysicalNameCopies, Ut as dynamicReferenceTokens, X as redactForState, _n as recordAttributeIdCopy, at as snapshotPassProvenance, c as blockDeviceMappingsDifferOnlyInDeleteOnTermination, f as canonicalLambdaFunctionName, gn as physicalNameCopiesOf, h as sameLambdaFunctionAddress, hn as recoverMaskedOutput, k as passedNoEchoParametersOf, m as parseLambdaFunctionAddress, p as lambdaFunctionNameForMask, rt as recordReferenceProvenanceEntry, u as ecsServiceLaunchTypeSetOrChanged, ut as hasMaskableValues, wn as carriesSecretMask } from "./replacement-rules-BimJi0H1.js";
|
|
21
|
+
import { EMRClusterProvider, a as undeclaredDriftKeys, c as reportPossibleOrphans, i as projectDeclaredDriftPair, n as EMRInstanceGroupConfigProvider, o as collectOrphanIds, r as filledDefaultsFrom, s as orphanCommandRegionArg$2, t as EMRInstanceFleetConfigProvider } from "./emr-cluster-provider-DVljF3YH.js";
|
|
22
|
+
import { RDSProvider } from "./rds-provider-6Cj8pik8.js";
|
|
23
|
+
import { NeptuneProvider } from "./neptune-provider-Ddse7yYJ.js";
|
|
24
|
+
import { ASGProvider } from "./asg-provider-B3ngG-X4.js";
|
|
25
25
|
import { createHash, randomUUID } from "node:crypto";
|
|
26
26
|
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";
|
|
27
27
|
import { AddRoleToInstanceProfileCommand, AddUserToGroupCommand, AttachGroupPolicyCommand, AttachRolePolicyCommand, AttachUserPolicyCommand, CreateAccessKeyCommand, CreateGroupCommand, CreateInstanceProfileCommand, CreateLoginProfileCommand, CreatePolicyCommand, CreatePolicyVersionCommand, CreateUserCommand, DeleteAccessKeyCommand, DeleteConflictException, DeleteGroupCommand, DeleteGroupPolicyCommand, DeleteInstanceProfileCommand, DeleteLoginProfileCommand, DeletePolicyCommand, DeletePolicyVersionCommand, DeleteRolePolicyCommand, DeleteUserCommand, DeleteUserPermissionsBoundaryCommand, DeleteUserPolicyCommand, DetachGroupPolicyCommand, DetachRolePolicyCommand, DetachUserPolicyCommand, GetAccessKeyLastUsedCommand, GetGroupCommand, GetGroupPolicyCommand, GetInstanceProfileCommand, GetLoginProfileCommand, 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";
|
|
@@ -24690,7 +24690,8 @@ function instanceStopMembers(plan) {
|
|
|
24690
24690
|
plan.placement?.Affinity !== void 0 ? "Affinity" : "",
|
|
24691
24691
|
plan.placement?.HostId !== void 0 ? "HostId" : "",
|
|
24692
24692
|
plan.kernelId !== void 0 ? "KernelId" : "",
|
|
24693
|
-
plan.ramdiskId !== void 0 ? "RamdiskId" : ""
|
|
24693
|
+
plan.ramdiskId !== void 0 ? "RamdiskId" : "",
|
|
24694
|
+
plan.ebsOptimized !== void 0 ? "EbsOptimized" : ""
|
|
24694
24695
|
].filter(Boolean);
|
|
24695
24696
|
}
|
|
24696
24697
|
function isRecordedStandIn$1(value) {
|
|
@@ -25298,6 +25299,7 @@ function planInstanceMemberUpdates(logicalId, physicalId, resourceType, properti
|
|
|
25298
25299
|
else throw refusedBeforeApplying(new ResourceUpdateNotSupportedError(resourceType, logicalId, `replace the instance (${deployReplaceCommand()}). CloudFormation creates a new instance for a Tenancy change to or from default`));
|
|
25299
25300
|
}
|
|
25300
25301
|
this.planInstanceStoppedMembers(logicalId, physicalId, resourceType, properties, context, plan, changed, standInSkips);
|
|
25302
|
+
this.planInstanceEbsOptimized(logicalId, physicalId, resourceType, properties, context, plan, changed, standInSkips);
|
|
25301
25303
|
if (changed("InstanceInitiatedShutdownBehavior", (a, b) => a === b)) {
|
|
25302
25304
|
if (properties["InstanceInitiatedShutdownBehavior"] === void 0) {
|
|
25303
25305
|
if (context?.replayingState === true) this.logger.warn(safeMsg`${logicalId} (${resourceType}): the state being restored does not declare InstanceInitiatedShutdownBehavior; the rollback leaves it at its current AWS value.`);
|
|
@@ -25506,6 +25508,7 @@ async function prepareInstanceMemberUpdates(logicalId, physicalId, resourceType,
|
|
|
25506
25508
|
}
|
|
25507
25509
|
if (plan.kernelId !== void 0 && instance?.KernelId === plan.kernelId) delete plan.kernelId;
|
|
25508
25510
|
if (plan.ramdiskId !== void 0 && instance?.RamdiskId === plan.ramdiskId) delete plan.ramdiskId;
|
|
25511
|
+
if (plan.ebsOptimized !== void 0 && instance?.EbsOptimized === plan.ebsOptimized) delete plan.ebsOptimized;
|
|
25509
25512
|
const stopMembers = instanceStopMembers(plan);
|
|
25510
25513
|
const needsStop = stopMembers.length > 0;
|
|
25511
25514
|
if (tenancy !== void 0) {
|
|
@@ -25607,6 +25610,13 @@ async function applyInstanceMemberUpdates(logicalId, physicalId, resourceType, p
|
|
|
25607
25610
|
await this.waitForInstanceState(logicalId, physicalId, resourceType, "stopped");
|
|
25608
25611
|
}
|
|
25609
25612
|
phase = "modify";
|
|
25613
|
+
if (plan.ebsOptimized === false) {
|
|
25614
|
+
await this.ec2Client.send(new ModifyInstanceAttributeCommand({
|
|
25615
|
+
InstanceId: physicalId,
|
|
25616
|
+
EbsOptimized: { Value: plan.ebsOptimized }
|
|
25617
|
+
}));
|
|
25618
|
+
applied.push("the new EbsOptimized");
|
|
25619
|
+
}
|
|
25610
25620
|
if (plan.instanceType !== void 0) {
|
|
25611
25621
|
await this.ec2Client.send(new ModifyInstanceAttributeCommand({
|
|
25612
25622
|
InstanceId: physicalId,
|
|
@@ -25649,6 +25659,13 @@ async function applyInstanceMemberUpdates(logicalId, physicalId, resourceType, p
|
|
|
25649
25659
|
}));
|
|
25650
25660
|
applied.push("the new RamdiskId");
|
|
25651
25661
|
}
|
|
25662
|
+
if (plan.ebsOptimized === true) {
|
|
25663
|
+
await this.ec2Client.send(new ModifyInstanceAttributeCommand({
|
|
25664
|
+
InstanceId: physicalId,
|
|
25665
|
+
EbsOptimized: { Value: plan.ebsOptimized }
|
|
25666
|
+
}));
|
|
25667
|
+
applied.push("the new EbsOptimized");
|
|
25668
|
+
}
|
|
25652
25669
|
if (!startAfter) return;
|
|
25653
25670
|
phase = "start";
|
|
25654
25671
|
await this.ec2Client.send(new StartInstancesCommand({ InstanceIds: [physicalId] }));
|
|
@@ -26309,6 +26326,36 @@ const instanceSsmMethods = {
|
|
|
26309
26326
|
readInstanceSsmAssociations
|
|
26310
26327
|
};
|
|
26311
26328
|
|
|
26329
|
+
// src/provisioning/providers/ec2/instance-ebs-optimized.ts
|
|
26330
|
+
function planInstanceEbsOptimized(logicalId, physicalId, resourceType, properties, context, plan, changed, standInSkips) {
|
|
26331
|
+
const key = "EbsOptimized";
|
|
26332
|
+
const same = (a, b) => {
|
|
26333
|
+
const x = coerceCfnBoolean(a);
|
|
26334
|
+
return x !== void 0 && x === coerceCfnBoolean(b);
|
|
26335
|
+
};
|
|
26336
|
+
if (!changed(key, same)) return;
|
|
26337
|
+
const raw = properties[key];
|
|
26338
|
+
if (raw === void 0) {
|
|
26339
|
+
if (context?.replayingState === true) {
|
|
26340
|
+
this.logger.warn(safeMsg`${logicalId} (${resourceType}): the state being restored does not declare ${key}; the rollback leaves it at its current AWS value.`);
|
|
26341
|
+
return;
|
|
26342
|
+
}
|
|
26343
|
+
throw refusedBeforeApplying(new ProvisioningError(safeMsg`${logicalId} (${resourceType}): ${key} was removed from the template, and CloudFormation fails that update for an existing instance. Keep it declared (set it to false to turn EBS optimization off). The instance was not updated.`, resourceType, logicalId, physicalId));
|
|
26344
|
+
}
|
|
26345
|
+
if (standInSkips(key)) return;
|
|
26346
|
+
const want = coerceCfnBoolean(raw);
|
|
26347
|
+
if (want === void 0) {
|
|
26348
|
+
const refusal = configBooleanRefusal(properties, key, resourceType);
|
|
26349
|
+
if (context?.replayingState === true || context?.desiredFromAwsReadback === true) {
|
|
26350
|
+
this.logger.warn(safeMsg`${logicalId} (${resourceType}): ${refusal ?? `${key} is not a boolean`}; it is left at its current AWS value.`);
|
|
26351
|
+
return;
|
|
26352
|
+
}
|
|
26353
|
+
throw refusedBeforeApplying(new ProvisioningError(`${refusal ?? `${resourceType}.${key} must be a boolean`}. The instance ${logicalId} was not updated.`, resourceType, logicalId, physicalId));
|
|
26354
|
+
}
|
|
26355
|
+
plan.ebsOptimized = want;
|
|
26356
|
+
}
|
|
26357
|
+
const instanceEbsOptimizedMethods = { planInstanceEbsOptimized };
|
|
26358
|
+
|
|
26312
26359
|
// src/provisioning/providers/ec2/network-acl.ts
|
|
26313
26360
|
async function createNetworkAcl(logicalId, resourceType, properties, context) {
|
|
26314
26361
|
this.logger.debug(`Creating NetworkAcl ${logicalId}`);
|
|
@@ -28043,6 +28090,7 @@ for (const methods of [
|
|
|
28043
28090
|
instanceLifecycleMethods,
|
|
28044
28091
|
instanceBuildMethods,
|
|
28045
28092
|
instanceSsmMethods,
|
|
28093
|
+
instanceEbsOptimizedMethods,
|
|
28046
28094
|
networkAclMethods,
|
|
28047
28095
|
tagsErrorsMethods,
|
|
28048
28096
|
driftMethods,
|
|
@@ -34475,7 +34523,8 @@ var AgentCoreEvaluatorProvider = class {
|
|
|
34475
34523
|
refuseMalformedDesiredTags(properties["Tags"], resourceType, logicalId, physicalId);
|
|
34476
34524
|
try {
|
|
34477
34525
|
const input = { evaluatorId: evaluatorIdFromArn(physicalId) };
|
|
34478
|
-
|
|
34526
|
+
const revertNoDescription = context?.desiredFromAwsReadback === true && properties["Description"] === "";
|
|
34527
|
+
if (properties["Description"] !== void 0 && !revertNoDescription) input["description"] = properties["Description"];
|
|
34479
34528
|
if (properties["EvaluatorConfig"] !== void 0) input["evaluatorConfig"] = pascalToCamelCaseKeys(properties["EvaluatorConfig"], CFN_PRESERVE_KEYS);
|
|
34480
34529
|
if (properties["Level"] !== void 0) input["level"] = properties["Level"];
|
|
34481
34530
|
if (properties["KmsKeyArn"] !== void 0) input["kmsKeyArn"] = properties["KmsKeyArn"];
|
|
@@ -46672,10 +46721,17 @@ async function planNodeChanges(logicalId, physicalId, resourceType, properties,
|
|
|
46672
46721
|
function warnNotAppliedInPlace(logicalId, properties, previousProperties, placement) {
|
|
46673
46722
|
const changed = (next, prev) => next !== void 0 && !isDeepStrictEqual(next, prev);
|
|
46674
46723
|
const notApplied = [];
|
|
46675
|
-
|
|
46676
|
-
if (
|
|
46724
|
+
const reasons = [];
|
|
46725
|
+
if (changed(properties["PreferredAvailabilityZone"], previousProperties["PreferredAvailabilityZone"])) {
|
|
46726
|
+
notApplied.push("PreferredAvailabilityZone");
|
|
46727
|
+
reasons.push("ModifyCacheCluster cannot change PreferredAvailabilityZone, and CloudFormation leaves it unchanged too");
|
|
46728
|
+
}
|
|
46729
|
+
if (placement?.azMode === void 0 && changed(properties["AZMode"], previousProperties["AZMode"])) {
|
|
46730
|
+
notApplied.push("AZMode");
|
|
46731
|
+
reasons.push("ModifyCacheCluster carries AZMode only beside NewAvailabilityZones, and this change adds no node in a zone the live nodes do not cover");
|
|
46732
|
+
}
|
|
46677
46733
|
if (notApplied.length === 0) return;
|
|
46678
|
-
this.logger.warn(safeMsg`CacheCluster ${logicalId}: the ${notApplied.join(", ")} change is not applied to the ` +
|
|
46734
|
+
this.logger.warn(safeMsg`CacheCluster ${logicalId}: the ${notApplied.join(", ")} change is not applied to the ` + safeMsg`existing cluster (${reasons.join("; ")}). To apply it, replace the cluster, for ` + `example by changing its logical ID.`);
|
|
46679
46735
|
}
|
|
46680
46736
|
function warnRemovalsLeftInPlace(logicalId, properties, previousProperties, context) {
|
|
46681
46737
|
if (context?.desiredFromAwsReadback) return;
|
|
@@ -48382,13 +48438,15 @@ async function updateGraphQLApi(logicalId, physicalId, resourceType, properties,
|
|
|
48382
48438
|
authenticationType: newAuthType ?? oldAuthType ?? "API_KEY"
|
|
48383
48439
|
};
|
|
48384
48440
|
if (newXray !== void 0) input.xrayEnabled = newXray;
|
|
48385
|
-
|
|
48386
|
-
|
|
48387
|
-
|
|
48388
|
-
|
|
48389
|
-
|
|
48390
|
-
|
|
48391
|
-
|
|
48441
|
+
const sentLog = isEmptyLogConfig(newLog) ? void 0 : newLog;
|
|
48442
|
+
const recordedLog = isEmptyLogConfig(oldLog) ? void 0 : oldLog;
|
|
48443
|
+
if (sentLog !== void 0) input.logConfig = {
|
|
48444
|
+
cloudWatchLogsRoleArn: sentLog["CloudWatchLogsRoleArn"],
|
|
48445
|
+
fieldLogLevel: sentLog["FieldLogLevel"],
|
|
48446
|
+
excludeVerboseContent: sentLog["ExcludeVerboseContent"]
|
|
48447
|
+
};
|
|
48448
|
+
else if (recordedLog !== void 0) {
|
|
48449
|
+
const existingRoleArn = recordedLog["CloudWatchLogsRoleArn"];
|
|
48392
48450
|
if (existingRoleArn) input.logConfig = {
|
|
48393
48451
|
cloudWatchLogsRoleArn: existingRoleArn,
|
|
48394
48452
|
fieldLogLevel: "NONE"
|
|
@@ -48418,6 +48476,9 @@ async function updateGraphQLApi(logicalId, physicalId, resourceType, properties,
|
|
|
48418
48476
|
...envRecord && { effectiveProperties: this.withEnvironmentVariablesRecord(properties, envRecord) }
|
|
48419
48477
|
};
|
|
48420
48478
|
}
|
|
48479
|
+
function isEmptyLogConfig(log) {
|
|
48480
|
+
return log === void 0 || typeof log === "object" && log !== null && Object.keys(log).length === 0;
|
|
48481
|
+
}
|
|
48421
48482
|
|
|
48422
48483
|
// src/provisioning/providers/appsync/update-children.ts
|
|
48423
48484
|
async function updateGraphQLSchema(logicalId, physicalId, resourceType, properties, previousProperties, mask = maskerOrIdentity(void 0)) {
|
|
@@ -49942,6 +50003,17 @@ var AppSyncProvider = class {
|
|
|
49942
50003
|
getDriftUnknownPaths(resourceType) {
|
|
49943
50004
|
return getDriftUnknownPaths$2.call(this, resourceType);
|
|
49944
50005
|
}
|
|
50006
|
+
canonicalizeDriftProperties(resourceType, properties) {
|
|
50007
|
+
if (resourceType !== "AWS::AppSync::GraphQLApi") return properties;
|
|
50008
|
+
const log = properties["LogConfig"];
|
|
50009
|
+
if (typeof log !== "object" || log === null || Array.isArray(log)) return properties;
|
|
50010
|
+
const members = log;
|
|
50011
|
+
if (members["FieldLogLevel"] !== "NONE") return properties;
|
|
50012
|
+
return Object.entries(members).every(([key, value]) => key === "FieldLogLevel" || key === "CloudWatchLogsRoleArn" || key === "ExcludeVerboseContent" && value === false) ? {
|
|
50013
|
+
...properties,
|
|
50014
|
+
LogConfig: {}
|
|
50015
|
+
} : properties;
|
|
50016
|
+
}
|
|
49945
50017
|
asObject(value, path, options, resourceType = "AWS::AppSync::GraphQLApi") {
|
|
49946
50018
|
return asObject.call(this, value, path, options, resourceType);
|
|
49947
50019
|
}
|
|
@@ -50318,6 +50390,17 @@ function pickDefined(obj) {
|
|
|
50318
50390
|
}
|
|
50319
50391
|
return out;
|
|
50320
50392
|
}
|
|
50393
|
+
function withoutReadbackPlaceholders(properties, placeholders, desiredFromAwsReadback) {
|
|
50394
|
+
if (desiredFromAwsReadback !== true) return properties;
|
|
50395
|
+
let out;
|
|
50396
|
+
for (const [key, placeholder] of Object.entries(placeholders)) {
|
|
50397
|
+
if (!Object.hasOwn(properties, key)) continue;
|
|
50398
|
+
if (JSON.stringify(properties[key]) !== JSON.stringify(placeholder)) continue;
|
|
50399
|
+
out ??= { ...properties };
|
|
50400
|
+
delete out[key];
|
|
50401
|
+
}
|
|
50402
|
+
return out ?? properties;
|
|
50403
|
+
}
|
|
50321
50404
|
|
|
50322
50405
|
// src/provisioning/providers/glue/names.ts
|
|
50323
50406
|
const GLUE_NAME_MAX_LENGTH = 255;
|
|
@@ -50533,7 +50616,7 @@ async function jobUpdate(logicalId, physicalId, resourceType, properties, previo
|
|
|
50533
50616
|
const command = properties["Command"];
|
|
50534
50617
|
const update = {
|
|
50535
50618
|
...command !== void 0 && { Command: buildJobCommand(command) },
|
|
50536
|
-
...buildJobCommonFields(properties),
|
|
50619
|
+
...buildJobCommonFields(withoutCapacityEchoes(withoutReadbackPlaceholders(properties, JOB_READBACK_PLACEHOLDERS, context?.desiredFromAwsReadback), previousProperties, context?.desiredFromAwsReadback)),
|
|
50537
50620
|
...properties["Role"] !== void 0 && { Role: properties["Role"] }
|
|
50538
50621
|
};
|
|
50539
50622
|
await this.getClient().send(new UpdateJobCommand({
|
|
@@ -50570,6 +50653,41 @@ async function jobDelete(logicalId, physicalId, resourceType, _properties, conte
|
|
|
50570
50653
|
async function jobGetAttribute(physicalId, _resourceType, attributeName) {
|
|
50571
50654
|
if (attributeName === "Id" || attributeName === "Ref" || attributeName === "Name") return physicalId;
|
|
50572
50655
|
}
|
|
50656
|
+
const JOB_READBACK_PLACEHOLDERS = {
|
|
50657
|
+
Description: "",
|
|
50658
|
+
LogUri: "",
|
|
50659
|
+
DefaultArguments: {},
|
|
50660
|
+
NonOverridableArguments: {},
|
|
50661
|
+
Connections: { Connections: [] },
|
|
50662
|
+
Timeout: 0,
|
|
50663
|
+
NotificationProperty: { NotifyDelayAfter: 0 },
|
|
50664
|
+
GlueVersion: "",
|
|
50665
|
+
NumberOfWorkers: 0,
|
|
50666
|
+
WorkerType: "",
|
|
50667
|
+
MaxCapacity: 0,
|
|
50668
|
+
AllocatedCapacity: 0,
|
|
50669
|
+
SecurityConfiguration: "",
|
|
50670
|
+
ExecutionClass: "",
|
|
50671
|
+
JobMode: "",
|
|
50672
|
+
MaintenanceWindow: "",
|
|
50673
|
+
SourceControlDetails: {}
|
|
50674
|
+
};
|
|
50675
|
+
function withoutCapacityEchoes(properties, previousProperties, desiredFromAwsReadback) {
|
|
50676
|
+
if (desiredFromAwsReadback !== true) return properties;
|
|
50677
|
+
const same = (key) => JSON.stringify(properties[key]) === JSON.stringify(previousProperties[key]);
|
|
50678
|
+
let workers = properties["WorkerType"] !== void 0 && properties["NumberOfWorkers"] !== void 0;
|
|
50679
|
+
if (workers && properties["MaxCapacity"] !== void 0 && !same("MaxCapacity") && same("WorkerType") && same("NumberOfWorkers")) workers = false;
|
|
50680
|
+
const echoes = workers ? ["MaxCapacity", "AllocatedCapacity"] : [
|
|
50681
|
+
"WorkerType",
|
|
50682
|
+
"NumberOfWorkers",
|
|
50683
|
+
"AllocatedCapacity"
|
|
50684
|
+
];
|
|
50685
|
+
if (!workers && properties["MaxCapacity"] === void 0) return properties;
|
|
50686
|
+
if (!echoes.some((key) => Object.hasOwn(properties, key))) return properties;
|
|
50687
|
+
const out = { ...properties };
|
|
50688
|
+
for (const key of echoes) delete out[key];
|
|
50689
|
+
return out;
|
|
50690
|
+
}
|
|
50573
50691
|
async function jobReadCurrentState(physicalId, _logicalId, _resourceType) {
|
|
50574
50692
|
let job;
|
|
50575
50693
|
try {
|
|
@@ -51840,12 +51958,13 @@ async function triggerUpdate(logicalId, physicalId, resourceType, properties, pr
|
|
|
51840
51958
|
} catch (err) {
|
|
51841
51959
|
if (!(err instanceof EntityNotFoundException)) log.debug(`GetTrigger pre-check failed for ${v(physicalId)}; continuing anyway: ${describeAwsFailure(err).detail}`);
|
|
51842
51960
|
}
|
|
51961
|
+
const sent = withoutReadbackPlaceholders(properties, TRIGGER_READBACK_PLACEHOLDERS, context?.desiredFromAwsReadback);
|
|
51843
51962
|
const update = {
|
|
51844
|
-
...
|
|
51845
|
-
...
|
|
51846
|
-
...
|
|
51847
|
-
...
|
|
51848
|
-
...
|
|
51963
|
+
...sent["Description"] !== void 0 && { Description: sent["Description"] },
|
|
51964
|
+
...sent["Schedule"] !== void 0 && { Schedule: sent["Schedule"] },
|
|
51965
|
+
...sent["Actions"] !== void 0 && { Actions: sent["Actions"] },
|
|
51966
|
+
...sent["Predicate"] !== void 0 && { Predicate: sent["Predicate"] },
|
|
51967
|
+
...sent["EventBatchingCondition"] !== void 0 && { EventBatchingCondition: sent["EventBatchingCondition"] }
|
|
51849
51968
|
};
|
|
51850
51969
|
let updateError;
|
|
51851
51970
|
for (const key of TRIGGER_UPDATE_KEYS) if (JSON.stringify(properties[key]) !== JSON.stringify(previousProperties[key])) markUnsettled(key);
|
|
@@ -51887,6 +52006,12 @@ async function triggerUnsettledInTransition(physicalId, _logicalId, _resourceTyp
|
|
|
51887
52006
|
return names;
|
|
51888
52007
|
}
|
|
51889
52008
|
}
|
|
52009
|
+
const TRIGGER_READBACK_PLACEHOLDERS = {
|
|
52010
|
+
Schedule: "",
|
|
52011
|
+
Description: "",
|
|
52012
|
+
Predicate: {},
|
|
52013
|
+
EventBatchingCondition: {}
|
|
52014
|
+
};
|
|
51890
52015
|
async function waitForTriggerDeactivated(physicalId) {
|
|
51891
52016
|
for (let attempt = 0; attempt < 30; attempt++) {
|
|
51892
52017
|
try {
|
|
@@ -66969,4 +67094,4 @@ var ACMCertificateProvider = class {
|
|
|
66969
67094
|
};
|
|
66970
67095
|
|
|
66971
67096
|
export { ACMCertificateProvider, ASGProvider, AgentCoreBrowserProvider, AgentCoreCodeInterpreterProvider, AgentCoreEvaluatorProvider, AgentCoreRuntimeProvider, ApiGatewayProvider, ApiGatewayV2Provider, AppConfigEnvironmentProvider, AppSyncProvider, BudgetsBudgetProvider, CloudFrontDistributionProvider, CloudFrontOACProvider, CloudFrontOAIProvider, CloudTrailProvider, CloudWatchAlarmProvider, CloudWatchAnomalyDetectorProvider, CodeBuildProvider, CodeCommitRepositoryProvider, CognitoUserPoolProvider, ConnectInstanceProvider, DLMLifecyclePolicyProvider, DocDBProvider, DocDBSubnetGroupProvider, DynamoDBGlobalTableProvider, DynamoDBTableProvider, EC2Provider, EC2VPCEndpointProvider, ECRProvider, ECSProvider, EFSProvider, ELBv2Provider, EMRClusterProvider, EMRInstanceFleetConfigProvider, EMRInstanceGroupConfigProvider, ElastiCacheProvider, EventBridgeArchiveProvider, EventBridgeBusProvider, EventBridgeRuleProvider, FSxFileSystemProvider, FirehoseProvider, GlueConnectionProvider, GlueCrawlerProvider, GlueJobProvider, GlueProvider, GlueSecurityConfigurationProvider, GlueTriggerProvider, GlueWorkflowProvider, IAMAccessKeyProvider, IAMInstanceProfileProvider, IAMManagedPolicyProvider, IAMPolicyProvider, IAMRoleProvider, IAMUserGroupProvider, KMSProvider, KinesisStreamConsumerProvider, KinesisStreamProvider, LambdaEventInvokeConfigProvider, LambdaEventSourceMappingProvider, LambdaFunctionProvider, LambdaLayerVersionProvider, LambdaMicrovmImageProvider, LambdaNetworkConnectorProvider, LambdaPermissionProvider, LambdaUrlProvider, LambdaWebFunctionEndpointProvider, LambdaWebFunctionRevisionProvider, LightsailAlarmProvider, LogsDeliveryDestinationProvider, LogsDeliveryProvider, LogsDeliverySourceProvider, LogsLogGroupProvider, NeptuneProvider, NestedStackProvider, PipesPipeProvider, RDSDBProxyEndpointProvider, RDSDBProxyProvider, RDSDBProxyTargetGroupProvider, RDSProvider, Route53Provider, S3BucketPolicyProvider, S3BucketProvider, S3DirectoryBucketProvider, S3TablesProvider, S3VectorsProvider, SNSSubscriptionProvider, SNSTopicPolicyProvider, SNSTopicProvider, SQSQueuePolicyProvider, SQSQueueProvider, SSMParameterProvider, SchedulerScheduleProvider, SecretsManagerSecretProvider, ServiceDiscoveryProvider, StepFunctionsProvider, WAFv2WebACLProvider, WaitConditionHandleProvider, WaitConditionProvider };
|
|
66972
|
-
//# sourceMappingURL=provider-classes-
|
|
67097
|
+
//# sourceMappingURL=provider-classes-AI1PLFRf.js.map
|