@go-to-k/cdkd 0.297.0 → 0.298.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.
Files changed (28) hide show
  1. package/dist/{asg-provider-D9Po293s.js → asg-provider-B1xRE8do.js} +4 -4
  2. package/dist/{asg-provider-D9Po293s.js.map → asg-provider-B1xRE8do.js.map} +1 -1
  3. package/dist/{aws-failure-text-BaWeCWRz.js → aws-failure-text-DtvlUugx.js} +2 -2
  4. package/dist/{aws-failure-text-BaWeCWRz.js.map → aws-failure-text-DtvlUugx.js.map} +1 -1
  5. package/dist/cli.js +2 -2
  6. package/dist/{deploy-engine-dvf1UDuo.js → deploy-engine-CJTG3tft.js} +1586 -577
  7. package/dist/deploy-engine-CJTG3tft.js.map +1 -0
  8. package/dist/{iam-policy-targets-Cz2tPxXk.js → iam-policy-targets-CwKiK9nS.js} +2 -2
  9. package/dist/{iam-policy-targets-Cz2tPxXk.js.map → iam-policy-targets-CwKiK9nS.js.map} +1 -1
  10. package/dist/{iam-role-provider--5HuX51Z.js → iam-role-provider-qxfS4sDT.js} +24 -4
  11. package/dist/{iam-role-provider--5HuX51Z.js.map → iam-role-provider-qxfS4sDT.js.map} +1 -1
  12. package/dist/index.d.ts +21 -2
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/index.js +4 -4
  15. package/dist/{neptune-provider-xROL9y31.js → neptune-provider-CU_1O2FR.js} +4 -4
  16. package/dist/{neptune-provider-xROL9y31.js.map → neptune-provider-CU_1O2FR.js.map} +1 -1
  17. package/dist/{program-NRnM6vPK.js → program-BivXyHmd.js} +241 -45
  18. package/dist/program-BivXyHmd.js.map +1 -0
  19. package/dist/{provider-classes-uUFRfL9s.js → provider-classes-1EHrZ847.js} +60 -10
  20. package/dist/provider-classes-1EHrZ847.js.map +1 -0
  21. package/dist/{rds-provider-CU0LZr05.js → rds-provider-J40R0ysf.js} +4 -4
  22. package/dist/{rds-provider-CU0LZr05.js.map → rds-provider-J40R0ysf.js.map} +1 -1
  23. package/dist/{version-DE-djeB0.js → version-D96I6uiO.js} +2 -2
  24. package/dist/{version-DE-djeB0.js.map → version-D96I6uiO.js.map} +1 -1
  25. package/package.json +2 -1
  26. package/dist/deploy-engine-dvf1UDuo.js.map +0 -1
  27. package/dist/program-NRnM6vPK.js.map +0 -1
  28. package/dist/provider-classes-uUFRfL9s.js.map +0 -1
@@ -1,13 +1,13 @@
1
1
  import { r as getAwsClients } from "./aws-clients-CnmtbrxD.js";
2
- import { F as displayStackName, I as isPasteableIdent, N as displayIdent, O as SECRET_REF_MAX_CODE_POINTS, P as displaySafe, R as plainIdentOr, a as getLogger, b as generateResourceNameWithFallback, n as isAwsAuthoredFailure, r as safeStringify, t as describeAwsFailure, y as generateResourceName, z as safeMsg } from "./aws-failure-text-BaWeCWRz.js";
3
- import { $ as protectedReplacementAdvice, $n as isAmbiguousOutcomeError, $t as credentialFingerprint, A as isQuotableImportValue, B as isTerminalDeleteFailure, Bn as withheldTargetClause, C as setBounded, D as VALUE_NOT_SHOWN, E as assertRegionMatch, F as resolveExplicitPhysicalId, Gt as injectiveKeyPrefix, H as observeThenDisableProtection, In as plainOrDescribed, L as ProtectionFlipRegistry, M as quotedRemedyLogicalId, Mn as hasClauseBreak, Mt as markCreatedBeforeFailure, N as refusalTypeShown, Nn as isInertUnquoted, O as isPlainImportJson, P as remedyLogicalId, Pn as pasteableCommand, Q as pasteableAwsCommand, Qt as clientDefaultsFor, S as replayedSendWindow, St as withDerivedNameMasks, T as RESOURCE_NOT_FOUND, Tt as clearCreatedBeforeFailure, U as protectionFlipKey, V as logGroupProtectionSite, W as rdsFamilyProtectionSite, Wt as injectiveKey, X as WITHHELD_AWS_COMMAND, Xn as markReplayMayCollide, Xt as ambientClientDefaults, Y as UNNAMEABLE_ID_CLAUSE, Yn as markNameCollision, Yt as withPasteableAwsProfile, Z as isAwsCliLiteral, Zt as ambientCredentialConfig, _ as RecentIdSet, _t as createMaskedLogSinks, a as onlySecretDerived, ar as isMarkedNonRetryable, at as startInterruptWatch, b as isInsideWindow, bt as maskDeep, c as recordedPrincipalsRepair, cr as markRedactedCause, ct as canonicalizeRoute53QueryName, dt as compositeIdSkipResult, en as AccountIdUnavailableError, et as renderDisableCommand, ft as logicalIdShown, g as AmbiguousCreateLatch, gn as ProvisioningError, gt as stateOrphanRecordRemedy, h as AMBIGUOUS_LATCH_TTL_MS, ht as segmentAfterAnchor, i as holdsSecretDerivedEntry, ir as THROTTLING_ERROR_NAMES, it as isInterruptedWaitError, j as normalizeAwsTagsToCfn, jn as commandHole, jt as markAuxiliaryFailure, k as isPlainImportValue, lr as wrapMaskedAwsError, lt as compositeIdFormatMessage, nn as CdkdError, nr as isTransientServerError, o as readPrincipalLists, or as isThrottlingError, ot as ElapsedBudgetRegistry, p as withRemovalDefaults, pt as packCompositeId, q as userPoolProtectionSite, r as SECRET_DERIVED_READ_LIVE, sr as markNonRetryable, tr as isRetryableTransientError, u as clearOnUpdateRemoval, ut as compositeIdSeparatorRefusal, v as ambiguousAttemptLead, vn as ResourceUpdateNotSupportedError, vt as createMaskedRetryLogger, w as withoutServerErrorRetries, x as replayFollowedAmbiguousAttempt, xt as maskerOrIdentity, y as createAttemptKey, yt as isSecretDerivedValue, z as deleteWithProtectionCompensation, zn as shellQuote } from "./iam-policy-targets-Cz2tPxXk.js";
2
+ import { F as displayStackName, I as isPasteableIdent, N as displayIdent, O as SECRET_REF_MAX_CODE_POINTS, P as displaySafe, R as plainIdentOr, a as getLogger, b as generateResourceNameWithFallback, n as isAwsAuthoredFailure, r as safeStringify, t as describeAwsFailure, y as generateResourceName, z as safeMsg } from "./aws-failure-text-DtvlUugx.js";
3
+ import { $ as protectedReplacementAdvice, $n as isAmbiguousOutcomeError, $t as credentialFingerprint, A as isQuotableImportValue, B as isTerminalDeleteFailure, Bn as withheldTargetClause, C as setBounded, D as VALUE_NOT_SHOWN, E as assertRegionMatch, F as resolveExplicitPhysicalId, Gt as injectiveKeyPrefix, H as observeThenDisableProtection, In as plainOrDescribed, L as ProtectionFlipRegistry, M as quotedRemedyLogicalId, Mn as hasClauseBreak, Mt as markCreatedBeforeFailure, N as refusalTypeShown, Nn as isInertUnquoted, O as isPlainImportJson, P as remedyLogicalId, Pn as pasteableCommand, Q as pasteableAwsCommand, Qt as clientDefaultsFor, S as replayedSendWindow, St as withDerivedNameMasks, T as RESOURCE_NOT_FOUND, Tt as clearCreatedBeforeFailure, U as protectionFlipKey, V as logGroupProtectionSite, W as rdsFamilyProtectionSite, Wt as injectiveKey, X as WITHHELD_AWS_COMMAND, Xn as markReplayMayCollide, Xt as ambientClientDefaults, Y as UNNAMEABLE_ID_CLAUSE, Yn as markNameCollision, Yt as withPasteableAwsProfile, Z as isAwsCliLiteral, Zt as ambientCredentialConfig, _ as RecentIdSet, _t as createMaskedLogSinks, a as onlySecretDerived, ar as isMarkedNonRetryable, at as startInterruptWatch, b as isInsideWindow, bt as maskDeep, c as recordedPrincipalsRepair, cr as markRedactedCause, ct as canonicalizeRoute53QueryName, dt as compositeIdSkipResult, en as AccountIdUnavailableError, et as renderDisableCommand, ft as logicalIdShown, g as AmbiguousCreateLatch, gn as ProvisioningError, gt as stateOrphanRecordRemedy, h as AMBIGUOUS_LATCH_TTL_MS, ht as segmentAfterAnchor, i as holdsSecretDerivedEntry, ir as THROTTLING_ERROR_NAMES, it as isInterruptedWaitError, j as normalizeAwsTagsToCfn, jn as commandHole, jt as markAuxiliaryFailure, k as isPlainImportValue, lr as wrapMaskedAwsError, lt as compositeIdFormatMessage, nn as CdkdError, nr as isTransientServerError, o as readPrincipalLists, or as isThrottlingError, ot as ElapsedBudgetRegistry, p as withRemovalDefaults, pt as packCompositeId, q as userPoolProtectionSite, r as SECRET_DERIVED_READ_LIVE, sr as markNonRetryable, tr as isRetryableTransientError, u as clearOnUpdateRemoval, ut as compositeIdSeparatorRefusal, v as ambiguousAttemptLead, vn as ResourceUpdateNotSupportedError, vt as createMaskedRetryLogger, w as withoutServerErrorRetries, x as replayFollowedAmbiguousAttempt, xt as maskerOrIdentity, y as createAttemptKey, yt as isSecretDerivedValue, z as deleteWithProtectionCompensation, zn as shellQuote } from "./iam-policy-targets-CwKiK9nS.js";
4
4
  import { s as ambientRegion } from "./aws-client-defaults-D0q0z4dG.js";
5
- import { $ as getPriorAttempts, $a as isWarmThroughputDecrease, $c as derivePartitionAndUrlSuffix, $n as reserveStackCreateToken, Ao as passedNoEchoParametersOf, Ar as deleteSkipReason, B as beginDeleteWait, Ba as findSilentDropProperties, Dt as withNestedStackContext, Ea as refuseMalformedResourcesForDestroy, Er as unchangedBehindSecretReference, Et as getCurrentNestedStackContext, Fr as ec2InstanceProtectionSite, G as DELETE_INDEX_WAIT_PROCEED_NOTE, H as deleteBudgetKey, Ha as withoutSilentDropProperties, Ir as isTerminationProtectionPropagationError, J as waitForIndexesSettled, Jo as markSameGenerationBag, K as INDEX_SETTLE_POLL_INTERVAL_MS, Lo as hasMaskableValues, Lr as observeThenDisableInstanceApiTermination, Lt as awaitInFlightSibling, Mr as isWaitAbandonedError, Nr as markWaitAbandoned, Q as isTruthyCfnBoolean, Qa as coerceWarmThroughput$1, Qc as canonicalizeRegion, Qo as dynamicReferenceTokens, R as DynamoDBGlobalTableProvider, Ra as withheldAccountClause, Rr as reDisableInstanceApiTermination, Si as parseWebACLArn, St as revertNestedChildFromJournal, Ti as passedParameterClassesOf, Tr as slowCcOperationTimeoutMs, U as resolveDynamoDbDeleteBudgetClock, V as compensateRemovedDeletionProtection, W as resolveDynamoDbDeleteBudgetMs, Ws as stringifyValue, X as S3_AUTO_DELETE_OBJECTS_TAG, Y as ECR_AUTO_DELETE_IMAGES_TAG, Yc as decodeListingKey, Yo as redactSecretsForState, Ys as rewriteTemplateAssetReferences, Z as hasCdkAutoDeleteTag, Za as WARM_THROUGHPUT_MEMBERS, Zn as earliestDefined, _o as lambdaFunctionNameForMask, a as findNestedTemplateTreeDefect, ai as s3BucketDomainName, an as redactedDeleteAddressFields, ao as configIntegerRefusal, ar as readTagList, as as carriesSecretMask, b as lookupEachName, c as renderNestedTemplateTreeDefect, ci as s3BucketWebsiteUrl, co as replayWarn, cr as tagPlanWarning, dl as renderAssemblyPathEscape, do as requireConfigString, eo as toCfnInteger, et as markRefusedBeforeApplying, fi as getAccountInfo, fl as resolveAssemblyPath, go as canonicalLambdaFunctionName, ho as withRetry, ii as s3BucketArn, in as isRedactedRecordedValue, io as configBooleanRefusal, ir as planTagDiff, is as recoverMaskedOutput, ji as accountArgs, jr as withIndeterminateGuard, ll as describeFileReadFailure, lo as requireConfigArray, lr as definedAttributes, no as coerceCfnBoolean, nr as DBPROXY_TAGS_WHAT, o as isAbsoluteAssetPath, oa as refuseMalformedNestedChildOutputs, oi as s3BucketDualStackDomainName, on as redactedDeleteAddressSkip, oo as configStringRefusal, or as refuseMalformedDesiredTags, q as deleteTableWithIndexBusyRetry, ri as isSettledInstanceState, rn as REDACTED_DELETE_ADDRESS_SKIP_REASON, ro as coerceCfnInteger, rr as DBPROXY_TAG_OPTIONS, s as listNestedTemplateRows, si as s3BucketRegionalDomainName, so as readConfigString, sr as tagMapAsList, t as DeployEngine, tn as getCurrentProducerRegions, to as toFiniteNumber, tr as acquireIdempotencyToken, ul as displayAssemblyPath, uo as requireConfigObject, ur as stringifyIfAssigned, v as chunks, vo as sameLambdaFunctionAddress, x as withApiLimit, y as isAccessDeniedError, yr as getCurrentResourceSecrets, yt as getNestedRevertRun, z as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, zr as reEnableInstanceApiTermination, zt as getStackRecords } from "./deploy-engine-dvf1UDuo.js";
6
- import { n as collectInlinePolicyNamesManagedBySiblings, r as IamCreateClientCache, t as IAMRoleProvider } from "./iam-role-provider--5HuX51Z.js";
7
- import { a as canonicalizeIpProtocolValue, i as resolveSecretDerivedPrincipals, n as runDestroyForStack, o as resolvedResourceTimeoutMs, r as isResolvableSecretPrincipalList, t as canonicalizeIpv4Cidr } from "./program-NRnM6vPK.js";
8
- import { RDSProvider } from "./rds-provider-CU0LZr05.js";
9
- import { NeptuneProvider } from "./neptune-provider-xROL9y31.js";
10
- import { ASGProvider } from "./asg-provider-D9Po293s.js";
5
+ import { $ as isTruthyCfnBoolean, $o as markSameGenerationBag, $s as stringifyValue, B as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, Br as reDisableInstanceApiTermination, Bt as getStackRecords, Co as sameLambdaFunctionAddress, Ct as revertNestedChildFromJournal, Dr as unchangedBehindSecretReference, Dt as getCurrentNestedStackContext, Ei as parseWebACLArn, Er as slowCcOperationTimeoutMs, Fo as passedNoEchoParametersOf, Fr as markWaitAbandoned, G as resolveDynamoDbDeleteBudgetMs, Ga as findSilentDropProperties, H as compensateRemovedDeletionProtection, Ho as hasMaskableValues, Ii as accountArgs, J as deleteTableWithIndexBusyRetry, K as DELETE_INDEX_WAIT_PROCEED_NOTE, Lr as ec2InstanceProtectionSite, Mr as deleteSkipReason, Nr as withIndeterminateGuard, Ot as withNestedStackContext, Pr as isWaitAbandonedError, Q as hasCdkAutoDeleteTag, Qn as earliestDefined, Rr as isTerminationProtectionPropagationError, Rt as awaitInFlightSibling, So as lambdaFunctionNameForMask, U as deleteBudgetKey, Ua as withheldAccountClause, V as beginDeleteWait, Vr as reEnableInstanceApiTermination, W as resolveDynamoDbDeleteBudgetClock, X as ECR_AUTO_DELETE_IMAGES_TAG, Y as waitForIndexesSettled, Z as S3_AUTO_DELETE_OBJECTS_TAG, a as findNestedTemplateTreeDefect, an as isRedactedRecordedValue, ao as toCfnInteger, ar as planTagDiff, b as lookupEachName, bl as renderAssemblyPathEscape, bo as withRetry, br as getCurrentResourceSecrets, bt as getNestedRevertRun, c as renderNestedTemplateTreeDefect, ci as s3BucketArn, cl as derivePartitionAndUrlSuffix, co as coerceCfnInteger, cr as tagMapAsList, da as refuseMalformedNestedChildOutputs, di as s3BucketRegionalDomainName, do as configStringRefusal, dr as stringifyIfAssigned, er as reserveStackCreateToken, es as redactSecretsForState, et as getPriorAttempts, fi as s3BucketWebsiteUrl, fo as readConfigString, fs as recoverMaskedOutput, gi as getAccountInfo, go as requireConfigString, ho as requireConfigObject, ic as rewriteTemplateAssetReferences, il as decodeListingKey, in as REDACTED_DELETE_ADDRESS_SKIP_REASON, io as isWarmThroughputDecrease, ir as DBPROXY_TAG_OPTIONS, ja as refuseMalformedResourcesForDestroy, ki as passedParameterClassesOf, li as s3BucketDomainName, lo as configBooleanRefusal, lr as tagPlanWarning, mo as requireConfigArray, ms as carriesSecretMask, nn as getCurrentProducerRegions, no as WARM_THROUGHPUT_MEMBERS, nr as acquireIdempotencyToken, o as isAbsoluteAssetPath, on as redactedDeleteAddressFields, oo as toFiniteNumber, or as readTagList, os as dynamicReferenceTokens, po as replayWarn, q as INDEX_SETTLE_POLL_INTERVAL_MS, qa as withoutSilentDropProperties, ro as coerceWarmThroughput$1, rr as DBPROXY_TAGS_WHAT, rs as withoutPhysicalNameCopies, s as listNestedTemplateRows, si as isSettledInstanceState, sl as canonicalizeRegion, sn as redactedDeleteAddressSkip, so as coerceCfnBoolean, sr as refuseMalformedDesiredTags, t as DeployEngine, tt as markRefusedBeforeApplying, ui as s3BucketDualStackDomainName, uo as configIntegerRefusal, ur as definedAttributes, v as chunks, vl as describeFileReadFailure, x as withApiLimit, xl as resolveAssemblyPath, xo as canonicalLambdaFunctionName, y as isAccessDeniedError, yl as displayAssemblyPath, z as DynamoDBGlobalTableProvider, zr as observeThenDisableInstanceApiTermination } from "./deploy-engine-CJTG3tft.js";
6
+ import { n as collectInlinePolicyNamesManagedBySiblings, r as IamCreateClientCache, t as IAMRoleProvider } from "./iam-role-provider-qxfS4sDT.js";
7
+ import { a as canonicalizeIpProtocolValue, i as resolveSecretDerivedPrincipals, n as runDestroyForStack, o as resolvedResourceTimeoutMs, r as isResolvableSecretPrincipalList, t as canonicalizeIpv4Cidr } from "./program-BivXyHmd.js";
8
+ import { RDSProvider } from "./rds-provider-J40R0ysf.js";
9
+ import { NeptuneProvider } from "./neptune-provider-CU_1O2FR.js";
10
+ import { ASGProvider } from "./asg-provider-B1xRE8do.js";
11
11
  import { createHash, randomUUID } from "node:crypto";
12
12
  import { CreateBucketCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketEncryptionCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketOwnershipControlsCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketNotificationConfigurationCommand, GetBucketOwnershipControlsCommand, GetBucketPolicyCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetBucketVersioningCommand, GetBucketWebsiteCommand, GetObjectCommand, GetObjectLockConfigurationCommand, GetPublicAccessBlockCommand, HeadBucketCommand, ListBucketAnalyticsConfigurationsCommand, ListBucketIntelligentTieringConfigurationsCommand, ListBucketInventoryConfigurationsCommand, ListBucketMetricsConfigurationsCommand, ListBucketsCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, PutBucketAccelerateConfigurationCommand, PutBucketAnalyticsConfigurationCommand, PutBucketCorsCommand, PutBucketEncryptionCommand, PutBucketIntelligentTieringConfigurationCommand, PutBucketInventoryConfigurationCommand, PutBucketLifecycleConfigurationCommand, PutBucketLoggingCommand, PutBucketMetricsConfigurationCommand, PutBucketNotificationConfigurationCommand, PutBucketOwnershipControlsCommand, PutBucketPolicyCommand, PutBucketReplicationCommand, PutBucketTaggingCommand, PutBucketVersioningCommand, PutBucketWebsiteCommand, PutObjectLockConfigurationCommand, PutPublicAccessBlockCommand, S3Client } from "@aws-sdk/client-s3";
13
13
  import { AddRoleToInstanceProfileCommand, AddUserToGroupCommand, AttachGroupPolicyCommand, AttachRolePolicyCommand, AttachUserPolicyCommand, CreateAccessKeyCommand, CreateGroupCommand, CreateInstanceProfileCommand, CreateLoginProfileCommand, CreatePolicyCommand, CreatePolicyVersionCommand, CreateUserCommand, DeleteAccessKeyCommand, DeleteGroupCommand, DeleteGroupPolicyCommand, DeleteInstanceProfileCommand, DeleteLoginProfileCommand, DeletePolicyCommand, DeletePolicyVersionCommand, DeleteRolePolicyCommand, DeleteUserCommand, DeleteUserPermissionsBoundaryCommand, DeleteUserPolicyCommand, DetachGroupPolicyCommand, DetachRolePolicyCommand, DetachUserPolicyCommand, GetAccessKeyLastUsedCommand, GetGroupCommand, GetGroupPolicyCommand, GetInstanceProfileCommand, GetPolicyCommand, GetPolicyVersionCommand, GetRolePolicyCommand, GetUserCommand, GetUserPolicyCommand, IAMClient, ListAccessKeysCommand, ListAttachedGroupPoliciesCommand, ListAttachedUserPoliciesCommand, ListEntitiesForPolicyCommand, ListGroupPoliciesCommand, ListGroupsForUserCommand, ListPoliciesCommand, ListPolicyTagsCommand, ListPolicyVersionsCommand, ListUserPoliciesCommand, NoSuchEntityException, PutGroupPolicyCommand, PutRolePolicyCommand, PutUserPermissionsBoundaryCommand, PutUserPolicyCommand, RemoveRoleFromInstanceProfileCommand, RemoveUserFromGroupCommand, TagPolicyCommand, TagUserCommand, UntagPolicyCommand, UntagUserCommand, UpdateAccessKeyCommand, UpdateLoginProfileCommand } from "@aws-sdk/client-iam";
@@ -10179,6 +10179,50 @@ function narrowOnDemandCeilings(declared) {
10179
10179
  dropped
10180
10180
  };
10181
10181
  }
10182
+ function refusedOnDemandCeilingShape(value) {
10183
+ if (value === void 0 || coerceCfnInteger(value) !== void 0) return void 0;
10184
+ if (typeof value === "string") {
10185
+ if (value.trim() === "" || /^[+-]?\d+$/.test(value)) return void 0;
10186
+ return "a string";
10187
+ }
10188
+ if (typeof value === "number") return Number.isInteger(value) ? void 0 : "a number that is not an integer";
10189
+ if (value === null) return "null";
10190
+ if (typeof value === "boolean") return "a boolean";
10191
+ if (Array.isArray(value)) return "an array";
10192
+ return "an object";
10193
+ }
10194
+ function onDemandCeilingRefusal(properties, previousProperties, logicalId) {
10195
+ const blockRefusal = (block, path) => {
10196
+ if (!isPlainCapacityBlock(block)) return void 0;
10197
+ for (const member of ON_DEMAND_CEILING_MEMBERS) {
10198
+ if (!Object.hasOwn(block, member)) continue;
10199
+ const shape = refusedOnDemandCeilingShape(block[member]);
10200
+ if (shape === void 0) continue;
10201
+ return `AWS::DynamoDB::Table ${logicalId}: ${path}.${member} must be an Integer CloudFormation accepts — an optional sign and decimal digits, with no surrounding whitespace, hex, exponent or decimal point; -1 removes an existing maximum (got ${shape}). CloudFormation refuses the same template`;
10202
+ }
10203
+ };
10204
+ const changed = (desired, recorded) => JSON.stringify(desired) !== JSON.stringify(recorded);
10205
+ if (previousProperties === void 0 || changed(properties["OnDemandThroughput"], previousProperties["OnDemandThroughput"])) {
10206
+ const refusal = blockRefusal(properties["OnDemandThroughput"], "OnDemandThroughput");
10207
+ if (refusal !== void 0) return refusal;
10208
+ }
10209
+ const desiredIndexes = properties["GlobalSecondaryIndexes"];
10210
+ if (!Array.isArray(desiredIndexes)) return void 0;
10211
+ const previousByName = /* @__PURE__ */ new Map();
10212
+ const previousIndexes = previousProperties?.["GlobalSecondaryIndexes"];
10213
+ if (Array.isArray(previousIndexes)) {
10214
+ for (const entry of previousIndexes) if (isPlainCapacityBlock(entry) && entry["IndexName"]) previousByName.set(entry["IndexName"], entry);
10215
+ }
10216
+ for (const [position, entry] of desiredIndexes.entries()) {
10217
+ if (!isPlainCapacityBlock(entry)) continue;
10218
+ if (previousProperties !== void 0) {
10219
+ const previous = previousByName.get(entry["IndexName"]);
10220
+ if (previous !== void 0 && !changed(entry["OnDemandThroughput"], previous["OnDemandThroughput"])) continue;
10221
+ }
10222
+ const refusal = blockRefusal(entry["OnDemandThroughput"], `GlobalSecondaryIndexes[${position}].OnDemandThroughput`);
10223
+ if (refusal !== void 0) return refusal;
10224
+ }
10225
+ }
10182
10226
  function liveCeilingAlreadyMatches(live, requested) {
10183
10227
  if (live === void 0) return false;
10184
10228
  const liveBag = live;
@@ -10496,6 +10540,8 @@ var DynamoDBTableProvider = class {
10496
10540
  if (streamRefusal !== void 0) throw new Error(`${streamRefusal}. Fix the template value`);
10497
10541
  const pitrRefusal = pointInTimeRecoveryRefusal(properties["PointInTimeRecoverySpecification"]);
10498
10542
  if (pitrRefusal !== void 0) throw new Error(`${pitrRefusal}. Fix the template value`);
10543
+ const ceilingRefusal = onDemandCeilingRefusal(properties, void 0, logicalId);
10544
+ if (ceilingRefusal !== void 0) throw new Error(`${ceilingRefusal}. Nothing was applied; fix the template value`);
10499
10545
  }
10500
10546
  const createParams = {
10501
10547
  TableName: tableName,
@@ -10596,6 +10642,10 @@ var DynamoDBTableProvider = class {
10596
10642
  const pitrRefusal = pointInTimeRecoveryRefusal(properties["PointInTimeRecoverySpecification"]);
10597
10643
  if (pitrRefusal !== void 0) throw new ProvisioningError(`AWS::DynamoDB::Table ${logicalId}: ${pitrRefusal}. Nothing was applied to the table; fix the template value`, resourceType, logicalId, physicalId);
10598
10644
  }
10645
+ if (context?.replayingState !== true && context?.desiredFromAwsReadback !== true) {
10646
+ const ceilingRefusal = onDemandCeilingRefusal(properties, previousProperties, logicalId);
10647
+ if (ceilingRefusal !== void 0) throw new ProvisioningError(`${ceilingRefusal}. Nothing was applied to the table; fix the template value`, resourceType, logicalId, physicalId);
10648
+ }
10599
10649
  const table = (await this.dynamoDBClient.send(new DescribeTableCommand({ TableName: physicalId }))).Table;
10600
10650
  let latestStreamArn = table?.LatestStreamArn;
10601
10651
  if (table?.TableArn) await this.applyTagDiff(table.TableArn, resourceType, logicalId, previousProperties["Tags"], properties["Tags"]);
@@ -36204,7 +36254,7 @@ var SchedulerScheduleProvider = class {
36204
36254
  const bag = getCurrentResourceSecrets();
36205
36255
  if (bag === void 0 || typeof desiredGroup !== "string") return false;
36206
36256
  if (typeof recordedGroup !== "string" || !recordedGroup.includes("{{resolve:")) return false;
36207
- return redactSecretsForState(desiredGroup, bag) !== recordedGroup;
36257
+ return withoutPhysicalNameCopies(bag, () => redactSecretsForState(desiredGroup, bag)) !== recordedGroup;
36208
36258
  }
36209
36259
  async update(logicalId, physicalId, resourceType, properties, previousProperties, context) {
36210
36260
  const groupName = this.groupNameOf(properties);
@@ -44764,4 +44814,4 @@ var ACMCertificateProvider = class {
44764
44814
 
44765
44815
  //#endregion
44766
44816
  export { ACMCertificateProvider, ASGProvider, AgentCoreBrowserProvider, AgentCoreCodeInterpreterProvider, AgentCoreEvaluatorProvider, AgentCoreRuntimeProvider, ApiGatewayProvider, ApiGatewayV2Provider, AppSyncProvider, BudgetsBudgetProvider, CloudFrontDistributionProvider, CloudFrontOACProvider, CloudFrontOAIProvider, CloudTrailProvider, CloudWatchAlarmProvider, CloudWatchAnomalyDetectorProvider, CodeBuildProvider, CodeCommitRepositoryProvider, CognitoUserPoolProvider, DLMLifecyclePolicyProvider, DocDBProvider, DocDBSubnetGroupProvider, DynamoDBGlobalTableProvider, DynamoDBTableProvider, EC2Provider, ECRProvider, ECSProvider, EFSProvider, ELBv2Provider, EMRClusterProvider, EMRInstanceFleetConfigProvider, EMRInstanceGroupConfigProvider, ElastiCacheProvider, EventBridgeBusProvider, EventBridgeRuleProvider, FSxFileSystemProvider, FirehoseProvider, GlueConnectionProvider, GlueCrawlerProvider, GlueJobProvider, GlueProvider, GlueSecurityConfigurationProvider, GlueTriggerProvider, GlueWorkflowProvider, IAMAccessKeyProvider, IAMInstanceProfileProvider, IAMManagedPolicyProvider, IAMPolicyProvider, IAMRoleProvider, IAMUserGroupProvider, KMSProvider, KinesisStreamConsumerProvider, KinesisStreamProvider, LambdaEventInvokeConfigProvider, LambdaEventSourceMappingProvider, LambdaFunctionProvider, LambdaLayerVersionProvider, LambdaMicrovmImageProvider, LambdaPermissionProvider, LambdaUrlProvider, 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 };
44767
- //# sourceMappingURL=provider-classes-uUFRfL9s.js.map
44817
+ //# sourceMappingURL=provider-classes-1EHrZ847.js.map