@go-to-k/cdkd 0.240.0 → 0.241.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.
|
@@ -5765,6 +5765,27 @@ function attributeTypeChangedForSharedAttribute(oldValue, newValue) {
|
|
|
5765
5765
|
return false;
|
|
5766
5766
|
}
|
|
5767
5767
|
/**
|
|
5768
|
+
* Conditional-replacement predicate for `AWS::Budgets::Budget.Budget`.
|
|
5769
|
+
*
|
|
5770
|
+
* The budget name (`Budget.BudgetName`, nested) is the physical id and is
|
|
5771
|
+
* createOnly — only a name change forces replacement; every other edit
|
|
5772
|
+
* inside the `Budget` block (limit, period, type, filters) is an in-place
|
|
5773
|
+
* `UpdateBudget`. A one-sided explicit name (added or removed) is treated as
|
|
5774
|
+
* a change: the other side's effective name was the cdkd-generated fallback,
|
|
5775
|
+
* which cannot match a user-supplied name.
|
|
5776
|
+
*/
|
|
5777
|
+
function budgetNameChanged(oldValue, newValue) {
|
|
5778
|
+
const nameOf = (value) => {
|
|
5779
|
+
if (value === null || typeof value !== "object") return void 0;
|
|
5780
|
+
const name = value["BudgetName"];
|
|
5781
|
+
return typeof name === "string" ? name : void 0;
|
|
5782
|
+
};
|
|
5783
|
+
const oldName = nameOf(oldValue);
|
|
5784
|
+
const newName = nameOf(newValue);
|
|
5785
|
+
if (oldName === void 0 && newName === void 0) return false;
|
|
5786
|
+
return oldName !== newName;
|
|
5787
|
+
}
|
|
5788
|
+
/**
|
|
5768
5789
|
* Replacement rules registry
|
|
5769
5790
|
*
|
|
5770
5791
|
* Maps resource types to their replacement rules
|
|
@@ -6013,6 +6034,11 @@ var ReplacementRulesRegistry = class {
|
|
|
6013
6034
|
"Tags"
|
|
6014
6035
|
])
|
|
6015
6036
|
});
|
|
6037
|
+
this.rules.set("AWS::Budgets::Budget", {
|
|
6038
|
+
replacementProperties: /* @__PURE__ */ new Set(),
|
|
6039
|
+
updateableProperties: new Set(["NotificationsWithSubscribers", "ResourceTags"]),
|
|
6040
|
+
conditionalReplacements: new Map([["Budget", budgetNameChanged]])
|
|
6041
|
+
});
|
|
6016
6042
|
this.rules.set("AWS::CloudWatch::Alarm", {
|
|
6017
6043
|
replacementProperties: new Set(["AlarmName"]),
|
|
6018
6044
|
updateableProperties: new Set([
|
|
@@ -9272,7 +9298,6 @@ const NON_PROVISIONABLE_TYPES = new Set([
|
|
|
9272
9298
|
"AWS::BedrockAgentCore::Browser",
|
|
9273
9299
|
"AWS::BedrockAgentCore::CodeInterpreter",
|
|
9274
9300
|
"AWS::BedrockAgentCore::TokenVault",
|
|
9275
|
-
"AWS::Budgets::Budget",
|
|
9276
9301
|
"AWS::Cloud9::EnvironmentEC2",
|
|
9277
9302
|
"AWS::CloudFormation::Macro",
|
|
9278
9303
|
"AWS::CloudFormation::WaitCondition",
|
|
@@ -11154,6 +11179,14 @@ const PROPERTY_COVERAGE_BY_TYPE = new Map([
|
|
|
11154
11179
|
["Tags", "not yet implemented by cdkd"]
|
|
11155
11180
|
])
|
|
11156
11181
|
}],
|
|
11182
|
+
["AWS::Budgets::Budget", {
|
|
11183
|
+
handled: new Set([
|
|
11184
|
+
"Budget",
|
|
11185
|
+
"NotificationsWithSubscribers",
|
|
11186
|
+
"ResourceTags"
|
|
11187
|
+
]),
|
|
11188
|
+
silentDrop: /* @__PURE__ */ new Map()
|
|
11189
|
+
}],
|
|
11157
11190
|
["AWS::CertificateManager::Certificate", {
|
|
11158
11191
|
handled: new Set([
|
|
11159
11192
|
"CertificateAuthorityArn",
|
|
@@ -16020,4 +16053,4 @@ var DeployEngine = class {
|
|
|
16020
16053
|
|
|
16021
16054
|
//#endregion
|
|
16022
16055
|
export { getDockerCmd as $, DiffCalculator as A, buildAssetRedirectMap as B, findActionableSilentDrops as C, resolveBucketRegion as Ct, refStateLookupFromResource as D, cfnRefValueFromPhysicalId as E, rebuildClientForBucketRegion as F, BOOTSTRAP_MARKER_PREFIX as G, loadPublishableAssetManifest as H, shouldRetainResource as I, parseBootstrapMarker as J, ensureAssetStorage as K, AssetPublisher as L, TemplateParser as M, LockManager as N, WAFv2WebACLProvider as O, S3StateBackend as P, formatDockerLoginError as Q, stringifyValue as R, ProviderRegistry as S, clearBucketRegionCache as St, IntrinsicFunctionResolver as T, rewriteTemplateAssetReferences as U, createAssetRedirectResolver as V, AssetModeResolver as W, validateContainerRepoName as X, validateAssetBucketName as Y, buildDockerImage as Z, green as _, CFN_TEMPLATE_URL_LIMIT as _t, withRetry as a, synthesisStatusMessage as at, IAMRoleProvider as b, uploadCfnTemplate as bt, computeImplicitDeleteEdges as c, resolveApp as ct, isStatefulRecreateTargetSync as d, resolveSkipPrefix as dt, runDockerForeground as et, renderStatefulReason as f, resolveStateBucketWithDefault as ft, gray as g, CFN_TEMPLATE_BODY_LIMIT as gt, cyan as h, warnDeprecatedNoPrefixCliFlag as ht, withResourceDeadline as i, Synthesizer as it, DagBuilder as j, applyRoleArnIfSet as k, extractDeploymentEventError as l, resolveAutoAssetStorage as lt, bold as m, resolveUseCdkBootstrapAssets as mt, DEFAULT_RESOURCE_WARN_AFTER_MS as n, AssetManifestLoader as nt, isRetryableTransientError as o, getDefaultStateBucketName as ot, formatResourceLine as p, resolveStateBucketWithDefaultAndSource as pt, getBootstrapMarkerKey as q, DeployEngine as r, getDockerImageBySourceHash as rt, IMPLICIT_DELETE_DEPENDENCIES as s, getLegacyStateBucketName as st, DEFAULT_RESOURCE_TIMEOUT_MS as t, runDockerStreaming as tt, MULTI_REGION_RECREATE_BLOCKED_TYPES as u, resolveCaptureObservedState as ut, red as v, MIGRATE_TMP_PREFIX as vt, CloudControlProvider as w, collectInlinePolicyNamesManagedBySiblings as x, AssemblyReader as xt, yellow as y, findLargeInlineResources as yt, WorkGraph as z };
|
|
16023
|
-
//# sourceMappingURL=deploy-engine-
|
|
16056
|
+
//# sourceMappingURL=deploy-engine-BxXIBZoc.js.map
|