@cdkd/cli 0.359.0 → 0.359.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ambient-client-defaults-BNqC0q-Z.js → ambient-client-defaults-D1Gua-yw.js} +3 -3
- package/dist/{ambient-client-defaults-BNqC0q-Z.js.map → ambient-client-defaults-D1Gua-yw.js.map} +1 -1
- package/dist/{asg-provider-BDCUGWZV.js → asg-provider-HLdSUkYV.js} +6 -6
- package/dist/{asg-provider-BDCUGWZV.js.map → asg-provider-HLdSUkYV.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-DMkX_oQo.js → custom-resource-runtime-D4P2W0VI.js} +6 -6
- package/dist/{custom-resource-runtime-DMkX_oQo.js.map → custom-resource-runtime-D4P2W0VI.js.map} +1 -1
- package/dist/{db-associated-roles-Bx5ML-MI.js → db-associated-roles-CA_XrqV2.js} +2 -2
- package/dist/{db-associated-roles-Bx5ML-MI.js.map → db-associated-roles-CA_XrqV2.js.map} +1 -1
- package/dist/{delete-started-V5NHQ1O-.js → delete-started-B0adv_Q0.js} +4 -4
- package/dist/{delete-started-V5NHQ1O-.js.map → delete-started-B0adv_Q0.js.map} +1 -1
- package/dist/{deploy-engine-BjSv27_M.js → deploy-engine-P7CPgaVx.js} +106 -29
- package/dist/deploy-engine-P7CPgaVx.js.map +1 -0
- package/dist/{ec2-termination-protection-hc3MeuqF.js → ec2-termination-protection-CdyXzh7W.js} +6 -6
- package/dist/{ec2-termination-protection-hc3MeuqF.js.map → ec2-termination-protection-CdyXzh7W.js.map} +1 -1
- package/dist/{ecr-uri-D1ijxg7D.js → ecr-uri-DrUOsysa.js} +2 -2
- package/dist/{ecr-uri-D1ijxg7D.js.map → ecr-uri-DrUOsysa.js.map} +1 -1
- package/dist/{expected-bucket-owner-CQimj8gv.js → expected-bucket-owner-DjxT-AqD.js} +2 -2
- package/dist/{expected-bucket-owner-CQimj8gv.js.map → expected-bucket-owner-DjxT-AqD.js.map} +1 -1
- package/dist/{iam-role-provider-b46RdZD5.js → iam-role-provider-B6Rlc_GY.js} +9 -9
- package/dist/{iam-role-provider-b46RdZD5.js.map → iam-role-provider-B6Rlc_GY.js.map} +1 -1
- package/dist/{image-plan-DtFbiJj5.js → image-plan-D_EGu-8M.js} +8 -8
- package/dist/{image-plan-DtFbiJj5.js.map → image-plan-D_EGu-8M.js.map} +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-CqKPJ_tV.js → logger-BkzZeRzu.js} +2 -2
- package/dist/{logger-CqKPJ_tV.js.map → logger-BkzZeRzu.js.map} +1 -1
- package/dist/{neptune-provider-DiyWADaS.js → neptune-provider-pvZ07quz.js} +7 -7
- package/dist/{neptune-provider-DiyWADaS.js.map → neptune-provider-pvZ07quz.js.map} +1 -1
- package/dist/{program-Cdwgr3Yv.js → program-Cda-eDUT.js} +15 -15
- package/dist/{program-Cdwgr3Yv.js.map → program-Cda-eDUT.js.map} +1 -1
- package/dist/{provider-classes-DhmwW7hI.js → provider-classes--2kJfv8x.js} +78 -27
- package/dist/provider-classes--2kJfv8x.js.map +1 -0
- package/dist/{rds-provider-DpOZv_UG.js → rds-provider-C47dGZz_.js} +10 -10
- package/dist/{rds-provider-DpOZv_UG.js.map → rds-provider-C47dGZz_.js.map} +1 -1
- package/dist/{read-replica-Ct0oakPU.js → read-replica-CfVkW9fC.js} +3 -3
- package/dist/{read-replica-Ct0oakPU.js.map → read-replica-CfVkW9fC.js.map} +1 -1
- package/dist/{replacement-rules-CMnMy7rf.js → replacement-rules-DfitfaSq.js} +3 -3
- package/dist/{replacement-rules-CMnMy7rf.js.map → replacement-rules-DfitfaSq.js.map} +1 -1
- package/dist/{resource-deadline-DlZTHrBj.js → resource-deadline-CCBYcUI-.js} +4 -4
- package/dist/{resource-deadline-DlZTHrBj.js.map → resource-deadline-CCBYcUI-.js.map} +1 -1
- package/dist/{restore-source-guard-DIs6rqZm.js → restore-source-guard-gqR_ya6m.js} +4 -4
- package/dist/{restore-source-guard-DIs6rqZm.js.map → restore-source-guard-gqR_ya6m.js.map} +1 -1
- package/dist/{run-cli-BLZnjA32.js → run-cli-fuzwJdwl.js} +2 -2
- package/dist/{run-cli-BLZnjA32.js.map → run-cli-fuzwJdwl.js.map} +1 -1
- package/dist/{settle-own-write-members-C1uPhq2z.js → settle-own-write-members-B3XEent-.js} +12 -12
- package/dist/{settle-own-write-members-C1uPhq2z.js.map → settle-own-write-members-B3XEent-.js.map} +1 -1
- package/dist/{version-DyE_oClc.js → version-C2QpskKl.js} +2 -2
- package/dist/{version-DyE_oClc.js.map → version-C2QpskKl.js.map} +1 -1
- package/package.json +2 -2
- package/dist/deploy-engine-BjSv27_M.js.map +0 -1
- package/dist/provider-classes-DhmwW7hI.js.map +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } 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 { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-B6Rlc_GY.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-BkzZeRzu.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 isProceedDbStatus, $t as markAuxiliaryFailure, A as isPlainImportJson, At as canonicalizeRoute53QueryName, B as assertRegionMatch, Bt as createMaskedRetryLogger, C as isInsideWindow, Ct as SECRET_DERIVED_READ_LIVE, D as withoutServerErrorRetries, E as setBounded, Et as readPrincipalLists, F as refusalTypeShown, Ft as packCompositeId, G as logGroupProtectionSite, H as markNotGone, Ht as maskDeep, I as remedyLogicalId, K as observeThenDisableProtection, L as resolveExplicitPhysicalId, Lt as segmentAfterAnchor, M as isQuotableImportValue, Mt as compositeIdSeparatorRefusal, N as normalizeAwsTagsToCfn, Nt as compositeIdSkipResult, O as VALUE_NOT_SHOWN, Ot as recordedPrincipalsRepair, P as quotedRemedyLogicalId, Pt as logicalIdShown, R as DriftReadRefusedError, Rt as stateOrphanRecordRemedy, S as createAttemptKey, T as replayedSendWindow, Tt as onlySecretDerived, Ut as maskerOrIdentity, Vt as isSecretDerivedValue, W as deleteWithProtectionCompensation, Wt as withDerivedNameMasks, X as PROTECTION_FLIP_RETRY_WAIT_MS, Y as userPoolProtectionSite, Z as deleteAfterProtectionFlipWithFinalSnapshot, Zt as isAuxiliaryFailure, _ as AMBIGUOUS_LATCH_TTL_MS, _n as withPasteableAwsProfile, a as clearOnUpdateRemoval, b as RecentIdSet, bt as startInterruptWatch, c as removedTemplateKeys, dt as WITHHELD_AWS_COMMAND, en as markCreatedBeforeFailure, et as isTerminalDbWaitStatus, ft as isAwsCliLiteral, g as retractCreatedResource, ht as renderDisableCommand, it as protectionFlipKey, j as isPlainImportValue, jt as compositeIdFormatMessage, k as importRemedyCommand, l as withRemovalDefaults, m as reportCreatedResource, mt as protectedReplacementAdvice, n as enclosingDeadlineRemainingMs, nt as ProtectionFlipRegistry, ot as ElapsedBudget, pt as pasteableAwsCommand, q as rdsFamilyProtectionSite, qt as clearCreatedBeforeFailure, rt as isTerminalDeleteFailure, st as ElapsedBudgetRegistry, t as enclosingDeadlineExpired, tn as markSupersedesEarlierCreate, ut as UNNAMEABLE_ID_CLAUSE, v as AmbiguousCreateLatch, vn as injectiveKey, w as replayFollowedAmbiguousAttempt, wt as holdsSecretDerivedEntry, x as ambiguousAttemptLead, y as CREATION_DATE_SKEW_MARGIN_MS, yn as injectiveKeyPrefix, yt as isInterruptedWaitError, z as RESOURCE_NOT_FOUND, zt as createMaskedLogSinks } from "./resource-deadline-
|
|
6
|
-
import { A as displayStackName, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ 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 { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-
|
|
8
|
-
import { $ as effectiveInventoryItem, A as tagListsMatch, B as LIFECYCLE_DEFAULT_STATUS, C as reconcileSgRules, D as singleSecurityGroupRuleId, E as sgRuleKey, 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 declaredSgRulesRead, N as mergeDeclaredSgRules, O as stackIngressRuleHolder, P as LIFECYCLE_BASELINE_REREAD_DELAYS_MS, Q as effectiveIntelligentTieringItem, R as settleLifecycleRead, S as narrowIngressIpProtocol, T as securityGroupRuleMatchesCfnIngress, 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 flattenIpPermissions, a as resolveSecretDerivedPrincipals, at as declaresBucketObjectLock, b as isDefaultEgressRule, c as readSgIngressById, ct as isPlainObject$4, d as SG_RULE_PAGE_SIZE, dt as shownLifecycleRuleId, et as effectiveNotificationConfiguration, f as authorizeDefinitelyNotApplied, g as descriptionKey, h as comparableIngressIdentity, i as isResolvableSecretPrincipalList, it as configItemId, j as markCopiesAgreed, k as survivingRecordOfRuleId, l as siblingIdOwnedSgRules, lt as manualBucketDeletionClause, m as canonicalizeSgRuleProtocol, n as runDestroyForStack, nt as caughtErrorName, o as refuseRevertRevokingSiblingRules, ot as declaresNestedObjectLock, p as canonicalizeSgInlineRuleProtocols, q as lifecycleRuleScope, r as holdsUnprovenSecretPrincipalToken, rt as coerceCfnNumber, s as sgRuleDiffKey, st as describeValue$1, t as canonicalizeIpv4Cidr, tt as eventBridgeEnabledOf, u as SG_READBACK_RETRY_DELAY_MS, ut as mergeLegacySingular, v as ingressRuleIdentity, w as securityGroupReadbackDelays, x as isResendableSocketFailure, y as isConnectTimeout, z as takeLifecycleWrite } from "./program-
|
|
9
|
-
import { $ as recordTagWrite, $r as redactedDeleteAddressSkip, Al as accountArgs, At as DELETE_INDEX_WAIT_PROCEED_NOTE, B as declaredStreamTagsMember, Ba as SNS_DEFAULT_POLICY_ID, Bt as isTruthyCfnBoolean, Cr as calculateResourceDrift, Ct as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, Cu as decodeListingKey, Do as RecordedIdentityError, Dr as verbatimEchoDriftKeys, Dt as deleteBudgetKey, Eo as waitForGoneAfterDelete, Et as compensateRemovedDeletionProtection, Fa as withoutSiblingAttachedArns, Fo as deleteSkipReason, Fs as outputReferenceProvenanceOf, Ft as relayedIndexBusyDelete, Fu as rewriteTemplateAssetReferences, G as streamDeclaresTags, Ga as memberReadFailure, Go as isSettledInstanceState, Ha as declaredPolicyDocument, Hl as withoutSdkUnwiredProperties, I as DynamoDBGlobalTableProvider, Ia as withoutSiblingOwned, Ii as getStackRecords, Io as withIndeterminateGuard, Ir as acquireIdempotencyToken, It as waitForIndexesSettled, J as streamTagsMatchDeclared, Ja as settleDeclaredMember, Jo as maskedSecretSegment, K as streamMemberRefusals, Ka as policyDocumentMatchesDeclared, Ki as replacedDeleteFailureVerdict, Ko as APPSYNC_APIKEY_ARN_RESOURCE_PATH, L as STREAM_POLICY_KEY, La as KMS_DEFAULT_KEY_POLICY_ID, Lt as ECR_AUTO_DELETE_IMAGES_TAG, Ma as collectManagedPolicyArnsAttachedBySiblings, Mr as earliestDefined, Mt as TABLE_INDEX_NOUN, Na as collectPrincipalsAttachingPolicy, Nt as deleteTableWithIndexBusyRetry, Oo as RecordedIdentityMismatchError, Ot as resolveDynamoDbDeleteBudgetClock, Pa as isStoredExpression, Pi as awaitInFlightSibling, Pr as reserveStackCreateToken, Pt as maskedLogger, Q as isDynamoDBTableArnIn, Qr as redactedDeleteAddressFields, Qt as licensedNameHolder, R as STREAM_TAGS_KEY, Rt as S3_AUTO_DELETE_OBJECTS_TAG, St as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, Tl as refuseMalformedResourcesForDestroy, Tt as beginDeleteWait, U as reverseMapStreamPolicy, Ua as efsPolicyMatchesDeclared, V as planStreamMemberOps, Va as declaredMemberDocument, Vs as getAccountInfo, W as streamDeclaresPolicy, Wa as lambdaPermissionMatchesDeclared, X as clearTagWrites, Xa as attemptedPolicyDocument, Xr as REDACTED_DELETE_ADDRESS_SKIP_REASON, Y as TAGS_BASELINE_REREAD_DELAYS_MS, Ya as warnUnsettledMember, Za as policyContentKey, Zr as isRedactedRecordedValue, _n as getCurrentNestedStackContext, _s as s3BucketArn, _t as planIndexContributorInsightsOps, ao as classifyHandleUrl, at as planTimeToLive, bc as passedParameterClassesOf, bs as s3BucketRegionalDomainName, bt as reverseMapTableContributorInsights, cc as coerceWarmThroughput$1, cr as siblingOwnedSgRuleIdentities, ct as planVectorIndexUpdates, dc as toFiniteNumber, dr as SG_RULE_ID_PATTERN, dt as vectorIndexesSettled, du as stringifyValue, en as chunks, et as settleWrittenTags, fd as renderAssemblyPathEscape, fr as cfnIngressPortValue, ft as vectorIndexesShapeDetail, ga as secretNamedAttributeNamesOf, gt as planContributorInsightsOp, gu as renderNestedTemplateTreeDefect, hl as refuseMalformedNestedChildOutputs, ht as indexDeclaresContributorInsights, hu as listNestedTemplateRows, io as WaitConditionSignalStore, it as isTtlRateLimited, ja as collectGroupsAddedBySiblings, jl as withheldAccountClause, js as parseWebACLArn, jt as INDEX_SETTLE_POLL_INTERVAL_MS, ko as assertRecordedIdentity, kt as resolveDynamoDbDeleteBudgetMs, lc as isWarmThroughputDecrease, ld as describeFileReadFailure, lt as readbackVectorIndexes, mo as getCurrentResourceSecrets, mr as sgProtocolKey, mt as contributorInsightsRefusals, mu as isAbsoluteAssetPath, nn as lookupEachName, nt as takeTagWrite, oo as evaluateSignals, ot as readTtlSpec, pd as resolveAssemblyPath, pn as revertNestedChildFromJournal, pr as recordedSgRuleId, pt as CONTRIBUTOR_INSIGHTS_KEY, pu as findNestedTemplateTreeDefect, q as streamPolicyMatchesDeclared, qa as reReadUntilSettled, rn as withApiLimit, ro as LEGACY_HANDLE_ID_PREFIX, rt as isTtlAlreadyDisabled, sc as WARM_THROUGHPUT_MEMBERS, st as sendTtlWaitingOutRateLimit, t as DeployEngine, tn as isAccessDeniedError, uc as toCfnInteger, ud as displayAssemblyPath, ui as getCurrentProducerRegions, un as getNestedRevertRun, ur as withoutSiblingOwnedSgRules, ut as vectorIndexesForCreate, vn as withNestedStackContext, vs as s3BucketDomainName, vt as readContributorInsightsSpec, wo as waitForLambdaFunctionActive, wt as DYNAMODB_DELETE_POLL_COST_MS, xs as s3BucketWebsiteUrl, xt as stripIndexContributorInsights, ys as s3BucketDualStackDomainName, yt as reverseMapIndexContributorInsights, z as declaredStreamPolicyMember, za as OWN_WRITE_REREAD_DELAYS_MS, zl as findSdkUnwiredProperties, zo as markWaitAbandoned, zt as hasCdkAutoDeleteTag } from "./deploy-engine-
|
|
10
|
-
import { _ as isUsableAttemptedName, c as planTagDiff, d as tagMapAsList, f as tagPlanWarning, g as stringifyIfAssigned, h as definedAttributes, i as refuseRestoreFromItself, l as readTagList, m as modifyDbInstanceWhenAvailable, o as DBPROXY_TAGS_WHAT, p as isModifyNotAvailableRefusal, s as DBPROXY_TAG_OPTIONS, u as refuseMalformedDesiredTags } from "./restore-source-guard-
|
|
11
|
-
import { W as timePhase, _ as onlySecretReferencesDiffer, a as reDisableInstanceApiTermination, c as resolvedResourceTimeoutMs, f as markRefusedBeforeApplying, i as observeThenDisableInstanceApiTermination, j as withRetry, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, r as isTerminationProtectionPropagationError, s as resolvedPerTypeResourceTimeoutMs, u as getPriorAttempts, v as unchangedBehindSecretReference } from "./ec2-termination-protection-
|
|
12
|
-
import { a as principalOwnWriteMembers, c as stringListMember, d as planSubscriptionAttributes, n as declaredStringList, o as settleOwnWriteMembers, u as normalizeRecordName } 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-D1Gua-yw.js";
|
|
5
|
+
import { $ as isProceedDbStatus, $t as markAuxiliaryFailure, A as isPlainImportJson, At as canonicalizeRoute53QueryName, B as assertRegionMatch, Bt as createMaskedRetryLogger, C as isInsideWindow, Ct as SECRET_DERIVED_READ_LIVE, D as withoutServerErrorRetries, E as setBounded, Et as readPrincipalLists, F as refusalTypeShown, Ft as packCompositeId, G as logGroupProtectionSite, H as markNotGone, Ht as maskDeep, I as remedyLogicalId, K as observeThenDisableProtection, L as resolveExplicitPhysicalId, Lt as segmentAfterAnchor, M as isQuotableImportValue, Mt as compositeIdSeparatorRefusal, N as normalizeAwsTagsToCfn, Nt as compositeIdSkipResult, O as VALUE_NOT_SHOWN, Ot as recordedPrincipalsRepair, P as quotedRemedyLogicalId, Pt as logicalIdShown, R as DriftReadRefusedError, Rt as stateOrphanRecordRemedy, S as createAttemptKey, T as replayedSendWindow, Tt as onlySecretDerived, Ut as maskerOrIdentity, Vt as isSecretDerivedValue, W as deleteWithProtectionCompensation, Wt as withDerivedNameMasks, X as PROTECTION_FLIP_RETRY_WAIT_MS, Y as userPoolProtectionSite, Z as deleteAfterProtectionFlipWithFinalSnapshot, Zt as isAuxiliaryFailure, _ as AMBIGUOUS_LATCH_TTL_MS, _n as withPasteableAwsProfile, a as clearOnUpdateRemoval, b as RecentIdSet, bt as startInterruptWatch, c as removedTemplateKeys, dt as WITHHELD_AWS_COMMAND, en as markCreatedBeforeFailure, et as isTerminalDbWaitStatus, ft as isAwsCliLiteral, g as retractCreatedResource, ht as renderDisableCommand, it as protectionFlipKey, j as isPlainImportValue, jt as compositeIdFormatMessage, k as importRemedyCommand, l as withRemovalDefaults, m as reportCreatedResource, mt as protectedReplacementAdvice, n as enclosingDeadlineRemainingMs, nt as ProtectionFlipRegistry, ot as ElapsedBudget, pt as pasteableAwsCommand, q as rdsFamilyProtectionSite, qt as clearCreatedBeforeFailure, rt as isTerminalDeleteFailure, st as ElapsedBudgetRegistry, t as enclosingDeadlineExpired, tn as markSupersedesEarlierCreate, ut as UNNAMEABLE_ID_CLAUSE, v as AmbiguousCreateLatch, vn as injectiveKey, w as replayFollowedAmbiguousAttempt, wt as holdsSecretDerivedEntry, x as ambiguousAttemptLead, y as CREATION_DATE_SKEW_MARGIN_MS, yn as injectiveKeyPrefix, yt as isInterruptedWaitError, z as RESOURCE_NOT_FOUND, zt as createMaskedLogSinks } from "./resource-deadline-CCBYcUI-.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, T as asIsMessage, _ 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-C2QpskKl.js";
|
|
7
|
+
import { gt as slowCcOperationTimeoutMs, n as isRefusedByName, r as markDeleteStarted } from "./delete-started-B0adv_Q0.js";
|
|
8
|
+
import { $ as effectiveInventoryItem, A as tagListsMatch, B as LIFECYCLE_DEFAULT_STATUS, C as reconcileSgRules, D as singleSecurityGroupRuleId, E as sgRuleKey, 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 declaredSgRulesRead, N as mergeDeclaredSgRules, O as stackIngressRuleHolder, P as LIFECYCLE_BASELINE_REREAD_DELAYS_MS, Q as effectiveIntelligentTieringItem, R as settleLifecycleRead, S as narrowIngressIpProtocol, T as securityGroupRuleMatchesCfnIngress, 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 flattenIpPermissions, a as resolveSecretDerivedPrincipals, at as declaresBucketObjectLock, b as isDefaultEgressRule, c as readSgIngressById, ct as isPlainObject$4, d as SG_RULE_PAGE_SIZE, dt as shownLifecycleRuleId, et as effectiveNotificationConfiguration, f as authorizeDefinitelyNotApplied, g as descriptionKey, h as comparableIngressIdentity, i as isResolvableSecretPrincipalList, it as configItemId, j as markCopiesAgreed, k as survivingRecordOfRuleId, l as siblingIdOwnedSgRules, lt as manualBucketDeletionClause, m as canonicalizeSgRuleProtocol, n as runDestroyForStack, nt as caughtErrorName, o as refuseRevertRevokingSiblingRules, ot as declaresNestedObjectLock, p as canonicalizeSgInlineRuleProtocols, q as lifecycleRuleScope, r as holdsUnprovenSecretPrincipalToken, rt as coerceCfnNumber, s as sgRuleDiffKey, st as describeValue$1, t as canonicalizeIpv4Cidr, tt as eventBridgeEnabledOf, u as SG_READBACK_RETRY_DELAY_MS, ut as mergeLegacySingular, v as ingressRuleIdentity, w as securityGroupReadbackDelays, x as isResendableSocketFailure, y as isConnectTimeout, z as takeLifecycleWrite } from "./program-Cda-eDUT.js";
|
|
9
|
+
import { $ as recordTagWrite, $r as redactedDeleteAddressSkip, Al as accountArgs, At as DELETE_INDEX_WAIT_PROCEED_NOTE, B as declaredStreamTagsMember, Ba as SNS_DEFAULT_POLICY_ID, Bt as isTruthyCfnBoolean, Cr as calculateResourceDrift, Ct as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, Cu as decodeListingKey, Do as RecordedIdentityError, Dr as verbatimEchoDriftKeys, Dt as deleteBudgetKey, Eo as waitForGoneAfterDelete, Et as compensateRemovedDeletionProtection, Fa as withoutSiblingAttachedArns, Fo as deleteSkipReason, Fs as outputReferenceProvenanceOf, Ft as relayedIndexBusyDelete, Fu as rewriteTemplateAssetReferences, G as streamDeclaresTags, Ga as memberReadFailure, Go as isSettledInstanceState, Ha as declaredPolicyDocument, Hl as withoutSdkUnwiredProperties, I as DynamoDBGlobalTableProvider, Ia as withoutSiblingOwned, Ii as getStackRecords, Io as withIndeterminateGuard, Ir as acquireIdempotencyToken, It as waitForIndexesSettled, J as streamTagsMatchDeclared, Ja as settleDeclaredMember, Jo as maskedSecretSegment, K as streamMemberRefusals, Ka as policyDocumentMatchesDeclared, Ki as replacedDeleteFailureVerdict, Ko as APPSYNC_APIKEY_ARN_RESOURCE_PATH, L as STREAM_POLICY_KEY, La as KMS_DEFAULT_KEY_POLICY_ID, Lt as ECR_AUTO_DELETE_IMAGES_TAG, Ma as collectManagedPolicyArnsAttachedBySiblings, Mr as earliestDefined, Mt as TABLE_INDEX_NOUN, Na as collectPrincipalsAttachingPolicy, Nt as deleteTableWithIndexBusyRetry, Oo as RecordedIdentityMismatchError, Ot as resolveDynamoDbDeleteBudgetClock, Pa as isStoredExpression, Pi as awaitInFlightSibling, Pr as reserveStackCreateToken, Pt as maskedLogger, Q as isDynamoDBTableArnIn, Qr as redactedDeleteAddressFields, Qt as licensedNameHolder, R as STREAM_TAGS_KEY, Rt as S3_AUTO_DELETE_OBJECTS_TAG, St as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, Tl as refuseMalformedResourcesForDestroy, Tt as beginDeleteWait, U as reverseMapStreamPolicy, Ua as efsPolicyMatchesDeclared, V as planStreamMemberOps, Va as declaredMemberDocument, Vs as getAccountInfo, W as streamDeclaresPolicy, Wa as lambdaPermissionMatchesDeclared, X as clearTagWrites, Xa as attemptedPolicyDocument, Xr as REDACTED_DELETE_ADDRESS_SKIP_REASON, Y as TAGS_BASELINE_REREAD_DELAYS_MS, Ya as warnUnsettledMember, Za as policyContentKey, Zr as isRedactedRecordedValue, _n as getCurrentNestedStackContext, _s as s3BucketArn, _t as planIndexContributorInsightsOps, ao as classifyHandleUrl, at as planTimeToLive, bc as passedParameterClassesOf, bs as s3BucketRegionalDomainName, bt as reverseMapTableContributorInsights, cc as coerceWarmThroughput$1, cr as siblingOwnedSgRuleIdentities, ct as planVectorIndexUpdates, dc as toFiniteNumber, dr as SG_RULE_ID_PATTERN, dt as vectorIndexesSettled, du as stringifyValue, en as chunks, et as settleWrittenTags, fd as renderAssemblyPathEscape, fr as cfnIngressPortValue, ft as vectorIndexesShapeDetail, ga as secretNamedAttributeNamesOf, gt as planContributorInsightsOp, gu as renderNestedTemplateTreeDefect, hl as refuseMalformedNestedChildOutputs, ht as indexDeclaresContributorInsights, hu as listNestedTemplateRows, io as WaitConditionSignalStore, it as isTtlRateLimited, ja as collectGroupsAddedBySiblings, jl as withheldAccountClause, js as parseWebACLArn, jt as INDEX_SETTLE_POLL_INTERVAL_MS, ko as assertRecordedIdentity, kt as resolveDynamoDbDeleteBudgetMs, lc as isWarmThroughputDecrease, ld as describeFileReadFailure, lt as readbackVectorIndexes, mo as getCurrentResourceSecrets, mr as sgProtocolKey, mt as contributorInsightsRefusals, mu as isAbsoluteAssetPath, nn as lookupEachName, nt as takeTagWrite, oo as evaluateSignals, ot as readTtlSpec, pd as resolveAssemblyPath, pn as revertNestedChildFromJournal, pr as recordedSgRuleId, pt as CONTRIBUTOR_INSIGHTS_KEY, pu as findNestedTemplateTreeDefect, q as streamPolicyMatchesDeclared, qa as reReadUntilSettled, rn as withApiLimit, ro as LEGACY_HANDLE_ID_PREFIX, rt as isTtlAlreadyDisabled, sc as WARM_THROUGHPUT_MEMBERS, st as sendTtlWaitingOutRateLimit, t as DeployEngine, tn as isAccessDeniedError, uc as toCfnInteger, ud as displayAssemblyPath, ui as getCurrentProducerRegions, un as getNestedRevertRun, ur as withoutSiblingOwnedSgRules, ut as vectorIndexesForCreate, vn as withNestedStackContext, vs as s3BucketDomainName, vt as readContributorInsightsSpec, wo as waitForLambdaFunctionActive, wt as DYNAMODB_DELETE_POLL_COST_MS, xs as s3BucketWebsiteUrl, xt as stripIndexContributorInsights, ys as s3BucketDualStackDomainName, yt as reverseMapIndexContributorInsights, z as declaredStreamPolicyMember, za as OWN_WRITE_REREAD_DELAYS_MS, zl as findSdkUnwiredProperties, zo as markWaitAbandoned, zt as hasCdkAutoDeleteTag } from "./deploy-engine-P7CPgaVx.js";
|
|
10
|
+
import { _ as isUsableAttemptedName, c as planTagDiff, d as tagMapAsList, f as tagPlanWarning, g as stringifyIfAssigned, h as definedAttributes, i as refuseRestoreFromItself, l as readTagList, m as modifyDbInstanceWhenAvailable, o as DBPROXY_TAGS_WHAT, p as isModifyNotAvailableRefusal, s as DBPROXY_TAG_OPTIONS, u as refuseMalformedDesiredTags } from "./restore-source-guard-gqR_ya6m.js";
|
|
11
|
+
import { W as timePhase, _ as onlySecretReferencesDiffer, a as reDisableInstanceApiTermination, c as resolvedResourceTimeoutMs, f as markRefusedBeforeApplying, i as observeThenDisableInstanceApiTermination, j as withRetry, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, r as isTerminationProtectionPropagationError, s as resolvedPerTypeResourceTimeoutMs, u as getPriorAttempts, v as unchangedBehindSecretReference } from "./ec2-termination-protection-CdyXzh7W.js";
|
|
12
|
+
import { a as principalOwnWriteMembers, c as stringListMember, d as planSubscriptionAttributes, n as declaredStringList, o as settleOwnWriteMembers, u as normalizeRecordName } from "./settle-own-write-members-B3XEent-.js";
|
|
13
13
|
import { n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
|
|
14
14
|
import { f as ambientRegion, r as awsEndpointOverrideActive } from "./aws-client-defaults-DAebi99J.js";
|
|
15
|
-
import { $ as snapshotPassProvenance, At as withoutPhysicalNameCopies, C as passedNoEchoParametersOf, I as markSameGenerationBag, Nt as dynamicReferenceTokens, W as redactForState, Z as recordReferenceProvenanceEntry, a as emrClusterInstancesReplaced, cn as recordAttributeIdCopy, i as ecsServiceLaunchTypeSetOrChanged, it as hasMaskableValues, l as sameLambdaFunctionAddress, mn as carriesSecretMask, n as blockDeviceMappingsDifferOnlyInDeleteOnTermination, o as canonicalLambdaFunctionName, on as recoverMaskedOutput, s as lambdaFunctionNameForMask, sn as physicalNameCopiesOf } from "./replacement-rules-
|
|
16
|
-
import { RDSProvider } from "./rds-provider-
|
|
17
|
-
import { NeptuneProvider } from "./neptune-provider-
|
|
18
|
-
import { ASGProvider } from "./asg-provider-
|
|
15
|
+
import { $ as snapshotPassProvenance, At as withoutPhysicalNameCopies, C as passedNoEchoParametersOf, I as markSameGenerationBag, Nt as dynamicReferenceTokens, W as redactForState, Z as recordReferenceProvenanceEntry, a as emrClusterInstancesReplaced, cn as recordAttributeIdCopy, i as ecsServiceLaunchTypeSetOrChanged, it as hasMaskableValues, l as sameLambdaFunctionAddress, mn as carriesSecretMask, n as blockDeviceMappingsDifferOnlyInDeleteOnTermination, o as canonicalLambdaFunctionName, on as recoverMaskedOutput, s as lambdaFunctionNameForMask, sn as physicalNameCopiesOf } from "./replacement-rules-DfitfaSq.js";
|
|
16
|
+
import { RDSProvider } from "./rds-provider-C47dGZz_.js";
|
|
17
|
+
import { NeptuneProvider } from "./neptune-provider-pvZ07quz.js";
|
|
18
|
+
import { ASGProvider } from "./asg-provider-HLdSUkYV.js";
|
|
19
19
|
import { createHash, randomUUID } from "node:crypto";
|
|
20
20
|
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";
|
|
21
21
|
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, UpdateGroupCommand, UpdateLoginProfileCommand, UpdateUserCommand } from "@aws-sdk/client-iam";
|
|
@@ -12352,15 +12352,15 @@ function buildCommonImageInput(properties) {
|
|
|
12352
12352
|
return input;
|
|
12353
12353
|
}
|
|
12354
12354
|
function mapCodeArtifact(value) {
|
|
12355
|
-
if (!isRecord$
|
|
12355
|
+
if (!isRecord$4(value)) return void 0;
|
|
12356
12356
|
const uri = value["Uri"];
|
|
12357
12357
|
return typeof uri === "string" ? { uri } : void 0;
|
|
12358
12358
|
}
|
|
12359
12359
|
function mapLogging(value) {
|
|
12360
|
-
if (!isRecord$
|
|
12360
|
+
if (!isRecord$4(value)) return void 0;
|
|
12361
12361
|
if (value["Disabled"] === true) return { disabled: {} };
|
|
12362
12362
|
const cloudWatch = value["CloudWatch"];
|
|
12363
|
-
if (isRecord$
|
|
12363
|
+
if (isRecord$4(cloudWatch)) {
|
|
12364
12364
|
const cw = {};
|
|
12365
12365
|
if (typeof cloudWatch["LogGroup"] === "string") cw.logGroup = cloudWatch["LogGroup"];
|
|
12366
12366
|
if (typeof cloudWatch["LogStream"] === "string") cw.logStream = cloudWatch["LogStream"];
|
|
@@ -12369,32 +12369,32 @@ function mapLogging(value) {
|
|
|
12369
12369
|
}
|
|
12370
12370
|
function mapCpuConfigurations(value) {
|
|
12371
12371
|
if (!Array.isArray(value)) return void 0;
|
|
12372
|
-
return value.filter(isRecord$
|
|
12372
|
+
return value.filter(isRecord$4).map((c) => ({ architecture: c["Architecture"] }));
|
|
12373
12373
|
}
|
|
12374
12374
|
function mapResources(value) {
|
|
12375
12375
|
if (!Array.isArray(value)) return void 0;
|
|
12376
|
-
return value.filter(isRecord$
|
|
12376
|
+
return value.filter(isRecord$4).map((r) => Number(r["MinimumMemoryInMiB"])).filter((n) => Number.isFinite(n)).map((minimumMemoryInMiB) => ({ minimumMemoryInMiB }));
|
|
12377
12377
|
}
|
|
12378
12378
|
function mapHooks(value) {
|
|
12379
|
-
if (!isRecord$
|
|
12379
|
+
if (!isRecord$4(value)) return void 0;
|
|
12380
12380
|
return lowerFirstKeysDeep(value);
|
|
12381
12381
|
}
|
|
12382
12382
|
function mapKeyValueListToRecord(value) {
|
|
12383
12383
|
if (!Array.isArray(value)) return void 0;
|
|
12384
12384
|
const out = {};
|
|
12385
|
-
for (const entry of value) if (isRecord$
|
|
12385
|
+
for (const entry of value) if (isRecord$4(entry) && typeof entry["Key"] === "string") out[entry["Key"]] = typeof entry["Value"] === "string" ? entry["Value"] : "";
|
|
12386
12386
|
return Object.keys(out).length > 0 ? out : void 0;
|
|
12387
12387
|
}
|
|
12388
12388
|
function lowerFirstKeysDeep(value) {
|
|
12389
12389
|
if (Array.isArray(value)) return value.map(lowerFirstKeysDeep);
|
|
12390
|
-
if (isRecord$
|
|
12390
|
+
if (isRecord$4(value)) {
|
|
12391
12391
|
const out = {};
|
|
12392
12392
|
for (const [k, v] of Object.entries(value)) out[k.charAt(0).toLowerCase() + k.slice(1)] = lowerFirstKeysDeep(v);
|
|
12393
12393
|
return out;
|
|
12394
12394
|
}
|
|
12395
12395
|
return value;
|
|
12396
12396
|
}
|
|
12397
|
-
function isRecord$
|
|
12397
|
+
function isRecord$4(value) {
|
|
12398
12398
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
12399
12399
|
}
|
|
12400
12400
|
|
|
@@ -27256,6 +27256,47 @@ async function updateAccountWithRetry(cloudWatchRoleArn, logicalId, _resourceTyp
|
|
|
27256
27256
|
}
|
|
27257
27257
|
}
|
|
27258
27258
|
|
|
27259
|
+
// src/provisioning/providers/apigateway/jwt-configuration.ts
|
|
27260
|
+
function toSdkJwtConfiguration(value) {
|
|
27261
|
+
if (value === void 0 || value === null) return void 0;
|
|
27262
|
+
if (!isRecord$3(value)) return value;
|
|
27263
|
+
return {
|
|
27264
|
+
issuers: mapList(value["Issuers"], (issuer) => ({
|
|
27265
|
+
issuer: issuer["Issuer"],
|
|
27266
|
+
audiences: issuer["Audiences"],
|
|
27267
|
+
...issuer["AdditionalClaims"] !== void 0 && { additionalClaims: mapList(issuer["AdditionalClaims"], (claim) => ({
|
|
27268
|
+
claimName: claim["ClaimName"],
|
|
27269
|
+
format: claim["Format"],
|
|
27270
|
+
...claim["Required"] !== void 0 && { required: claim["Required"] },
|
|
27271
|
+
...claim["ExpectedValues"] !== void 0 && { expectedValues: claim["ExpectedValues"] }
|
|
27272
|
+
})) }
|
|
27273
|
+
})),
|
|
27274
|
+
defaultAlgorithms: value["DefaultAlgorithms"]
|
|
27275
|
+
};
|
|
27276
|
+
}
|
|
27277
|
+
function fromSdkJwtConfiguration(config) {
|
|
27278
|
+
return {
|
|
27279
|
+
Issuers: (config.issuers ?? []).map((issuer) => ({
|
|
27280
|
+
Issuer: issuer.issuer,
|
|
27281
|
+
Audiences: issuer.audiences ?? [],
|
|
27282
|
+
...issuer.additionalClaims !== void 0 && { AdditionalClaims: issuer.additionalClaims.map((claim) => ({
|
|
27283
|
+
ClaimName: claim.claimName,
|
|
27284
|
+
Format: claim.format,
|
|
27285
|
+
...claim.required !== void 0 && { Required: claim.required },
|
|
27286
|
+
...claim.expectedValues !== void 0 && { ExpectedValues: claim.expectedValues }
|
|
27287
|
+
})) }
|
|
27288
|
+
})),
|
|
27289
|
+
DefaultAlgorithms: config.defaultAlgorithms ?? []
|
|
27290
|
+
};
|
|
27291
|
+
}
|
|
27292
|
+
function isRecord$3(value) {
|
|
27293
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
27294
|
+
}
|
|
27295
|
+
function mapList(value, map) {
|
|
27296
|
+
if (!Array.isArray(value)) return value;
|
|
27297
|
+
return value.map((item) => isRecord$3(item) ? map(item) : item);
|
|
27298
|
+
}
|
|
27299
|
+
|
|
27259
27300
|
// src/provisioning/providers/apigateway/authorizer.ts
|
|
27260
27301
|
async function createAuthorizer$1(logicalId, resourceType, properties, log) {
|
|
27261
27302
|
log.debug(`Creating API Gateway Authorizer ${logicalId}`);
|
|
@@ -27303,7 +27344,8 @@ async function createAuthorizer$1(logicalId, resourceType, properties, log) {
|
|
|
27303
27344
|
authorizerCredentials: properties["AuthorizerCredentials"],
|
|
27304
27345
|
identitySource: properties["IdentitySource"],
|
|
27305
27346
|
identityValidationExpression: properties["IdentityValidationExpression"],
|
|
27306
|
-
authorizerResultTtlInSeconds: properties["AuthorizerResultTtlInSeconds"]
|
|
27347
|
+
authorizerResultTtlInSeconds: properties["AuthorizerResultTtlInSeconds"],
|
|
27348
|
+
jwtConfiguration: toSdkJwtConfiguration(properties["JwtConfiguration"])
|
|
27307
27349
|
}));
|
|
27308
27350
|
} catch (error) {
|
|
27309
27351
|
createAuthorizerLatch$1.noteFailure(logicalId, error, attemptStartMs, orphanWindow);
|
|
@@ -27327,6 +27369,7 @@ async function updateAuthorizer$1(logicalId, physicalId, resourceType, propertie
|
|
|
27327
27369
|
log.debug(`Updating API Gateway Authorizer ${logicalId}: ${physicalId}`);
|
|
27328
27370
|
const restApiId = properties["RestApiId"];
|
|
27329
27371
|
if (!restApiId) throw new ProvisioningError(`RestApiId is required to update API Gateway Authorizer ${logicalId}`, resourceType, logicalId, physicalId);
|
|
27372
|
+
if (properties["Type"] === "JWT" && properties["JwtConfiguration"] == null && previousProperties["JwtConfiguration"] != null) throw markNonRetryable(new ProvisioningError(`API Gateway Authorizer ${logicalId} is a JWT authorizer, which needs JwtConfiguration: API Gateway cannot remove it, so the issuers deployed before would stay in force. Declare the JwtConfiguration it should hold, or change Type.`, resourceType, logicalId, physicalId));
|
|
27330
27373
|
const arnOps = listPatchOps("/providerARNs", properties["ProviderARNs"], previousProperties["ProviderARNs"]);
|
|
27331
27374
|
const patchOperations = [...arnOps.adds];
|
|
27332
27375
|
for (const { key, path } of [
|
|
@@ -27373,6 +27416,12 @@ async function updateAuthorizer$1(logicalId, physicalId, resourceType, propertie
|
|
|
27373
27416
|
});
|
|
27374
27417
|
}
|
|
27375
27418
|
}
|
|
27419
|
+
const jwt = properties["JwtConfiguration"];
|
|
27420
|
+
if (jwt != null && !isDeepStrictEqual(jwt, previousProperties["JwtConfiguration"])) patchOperations.push({
|
|
27421
|
+
op: "replace",
|
|
27422
|
+
path: "/jwtConfiguration",
|
|
27423
|
+
value: JSON.stringify(toSdkJwtConfiguration(jwt))
|
|
27424
|
+
});
|
|
27376
27425
|
patchOperations.push(...arnOps.removes);
|
|
27377
27426
|
if (patchOperations.length === 0) {
|
|
27378
27427
|
log.debug(`No changes detected for API Gateway Authorizer ${logicalId}`);
|
|
@@ -28189,6 +28238,7 @@ async function readCurrentStateAuthorizer(physicalId, properties) {
|
|
|
28189
28238
|
result["IdentitySource"] = resp.identitySource ?? "";
|
|
28190
28239
|
result["IdentityValidationExpression"] = resp.identityValidationExpression ?? "";
|
|
28191
28240
|
if (resp.authorizerResultTtlInSeconds !== void 0) result["AuthorizerResultTtlInSeconds"] = resp.authorizerResultTtlInSeconds;
|
|
28241
|
+
if (resp.jwtConfiguration !== void 0) result["JwtConfiguration"] = fromSdkJwtConfiguration(resp.jwtConfiguration);
|
|
28192
28242
|
return result;
|
|
28193
28243
|
} catch (err) {
|
|
28194
28244
|
if (err instanceof NotFoundException$1) return RESOURCE_NOT_FOUND;
|
|
@@ -28344,7 +28394,8 @@ var ApiGatewayProvider = class {
|
|
|
28344
28394
|
"AuthorizerCredentials",
|
|
28345
28395
|
"IdentitySource",
|
|
28346
28396
|
"IdentityValidationExpression",
|
|
28347
|
-
"AuthorizerResultTtlInSeconds"
|
|
28397
|
+
"AuthorizerResultTtlInSeconds",
|
|
28398
|
+
"JwtConfiguration"
|
|
28348
28399
|
])],
|
|
28349
28400
|
["AWS::ApiGateway::Resource", /* @__PURE__ */ new Set([
|
|
28350
28401
|
"RestApiId",
|
|
@@ -65828,4 +65879,4 @@ var ACMCertificateProvider = class {
|
|
|
65828
65879
|
};
|
|
65829
65880
|
|
|
65830
65881
|
export { ACMCertificateProvider, ASGProvider, AgentCoreBrowserProvider, AgentCoreCodeInterpreterProvider, AgentCoreEvaluatorProvider, AgentCoreRuntimeProvider, ApiGatewayProvider, ApiGatewayV2Provider, AppConfigEnvironmentProvider, 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, 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, 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 };
|
|
65831
|
-
//# sourceMappingURL=provider-classes
|
|
65882
|
+
//# sourceMappingURL=provider-classes--2kJfv8x.js.map
|