@cdkd/cli 0.370.7 → 0.371.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-DqS6NWx5.js → ambient-client-defaults-DzKSQvWN.js} +3 -3
- package/dist/{ambient-client-defaults-DqS6NWx5.js.map → ambient-client-defaults-DzKSQvWN.js.map} +1 -1
- package/dist/{asg-provider-BMQeGpmF.js → asg-provider-BkR7gv40.js} +8 -8
- package/dist/{asg-provider-BMQeGpmF.js.map → asg-provider-BkR7gv40.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{created-resource-sink-DGvRiBLW.js → created-resource-sink-D7FufEaB.js} +4 -4
- package/dist/{created-resource-sink-DGvRiBLW.js.map → created-resource-sink-D7FufEaB.js.map} +1 -1
- package/dist/{custom-resource-runtime-BJFVnN9S.js → custom-resource-runtime-DyUvtovF.js} +6 -6
- package/dist/{custom-resource-runtime-BJFVnN9S.js.map → custom-resource-runtime-DyUvtovF.js.map} +1 -1
- package/dist/{db-associated-roles-ConAeY8g.js → db-associated-roles-Dq-VSmuu.js} +2 -2
- package/dist/{db-associated-roles-ConAeY8g.js.map → db-associated-roles-Dq-VSmuu.js.map} +1 -1
- package/dist/{delete-started-Dya9H_gI.js → delete-started-C8fWcehI.js} +4 -4
- package/dist/{delete-started-Dya9H_gI.js.map → delete-started-C8fWcehI.js.map} +1 -1
- package/dist/{deploy-engine-CpeBWcxG.js → deploy-engine-BsKzx9ys.js} +165 -34
- package/dist/deploy-engine-BsKzx9ys.js.map +1 -0
- package/dist/{ec2-termination-protection-CVTp4mlC.js → ec2-termination-protection-CJjU7OpO.js} +3 -3
- package/dist/{ec2-termination-protection-CVTp4mlC.js.map → ec2-termination-protection-CJjU7OpO.js.map} +1 -1
- package/dist/{ecr-uri-DwYinaAB.js → ecr-uri-BYBZlAlS.js} +2 -2
- package/dist/{ecr-uri-DwYinaAB.js.map → ecr-uri-BYBZlAlS.js.map} +1 -1
- package/dist/{emr-cluster-provider-CR_OFsGZ.js → emr-cluster-provider-Cz2_BHvv.js} +10 -10
- package/dist/{emr-cluster-provider-CR_OFsGZ.js.map → emr-cluster-provider-Cz2_BHvv.js.map} +1 -1
- package/dist/{expected-bucket-owner-BhnjZsLt.js → expected-bucket-owner-Dr7zxlJn.js} +2 -2
- package/dist/{expected-bucket-owner-BhnjZsLt.js.map → expected-bucket-owner-Dr7zxlJn.js.map} +1 -1
- package/dist/{iam-role-provider-CKIdrdu5.js → iam-role-provider-C27pVBaA.js} +12 -12
- package/dist/{iam-role-provider-CKIdrdu5.js.map → iam-role-provider-C27pVBaA.js.map} +1 -1
- package/dist/{identity-read-denied-V23l4pKK.js → identity-read-denied-DHWVUHrX.js} +5 -5
- package/dist/{identity-read-denied-V23l4pKK.js.map → identity-read-denied-DHWVUHrX.js.map} +1 -1
- package/dist/{image-plan-D62M_M30.js → image-plan-D2uTAfxX.js} +9 -9
- package/dist/{image-plan-D62M_M30.js.map → image-plan-D2uTAfxX.js.map} +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-CSLdt93b.js → logger-DVdLGob_.js} +2 -2
- package/dist/{logger-CSLdt93b.js.map → logger-DVdLGob_.js.map} +1 -1
- package/dist/{neptune-provider-BCXKNNXR.js → neptune-provider-CkbTF9aG.js} +9 -9
- package/dist/{neptune-provider-BCXKNNXR.js.map → neptune-provider-CkbTF9aG.js.map} +1 -1
- package/dist/{program-Lw5gWY1A.js → program-BBg-9V23.js} +148 -25
- package/dist/program-BBg-9V23.js.map +1 -0
- package/dist/{provider-classes-DOrSeS2t.js → provider-classes-DWi0yjHc.js} +155 -37
- package/dist/provider-classes-DWi0yjHc.js.map +1 -0
- package/dist/{rds-provider-CCpEJkcN.js → rds-provider-BV4XW4wv.js} +91 -23
- package/dist/rds-provider-BV4XW4wv.js.map +1 -0
- package/dist/{read-replica-Dkepeh8a.js → read-replica-B08_DZNH.js} +3 -3
- package/dist/{read-replica-Dkepeh8a.js.map → read-replica-B08_DZNH.js.map} +1 -1
- package/dist/{redacted-delete-address-BPwMWIOq.js → redacted-delete-address-Be4d3ZWA.js} +4 -4
- package/dist/{redacted-delete-address-BPwMWIOq.js.map → redacted-delete-address-Be4d3ZWA.js.map} +1 -1
- package/dist/{replacement-rules-aKrUHcS2.js → replacement-rules-DL9MZWSp.js} +416 -30
- package/dist/replacement-rules-DL9MZWSp.js.map +1 -0
- package/dist/{resource-deadline-DjIkTygT.js → resource-deadline-D65EA80y.js} +2 -2
- package/dist/{resource-deadline-DjIkTygT.js.map → resource-deadline-D65EA80y.js.map} +1 -1
- package/dist/{restore-source-guard-Bprs9w8d.js → restore-source-guard-ClcpxInI.js} +4 -4
- package/dist/{restore-source-guard-Bprs9w8d.js.map → restore-source-guard-ClcpxInI.js.map} +1 -1
- package/dist/{run-cli-BfDyKYOs.js → run-cli-zFQkbzGk.js} +2 -2
- package/dist/{run-cli-BfDyKYOs.js.map → run-cli-zFQkbzGk.js.map} +1 -1
- package/dist/{secret-reference-immutable-DK77ST9u.js → secret-reference-immutable-Bh9gCLFt.js} +6 -6
- package/dist/{secret-reference-immutable-DK77ST9u.js.map → secret-reference-immutable-Bh9gCLFt.js.map} +1 -1
- package/dist/{settle-own-write-members-DgrfaXCf.js → settle-own-write-members-B-g5oflo.js} +13 -13
- package/dist/{settle-own-write-members-DgrfaXCf.js.map → settle-own-write-members-B-g5oflo.js.map} +1 -1
- package/dist/{tag-list-B4_wJ9vt.js → tag-list-DX_Ke9se.js} +4 -4
- package/dist/{tag-list-B4_wJ9vt.js.map → tag-list-DX_Ke9se.js.map} +1 -1
- package/dist/{version-3YWtwAiy.js → version-G1wdb4QW.js} +2 -2
- package/dist/{version-3YWtwAiy.js.map → version-G1wdb4QW.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-C27pVBaA.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-DVdLGob_.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-DzKSQvWN.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-D7FufEaB.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-G1wdb4QW.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-DHWVUHrX.js";
|
|
8
|
+
import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-C8fWcehI.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-BBg-9V23.js";
|
|
10
|
+
import { i as redactedDeleteAddressSkip, n as isRedactedRecordedValue, r as redactedDeleteAddressFields, t as REDACTED_DELETE_ADDRESS_SKIP_REASON } from "./redacted-delete-address-Be4d3ZWA.js";
|
|
11
|
+
import { $ as deletionProtectionRefusal, $c as APPSYNC_APIKEY_ARN_RESOURCE_PATH, $i as getCurrentProducerRegions, $o as evaluateSignals, $r as cfnIngressPortValue, $t as reverseMapIndexContributorInsights, Ao as KMS_DEFAULT_KEY_POLICY_ID, B as STREAM_TAGS_KEY, Bo as reReadUntilSettled, Bt as sendTtlWaitingOutRateLimit, Co as withoutSiblingOwned, Ct as readCapacityNumber, Cu as accountArgs, Dt as tableNameReleaseWait, Ei as reserveStackCreateToken, Eo as getStackRecords, Es as withIndeterminateGuard, Et as tableDeleteGoneWait, Fn as childStackTags, Fo as declaredPolicyDocument, Fs as isSettledInstanceState, Ft as takeTagWrite, Fu as withoutSdkUnwiredProperties, G as reverseMapStreamPolicy, Go as policyContentKey, Gt as vectorIndexesShapeDetail, Gu as wireAttributeValue, H as declaredStreamTagsMember, Hc as isLegacyHandleId, Ho as warnUnsettledMember, Ht as readbackVectorIndexes, Io as efsPolicyMatchesDeclared, Is as connectInstanceIdOf, It as isTtlAlreadyDisabled, J as streamMemberRefusals, Jn as getNestedRevertRun, Jt as contributorInsightsRefusals, K as streamDeclaresPolicy, Kt as CONTRIBUTOR_INSIGHTS_KEY, Lo as lambdaPermissionMatchesDeclared, Lt as isTtlRateLimited, Ma as replacedDeleteFailureVerdict, Mo as OWN_WRITE_REREAD_DELAYS_MS, Mt as recordTagWrite, Mu as findSdkUnwiredProperties, No as SNS_DEFAULT_POLICY_ID, Nt as settleWrittenTags, Oc as getAccountInfo, Oi as acquireIdempotencyToken, Ot as TAGS_BASELINE_REREAD_DELAYS_MS, Pd as rewriteTemplateAssetReferences, Pn as childRowTags, Po as declaredMemberDocument, Q as declaresIndexList, Qc as toFiniteNumber, Qo as classifyHandleUrl, Qr as SG_RULE_ID_PATTERN, Qt as readContributorInsightsSpec, R as DynamoDBGlobalTableProvider, Ro as memberReadFailure, Rt as planTimeToLive, Sd as decodeListingKey, So as withoutSiblingAttachedArns, St as pointInTimeRecoveryRefusal, Ts as deleteSkipReason, Tt as sseSpecificationToSend, U as planStreamMemberOps, Uo as verbatimEchoDriftKeys, Ut as vectorIndexesForCreate, Uu as normalizeRecordName, V as declaredStreamPolicyMember, Vc as LEGACY_HANDLE_ID_PREFIX, Vo as settleDeclaredMember, Vt as planVectorIndexUpdates, Wo as attemptedPolicyDocument, Wt as vectorIndexesSettled, Wu as planSubscriptionAttributes, X as streamTagsMatchDeclared, Xc as isWarmThroughputDecrease, Xt as planContributorInsightsOp, Y as streamPolicyMatchesDeclared, Yr as siblingOwnedSgRuleIdentities, Yt as indexDeclaresContributorInsights, Z as canonicalizeStaleIndexDescription, Zc as toCfnInteger, Zn as revertNestedChildFromJournal, Zo as WaitConditionSignalStore, Zr as withoutSiblingOwnedSgRules, Zt as planIndexContributorInsightsOps, _c as parseWebACLArn, _n as S3_AUTO_DELETE_OBJECTS_TAG, _t as hasUsableDeclaredCapacity, ac as s3BucketDualStackDomainName, an as compensateRemovedDeletionProtection, at as sameJsonValue, bo as collectPrincipalsAttachingPolicy, bs as waitForGoneAfterDelete, bt as mapSSESpecification, cf as describeFileReadFailure, cn as resolveDynamoDbDeleteBudgetMs, cs as getCurrentResourceSecrets, ct as desiredBagIsInformative, cu as refuseMalformedNestedChildOutputs, df as renderAssemblyPathEscape, dn as TABLE_INDEX_NOUN, dt as sentWarmThroughputMembers, ei as recordedSgRuleId, en as reverseMapTableContributorInsights, et as desiredIndexEntriesByName, fd as findNestedTemplateTreeDefect, ff as resolveAssemblyPath, fn as deleteTableWithIndexBusyRetry, ft as trimUnsentWarmMembers, gi as calculateResourceDrift, gn as ECR_AUTO_DELETE_IMAGES_TAG, gt as deleteTableRetryDelays, hd as renderNestedTemplateTreeDefect, hn as waitForIndexesSettled, ht as KINESIS_DISABLE_PENDING_STATUSES, ic as s3BucketDomainName, ii as canonicalizeIpv4Cidr, in as beginDeleteWait, it as reverseMapSecondaryIndex, jt as isDynamoDBTableArnIn, ks as markWaitAbandoned, kt as clearTagWrites, lf as displayAssemblyPath, ln as DELETE_INDEX_WAIT_PROCEED_NOTE, lt as isRefusedWarmThroughput, md as listNestedTemplateRows, mn as relayedIndexBusyDelete, mt as KINESIS_DESTINATION_SETTLE_POLL_MS, nc as dnsEntryStrings, ni as sgProtocolKey, nn as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, no as secretNamedAttributeNamesOf, nr as withNestedStackContext, nt as localSecondaryIndexesKey, oc as s3BucketRegionalDomainName, on as deleteBudgetKey, ot as coerceWarmThroughput, pd as isAbsoluteAssetPath, pl as passedParameterClassesOf, pn as maskedLogger, pt as warmThroughputAlreadyMatches, q as streamDeclaresTags, qt as completeTableContributorInsightsBaseline, rc as s3BucketArn, ri as canonicalizeIpv6Cidr, rn as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, rt as projectIndexesOnto, sc as s3BucketWebsiteUrl, sn as resolveDynamoDbDeleteBudgetClock, st as declaresWarmThroughput, t as DeployEngine, tl as maskedSecretSegment, tn as stripIndexContributorInsights, tr as getCurrentNestedStackContext, tt as gsiUnsendableChangeRefusal, ud as stringifyValue, un as INDEX_SETTLE_POLL_INTERVAL_MS, ut as readbackWarmThroughput, vn as hasCdkAutoDeleteTag, vo as collectGroupsAddedBySiblings, vs as waitForLambdaFunctionActive, vt as isPlainCapacityBlock, vu as refuseMalformedResourcesForDestroy, wi as earliestDefined, wo as awaitInFlightSibling, wt as sseSpecificationRefusal, wu as withheldAccountClause, xc as outputReferenceProvenanceOf, xo as isStoredExpression, xt as maskLeafValue, yn as isTruthyCfnBoolean, yo as collectManagedPolicyArnsAttachedBySiblings, yt as isTableName, z as STREAM_POLICY_KEY, zn as licensedNameHolder, zo as policyDocumentMatchesDeclared, zt as readTtlSpec } from "./deploy-engine-BsKzx9ys.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-DX_Ke9se.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-ClcpxInI.js";
|
|
14
|
+
import { C as timePhase, g as withRetry, n as unchangedBehindSecretReference, t as onlySecretReferencesDiffer } from "./secret-reference-immutable-Bh9gCLFt.js";
|
|
15
|
+
import { a as principalOwnWriteMembers, c as stringListMember, n as declaredStringList, o as settleOwnWriteMembers } from "./settle-own-write-members-B-g5oflo.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 { $ as snapshotPassProvenance, C as passedNoEchoParametersOf,
|
|
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-CJjU7OpO.js";
|
|
19
|
+
import { l as removedTemplateKeys, n as enclosingDeadlineRemainingMs, o as clearOnUpdateRemoval, t as enclosingDeadlineExpired, u as withRemovalDefaults } from "./resource-deadline-D65EA80y.js";
|
|
20
|
+
import { $ as snapshotPassProvenance, C as passedNoEchoParametersOf, I as markSameGenerationBag, Lt as dynamicReferenceTokens, W as redactForState, Z as recordReferenceProvenanceEntry, c as parseLambdaFunctionAddress, dn as recordAttributeIdCopy, i as ecsServiceLaunchTypeSetOrChanged, it as hasMaskableValues, jt as withoutPhysicalNameCopies, l as sameLambdaFunctionAddress, ln as recoverMaskedOutput, n as blockDeviceMappingsDifferOnlyInDeleteOnTermination, o as canonicalLambdaFunctionName, s as lambdaFunctionNameForMask, un as physicalNameCopiesOf, vn as carriesSecretMask } from "./replacement-rules-DL9MZWSp.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-Cz2_BHvv.js";
|
|
22
|
+
import { RDSProvider } from "./rds-provider-BV4XW4wv.js";
|
|
23
|
+
import { NeptuneProvider } from "./neptune-provider-CkbTF9aG.js";
|
|
24
|
+
import { ASGProvider } from "./asg-provider-BkR7gv40.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"];
|
|
@@ -48382,13 +48431,15 @@ async function updateGraphQLApi(logicalId, physicalId, resourceType, properties,
|
|
|
48382
48431
|
authenticationType: newAuthType ?? oldAuthType ?? "API_KEY"
|
|
48383
48432
|
};
|
|
48384
48433
|
if (newXray !== void 0) input.xrayEnabled = newXray;
|
|
48385
|
-
|
|
48386
|
-
|
|
48387
|
-
|
|
48388
|
-
|
|
48389
|
-
|
|
48390
|
-
|
|
48391
|
-
|
|
48434
|
+
const sentLog = isEmptyLogConfig(newLog) ? void 0 : newLog;
|
|
48435
|
+
const recordedLog = isEmptyLogConfig(oldLog) ? void 0 : oldLog;
|
|
48436
|
+
if (sentLog !== void 0) input.logConfig = {
|
|
48437
|
+
cloudWatchLogsRoleArn: sentLog["CloudWatchLogsRoleArn"],
|
|
48438
|
+
fieldLogLevel: sentLog["FieldLogLevel"],
|
|
48439
|
+
excludeVerboseContent: sentLog["ExcludeVerboseContent"]
|
|
48440
|
+
};
|
|
48441
|
+
else if (recordedLog !== void 0) {
|
|
48442
|
+
const existingRoleArn = recordedLog["CloudWatchLogsRoleArn"];
|
|
48392
48443
|
if (existingRoleArn) input.logConfig = {
|
|
48393
48444
|
cloudWatchLogsRoleArn: existingRoleArn,
|
|
48394
48445
|
fieldLogLevel: "NONE"
|
|
@@ -48418,6 +48469,9 @@ async function updateGraphQLApi(logicalId, physicalId, resourceType, properties,
|
|
|
48418
48469
|
...envRecord && { effectiveProperties: this.withEnvironmentVariablesRecord(properties, envRecord) }
|
|
48419
48470
|
};
|
|
48420
48471
|
}
|
|
48472
|
+
function isEmptyLogConfig(log) {
|
|
48473
|
+
return log === void 0 || typeof log === "object" && log !== null && Object.keys(log).length === 0;
|
|
48474
|
+
}
|
|
48421
48475
|
|
|
48422
48476
|
// src/provisioning/providers/appsync/update-children.ts
|
|
48423
48477
|
async function updateGraphQLSchema(logicalId, physicalId, resourceType, properties, previousProperties, mask = maskerOrIdentity(void 0)) {
|
|
@@ -49942,6 +49996,17 @@ var AppSyncProvider = class {
|
|
|
49942
49996
|
getDriftUnknownPaths(resourceType) {
|
|
49943
49997
|
return getDriftUnknownPaths$2.call(this, resourceType);
|
|
49944
49998
|
}
|
|
49999
|
+
canonicalizeDriftProperties(resourceType, properties) {
|
|
50000
|
+
if (resourceType !== "AWS::AppSync::GraphQLApi") return properties;
|
|
50001
|
+
const log = properties["LogConfig"];
|
|
50002
|
+
if (typeof log !== "object" || log === null || Array.isArray(log)) return properties;
|
|
50003
|
+
const members = log;
|
|
50004
|
+
if (members["FieldLogLevel"] !== "NONE") return properties;
|
|
50005
|
+
return Object.entries(members).every(([key, value]) => key === "FieldLogLevel" || key === "CloudWatchLogsRoleArn" || key === "ExcludeVerboseContent" && value === false) ? {
|
|
50006
|
+
...properties,
|
|
50007
|
+
LogConfig: {}
|
|
50008
|
+
} : properties;
|
|
50009
|
+
}
|
|
49945
50010
|
asObject(value, path, options, resourceType = "AWS::AppSync::GraphQLApi") {
|
|
49946
50011
|
return asObject.call(this, value, path, options, resourceType);
|
|
49947
50012
|
}
|
|
@@ -50318,6 +50383,17 @@ function pickDefined(obj) {
|
|
|
50318
50383
|
}
|
|
50319
50384
|
return out;
|
|
50320
50385
|
}
|
|
50386
|
+
function withoutReadbackPlaceholders(properties, placeholders, desiredFromAwsReadback) {
|
|
50387
|
+
if (desiredFromAwsReadback !== true) return properties;
|
|
50388
|
+
let out;
|
|
50389
|
+
for (const [key, placeholder] of Object.entries(placeholders)) {
|
|
50390
|
+
if (!Object.hasOwn(properties, key)) continue;
|
|
50391
|
+
if (JSON.stringify(properties[key]) !== JSON.stringify(placeholder)) continue;
|
|
50392
|
+
out ??= { ...properties };
|
|
50393
|
+
delete out[key];
|
|
50394
|
+
}
|
|
50395
|
+
return out ?? properties;
|
|
50396
|
+
}
|
|
50321
50397
|
|
|
50322
50398
|
// src/provisioning/providers/glue/names.ts
|
|
50323
50399
|
const GLUE_NAME_MAX_LENGTH = 255;
|
|
@@ -50533,7 +50609,7 @@ async function jobUpdate(logicalId, physicalId, resourceType, properties, previo
|
|
|
50533
50609
|
const command = properties["Command"];
|
|
50534
50610
|
const update = {
|
|
50535
50611
|
...command !== void 0 && { Command: buildJobCommand(command) },
|
|
50536
|
-
...buildJobCommonFields(properties),
|
|
50612
|
+
...buildJobCommonFields(withoutCapacityEchoes(withoutReadbackPlaceholders(properties, JOB_READBACK_PLACEHOLDERS, context?.desiredFromAwsReadback), previousProperties, context?.desiredFromAwsReadback)),
|
|
50537
50613
|
...properties["Role"] !== void 0 && { Role: properties["Role"] }
|
|
50538
50614
|
};
|
|
50539
50615
|
await this.getClient().send(new UpdateJobCommand({
|
|
@@ -50570,6 +50646,41 @@ async function jobDelete(logicalId, physicalId, resourceType, _properties, conte
|
|
|
50570
50646
|
async function jobGetAttribute(physicalId, _resourceType, attributeName) {
|
|
50571
50647
|
if (attributeName === "Id" || attributeName === "Ref" || attributeName === "Name") return physicalId;
|
|
50572
50648
|
}
|
|
50649
|
+
const JOB_READBACK_PLACEHOLDERS = {
|
|
50650
|
+
Description: "",
|
|
50651
|
+
LogUri: "",
|
|
50652
|
+
DefaultArguments: {},
|
|
50653
|
+
NonOverridableArguments: {},
|
|
50654
|
+
Connections: { Connections: [] },
|
|
50655
|
+
Timeout: 0,
|
|
50656
|
+
NotificationProperty: { NotifyDelayAfter: 0 },
|
|
50657
|
+
GlueVersion: "",
|
|
50658
|
+
NumberOfWorkers: 0,
|
|
50659
|
+
WorkerType: "",
|
|
50660
|
+
MaxCapacity: 0,
|
|
50661
|
+
AllocatedCapacity: 0,
|
|
50662
|
+
SecurityConfiguration: "",
|
|
50663
|
+
ExecutionClass: "",
|
|
50664
|
+
JobMode: "",
|
|
50665
|
+
MaintenanceWindow: "",
|
|
50666
|
+
SourceControlDetails: {}
|
|
50667
|
+
};
|
|
50668
|
+
function withoutCapacityEchoes(properties, previousProperties, desiredFromAwsReadback) {
|
|
50669
|
+
if (desiredFromAwsReadback !== true) return properties;
|
|
50670
|
+
const same = (key) => JSON.stringify(properties[key]) === JSON.stringify(previousProperties[key]);
|
|
50671
|
+
let workers = properties["WorkerType"] !== void 0 && properties["NumberOfWorkers"] !== void 0;
|
|
50672
|
+
if (workers && properties["MaxCapacity"] !== void 0 && !same("MaxCapacity") && same("WorkerType") && same("NumberOfWorkers")) workers = false;
|
|
50673
|
+
const echoes = workers ? ["MaxCapacity", "AllocatedCapacity"] : [
|
|
50674
|
+
"WorkerType",
|
|
50675
|
+
"NumberOfWorkers",
|
|
50676
|
+
"AllocatedCapacity"
|
|
50677
|
+
];
|
|
50678
|
+
if (!workers && properties["MaxCapacity"] === void 0) return properties;
|
|
50679
|
+
if (!echoes.some((key) => Object.hasOwn(properties, key))) return properties;
|
|
50680
|
+
const out = { ...properties };
|
|
50681
|
+
for (const key of echoes) delete out[key];
|
|
50682
|
+
return out;
|
|
50683
|
+
}
|
|
50573
50684
|
async function jobReadCurrentState(physicalId, _logicalId, _resourceType) {
|
|
50574
50685
|
let job;
|
|
50575
50686
|
try {
|
|
@@ -51840,12 +51951,13 @@ async function triggerUpdate(logicalId, physicalId, resourceType, properties, pr
|
|
|
51840
51951
|
} catch (err) {
|
|
51841
51952
|
if (!(err instanceof EntityNotFoundException)) log.debug(`GetTrigger pre-check failed for ${v(physicalId)}; continuing anyway: ${describeAwsFailure(err).detail}`);
|
|
51842
51953
|
}
|
|
51954
|
+
const sent = withoutReadbackPlaceholders(properties, TRIGGER_READBACK_PLACEHOLDERS, context?.desiredFromAwsReadback);
|
|
51843
51955
|
const update = {
|
|
51844
|
-
...
|
|
51845
|
-
...
|
|
51846
|
-
...
|
|
51847
|
-
...
|
|
51848
|
-
...
|
|
51956
|
+
...sent["Description"] !== void 0 && { Description: sent["Description"] },
|
|
51957
|
+
...sent["Schedule"] !== void 0 && { Schedule: sent["Schedule"] },
|
|
51958
|
+
...sent["Actions"] !== void 0 && { Actions: sent["Actions"] },
|
|
51959
|
+
...sent["Predicate"] !== void 0 && { Predicate: sent["Predicate"] },
|
|
51960
|
+
...sent["EventBatchingCondition"] !== void 0 && { EventBatchingCondition: sent["EventBatchingCondition"] }
|
|
51849
51961
|
};
|
|
51850
51962
|
let updateError;
|
|
51851
51963
|
for (const key of TRIGGER_UPDATE_KEYS) if (JSON.stringify(properties[key]) !== JSON.stringify(previousProperties[key])) markUnsettled(key);
|
|
@@ -51887,6 +51999,12 @@ async function triggerUnsettledInTransition(physicalId, _logicalId, _resourceTyp
|
|
|
51887
51999
|
return names;
|
|
51888
52000
|
}
|
|
51889
52001
|
}
|
|
52002
|
+
const TRIGGER_READBACK_PLACEHOLDERS = {
|
|
52003
|
+
Schedule: "",
|
|
52004
|
+
Description: "",
|
|
52005
|
+
Predicate: {},
|
|
52006
|
+
EventBatchingCondition: {}
|
|
52007
|
+
};
|
|
51890
52008
|
async function waitForTriggerDeactivated(physicalId) {
|
|
51891
52009
|
for (let attempt = 0; attempt < 30; attempt++) {
|
|
51892
52010
|
try {
|
|
@@ -66969,4 +67087,4 @@ var ACMCertificateProvider = class {
|
|
|
66969
67087
|
};
|
|
66970
67088
|
|
|
66971
67089
|
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-
|
|
67090
|
+
//# sourceMappingURL=provider-classes-DWi0yjHc.js.map
|