@cdkd/cli 0.336.0 → 0.337.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{asg-provider-Kmj1OMXP.js → asg-provider-D9utqY50.js} +2 -2
- package/dist/{asg-provider-Kmj1OMXP.js.map → asg-provider-D9utqY50.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{db-instance-modify-retry-CQLlNArd.js → db-instance-modify-retry-Dj3Og4oJ.js} +2 -2
- package/dist/{db-instance-modify-retry-CQLlNArd.js.map → db-instance-modify-retry-Dj3Og4oJ.js.map} +1 -1
- package/dist/{deploy-engine-C1sQP24T.js → deploy-engine-KBE8BcSM.js} +30 -7
- package/dist/deploy-engine-KBE8BcSM.js.map +1 -0
- package/dist/{ecr-uri-EPT8p1G0.js → ecr-uri-CNcdSjXO.js} +2 -2
- package/dist/{ecr-uri-EPT8p1G0.js.map → ecr-uri-CNcdSjXO.js.map} +1 -1
- package/dist/{iam-role-provider-DF2RT3QW.js → iam-role-provider-C5lQDb0K.js} +2 -2
- package/dist/{iam-role-provider-DF2RT3QW.js.map → iam-role-provider-C5lQDb0K.js.map} +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/{neptune-provider-DYvMIjKO.js → neptune-provider-Xa6FSs0P.js} +3 -3
- package/dist/{neptune-provider-DYvMIjKO.js.map → neptune-provider-Xa6FSs0P.js.map} +1 -1
- package/dist/{program-B8rxD6E3.js → program-Dp0YN4u2.js} +7 -6
- package/dist/program-Dp0YN4u2.js.map +1 -0
- package/dist/{provider-classes-BxlB3pLK.js → provider-classes-BnjGVEVP.js} +227 -55
- package/dist/provider-classes-BnjGVEVP.js.map +1 -0
- package/dist/{rds-provider-DuzqwKfc.js → rds-provider-DmYhP_4t.js} +170 -40
- package/dist/rds-provider-DmYhP_4t.js.map +1 -0
- package/dist/{read-replica-BHKXELki.js → read-replica-CxxoxTT6.js} +2 -2
- package/dist/{read-replica-BHKXELki.js.map → read-replica-CxxoxTT6.js.map} +1 -1
- package/dist/{version-hOdgRlOf.js → version-12lmTkBz.js} +2 -2
- package/dist/{version-hOdgRlOf.js.map → version-12lmTkBz.js.map} +1 -1
- package/package.json +2 -1
- package/dist/deploy-engine-C1sQP24T.js.map +0 -1
- package/dist/program-B8rxD6E3.js.map +0 -1
- package/dist/provider-classes-BxlB3pLK.js.map +0 -1
- package/dist/rds-provider-DuzqwKfc.js.map +0 -1
|
@@ -2,14 +2,14 @@ import { d as withApiGatewayPacing, l as s3ClientDefaults, r as getAwsClients }
|
|
|
2
2
|
import { $ as safeMsg, E as generateResourceNameWithFallback, J as displaySafe, M as getCurrentStackInstanceId, O as recordedGeneratedNameKept, P as isBeforeStateRead, Q as plainIdentOr, T as generateResourceName, V as SECRET_REF_MAX_CODE_POINTS, W as asIsMessage, X as isPasteableIdent, Y as displayStackName, a as safeStringify, i as isAwsAuthoredFailure, n as describeAwsFailure, q as displayIdent, r as describeAwsStatusReason, s as getLogger, t as VERBOSE_POINTER, y as generatedNameFor } from "./aws-failure-text-CoS1huLy.js";
|
|
3
3
|
import { A as explicitDenyPolicyKind, B as isMarkedNonRetryable, E as relayedNameCollision, H as markNonRetryable, I as isRetryableTransientError, L as isTransientServerError, N as isAmbiguousOutcomeError, P as isExplicitDenyError, T as markReplayMayCollide, U as markRedactedCause, V as isThrottlingError, W as wrapMaskedAwsError, Y as AccountIdUnavailableError, Z as CdkdError, bt as withheldTargetClause, dt as commandHole, ft as hasClauseBreak, gt as plainOrDescribed, h as ResourceUpdateNotSupportedError, i as credentialFingerprint, mt as pasteableCommand, n as ambientCredentialConfig, nt as ProvisioningError, pt as isInertUnquoted, r as clientDefaultsFor, t as ambientClientDefaults, w as markNameCollision, yt as shellQuote, z as THROTTLING_ERROR_NAMES } from "./ambient-client-defaults-B9bnuob2.js";
|
|
4
4
|
import { c as ambientRegion } from "./aws-client-defaults-BLXFsfMa.js";
|
|
5
|
-
import { $ as planVectorIndexUpdates, $i as tagPlanWarning, $o as replayWarn, Aa as observeThenDisableInstanceApiTermination, Ac as blockDeviceMappingsDifferOnlyInDeleteOnTermination, Al as recordAttributeIdCopy, Ao as isUsableAttemptedName, At as hasCdkAutoDeleteTag, B as declaredStreamTagsMember, Ba as isSettledInstanceState, Ct as TABLE_INDEX_NOUN, Dc as withoutSdkUnwiredProperties, Dt as waitForIndexesSettled, Ea as withIndeterminateGuard, Ei as secretNamedAttributeNamesOf, Et as relayedIndexBusyDelete, Eu as rewriteTemplateAssetReferences, Fc as lambdaFunctionNameForMask, G as streamMemberRefusals, Gd as renderAssemblyPathEscape, Gi as definedAttributes, Go as toCfnInteger, Gr as awaitInFlightSibling, H as reverseMapStreamPolicy, Ho as WARM_THROUGHPUT_MEMBERS, I as DynamoDBGlobalTableProvider, Ic as sameLambdaFunctionAddress, J as isTtlAlreadyDisabled, Jc as passedNoEchoParametersOf, Ji as DBPROXY_TAG_OPTIONS, Jn as reserveStackCreateToken, Jo as coerceCfnInteger, K as streamPolicyMatchesDeclared, Kd as resolveAssemblyPath, Ki as stringifyIfAssigned, Kn as earliestDefined, Ko as toFiniteNumber, Kt as getPriorAttempts, L as STREAM_POLICY_KEY, Ma as reEnableInstanceApiTermination, Mc as ecsServiceLaunchTypeSetOrChanged, Mi as maskedSecretSegment, Mt as enclosingDeadlineExpired, Na as onlySecretReferencesDiffer, Nc as emrClusterInstancesReplaced, Nt as enclosingDeadlineRemainingMs, Oa as ec2InstanceProtectionSite, Od as canonicalizeRegion, Ol as recoverMaskedOutput, Ot as ECR_AUTO_DELETE_IMAGES_TAG, Pa as unchangedBehindSecretReference, Pc as canonicalLambdaFunctionName, Pl as carriesSecretMask, Q as sendTtlWaitingOutRateLimit, Qi as tagMapAsList, Qo as readConfigString, R as STREAM_TAGS_KEY, Sl as dynamicReferenceTokens, So as getAccountInfo, St as INDEX_SETTLE_POLL_INTERVAL_MS, Ta as deleteSkipReason, Tc as findSdkUnwiredProperties, Td as decodeListingKey, Tt as maskedLogger, U as streamDeclaresPolicy, Ud as describeFileReadFailure, Uo as coerceWarmThroughput$1, V as planStreamMemberOps, W as streamDeclaresTags, Wd as displayAssemblyPath, Wo as isWarmThroughputDecrease, X as planTimeToLive, Xi as readTagList, Xn as acquireIdempotencyToken, Xo as configIntegerRefusal, Y as isTtlRateLimited, Yi as planTagDiff, Yo as configBooleanRefusal, Yr as replacedDeleteFailureVerdict, Z as readTtlSpec, Zi as refuseMalformedDesiredTags, Zo as configStringRefusal, _ as findNestedTemplateTreeDefect, _a as waitForGoneAfterDelete, _c as withheldAccountClause, _o as parseWebACLArn, _t as compensateRemovedDeletionProtection, a as withApiLimit, ao as s3BucketDomainName, at as contributorInsightsRefusals, b as renderNestedTemplateTreeDefect, ba as slowCcOperationTimeoutMs, bl as withoutPhysicalNameCopies, bt as resolveDynamoDbDeleteBudgetMs, cn as getCurrentNestedStackContext, co as s3BucketWebsiteUrl, cr as REDACTED_DELETE_ADDRESS_SKIP_REASON, cs as passedParameterClassesOf, ct as planIndexContributorInsightsOps, dc as refuseMalformedResourcesForDestroy, dr as redactedDeleteAddressSkip, dt as reverseMapTableContributorInsights, ea as isRefusedByName, el as markSameGenerationBag, es as requireConfigArray, et as readbackVectorIndexes, ft as stripIndexContributorInsights, gc as accountArgs, gt as beginDeleteWait, ha as waitForLambdaFunctionActive, ht as DYNAMODB_DELETE_POLL_COST_MS, i as lookupEachName, in as revertNestedChildFromJournal, io as s3BucketArn, it as CONTRIBUTOR_INSIGHTS_KEY, ja as reDisableInstanceApiTermination, ji as APPSYNC_APIKEY_ARN_RESOURCE_PATH, jt as isTruthyCfnBoolean, ka as isTerminationProtectionPropagationError, kd as derivePartitionAndUrlSuffix, kl as physicalNameCopiesOf, kt as S3_AUTO_DELETE_OBJECTS_TAG, ln as withNestedStackContext, lr as isRedactedRecordedValue, lt as readContributorInsightsSpec, lu as timePhase, mt as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, n as chunks, nl as recordReferenceProvenanceEntry, ns as requireConfigString, nt as vectorIndexesSettled, oi as refuseRestoreFromItself, ol as hasMaskableValues, oo as s3BucketDualStackDomainName, os as withRetry, ot as indexDeclaresContributorInsights, pa as getCurrentResourceSecrets, pt as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, q as streamTagsMatchDeclared, qi as DBPROXY_TAGS_WHAT, qo as coerceCfnBoolean, qr as getStackRecords, qt as markRefusedBeforeApplying, r as isAccessDeniedError, rl as snapshotPassProvenance, rt as vectorIndexesShapeDetail, so as s3BucketRegionalDomainName, st as planContributorInsightsOp, t as DeployEngine, ta as markDeleteStarted, tc as refuseMalformedNestedChildOutputs, tl as redactForState, tn as getNestedRevertRun, ts as requireConfigObject, tt as vectorIndexesForCreate, ur as redactedDeleteAddressFields, ut as reverseMapIndexContributorInsights, v as isAbsoluteAssetPath, va as resolvedResourceTimeoutMs, vt as deleteBudgetKey, wt as deleteTableWithIndexBusyRetry, xr as getCurrentProducerRegions, xt as DELETE_INDEX_WAIT_PROCEED_NOTE, xu as stringifyValue, y as listNestedTemplateRows, yo as outputReferenceProvenanceOf, yt as resolveDynamoDbDeleteBudgetClock, z as declaredStreamPolicyMember } from "./deploy-engine-
|
|
5
|
+
import { $ as planVectorIndexUpdates, $i as tagPlanWarning, $o as replayWarn, Aa as observeThenDisableInstanceApiTermination, Ac as blockDeviceMappingsDifferOnlyInDeleteOnTermination, Al as recordAttributeIdCopy, Ao as isUsableAttemptedName, At as hasCdkAutoDeleteTag, B as declaredStreamTagsMember, Ba as isSettledInstanceState, Ct as TABLE_INDEX_NOUN, Dc as withoutSdkUnwiredProperties, Dt as waitForIndexesSettled, Ea as withIndeterminateGuard, Ei as secretNamedAttributeNamesOf, Et as relayedIndexBusyDelete, Eu as rewriteTemplateAssetReferences, Fc as lambdaFunctionNameForMask, G as streamMemberRefusals, Gd as renderAssemblyPathEscape, Gi as definedAttributes, Go as toCfnInteger, Gr as awaitInFlightSibling, H as reverseMapStreamPolicy, Ho as WARM_THROUGHPUT_MEMBERS, I as DynamoDBGlobalTableProvider, Ic as sameLambdaFunctionAddress, J as isTtlAlreadyDisabled, Jc as passedNoEchoParametersOf, Ji as DBPROXY_TAG_OPTIONS, Jn as reserveStackCreateToken, Jo as coerceCfnInteger, K as streamPolicyMatchesDeclared, Kd as resolveAssemblyPath, Ki as stringifyIfAssigned, Kn as earliestDefined, Ko as toFiniteNumber, Kt as getPriorAttempts, L as STREAM_POLICY_KEY, Ma as reEnableInstanceApiTermination, Mc as ecsServiceLaunchTypeSetOrChanged, Mi as maskedSecretSegment, Mt as enclosingDeadlineExpired, Na as onlySecretReferencesDiffer, Nc as emrClusterInstancesReplaced, Nt as enclosingDeadlineRemainingMs, Oa as ec2InstanceProtectionSite, Od as canonicalizeRegion, Ol as recoverMaskedOutput, Ot as ECR_AUTO_DELETE_IMAGES_TAG, Pa as unchangedBehindSecretReference, Pc as canonicalLambdaFunctionName, Pl as carriesSecretMask, Q as sendTtlWaitingOutRateLimit, Qi as tagMapAsList, Qo as readConfigString, R as STREAM_TAGS_KEY, Sl as dynamicReferenceTokens, So as getAccountInfo, St as INDEX_SETTLE_POLL_INTERVAL_MS, Ta as deleteSkipReason, Tc as findSdkUnwiredProperties, Td as decodeListingKey, Tt as maskedLogger, U as streamDeclaresPolicy, Ud as describeFileReadFailure, Uo as coerceWarmThroughput$1, V as planStreamMemberOps, W as streamDeclaresTags, Wd as displayAssemblyPath, Wo as isWarmThroughputDecrease, X as planTimeToLive, Xi as readTagList, Xn as acquireIdempotencyToken, Xo as configIntegerRefusal, Y as isTtlRateLimited, Yi as planTagDiff, Yo as configBooleanRefusal, Yr as replacedDeleteFailureVerdict, Z as readTtlSpec, Zi as refuseMalformedDesiredTags, Zo as configStringRefusal, _ as findNestedTemplateTreeDefect, _a as waitForGoneAfterDelete, _c as withheldAccountClause, _o as parseWebACLArn, _t as compensateRemovedDeletionProtection, a as withApiLimit, ao as s3BucketDomainName, at as contributorInsightsRefusals, b as renderNestedTemplateTreeDefect, ba as slowCcOperationTimeoutMs, bl as withoutPhysicalNameCopies, bt as resolveDynamoDbDeleteBudgetMs, cn as getCurrentNestedStackContext, co as s3BucketWebsiteUrl, cr as REDACTED_DELETE_ADDRESS_SKIP_REASON, cs as passedParameterClassesOf, ct as planIndexContributorInsightsOps, dc as refuseMalformedResourcesForDestroy, dr as redactedDeleteAddressSkip, dt as reverseMapTableContributorInsights, ea as isRefusedByName, el as markSameGenerationBag, es as requireConfigArray, et as readbackVectorIndexes, ft as stripIndexContributorInsights, gc as accountArgs, gt as beginDeleteWait, ha as waitForLambdaFunctionActive, ht as DYNAMODB_DELETE_POLL_COST_MS, i as lookupEachName, in as revertNestedChildFromJournal, io as s3BucketArn, it as CONTRIBUTOR_INSIGHTS_KEY, ja as reDisableInstanceApiTermination, ji as APPSYNC_APIKEY_ARN_RESOURCE_PATH, jt as isTruthyCfnBoolean, ka as isTerminationProtectionPropagationError, kd as derivePartitionAndUrlSuffix, kl as physicalNameCopiesOf, kt as S3_AUTO_DELETE_OBJECTS_TAG, ln as withNestedStackContext, lr as isRedactedRecordedValue, lt as readContributorInsightsSpec, lu as timePhase, mt as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, n as chunks, nl as recordReferenceProvenanceEntry, ns as requireConfigString, nt as vectorIndexesSettled, oi as refuseRestoreFromItself, ol as hasMaskableValues, oo as s3BucketDualStackDomainName, os as withRetry, ot as indexDeclaresContributorInsights, pa as getCurrentResourceSecrets, pt as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, q as streamTagsMatchDeclared, qi as DBPROXY_TAGS_WHAT, qo as coerceCfnBoolean, qr as getStackRecords, qt as markRefusedBeforeApplying, r as isAccessDeniedError, rl as snapshotPassProvenance, rt as vectorIndexesShapeDetail, so as s3BucketRegionalDomainName, st as planContributorInsightsOp, t as DeployEngine, ta as markDeleteStarted, tc as refuseMalformedNestedChildOutputs, tl as redactForState, tn as getNestedRevertRun, ts as requireConfigObject, tt as vectorIndexesForCreate, ur as redactedDeleteAddressFields, ut as reverseMapIndexContributorInsights, v as isAbsoluteAssetPath, va as resolvedResourceTimeoutMs, vt as deleteBudgetKey, wt as deleteTableWithIndexBusyRetry, xr as getCurrentProducerRegions, xt as DELETE_INDEX_WAIT_PROCEED_NOTE, xu as stringifyValue, y as listNestedTemplateRows, yo as outputReferenceProvenanceOf, yt as resolveDynamoDbDeleteBudgetClock, z as declaredStreamPolicyMember } from "./deploy-engine-KBE8BcSM.js";
|
|
6
6
|
import { $ as deleteAfterProtectionFlipWithFinalSnapshot, A as setBounded, At as segmentAfterAnchor, B as resolveExplicitPhysicalId, Bt as clearCreatedBeforeFailure, C as AmbiguousCreateLatch, Ct as canonicalizeRoute53QueryName, D as isInsideWindow, Dt as logicalIdShown, E as createAttemptKey, Et as compositeIdSkipResult, F as isQuotableImportValue, Ft as maskDeep, H as assertRegionMatch, I as normalizeAwsTagsToCfn, It as maskerOrIdentity, J as observeThenDisableProtection, Jt as markSupersedesEarlierCreate, K as deleteWithProtectionCompensation, Kt as markAuxiliaryFailure, L as quotedRemedyLogicalId, Lt as withDerivedNameMasks, M as VALUE_NOT_SHOWN, Mt as createMaskedLogSinks, N as isPlainImportJson, Nt as createMaskedRetryLogger, O as replayFollowedAmbiguousAttempt, Ot as packCompositeId, P as isPlainImportValue, Pt as isSecretDerivedValue, Q as PROTECTION_FLIP_RETRY_WAIT_MS, R as refusalTypeShown, S as AMBIGUOUS_LATCH_TTL_MS, St as startInterruptWatch, T as ambiguousAttemptLead, Tt as compositeIdSeparatorRefusal, V as RESOURCE_NOT_FOUND, W as markNotGone, Wt as isAuxiliaryFailure, Y as rdsFamilyProtectionSite, Z as userPoolProtectionSite, _ as onlySecretDerived, _t as renderDisableCommand, a as withRemovalDefaults, at as isTerminalDeleteFailure, b as recordedPrincipalsRepair, cn as injectiveKeyPrefix, ct as ElapsedBudget, f as retractCreatedResource, fn as withPasteableAwsProfile, ft as UNNAMEABLE_ID_CLAUSE, g as holdsSecretDerivedEntry, gt as protectedReplacementAdvice, h as SECRET_DERIVED_READ_LIVE, ht as pasteableAwsCommand, i as removedTemplateKeys, it as ProtectionFlipRegistry, j as withoutServerErrorRetries, jt as stateOrphanRecordRemedy, k as replayedSendWindow, lt as ElapsedBudgetRegistry, mt as isAwsCliLiteral, nt as isTerminalDbWaitStatus, ot as protectionFlipKey, pt as WITHHELD_AWS_COMMAND, q as logGroupProtectionSite, qt as markCreatedBeforeFailure, sn as injectiveKey, t as clearOnUpdateRemoval, tt as isProceedDbStatus, u as reportCreatedResource, v as readPrincipalLists, w as RecentIdSet, wt as compositeIdFormatMessage, xt as isInterruptedWaitError, z as remedyLogicalId } from "./update-removal-Dh6W86TO.js";
|
|
7
|
-
import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-
|
|
8
|
-
import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, o as canonicalizeIpProtocolValue, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-
|
|
9
|
-
import { n as modifyDbInstanceWhenAvailable, t as isModifyNotAvailableRefusal } from "./db-instance-modify-retry-
|
|
10
|
-
import { RDSProvider } from "./rds-provider-
|
|
11
|
-
import { NeptuneProvider } from "./neptune-provider-
|
|
12
|
-
import { ASGProvider } from "./asg-provider-
|
|
7
|
+
import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-C5lQDb0K.js";
|
|
8
|
+
import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, o as canonicalizeIpProtocolValue, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-Dp0YN4u2.js";
|
|
9
|
+
import { n as modifyDbInstanceWhenAvailable, t as isModifyNotAvailableRefusal } from "./db-instance-modify-retry-Dj3Og4oJ.js";
|
|
10
|
+
import { RDSProvider } from "./rds-provider-DmYhP_4t.js";
|
|
11
|
+
import { NeptuneProvider } from "./neptune-provider-Xa6FSs0P.js";
|
|
12
|
+
import { ASGProvider } from "./asg-provider-D9utqY50.js";
|
|
13
13
|
import { createHash, randomUUID } from "node:crypto";
|
|
14
14
|
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";
|
|
15
15
|
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";
|
|
@@ -47,25 +47,26 @@ import { ApiGatewayV2Client, CreateApiCommand, CreateAuthorizerCommand as Create
|
|
|
47
47
|
import { CreateStateMachineCommand, DeleteStateMachineCommand, DescribeStateMachineCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$12, SFNClient, StateMachineDoesNotExist, TagResourceCommand as TagResourceCommand$15, UntagResourceCommand as UntagResourceCommand$15, UpdateStateMachineCommand } from "@aws-sdk/client-sfn";
|
|
48
48
|
import { CreateClusterCommand, CreateServiceCommand, DeleteClusterCommand, DeleteServiceCommand, DeregisterTaskDefinitionCommand, DescribeClustersCommand, DescribeServicesCommand, DescribeTaskDefinitionCommand, ECSClient, ListTaskDefinitionsCommand, PutClusterCapacityProvidersCommand, RegisterTaskDefinitionCommand, TagResourceCommand as TagResourceCommand$16, UntagResourceCommand as UntagResourceCommand$16, UpdateClusterCommand, UpdateServiceCommand, waitUntilServicesStable } from "@aws-sdk/client-ecs";
|
|
49
49
|
import { AddTagsToResourceCommand as AddTagsToResourceCommand$3, CreateDBClusterCommand as CreateDBClusterCommand$1, CreateDBInstanceCommand as CreateDBInstanceCommand$1, CreateDBSubnetGroupCommand as CreateDBSubnetGroupCommand$1, DeleteDBClusterCommand as DeleteDBClusterCommand$1, DeleteDBInstanceCommand as DeleteDBInstanceCommand$1, DeleteDBSubnetGroupCommand as DeleteDBSubnetGroupCommand$1, DescribeDBClusterSnapshotsCommand, DescribeDBClustersCommand as DescribeDBClustersCommand$1, DescribeDBInstancesCommand as DescribeDBInstancesCommand$1, DescribeDBSubnetGroupsCommand as DescribeDBSubnetGroupsCommand$1, DescribeGlobalClustersCommand as DescribeGlobalClustersCommand$1, DocDBClient, ListTagsForResourceCommand as ListTagsForResourceCommand$13, ModifyDBClusterCommand as ModifyDBClusterCommand$1, ModifyDBInstanceCommand as ModifyDBInstanceCommand$1, ModifyDBSubnetGroupCommand as ModifyDBSubnetGroupCommand$1, RemoveFromGlobalClusterCommand as RemoveFromGlobalClusterCommand$1, RemoveTagsFromResourceCommand as RemoveTagsFromResourceCommand$3, RestoreDBClusterFromSnapshotCommand, RestoreDBClusterToPointInTimeCommand } from "@aws-sdk/client-docdb";
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
50
|
+
import { AppConfigClient, CreateEnvironmentCommand, DeleteEnvironmentCommand, GetEnvironmentCommand, TagResourceCommand as TagResourceCommand$17, UntagResourceCommand as UntagResourceCommand$17, UpdateEnvironmentCommand } from "@aws-sdk/client-appconfig";
|
|
51
|
+
import { CreateWebACLCommand, DeleteWebACLCommand, GetWebACLCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$14, TagResourceCommand as TagResourceCommand$18, UntagResourceCommand as UntagResourceCommand$18, UpdateWebACLCommand, WAFNonexistentItemException, WAFV2Client } from "@aws-sdk/client-wafv2";
|
|
52
|
+
import { AddCustomAttributesCommand, CognitoIdentityProviderClient, CreateUserPoolCommand, DeleteUserPoolCommand, DescribeUserPoolCommand, GetUserPoolMfaConfigCommand, ListUserPoolsCommand, ResourceNotFoundException as ResourceNotFoundException$11, SetUserPoolMfaConfigCommand, UntagResourceCommand as UntagResourceCommand$19, UpdateUserPoolCommand } from "@aws-sdk/client-cognito-identity-provider";
|
|
53
|
+
import { CreateHttpNamespaceCommand, CreatePrivateDnsNamespaceCommand, CreatePublicDnsNamespaceCommand, CreateServiceCommand as CreateServiceCommand$1, DeleteNamespaceCommand, DeleteServiceAttributesCommand, DeleteServiceCommand as DeleteServiceCommand$1, GetNamespaceCommand, GetOperationCommand, GetServiceAttributesCommand, GetServiceCommand, ListNamespacesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$15, NamespaceNotFound, ResourceInUse, ServiceDiscoveryClient, ServiceNotFound, TagResourceCommand as TagResourceCommand$19, UntagResourceCommand as UntagResourceCommand$20, UpdateHttpNamespaceCommand, UpdatePrivateDnsNamespaceCommand, UpdatePublicDnsNamespaceCommand, UpdateServiceAttributesCommand, UpdateServiceCommand as UpdateServiceCommand$1 } from "@aws-sdk/client-servicediscovery";
|
|
54
|
+
import { AppSyncClient, CreateApiKeyCommand, CreateDataSourceCommand, CreateGraphqlApiCommand, CreateResolverCommand, DeleteApiKeyCommand, DeleteDataSourceCommand, DeleteGraphqlApiCommand, DeleteResolverCommand, GetDataSourceCommand, GetGraphqlApiCommand, GetGraphqlApiEnvironmentVariablesCommand, GetIntrospectionSchemaCommand, GetResolverCommand, ListApiKeysCommand, ListGraphqlApisCommand, NotFoundException as NotFoundException$4, PutGraphqlApiEnvironmentVariablesCommand, StartSchemaCreationCommand, TagResourceCommand as TagResourceCommand$20, UntagResourceCommand as UntagResourceCommand$21, UpdateApiKeyCommand, UpdateDataSourceCommand, UpdateGraphqlApiCommand, UpdateResolverCommand } from "@aws-sdk/client-appsync";
|
|
55
|
+
import { ConcurrentModificationException, CrawlerRunningException, CreateConnectionCommand, CreateCrawlerCommand, CreateDatabaseCommand, CreateJobCommand, CreateSecurityConfigurationCommand, CreateTableCommand as CreateTableCommand$1, CreateTriggerCommand, CreateWorkflowCommand, DeleteConnectionCommand, DeleteCrawlerCommand, DeleteDatabaseCommand, DeleteJobCommand, DeleteSecurityConfigurationCommand, DeleteTableCommand as DeleteTableCommand$1, DeleteTriggerCommand, DeleteWorkflowCommand, EntityNotFoundException, GetConnectionCommand, GetCrawlerCommand, GetDatabaseCommand, GetJobCommand, GetSecurityConfigurationCommand, GetTableCommand, GetTagsCommand, GetTriggerCommand, GetWorkflowCommand, GlueClient, StartCrawlerScheduleCommand, StartTriggerCommand, StopCrawlerCommand, StopCrawlerScheduleCommand, StopTriggerCommand, TagResourceCommand as TagResourceCommand$21, UntagResourceCommand as UntagResourceCommand$22, UpdateConnectionCommand, UpdateCrawlerCommand, UpdateDatabaseCommand, UpdateJobCommand, UpdateTableCommand as UpdateTableCommand$1, UpdateTriggerCommand, UpdateWorkflowCommand } from "@aws-sdk/client-glue";
|
|
56
|
+
import { BudgetsClient, CreateBudgetCommand, CreateNotificationCommand, CreateSubscriberCommand, DeleteBudgetCommand, DeleteNotificationCommand, DeleteSubscriberCommand, DescribeBudgetCommand, DescribeNotificationsForBudgetCommand, DescribeSubscribersForNotificationCommand, DuplicateRecordException, ListTagsForResourceCommand as ListTagsForResourceCommand$16, NotFoundException as NotFoundException$5, TagResourceCommand as TagResourceCommand$22, UntagResourceCommand as UntagResourceCommand$23, UpdateBudgetCommand } from "@aws-sdk/client-budgets";
|
|
57
|
+
import { AddTagsToStreamCommand, CreateStreamCommand, DecreaseStreamRetentionPeriodCommand, DeleteStreamCommand, DeregisterStreamConsumerCommand, DescribeStreamCommand, DescribeStreamConsumerCommand, DescribeStreamSummaryCommand, DisableEnhancedMonitoringCommand, EnableEnhancedMonitoringCommand, IncreaseStreamRetentionPeriodCommand, KinesisClient, ListTagsForResourceCommand as ListTagsForResourceCommand$17, ListTagsForStreamCommand, RegisterStreamConsumerCommand, RemoveTagsFromStreamCommand, ResourceNotFoundException as ResourceNotFoundException$12, StartStreamEncryptionCommand, StopStreamEncryptionCommand, TagResourceCommand as TagResourceCommand$23, UntagResourceCommand as UntagResourceCommand$24, UpdateMaxRecordSizeCommand, UpdateShardCountCommand, UpdateStreamModeCommand, UpdateStreamRecordDistributionStrategyCommand } from "@aws-sdk/client-kinesis";
|
|
57
58
|
import { CreateScheduleCommand, DeleteScheduleCommand, GetScheduleCommand, ListSchedulesCommand, ResourceNotFoundException as ResourceNotFoundException$13, SchedulerClient, UpdateScheduleCommand } from "@aws-sdk/client-scheduler";
|
|
58
|
-
import { CreatePipeCommand, DeletePipeCommand, DescribePipeCommand, NotFoundException as NotFoundException$6, PipesClient, TagResourceCommand as TagResourceCommand$
|
|
59
|
-
import { AccessPointAlreadyExists, AccessPointNotFound, CreateAccessPointCommand, CreateFileSystemCommand, CreateMountTargetCommand, DeleteAccessPointCommand, DeleteFileSystemCommand, DeleteFileSystemPolicyCommand, DeleteMountTargetCommand, DescribeAccessPointsCommand, DescribeBackupPolicyCommand, DescribeFileSystemPolicyCommand, DescribeFileSystemsCommand, DescribeLifecycleConfigurationCommand, DescribeMountTargetSecurityGroupsCommand, DescribeMountTargetsCommand, EFSClient, FileSystemAlreadyExists, FileSystemNotFound, ModifyMountTargetSecurityGroupsCommand, MountTargetNotFound, PutBackupPolicyCommand, PutFileSystemPolicyCommand, PutLifecycleConfigurationCommand, TagResourceCommand as TagResourceCommand$
|
|
60
|
-
import { AssociateFileSystemAliasesCommand, CreateFileSystemCommand as CreateFileSystemCommand$1, CreateFileSystemFromBackupCommand, DeleteFileSystemCommand as DeleteFileSystemCommand$1, DescribeFileSystemAliasesCommand, DescribeFileSystemsCommand as DescribeFileSystemsCommand$1, DisassociateFileSystemAliasesCommand, FSxClient, FileSystemNotFound as FileSystemNotFound$1, TagResourceCommand as TagResourceCommand$
|
|
59
|
+
import { CreatePipeCommand, DeletePipeCommand, DescribePipeCommand, NotFoundException as NotFoundException$6, PipesClient, TagResourceCommand as TagResourceCommand$24, UntagResourceCommand as UntagResourceCommand$25, UpdatePipeCommand } from "@aws-sdk/client-pipes";
|
|
60
|
+
import { AccessPointAlreadyExists, AccessPointNotFound, CreateAccessPointCommand, CreateFileSystemCommand, CreateMountTargetCommand, DeleteAccessPointCommand, DeleteFileSystemCommand, DeleteFileSystemPolicyCommand, DeleteMountTargetCommand, DescribeAccessPointsCommand, DescribeBackupPolicyCommand, DescribeFileSystemPolicyCommand, DescribeFileSystemsCommand, DescribeLifecycleConfigurationCommand, DescribeMountTargetSecurityGroupsCommand, DescribeMountTargetsCommand, EFSClient, FileSystemAlreadyExists, FileSystemNotFound, ModifyMountTargetSecurityGroupsCommand, MountTargetNotFound, PutBackupPolicyCommand, PutFileSystemPolicyCommand, PutLifecycleConfigurationCommand, TagResourceCommand as TagResourceCommand$25, UntagResourceCommand as UntagResourceCommand$26, UpdateFileSystemCommand, UpdateFileSystemProtectionCommand } from "@aws-sdk/client-efs";
|
|
61
|
+
import { AssociateFileSystemAliasesCommand, CreateFileSystemCommand as CreateFileSystemCommand$1, CreateFileSystemFromBackupCommand, DeleteFileSystemCommand as DeleteFileSystemCommand$1, DescribeFileSystemAliasesCommand, DescribeFileSystemsCommand as DescribeFileSystemsCommand$1, DisassociateFileSystemAliasesCommand, FSxClient, FileSystemNotFound as FileSystemNotFound$1, TagResourceCommand as TagResourceCommand$26, UntagResourceCommand as UntagResourceCommand$27, UpdateFileSystemCommand as UpdateFileSystemCommand$1 } from "@aws-sdk/client-fsx";
|
|
61
62
|
import { AddInstanceFleetCommand, AddInstanceGroupsCommand, AddTagsCommand as AddTagsCommand$1, DescribeClusterCommand, EMRClient, InvalidRequestException, ListClustersCommand, ListInstanceFleetsCommand, ListInstanceGroupsCommand, ModifyClusterCommand, ModifyInstanceFleetCommand, ModifyInstanceGroupsCommand, PutAutoScalingPolicyCommand, PutAutoTerminationPolicyCommand, PutManagedScalingPolicyCommand, RemoveAutoScalingPolicyCommand, RemoveAutoTerminationPolicyCommand, RemoveManagedScalingPolicyCommand, RemoveTagsCommand as RemoveTagsCommand$1, RunJobFlowCommand, SetTerminationProtectionCommand, SetUnhealthyNodeReplacementCommand, SetVisibleToAllUsersCommand, TerminateJobFlowsCommand } from "@aws-sdk/client-emr";
|
|
62
63
|
import { CreateDeliveryStreamCommand, DeleteDeliveryStreamCommand, DescribeDeliveryStreamCommand, FirehoseClient, ListTagsForDeliveryStreamCommand, ResourceNotFoundException as ResourceNotFoundException$14, StartDeliveryStreamEncryptionCommand, StopDeliveryStreamEncryptionCommand, TagDeliveryStreamCommand, UntagDeliveryStreamCommand, UpdateDestinationCommand } from "@aws-sdk/client-firehose";
|
|
63
64
|
import { AddTagsCommand as AddTagsCommand$2, CloudTrailClient, CreateTrailCommand, DeleteTrailCommand, GetEventConfigurationCommand, GetEventSelectorsCommand, GetInsightSelectorsCommand, GetTrailCommand, GetTrailStatusCommand, ListTagsCommand as ListTagsCommand$2, PutEventConfigurationCommand, PutEventSelectorsCommand, PutInsightSelectorsCommand, RemoveTagsCommand as RemoveTagsCommand$2, StartLoggingCommand, StopLoggingCommand, TrailNotFoundException, UpdateTrailCommand } from "@aws-sdk/client-cloudtrail";
|
|
64
65
|
import { BatchGetProjectsCommand, CodeBuildClient, CreateProjectCommand, CreateWebhookCommand, DeleteProjectCommand, DeleteWebhookCommand, ResourceNotFoundException as ResourceNotFoundException$15, UpdateProjectCommand, UpdateProjectVisibilityCommand, UpdateWebhookCommand } from "@aws-sdk/client-codebuild";
|
|
65
|
-
import { CodeCommitClient, CreateCommitCommand, CreateRepositoryCommand as CreateRepositoryCommand$1, DeleteRepositoryCommand as DeleteRepositoryCommand$1, GetRepositoryCommand, GetRepositoryTriggersCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$18, PutRepositoryTriggersCommand, RepositoryDoesNotExistException, TagResourceCommand as TagResourceCommand$
|
|
66
|
-
import { CreateLifecyclePolicyCommand, DLMClient, DeleteLifecyclePolicyCommand as DeleteLifecyclePolicyCommand$1, GetLifecyclePoliciesCommand, GetLifecyclePolicyCommand as GetLifecyclePolicyCommand$1, ResourceNotFoundException as ResourceNotFoundException$16, TagResourceCommand as TagResourceCommand$
|
|
67
|
-
import { CreateVectorBucketCommand, DeleteIndexCommand, DeleteVectorBucketCommand, GetVectorBucketCommand, ListIndexesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$19, S3VectorsClient, TagResourceCommand as TagResourceCommand$
|
|
68
|
-
import { CreateNamespaceCommand, CreateTableBucketCommand, CreateTableCommand as CreateTableCommand$2, DeleteNamespaceCommand as DeleteNamespaceCommand$1, DeleteTableBucketCommand, DeleteTableBucketMetricsConfigurationCommand, DeleteTableBucketReplicationCommand, DeleteTableCommand as DeleteTableCommand$2, GetNamespaceCommand as GetNamespaceCommand$1, GetTableBucketCommand, GetTableBucketEncryptionCommand, GetTableBucketMaintenanceConfigurationCommand, GetTableBucketMetricsConfigurationCommand, GetTableBucketReplicationCommand, GetTableBucketStorageClassCommand, GetTableCommand as GetTableCommand$1, GetTableMaintenanceConfigurationCommand, ListNamespacesCommand as ListNamespacesCommand$1, ListTableBucketsCommand, ListTablesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$20, NotFoundException as NotFoundException$7, PutTableBucketEncryptionCommand, PutTableBucketMaintenanceConfigurationCommand, PutTableBucketMetricsConfigurationCommand, PutTableBucketReplicationCommand, PutTableBucketStorageClassCommand, PutTableMaintenanceConfigurationCommand, RenameTableCommand, S3TablesClient, TagResourceCommand as TagResourceCommand$
|
|
66
|
+
import { CodeCommitClient, CreateCommitCommand, CreateRepositoryCommand as CreateRepositoryCommand$1, DeleteRepositoryCommand as DeleteRepositoryCommand$1, GetRepositoryCommand, GetRepositoryTriggersCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$18, PutRepositoryTriggersCommand, RepositoryDoesNotExistException, TagResourceCommand as TagResourceCommand$27, UntagResourceCommand as UntagResourceCommand$28, UpdateRepositoryDescriptionCommand, UpdateRepositoryEncryptionKeyCommand, UpdateRepositoryNameCommand } from "@aws-sdk/client-codecommit";
|
|
67
|
+
import { CreateLifecyclePolicyCommand, DLMClient, DeleteLifecyclePolicyCommand as DeleteLifecyclePolicyCommand$1, GetLifecyclePoliciesCommand, GetLifecyclePolicyCommand as GetLifecyclePolicyCommand$1, ResourceNotFoundException as ResourceNotFoundException$16, TagResourceCommand as TagResourceCommand$28, UntagResourceCommand as UntagResourceCommand$29, UpdateLifecyclePolicyCommand } from "@aws-sdk/client-dlm";
|
|
68
|
+
import { CreateVectorBucketCommand, DeleteIndexCommand, DeleteVectorBucketCommand, GetVectorBucketCommand, ListIndexesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$19, S3VectorsClient, TagResourceCommand as TagResourceCommand$29, UntagResourceCommand as UntagResourceCommand$30 } from "@aws-sdk/client-s3vectors";
|
|
69
|
+
import { CreateNamespaceCommand, CreateTableBucketCommand, CreateTableCommand as CreateTableCommand$2, DeleteNamespaceCommand as DeleteNamespaceCommand$1, DeleteTableBucketCommand, DeleteTableBucketMetricsConfigurationCommand, DeleteTableBucketReplicationCommand, DeleteTableCommand as DeleteTableCommand$2, GetNamespaceCommand as GetNamespaceCommand$1, GetTableBucketCommand, GetTableBucketEncryptionCommand, GetTableBucketMaintenanceConfigurationCommand, GetTableBucketMetricsConfigurationCommand, GetTableBucketReplicationCommand, GetTableBucketStorageClassCommand, GetTableCommand as GetTableCommand$1, GetTableMaintenanceConfigurationCommand, ListNamespacesCommand as ListNamespacesCommand$1, ListTableBucketsCommand, ListTablesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$20, NotFoundException as NotFoundException$7, PutTableBucketEncryptionCommand, PutTableBucketMaintenanceConfigurationCommand, PutTableBucketMetricsConfigurationCommand, PutTableBucketReplicationCommand, PutTableBucketStorageClassCommand, PutTableMaintenanceConfigurationCommand, RenameTableCommand, S3TablesClient, TagResourceCommand as TagResourceCommand$30, UntagResourceCommand as UntagResourceCommand$31 } from "@aws-sdk/client-s3tables";
|
|
69
70
|
|
|
70
71
|
// src/provisioning/providers/iam-policy/shared.ts
|
|
71
72
|
const POLICY_NAME_SKIP_REASON = "no policy name in state — no delete issued";
|
|
@@ -37366,6 +37367,177 @@ var DocDBSubnetGroupProvider = class {
|
|
|
37366
37367
|
}
|
|
37367
37368
|
};
|
|
37368
37369
|
|
|
37370
|
+
// src/provisioning/providers/appconfig-environment-provider.ts
|
|
37371
|
+
const TYPE = "AWS::AppConfig::Environment";
|
|
37372
|
+
const DELETION_PROTECTION_CHECKS = /* @__PURE__ */ new Set([
|
|
37373
|
+
"ACCOUNT_DEFAULT",
|
|
37374
|
+
"APPLY",
|
|
37375
|
+
"BYPASS"
|
|
37376
|
+
]);
|
|
37377
|
+
var AppConfigEnvironmentProvider = class {
|
|
37378
|
+
appConfigClient;
|
|
37379
|
+
providerRegion = ambientRegion();
|
|
37380
|
+
logger = getLogger().child("AppConfigEnvironmentProvider");
|
|
37381
|
+
handledProperties = /* @__PURE__ */ new Map([["AWS::AppConfig::Environment", /* @__PURE__ */ new Set([
|
|
37382
|
+
"ApplicationId",
|
|
37383
|
+
"Name",
|
|
37384
|
+
"Description",
|
|
37385
|
+
"Monitors",
|
|
37386
|
+
"Tags",
|
|
37387
|
+
"DeletionProtectionCheck"
|
|
37388
|
+
])]]);
|
|
37389
|
+
getClient() {
|
|
37390
|
+
if (!this.appConfigClient) this.appConfigClient = new AppConfigClient({
|
|
37391
|
+
...ambientClientDefaults(),
|
|
37392
|
+
...this.providerRegion ? { region: this.providerRegion } : {}
|
|
37393
|
+
});
|
|
37394
|
+
return this.appConfigClient;
|
|
37395
|
+
}
|
|
37396
|
+
assertType(resourceType, logicalId, physicalId) {
|
|
37397
|
+
if (resourceType !== TYPE) throw new ProvisioningError(`Unsupported resource type: ${resourceType}`, resourceType, logicalId, physicalId);
|
|
37398
|
+
}
|
|
37399
|
+
splitId(physicalId, resourceType, logicalId) {
|
|
37400
|
+
const idx = physicalId.indexOf("|");
|
|
37401
|
+
if (idx <= 0 || idx === physicalId.length - 1 || physicalId.indexOf("|", idx + 1) !== -1) throw markNonRetryable(new ProvisioningError(`The recorded physical id of ${resourceType} ${logicalId} is not "<ApplicationId>|<EnvironmentId>"`, resourceType, logicalId, physicalId));
|
|
37402
|
+
return {
|
|
37403
|
+
applicationId: physicalId.slice(0, idx),
|
|
37404
|
+
environmentId: physicalId.slice(idx + 1)
|
|
37405
|
+
};
|
|
37406
|
+
}
|
|
37407
|
+
wrapCaughtError(mask, error, build) {
|
|
37408
|
+
const m = maskerOrIdentity(mask);
|
|
37409
|
+
const failure = describeAwsFailure(error);
|
|
37410
|
+
if (!failure.redacted) return wrapMaskedAwsError(m, error, build);
|
|
37411
|
+
this.logger.debug(m(build(m(failure.detail)).message));
|
|
37412
|
+
const wrapped = build(`${m(failure.summary)}${relayedNameCollision(failure.detail)}`);
|
|
37413
|
+
return error instanceof Error ? markRedactedCause(wrapped) : wrapped;
|
|
37414
|
+
}
|
|
37415
|
+
async environmentArn(applicationId, environmentId) {
|
|
37416
|
+
const region = await this.getClient().config.region() || ambientRegion() || "us-east-1";
|
|
37417
|
+
const identity = await getAwsClients().sts.send(new GetCallerIdentityCommand({}));
|
|
37418
|
+
if (!identity.Account) throw new Error("Failed to resolve AWS account id from STS");
|
|
37419
|
+
const { partition } = derivePartitionAndUrlSuffix(region);
|
|
37420
|
+
return `arn:${partition}:appconfig:${region}:${identity.Account}:application/${applicationId}/environment/${environmentId}`;
|
|
37421
|
+
}
|
|
37422
|
+
monitorsOf(value) {
|
|
37423
|
+
if (!Array.isArray(value)) return void 0;
|
|
37424
|
+
return value.map((m) => {
|
|
37425
|
+
const entry = m;
|
|
37426
|
+
return {
|
|
37427
|
+
AlarmArn: entry.AlarmArn,
|
|
37428
|
+
...entry.AlarmRoleArn !== void 0 && { AlarmRoleArn: entry.AlarmRoleArn }
|
|
37429
|
+
};
|
|
37430
|
+
});
|
|
37431
|
+
}
|
|
37432
|
+
async create(logicalId, resourceType, properties, context) {
|
|
37433
|
+
this.assertType(resourceType, logicalId);
|
|
37434
|
+
this.logger.debug(safeMsg`Creating AppConfig Environment ${logicalId}`);
|
|
37435
|
+
const tags = refuseMalformedDesiredTags(properties["Tags"], resourceType, logicalId);
|
|
37436
|
+
const applicationId = properties["ApplicationId"];
|
|
37437
|
+
const name = properties["Name"];
|
|
37438
|
+
if (!applicationId || !name) throw markNonRetryable(new ProvisioningError(`ApplicationId and Name are required for ${resourceType} ${logicalId}`, resourceType, logicalId));
|
|
37439
|
+
try {
|
|
37440
|
+
const monitors = this.monitorsOf(properties["Monitors"]);
|
|
37441
|
+
const resp = await this.getClient().send(new CreateEnvironmentCommand({
|
|
37442
|
+
ApplicationId: applicationId,
|
|
37443
|
+
Name: name,
|
|
37444
|
+
...properties["Description"] !== void 0 && { Description: properties["Description"] },
|
|
37445
|
+
...monitors && monitors.length > 0 && { Monitors: monitors },
|
|
37446
|
+
...tags.length > 0 && { Tags: Object.fromEntries(tags.map((t) => [t.Key, t.Value])) }
|
|
37447
|
+
}));
|
|
37448
|
+
if (!resp.Id) throw new Error("CreateEnvironment returned no environment id");
|
|
37449
|
+
return {
|
|
37450
|
+
physicalId: `${applicationId}|${resp.Id}`,
|
|
37451
|
+
attributes: { EnvironmentId: resp.Id }
|
|
37452
|
+
};
|
|
37453
|
+
} catch (error) {
|
|
37454
|
+
const cause = error instanceof Error ? error : void 0;
|
|
37455
|
+
throw this.wrapCaughtError(context?.maskSecrets, error, (text) => new ProvisioningError(`Failed to create AppConfig Environment ${logicalId}: ${text}`, resourceType, logicalId, void 0, cause));
|
|
37456
|
+
}
|
|
37457
|
+
}
|
|
37458
|
+
async update(logicalId, physicalId, resourceType, properties, previousProperties, context) {
|
|
37459
|
+
this.assertType(resourceType, logicalId, physicalId);
|
|
37460
|
+
this.logger.debug(safeMsg`Updating AppConfig Environment ${logicalId}: ${physicalId}`);
|
|
37461
|
+
assertRegionMatch(context?.expectedRegion ? await this.getClient().config.region() : void 0, context?.expectedRegion, resourceType, logicalId, physicalId, "pre-update");
|
|
37462
|
+
refuseMalformedDesiredTags(properties["Tags"], resourceType, logicalId, physicalId);
|
|
37463
|
+
const { applicationId, environmentId } = this.splitId(physicalId, resourceType, logicalId);
|
|
37464
|
+
try {
|
|
37465
|
+
const monitors = clearOnUpdateRemoval(this.monitorsOf(properties["Monitors"]), this.monitorsOf(previousProperties["Monitors"]), []);
|
|
37466
|
+
const description = clearOnUpdateRemoval(properties["Description"], previousProperties["Description"], "");
|
|
37467
|
+
await this.getClient().send(new UpdateEnvironmentCommand({
|
|
37468
|
+
ApplicationId: applicationId,
|
|
37469
|
+
EnvironmentId: environmentId,
|
|
37470
|
+
...properties["Name"] !== void 0 && { Name: properties["Name"] },
|
|
37471
|
+
...description !== void 0 && { Description: description },
|
|
37472
|
+
...monitors !== void 0 && { Monitors: monitors }
|
|
37473
|
+
}));
|
|
37474
|
+
const plan = planTagDiff(previousProperties["Tags"], properties["Tags"]);
|
|
37475
|
+
const warning = tagPlanWarning(plan, resourceType, physicalId);
|
|
37476
|
+
if (warning) this.logger.warn(warning);
|
|
37477
|
+
if (plan.set.size > 0 || plan.remove.length > 0) {
|
|
37478
|
+
const arn = await this.environmentArn(applicationId, environmentId);
|
|
37479
|
+
if (plan.remove.length > 0) await this.getClient().send(new UntagResourceCommand$17({
|
|
37480
|
+
ResourceArn: arn,
|
|
37481
|
+
TagKeys: plan.remove
|
|
37482
|
+
}));
|
|
37483
|
+
if (plan.set.size > 0) await this.getClient().send(new TagResourceCommand$17({
|
|
37484
|
+
ResourceArn: arn,
|
|
37485
|
+
Tags: Object.fromEntries(plan.set)
|
|
37486
|
+
}));
|
|
37487
|
+
}
|
|
37488
|
+
return {
|
|
37489
|
+
physicalId,
|
|
37490
|
+
wasReplaced: false,
|
|
37491
|
+
attributes: { EnvironmentId: environmentId }
|
|
37492
|
+
};
|
|
37493
|
+
} catch (error) {
|
|
37494
|
+
const cause = error instanceof Error ? error : void 0;
|
|
37495
|
+
throw this.wrapCaughtError(context?.maskSecrets, error, (text) => new ProvisioningError(`Failed to update AppConfig Environment ${logicalId}: ${text}`, resourceType, logicalId, physicalId, cause));
|
|
37496
|
+
}
|
|
37497
|
+
}
|
|
37498
|
+
async delete(logicalId, physicalId, resourceType, properties, context) {
|
|
37499
|
+
this.assertType(resourceType, logicalId, physicalId);
|
|
37500
|
+
this.logger.debug(safeMsg`Deleting AppConfig Environment ${logicalId}: ${physicalId}`);
|
|
37501
|
+
const { applicationId, environmentId } = this.splitId(physicalId, resourceType, logicalId);
|
|
37502
|
+
const check = properties?.["DeletionProtectionCheck"];
|
|
37503
|
+
const protectionCheck = typeof check === "string" && DELETION_PROTECTION_CHECKS.has(check) ? check : void 0;
|
|
37504
|
+
try {
|
|
37505
|
+
await this.getClient().send(new DeleteEnvironmentCommand({
|
|
37506
|
+
ApplicationId: applicationId,
|
|
37507
|
+
EnvironmentId: environmentId,
|
|
37508
|
+
...protectionCheck !== void 0 && { DeletionProtectionCheck: protectionCheck }
|
|
37509
|
+
}));
|
|
37510
|
+
this.logger.debug(safeMsg`Successfully deleted AppConfig Environment ${logicalId}`);
|
|
37511
|
+
} catch (error) {
|
|
37512
|
+
if (error?.name === "ResourceNotFoundException") {
|
|
37513
|
+
const clientRegion = await this.getClient().config.region();
|
|
37514
|
+
assertRegionMatch(clientRegion, context?.expectedRegion, resourceType, logicalId, physicalId);
|
|
37515
|
+
this.logger.debug(safeMsg`AppConfig Environment ${physicalId} does not exist, skipping deletion`);
|
|
37516
|
+
return;
|
|
37517
|
+
}
|
|
37518
|
+
const cause = error instanceof Error ? error : void 0;
|
|
37519
|
+
throw this.wrapCaughtError(context?.maskSecrets, error, (text) => new ProvisioningError(`Failed to delete AppConfig Environment ${logicalId}: ${text}`, resourceType, logicalId, physicalId, cause));
|
|
37520
|
+
}
|
|
37521
|
+
}
|
|
37522
|
+
async import(input) {
|
|
37523
|
+
if (input.resourceType !== TYPE || !input.knownPhysicalId) return null;
|
|
37524
|
+
const { applicationId, environmentId } = this.splitId(input.knownPhysicalId, input.resourceType, input.logicalId);
|
|
37525
|
+
try {
|
|
37526
|
+
await this.getClient().send(new GetEnvironmentCommand({
|
|
37527
|
+
ApplicationId: applicationId,
|
|
37528
|
+
EnvironmentId: environmentId
|
|
37529
|
+
}));
|
|
37530
|
+
} catch (err) {
|
|
37531
|
+
if (err?.name === "ResourceNotFoundException") return null;
|
|
37532
|
+
throw err;
|
|
37533
|
+
}
|
|
37534
|
+
return {
|
|
37535
|
+
physicalId: input.knownPhysicalId,
|
|
37536
|
+
attributes: { EnvironmentId: environmentId }
|
|
37537
|
+
};
|
|
37538
|
+
}
|
|
37539
|
+
};
|
|
37540
|
+
|
|
37369
37541
|
// src/provisioning/providers/route53/core.ts
|
|
37370
37542
|
function wrapCaughtError$10(mask, error, build) {
|
|
37371
37543
|
const m = maskerOrIdentity(mask);
|
|
@@ -39004,14 +39176,14 @@ async function applyTagDiff$8(arn, resourceType, logicalId, oldTagsRaw, newTagsR
|
|
|
39004
39176
|
}));
|
|
39005
39177
|
const tagsToRemove = plan.remove;
|
|
39006
39178
|
if (tagsToRemove.length > 0) {
|
|
39007
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
39179
|
+
await this.getClient().send(new UntagResourceCommand$18({
|
|
39008
39180
|
ResourceARN: arn,
|
|
39009
39181
|
TagKeys: tagsToRemove
|
|
39010
39182
|
}));
|
|
39011
39183
|
this.logger.debug(`Removed ${tagsToRemove.length} tag(s) from WAFv2 WebACL ${arn}`);
|
|
39012
39184
|
}
|
|
39013
39185
|
if (tagsToAdd.length > 0) {
|
|
39014
|
-
await this.getClient().send(new TagResourceCommand$
|
|
39186
|
+
await this.getClient().send(new TagResourceCommand$18({
|
|
39015
39187
|
ResourceARN: arn,
|
|
39016
39188
|
Tags: tagsToAdd
|
|
39017
39189
|
}));
|
|
@@ -40000,7 +40172,7 @@ async function untagRemovedUserPoolTags(logicalId, physicalId, resourceType, poo
|
|
|
40000
40172
|
this.logger.warn(safeMsg`Cognito User Pool ${logicalId} (${physicalId}): the template no longer declares ` + safeMsg`${removed.length} UserPoolTags key(s), but DescribeUserPool returned no ARN to ` + safeMsg`untag them with, so they stay on the pool. Remove them with ` + safeMsg`aws cognito-idp untag-resource.`);
|
|
40001
40173
|
return;
|
|
40002
40174
|
}
|
|
40003
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
40175
|
+
await this.getClient().send(new UntagResourceCommand$19({
|
|
40004
40176
|
ResourceArn: poolArn,
|
|
40005
40177
|
TagKeys: removed
|
|
40006
40178
|
}));
|
|
@@ -41299,11 +41471,11 @@ async function syncNamespaceTags(logicalId, physicalId, resourceType, properties
|
|
|
41299
41471
|
const hasAdds = tagsToAdd.length > 0;
|
|
41300
41472
|
if (removedKeys.length === 0 && !hasAdds) return;
|
|
41301
41473
|
const arn = await this.resolveNamespaceArn(physicalId);
|
|
41302
|
-
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
41474
|
+
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$20({
|
|
41303
41475
|
ResourceARN: arn,
|
|
41304
41476
|
TagKeys: removedKeys
|
|
41305
41477
|
}));
|
|
41306
|
-
if (hasAdds) await this.getClient().send(new TagResourceCommand$
|
|
41478
|
+
if (hasAdds) await this.getClient().send(new TagResourceCommand$19({
|
|
41307
41479
|
ResourceARN: arn,
|
|
41308
41480
|
Tags: tagsToAdd
|
|
41309
41481
|
}));
|
|
@@ -41773,11 +41945,11 @@ async function updateService(logicalId, physicalId, resourceType, properties, pr
|
|
|
41773
41945
|
if (hasTagChange) {
|
|
41774
41946
|
const arn = knownArn ?? (await client.send(new GetServiceCommand({ Id: physicalId }))).Service?.Arn;
|
|
41775
41947
|
if (!arn) throw new ProvisioningError(safeMsg`Could not resolve the ARN of service discovery service ${logicalId}; its Tags were not updated`, resourceType, logicalId, physicalId);
|
|
41776
|
-
if (tagPlan.remove.length > 0) await client.send(new UntagResourceCommand$
|
|
41948
|
+
if (tagPlan.remove.length > 0) await client.send(new UntagResourceCommand$20({
|
|
41777
41949
|
ResourceARN: arn,
|
|
41778
41950
|
TagKeys: tagPlan.remove
|
|
41779
41951
|
}));
|
|
41780
|
-
if (tagPlan.set.size > 0) await client.send(new TagResourceCommand$
|
|
41952
|
+
if (tagPlan.set.size > 0) await client.send(new TagResourceCommand$19({
|
|
41781
41953
|
ResourceARN: arn,
|
|
41782
41954
|
Tags: [...tagPlan.set].map(([Key, Value]) => ({
|
|
41783
41955
|
Key,
|
|
@@ -42731,7 +42903,7 @@ async function applyTagDiff$6(apiId, resourceType, logicalId, oldTagsRaw, newTag
|
|
|
42731
42903
|
const tagKeysToRemove = plan.remove;
|
|
42732
42904
|
const tagsToAdd = Object.fromEntries(plan.set);
|
|
42733
42905
|
if (tagKeysToRemove.length > 0) try {
|
|
42734
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
42906
|
+
await this.getClient().send(new UntagResourceCommand$21({
|
|
42735
42907
|
resourceArn: arn,
|
|
42736
42908
|
tagKeys: tagKeysToRemove
|
|
42737
42909
|
}));
|
|
@@ -42739,7 +42911,7 @@ async function applyTagDiff$6(apiId, resourceType, logicalId, oldTagsRaw, newTag
|
|
|
42739
42911
|
throw this.wrapUpdateError(error, resourceType, logicalId, apiId, "GraphqlApi (untag)", mask);
|
|
42740
42912
|
}
|
|
42741
42913
|
if (Object.keys(tagsToAdd).length > 0) try {
|
|
42742
|
-
await this.getClient().send(new TagResourceCommand$
|
|
42914
|
+
await this.getClient().send(new TagResourceCommand$20({
|
|
42743
42915
|
resourceArn: arn,
|
|
42744
42916
|
tags: tagsToAdd
|
|
42745
42917
|
}));
|
|
@@ -44402,11 +44574,11 @@ async function applyGlueTagDiff(client, resourceArn, recorded, desired, resource
|
|
|
44402
44574
|
if (toSet.size === 0 && plan.remove.length === 0) return;
|
|
44403
44575
|
unsettled.beforeWrite();
|
|
44404
44576
|
const arn = await resourceArn();
|
|
44405
|
-
if (toSet.size > 0) await client.send(new TagResourceCommand$
|
|
44577
|
+
if (toSet.size > 0) await client.send(new TagResourceCommand$21({
|
|
44406
44578
|
ResourceArn: arn,
|
|
44407
44579
|
TagsToAdd: Object.fromEntries(toSet)
|
|
44408
44580
|
}));
|
|
44409
|
-
if (plan.remove.length > 0) await client.send(new UntagResourceCommand$
|
|
44581
|
+
if (plan.remove.length > 0) await client.send(new UntagResourceCommand$22({
|
|
44410
44582
|
ResourceArn: arn,
|
|
44411
44583
|
TagsToRemove: plan.remove
|
|
44412
44584
|
}));
|
|
@@ -47724,7 +47896,7 @@ async function update$15(logicalId, physicalId, resourceType, properties, previo
|
|
|
47724
47896
|
const newTags = this.toSdkResourceTags(next.ResourceTags);
|
|
47725
47897
|
if (prevTags.kind === "list") await this.reconcileResourceTags(accountId, physicalId, this.toSdkResourceTags(removableRecorded("ResourceTags", prevTags.items)), newTags);
|
|
47726
47898
|
else {
|
|
47727
|
-
if (newTags.length > 0) await this.getClient().send(new TagResourceCommand$
|
|
47899
|
+
if (newTags.length > 0) await this.getClient().send(new TagResourceCommand$22({
|
|
47728
47900
|
ResourceARN: await this.budgetArn(accountId, physicalId),
|
|
47729
47901
|
ResourceTags: newTags
|
|
47730
47902
|
}));
|
|
@@ -47868,11 +48040,11 @@ async function reconcileResourceTags(accountId, budgetName, oldTags, newTags) {
|
|
|
47868
48040
|
const removedKeys = oldTags.map((t) => t.Key).filter((k) => {
|
|
47869
48041
|
return typeof k === "string" && !newKeys.has(k);
|
|
47870
48042
|
});
|
|
47871
|
-
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
48043
|
+
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$23({
|
|
47872
48044
|
ResourceARN: arn,
|
|
47873
48045
|
ResourceTagKeys: removedKeys
|
|
47874
48046
|
}));
|
|
47875
|
-
if (newTags.length > 0) await this.getClient().send(new TagResourceCommand$
|
|
48047
|
+
if (newTags.length > 0) await this.getClient().send(new TagResourceCommand$22({
|
|
47876
48048
|
ResourceARN: arn,
|
|
47877
48049
|
ResourceTags: newTags
|
|
47878
48050
|
}));
|
|
@@ -49227,14 +49399,14 @@ var KinesisStreamConsumerProvider = class {
|
|
|
49227
49399
|
const tagsToAdd = Object.fromEntries(plan.set);
|
|
49228
49400
|
const tagsToRemove = plan.remove;
|
|
49229
49401
|
if (tagsToRemove.length > 0) {
|
|
49230
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
49402
|
+
await this.getClient().send(new UntagResourceCommand$24({
|
|
49231
49403
|
ResourceARN: consumerArn,
|
|
49232
49404
|
TagKeys: tagsToRemove
|
|
49233
49405
|
}));
|
|
49234
49406
|
this.logger.debug(mask(`Removed ${tagsToRemove.length} tag(s) from Kinesis stream consumer ${consumerArn}`));
|
|
49235
49407
|
}
|
|
49236
49408
|
if (Object.keys(tagsToAdd).length > 0) {
|
|
49237
|
-
await this.getClient().send(new TagResourceCommand$
|
|
49409
|
+
await this.getClient().send(new TagResourceCommand$23({
|
|
49238
49410
|
ResourceARN: consumerArn,
|
|
49239
49411
|
Tags: tagsToAdd
|
|
49240
49412
|
}));
|
|
@@ -50147,11 +50319,11 @@ async function update$12(logicalId, physicalId, resourceType, properties, previo
|
|
|
50147
50319
|
settled ??= await this.describe(physicalId);
|
|
50148
50320
|
const arn = settled.Arn;
|
|
50149
50321
|
if (!arn) throw new Error("DescribePipe returned no Arn, which tagging needs");
|
|
50150
|
-
if (plan.remove.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
50322
|
+
if (plan.remove.length > 0) await this.getClient().send(new UntagResourceCommand$25({
|
|
50151
50323
|
resourceArn: arn,
|
|
50152
50324
|
tagKeys: plan.remove
|
|
50153
50325
|
}));
|
|
50154
|
-
if (plan.set.size > 0) await this.getClient().send(new TagResourceCommand$
|
|
50326
|
+
if (plan.set.size > 0) await this.getClient().send(new TagResourceCommand$24({
|
|
50155
50327
|
resourceArn: arn,
|
|
50156
50328
|
tags: Object.fromEntries(plan.set)
|
|
50157
50329
|
}));
|
|
@@ -50494,11 +50666,11 @@ async function applyTagDiff$3(resourceId, resourceType, logicalId, recorded, des
|
|
|
50494
50666
|
const plan = planTagDiff(recorded, desired);
|
|
50495
50667
|
const warning = tagPlanWarning(plan, resourceType, logicalId);
|
|
50496
50668
|
if (warning !== void 0) log.warn(warning);
|
|
50497
|
-
if (plan.remove.length > 0) await this.retryOnTransientControlPlane(() => this.getClient().send(new UntagResourceCommand$
|
|
50669
|
+
if (plan.remove.length > 0) await this.retryOnTransientControlPlane(() => this.getClient().send(new UntagResourceCommand$26({
|
|
50498
50670
|
ResourceId: resourceId,
|
|
50499
50671
|
TagKeys: plan.remove
|
|
50500
50672
|
})), `UntagResource ${resourceId}`, log);
|
|
50501
|
-
if (plan.set.size > 0) await this.retryOnTransientControlPlane(() => this.getClient().send(new TagResourceCommand$
|
|
50673
|
+
if (plan.set.size > 0) await this.retryOnTransientControlPlane(() => this.getClient().send(new TagResourceCommand$25({
|
|
50502
50674
|
ResourceId: resourceId,
|
|
50503
50675
|
Tags: [...plan.set].map(([Key, Value]) => ({
|
|
50504
50676
|
Key,
|
|
@@ -52275,11 +52447,11 @@ async function applyTagDiff$2(physicalId, resourceType, logicalId, nextTags, pre
|
|
|
52275
52447
|
Value
|
|
52276
52448
|
}));
|
|
52277
52449
|
const toRemove = plan.remove;
|
|
52278
|
-
if (toSet.length > 0) await this.getClient().send(new TagResourceCommand$
|
|
52450
|
+
if (toSet.length > 0) await this.getClient().send(new TagResourceCommand$26({
|
|
52279
52451
|
ResourceARN: arn,
|
|
52280
52452
|
Tags: toSet
|
|
52281
52453
|
}));
|
|
52282
|
-
if (toRemove.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
52454
|
+
if (toRemove.length > 0) await this.getClient().send(new UntagResourceCommand$27({
|
|
52283
52455
|
ResourceARN: arn,
|
|
52284
52456
|
TagKeys: toRemove
|
|
52285
52457
|
}));
|
|
@@ -57733,11 +57905,11 @@ async function update$4(logicalId, physicalId, resourceType, properties, previou
|
|
|
57733
57905
|
const repoArn = metadata?.Arn;
|
|
57734
57906
|
if (repoArn) {
|
|
57735
57907
|
const removedKeys = Object.keys(oldTagMap).filter((k) => !Object.hasOwn(newTagMap, k));
|
|
57736
|
-
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
57908
|
+
if (removedKeys.length > 0) await this.getClient().send(new UntagResourceCommand$28({
|
|
57737
57909
|
resourceArn: repoArn,
|
|
57738
57910
|
tagKeys: removedKeys
|
|
57739
57911
|
}));
|
|
57740
|
-
if (Object.keys(newTagMap).length > 0) await this.getClient().send(new TagResourceCommand$
|
|
57912
|
+
if (Object.keys(newTagMap).length > 0) await this.getClient().send(new TagResourceCommand$27({
|
|
57741
57913
|
resourceArn: repoArn,
|
|
57742
57914
|
tags: newTagMap
|
|
57743
57915
|
}));
|
|
@@ -58259,7 +58431,7 @@ var DLMLifecyclePolicyProvider = class {
|
|
|
58259
58431
|
if (tagsChanged && arn) {
|
|
58260
58432
|
const removedKeys = plan.remove;
|
|
58261
58433
|
if (removedKeys.length > 0) {
|
|
58262
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
58434
|
+
await this.getClient().send(new UntagResourceCommand$29({
|
|
58263
58435
|
ResourceArn: arn,
|
|
58264
58436
|
TagKeys: removedKeys
|
|
58265
58437
|
}));
|
|
@@ -58267,7 +58439,7 @@ var DLMLifecyclePolicyProvider = class {
|
|
|
58267
58439
|
}
|
|
58268
58440
|
const tagsToAdd = Object.fromEntries(plan.set);
|
|
58269
58441
|
if (Object.keys(tagsToAdd).length > 0) {
|
|
58270
|
-
await this.getClient().send(new TagResourceCommand$
|
|
58442
|
+
await this.getClient().send(new TagResourceCommand$28({
|
|
58271
58443
|
ResourceArn: arn,
|
|
58272
58444
|
Tags: tagsToAdd
|
|
58273
58445
|
}));
|
|
@@ -58430,11 +58602,11 @@ var S3VectorsProvider = class {
|
|
|
58430
58602
|
}
|
|
58431
58603
|
if (!resourceArn) throw new ProvisioningError(`Could not resolve ARN for S3 VectorBucket ${logicalId} (${mask(physicalId)}); cannot apply tag update.`, resourceType, logicalId, physicalId);
|
|
58432
58604
|
try {
|
|
58433
|
-
if (Object.keys(toSet).length > 0) await this.getClient().send(new TagResourceCommand$
|
|
58605
|
+
if (Object.keys(toSet).length > 0) await this.getClient().send(new TagResourceCommand$29({
|
|
58434
58606
|
resourceArn,
|
|
58435
58607
|
tags: toSet
|
|
58436
58608
|
}));
|
|
58437
|
-
if (toRemove.length > 0) await this.getClient().send(new UntagResourceCommand$
|
|
58609
|
+
if (toRemove.length > 0) await this.getClient().send(new UntagResourceCommand$30({
|
|
58438
58610
|
resourceArn,
|
|
58439
58611
|
tagKeys: toRemove
|
|
58440
58612
|
}));
|
|
@@ -60598,7 +60770,7 @@ async function applyTableTagsDiff(logicalId, physicalId, resourceType, previousT
|
|
|
60598
60770
|
const resourceArn = await this.lookupTableArn(tableBucketARN, namespace, name);
|
|
60599
60771
|
if (!resourceArn) throw new ProvisioningError(safeMsg`applyTableTagsDiff: GetTable returned no tableARN for ${physicalId} — table is gone ` + `or state is out-of-sync. Refusing to silently drop the tag update. If the table was deleted out-of-band, drop just this resource's record with the command below, filling in the construct path the CDK app gave this resource — its aws:cdk:path Metadata entry in the synthesized template.\nClean up with: cdkd orphan ${commandHole("constructPath")}`, resourceType, logicalId, physicalId);
|
|
60600
60772
|
if (removedKeys.length > 0) try {
|
|
60601
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
60773
|
+
await this.getClient().send(new UntagResourceCommand$31({
|
|
60602
60774
|
resourceArn,
|
|
60603
60775
|
tagKeys: removedKeys
|
|
60604
60776
|
}));
|
|
@@ -60607,7 +60779,7 @@ async function applyTableTagsDiff(logicalId, physicalId, resourceType, previousT
|
|
|
60607
60779
|
throw this.wrapCaughtError(mask, err, (text) => new ProvisioningError(`applyTableTagsDiff: UntagResource failed for ${resourceArn} (keys: ${removedKeys.join(", ")}): ${sentence(text)} State has NOT been updated so the next deploy will retry the tag-diff.`, resourceType, logicalId, physicalId, cause));
|
|
60608
60780
|
}
|
|
60609
60781
|
if (Object.keys(upserts).length > 0) try {
|
|
60610
|
-
await this.getClient().send(new TagResourceCommand$
|
|
60782
|
+
await this.getClient().send(new TagResourceCommand$30({
|
|
60611
60783
|
resourceArn,
|
|
60612
60784
|
tags: upserts
|
|
60613
60785
|
}));
|
|
@@ -60625,7 +60797,7 @@ async function applyTableBucketTagsDiff(logicalId, physicalId, resourceType, pre
|
|
|
60625
60797
|
if (removedKeys.length === 0 && Object.keys(upserts).length === 0) return;
|
|
60626
60798
|
const resourceArn = physicalId;
|
|
60627
60799
|
if (removedKeys.length > 0) try {
|
|
60628
|
-
await this.getClient().send(new UntagResourceCommand$
|
|
60800
|
+
await this.getClient().send(new UntagResourceCommand$31({
|
|
60629
60801
|
resourceArn,
|
|
60630
60802
|
tagKeys: removedKeys
|
|
60631
60803
|
}));
|
|
@@ -60634,7 +60806,7 @@ async function applyTableBucketTagsDiff(logicalId, physicalId, resourceType, pre
|
|
|
60634
60806
|
throw this.wrapCaughtError(mask, err, (text) => new ProvisioningError(`applyTableBucketTagsDiff: UntagResource failed for ${resourceArn} (keys: ${removedKeys.join(", ")}): ${sentence(text)} State has NOT been updated so the next deploy will retry the tag-diff.`, resourceType, logicalId, physicalId, cause));
|
|
60635
60807
|
}
|
|
60636
60808
|
if (Object.keys(upserts).length > 0) try {
|
|
60637
|
-
await this.getClient().send(new TagResourceCommand$
|
|
60809
|
+
await this.getClient().send(new TagResourceCommand$30({
|
|
60638
60810
|
resourceArn,
|
|
60639
60811
|
tags: upserts
|
|
60640
60812
|
}));
|
|
@@ -62015,5 +62187,5 @@ var ACMCertificateProvider = class {
|
|
|
62015
62187
|
}
|
|
62016
62188
|
};
|
|
62017
62189
|
|
|
62018
|
-
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, LambdaNetworkConnectorProvider, LambdaPermissionProvider, LambdaUrlProvider, LambdaWebFunctionEndpointProvider, LambdaWebFunctionRevisionProvider, 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 };
|
|
62019
|
-
//# sourceMappingURL=provider-classes-
|
|
62190
|
+
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, 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, 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 };
|
|
62191
|
+
//# sourceMappingURL=provider-classes-BnjGVEVP.js.map
|