@go-to-k/cdkd 0.297.0 → 0.298.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/{asg-provider-D9Po293s.js → asg-provider-semUK44T.js} +4 -4
- package/dist/{asg-provider-D9Po293s.js.map → asg-provider-semUK44T.js.map} +1 -1
- package/dist/{aws-failure-text-BaWeCWRz.js → aws-failure-text-DtvlUugx.js} +2 -2
- package/dist/{aws-failure-text-BaWeCWRz.js.map → aws-failure-text-DtvlUugx.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{deploy-engine-dvf1UDuo.js → deploy-engine-A-Ys_mhE.js} +2781 -716
- package/dist/deploy-engine-A-Ys_mhE.js.map +1 -0
- package/dist/{iam-policy-targets-Cz2tPxXk.js → iam-policy-targets-CwKiK9nS.js} +2 -2
- package/dist/{iam-policy-targets-Cz2tPxXk.js.map → iam-policy-targets-CwKiK9nS.js.map} +1 -1
- package/dist/{iam-role-provider--5HuX51Z.js → iam-role-provider-CpqTal4K.js} +24 -4
- package/dist/{iam-role-provider--5HuX51Z.js.map → iam-role-provider-CpqTal4K.js.map} +1 -1
- package/dist/index.d.ts +22 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/{neptune-provider-xROL9y31.js → neptune-provider-C4A86Y7P.js} +4 -4
- package/dist/{neptune-provider-xROL9y31.js.map → neptune-provider-C4A86Y7P.js.map} +1 -1
- package/dist/{program-NRnM6vPK.js → program-D5gcmWad.js} +247 -46
- package/dist/program-D5gcmWad.js.map +1 -0
- package/dist/{provider-classes-uUFRfL9s.js → provider-classes-CuZ-P4gB.js} +78 -11
- package/dist/provider-classes-CuZ-P4gB.js.map +1 -0
- package/dist/{rds-provider-CU0LZr05.js → rds-provider-X4mc-nGw.js} +4 -4
- package/dist/{rds-provider-CU0LZr05.js.map → rds-provider-X4mc-nGw.js.map} +1 -1
- package/dist/{version-DE-djeB0.js → version-CItAaDXu.js} +2 -2
- package/dist/{version-DE-djeB0.js.map → version-CItAaDXu.js.map} +1 -1
- package/package.json +8 -7
- package/dist/deploy-engine-dvf1UDuo.js.map +0 -1
- package/dist/program-NRnM6vPK.js.map +0 -1
- 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-
|
|
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-
|
|
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
|
|
6
|
-
import { n as collectInlinePolicyNamesManagedBySiblings, r as IamCreateClientCache, t as IAMRoleProvider } from "./iam-role-provider
|
|
7
|
-
import { a as canonicalizeIpProtocolValue, i as resolveSecretDerivedPrincipals, n as runDestroyForStack, o as resolvedResourceTimeoutMs, r as isResolvableSecretPrincipalList, t as canonicalizeIpv4Cidr } from "./program-
|
|
8
|
-
import { RDSProvider } from "./rds-provider-
|
|
9
|
-
import { NeptuneProvider } from "./neptune-provider-
|
|
10
|
-
import { ASGProvider } from "./asg-provider-
|
|
5
|
+
import { $ as isTruthyCfnBoolean, $o as markSameGenerationBag, 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, Sl as resolveAssemblyPath, 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, ac as rewriteTemplateAssetReferences, ai as s3BucketArn, al as decodeListingKey, an as isRedactedRecordedValue, ao as toCfnInteger, ar as planTagDiff, as as dynamicReferenceTokens, b as lookupEachName, bl as displayAssemblyPath, bo as withRetry, br as getCurrentResourceSecrets, bt as getNestedRevertRun, c as renderNestedTemplateTreeDefect, ci as s3BucketRegionalDomainName, cl as canonicalizeRegion, co as coerceCfnInteger, cr as tagMapAsList, da as refuseMalformedNestedChildOutputs, do as configStringRefusal, dr as stringifyIfAssigned, ds as recoverMaskedOutput, ec as stringifyValue, er as reserveStackCreateToken, es as redactSecretsForState, et as getPriorAttempts, fo as readConfigString, fs as physicalNameCopiesOf, gi as getAccountInfo, go as requireConfigString, ho as requireConfigObject, hs as carriesSecretMask, ii as isSettledInstanceState, in as REDACTED_DELETE_ADDRESS_SKIP_REASON, io as isWarmThroughputDecrease, ir as DBPROXY_TAG_OPTIONS, ja as refuseMalformedResourcesForDestroy, ki as passedParameterClassesOf, li as s3BucketWebsiteUrl, ll as derivePartitionAndUrlSuffix, lo as configBooleanRefusal, lr as tagPlanWarning, mo as requireConfigArray, nn as getCurrentProducerRegions, no as WARM_THROUGHPUT_MEMBERS, nr as acquireIdempotencyToken, o as isAbsoluteAssetPath, oi as s3BucketDomainName, on as redactedDeleteAddressFields, oo as toFiniteNumber, or as readTagList, 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 s3BucketDualStackDomainName, sn as redactedDeleteAddressSkip, so as coerceCfnBoolean, sr as refuseMalformedDesiredTags, t as DeployEngine, tt as markRefusedBeforeApplying, uo as configIntegerRefusal, ur as definedAttributes, v as chunks, x as withApiLimit, xl as renderAssemblyPathEscape, xo as canonicalLambdaFunctionName, y as isAccessDeniedError, yl as describeFileReadFailure, z as DynamoDBGlobalTableProvider, zr as observeThenDisableInstanceApiTermination } from "./deploy-engine-A-Ys_mhE.js";
|
|
6
|
+
import { n as collectInlinePolicyNamesManagedBySiblings, r as IamCreateClientCache, t as IAMRoleProvider } from "./iam-role-provider-CpqTal4K.js";
|
|
7
|
+
import { a as canonicalizeIpProtocolValue, i as resolveSecretDerivedPrincipals, n as runDestroyForStack, o as resolvedResourceTimeoutMs, r as isResolvableSecretPrincipalList, t as canonicalizeIpv4Cidr } from "./program-D5gcmWad.js";
|
|
8
|
+
import { RDSProvider } from "./rds-provider-X4mc-nGw.js";
|
|
9
|
+
import { NeptuneProvider } from "./neptune-provider-C4A86Y7P.js";
|
|
10
|
+
import { ASGProvider } from "./asg-provider-semUK44T.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"]);
|
|
@@ -28214,15 +28264,27 @@ const USER_POOL_ECHO_MEMBERS = [
|
|
|
28214
28264
|
"DeviceConfiguration",
|
|
28215
28265
|
"SmsVerificationMessage",
|
|
28216
28266
|
"EmailVerificationMessage",
|
|
28217
|
-
"EmailVerificationSubject"
|
|
28267
|
+
"EmailVerificationSubject",
|
|
28268
|
+
"AcrConfiguration"
|
|
28218
28269
|
];
|
|
28219
28270
|
function userPoolDeletionProtectionUpdate(physicalId, pool, value, opts = {}) {
|
|
28220
28271
|
const input = { UserPoolId: physicalId };
|
|
28221
28272
|
for (const member of USER_POOL_ECHO_MEMBERS) if (pool[member] !== void 0) Object.assign(input, { [member]: pool[member] });
|
|
28273
|
+
const acr = customAcrLevels(pool.AcrConfiguration);
|
|
28274
|
+
if (acr === void 0) delete input.AcrConfiguration;
|
|
28275
|
+
else input.AcrConfiguration = acr;
|
|
28222
28276
|
if (echoesDeveloperEmail(pool) && opts.withoutDeveloperEmail !== true) input.EmailConfiguration = pool.EmailConfiguration;
|
|
28223
28277
|
input.DeletionProtection = value;
|
|
28224
28278
|
return input;
|
|
28225
28279
|
}
|
|
28280
|
+
function customAcrLevels(acr) {
|
|
28281
|
+
if (acr === void 0) return void 0;
|
|
28282
|
+
const custom = Object.fromEntries(Object.entries(acr).filter(([level, cfg]) => {
|
|
28283
|
+
const n = /^Level([1-4])$/.exec(level)?.[1];
|
|
28284
|
+
return n === void 0 || cfg?.AcrValue !== `urn:cognito:loa:${n}`;
|
|
28285
|
+
}));
|
|
28286
|
+
return Object.keys(custom).length > 0 ? custom : void 0;
|
|
28287
|
+
}
|
|
28226
28288
|
const sentWithoutEmail = /* @__PURE__ */ new WeakSet();
|
|
28227
28289
|
const createUserPoolLatch = new AmbiguousCreateLatch("CreateUserPool");
|
|
28228
28290
|
const userPoolsCreatedByThisProcess = new RecentIdSet();
|
|
@@ -36204,7 +36266,7 @@ var SchedulerScheduleProvider = class {
|
|
|
36204
36266
|
const bag = getCurrentResourceSecrets();
|
|
36205
36267
|
if (bag === void 0 || typeof desiredGroup !== "string") return false;
|
|
36206
36268
|
if (typeof recordedGroup !== "string" || !recordedGroup.includes("{{resolve:")) return false;
|
|
36207
|
-
return redactSecretsForState(desiredGroup, bag) !== recordedGroup;
|
|
36269
|
+
return withoutPhysicalNameCopies(bag, () => redactSecretsForState(desiredGroup, bag)) !== recordedGroup;
|
|
36208
36270
|
}
|
|
36209
36271
|
async update(logicalId, physicalId, resourceType, properties, previousProperties, context) {
|
|
36210
36272
|
const groupName = this.groupNameOf(properties);
|
|
@@ -44256,6 +44318,7 @@ var NestedStackProvider = class {
|
|
|
44256
44318
|
parameters: childParameters,
|
|
44257
44319
|
onDestructivePlan: void 0,
|
|
44258
44320
|
...inheritedSecrets && hasMaskableValues(inheritedSecrets) && { inheritedSecrets },
|
|
44321
|
+
inheritedPhysicalNameCopies: inheritedPhysicalNameCopiesOf(inheritedSecrets),
|
|
44259
44322
|
...passedClasses && { passedParameterClasses: passedClasses },
|
|
44260
44323
|
passedNoEchoParameters: passedNoEchoParametersOf(inheritedSecrets),
|
|
44261
44324
|
inheritedProducerRegions: getCurrentProducerRegions(),
|
|
@@ -44385,6 +44448,10 @@ function runAccountOf(ctx) {
|
|
|
44385
44448
|
statePrefix: ctx.destroyOptions?.statePrefix
|
|
44386
44449
|
};
|
|
44387
44450
|
}
|
|
44451
|
+
function inheritedPhysicalNameCopiesOf(bag) {
|
|
44452
|
+
const copies = bag === void 0 ? void 0 : physicalNameCopiesOf.get(bag);
|
|
44453
|
+
return copies === void 0 || copies.size === 0 ? void 0 : new Set(copies);
|
|
44454
|
+
}
|
|
44388
44455
|
|
|
44389
44456
|
//#endregion
|
|
44390
44457
|
//#region src/provisioning/providers/wait-condition-handle-provider.ts
|
|
@@ -44764,4 +44831,4 @@ var ACMCertificateProvider = class {
|
|
|
44764
44831
|
|
|
44765
44832
|
//#endregion
|
|
44766
44833
|
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-
|
|
44834
|
+
//# sourceMappingURL=provider-classes-CuZ-P4gB.js.map
|