@cdkd/cli 0.344.0 → 0.346.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/{asg-provider-BNaBEVOz.js → asg-provider-Bu7rz365.js} +2 -2
  2. package/dist/{asg-provider-BNaBEVOz.js.map → asg-provider-Bu7rz365.js.map} +1 -1
  3. package/dist/cli.js +2 -2
  4. package/dist/{db-instance-modify-retry-BwAEmSQH.js → db-instance-modify-retry-CY94H9jp.js} +2 -2
  5. package/dist/{db-instance-modify-retry-BwAEmSQH.js.map → db-instance-modify-retry-CY94H9jp.js.map} +1 -1
  6. package/dist/{deploy-engine-BB7LVmAG.js → deploy-engine-BocT17az.js} +175 -26
  7. package/dist/deploy-engine-BocT17az.js.map +1 -0
  8. package/dist/{ecr-uri-CzGt7ztW.js → ecr-uri-Cg53WsUz.js} +2 -2
  9. package/dist/{ecr-uri-CzGt7ztW.js.map → ecr-uri-Cg53WsUz.js.map} +1 -1
  10. package/dist/{iam-role-provider-BlSi1iNz.js → iam-role-provider-_bvctXgr.js} +2 -2
  11. package/dist/{iam-role-provider-BlSi1iNz.js.map → iam-role-provider-_bvctXgr.js.map} +1 -1
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +2 -2
  14. package/dist/{neptune-provider-oRAIG3Kd.js → neptune-provider-CceDOA6q.js} +3 -3
  15. package/dist/{neptune-provider-oRAIG3Kd.js.map → neptune-provider-CceDOA6q.js.map} +1 -1
  16. package/dist/{program-BQH8NPXj.js → program-DM3nrEl9.js} +16 -29
  17. package/dist/program-DM3nrEl9.js.map +1 -0
  18. package/dist/{provider-classes-DmCFkSIr.js → provider-classes-BJRQVOZ0.js} +97 -29
  19. package/dist/{provider-classes-DmCFkSIr.js.map → provider-classes-BJRQVOZ0.js.map} +1 -1
  20. package/dist/{rds-provider-D7y6wD4F.js → rds-provider-B-TkBvu0.js} +482 -48
  21. package/dist/rds-provider-B-TkBvu0.js.map +1 -0
  22. package/dist/{read-replica-c2dYFLKs.js → read-replica-IoZoKlpg.js} +4 -4
  23. package/dist/{read-replica-c2dYFLKs.js.map → read-replica-IoZoKlpg.js.map} +1 -1
  24. package/dist/{version-b-uLTNXf.js → version-BdxBmlDu.js} +2 -2
  25. package/dist/{version-b-uLTNXf.js.map → version-BdxBmlDu.js.map} +1 -1
  26. package/package.json +3 -3
  27. package/dist/deploy-engine-BB7LVmAG.js.map +0 -1
  28. package/dist/program-BQH8NPXj.js.map +0 -1
  29. package/dist/rds-provider-D7y6wD4F.js.map +0 -1
@@ -1,15 +1,15 @@
1
- import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-BlSi1iNz.js";
1
+ import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-_bvctXgr.js";
2
2
  import { A as requireConfigObject, C as coerceCfnInteger, D as readConfigString, E as configStringRefusal, G as isBeforeStateRead, I as generateResourceName, L as generateResourceNameWithFallback, O as replayWarn, Q as SECRET_REF_MAX_CODE_POINTS, S as coerceCfnBoolean, T as configIntegerRefusal, U as getCurrentStackInstanceId, W as getCurrentStackName, a as safeStringify, at as displaySafe, b as generatedNameFor, i as isAwsAuthoredFailure, it as displayIdent, j as requireConfigString, k as requireConfigArray, lt as plainIdentOr, n as describeAwsFailure, ot as displayStackName, r as describeAwsStatusReason, s as getLogger, st as isPasteableIdent, t as VERBOSE_POINTER, tt as asIsMessage, ut as safeMsg, w as configBooleanRefusal, z as recordedGeneratedNameKept } from "./aws-failure-text-jomzO3aT.js";
3
3
  import { d as withApiGatewayPacing, l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-CUCH-WCd.js";
4
4
  import { $ as CdkdError, D as markReplayMayCollide, E as markNameCollision, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, I as isExplicitDenyError, K as wrapMaskedAwsError, M as explicitDenyPolicyKind, O as relayedNameCollision, R as isRetryableTransientError, St as withheldTargetClause, U as isThrottlingError, V as THROTTLING_ERROR_NAMES, W as markNonRetryable, Z as AccountIdUnavailableError, _ as ResourceUpdateNotSupportedError, gt as pasteableCommand, ht as isInertUnquoted, i as credentialFingerprint, it as ProvisioningError, mt as hasClauseBreak, n as ambientCredentialConfig, pt as commandHole, r as clientDefaultsFor, t as ambientClientDefaults, vt as plainOrDescribed, xt as shellQuote, z as isTransientServerError } from "./ambient-client-defaults-w6GrD1cQ.js";
5
5
  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, 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, pn as withPasteableAwsProfile, 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-BjJh8h9m.js";
6
- import { $ as vectorIndexesForCreate, $c as markSameGenerationBag, $o as isWarmThroughputDecrease, At as enclosingDeadlineExpired, B as reverseMapStreamPolicy, Ba as reDisableInstanceApiTermination, Bi as APPSYNC_APIKEY_ARN_RESOURCE_PATH, Ct as maskedLogger, Da as resolvedResourceTimeoutMs, Dd as canonicalizeRegion, Dl as recoverMaskedOutput, Dt as S3_AUTO_DELETE_OBJECTS_TAG, Ea as waitForGoneAfterDelete, Ec as withoutSdkUnwiredProperties, Eo as parseWebACLArn, Et as ECR_AUTO_DELETE_IMAGES_TAG, F as STREAM_POLICY_KEY, Fa as withIndeterminateGuard, Fc as sameLambdaFunctionAddress, Fi as secretNamedAttributeNamesOf, G as streamTagsMatchDeclared, Gd as resolveAssemblyPath, Gt as markRefusedBeforeApplying, H as streamDeclaresTags, Ha as onlySecretReferencesDiffer, Hd as describeFileReadFailure, I as STREAM_TAGS_KEY, J as planTimeToLive, Jt as isAccessDeniedError, K as isTtlAlreadyDisabled, L as declaredStreamPolicyMember, La as ec2InstanceProtectionSite, Mc as emrClusterInstancesReplaced, Mr as getCurrentProducerRegions, Nc as canonicalLambdaFunctionName, Nl as carriesSecretMask, Od as derivePartitionAndUrlSuffix, Ol as physicalNameCopiesOf, Oo as outputReferenceProvenanceOf, Ot as hasCdkAutoDeleteTag, P as DynamoDBGlobalTableProvider, Pa as deleteSkipReason, Pc as lambdaFunctionNameForMask, Q as readbackVectorIndexes, Qo as coerceWarmThroughput$1, R as declaredStreamTagsMember, Ra as isTerminationProtectionPropagationError, Sa as getCurrentResourceSecrets, St as deleteTableWithIndexBusyRetry, Tt as waitForIndexesSettled, Tu as rewriteTemplateAssetReferences, U as streamMemberRefusals, Ua as unchangedBehindSecretReference, Ud as displayAssemblyPath, V as streamDeclaresPolicy, Va as reEnableInstanceApiTermination, Vi as maskedSecretSegment, W as streamPolicyMatchesDeclared, Wd as renderAssemblyPathEscape, Wt as getPriorAttempts, X as sendTtlWaitingOutRateLimit, Xt as withApiLimit, Y as readTtlSpec, Ya as isSettledInstanceState, Yt as lookupEachName, Z as planVectorIndexUpdates, Zo as WARM_THROUGHPUT_MEMBERS, _ as listNestedTemplateRows, _o as s3BucketWebsiteUrl, _t as resolveDynamoDbDeleteBudgetClock, aa as readTagList, al as hasMaskableValues, ar as acquireIdempotencyToken, as as withRetry, at as planContributorInsightsOp, br as redactedDeleteAddressFields, bt as INDEX_SETTLE_POLL_INTERVAL_MS, bu as stringifyValue, ca as tagPlanWarning, ct as reverseMapIndexContributorInsights, cu as timePhase, dn as withNestedStackContext, dt as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, ea as definedAttributes, ec as refuseMalformedNestedChildOutputs, el as redactForState, es as toCfnInteger, et as vectorIndexesSettled, ft as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, g as isAbsoluteAssetPath, gc as withheldAccountClause, go as s3BucketRegionalDomainName, gt as deleteBudgetKey, h as findNestedTemplateTreeDefect, hc as accountArgs, hi as refuseRestoreFromItself, ho as s3BucketDualStackDomainName, ht as compensateRemovedDeletionProtection, ia as planTagDiff, ii as getStackRecords, it as indexDeclaresContributorInsights, jc as ecsServiceLaunchTypeSetOrChanged, jo as getAccountInfo, jt as enclosingDeadlineRemainingMs, ka as slowCcOperationTimeoutMs, kc as blockDeviceMappingsDifferOnlyInDeleteOnTermination, kl as recordAttributeIdCopy, kt as isTruthyCfnBoolean, la as isRefusedByName, lt as reverseMapTableContributorInsights, mo as s3BucketDomainName, mt as beginDeleteWait, na as DBPROXY_TAGS_WHAT, ni as awaitInFlightSibling, nl as snapshotPassProvenance, nt as CONTRIBUTOR_INSIGHTS_KEY, oa as refuseMalformedDesiredTags, oi as replacedDeleteFailureVerdict, on as revertNestedChildFromJournal, ot as planIndexContributorInsightsOps, po as s3BucketArn, pt as DYNAMODB_DELETE_POLL_COST_MS, q as isTtlRateLimited, qc as passedNoEchoParametersOf, qt as chunks, ra as DBPROXY_TAG_OPTIONS, rn as getNestedRevertRun, rr as reserveStackCreateToken, rt as contributorInsightsRefusals, sa as tagMapAsList, ss as passedParameterClassesOf, st as readContributorInsightsSpec, t as DeployEngine, ta as stringifyIfAssigned, tl as recordReferenceProvenanceEntry, tr as earliestDefined, ts as toFiniteNumber, tt as vectorIndexesShapeDetail, ua as markDeleteStarted, uc as refuseMalformedResourcesForDestroy, un as getCurrentNestedStackContext, ut as stripIndexContributorInsights, v as renderNestedTemplateTreeDefect, vr as REDACTED_DELETE_ADDRESS_SKIP_REASON, vt as resolveDynamoDbDeleteBudgetMs, wa as waitForLambdaFunctionActive, wc as findSdkUnwiredProperties, wd as decodeListingKey, wt as relayedIndexBusyDelete, xl as dynamicReferenceTokens, xr as redactedDeleteAddressSkip, xt as TABLE_INDEX_NOUN, yl as withoutPhysicalNameCopies, yr as isRedactedRecordedValue, yt as DELETE_INDEX_WAIT_PROCEED_NOTE, z as planStreamMemberOps, za as observeThenDisableInstanceApiTermination, zo as isUsableAttemptedName } from "./deploy-engine-BB7LVmAG.js";
7
- import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, o as canonicalizeIpProtocolValue, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-BQH8NPXj.js";
6
+ import { $ as vectorIndexesForCreate, $a as isSettledInstanceState, Aa as waitForGoneAfterDelete, Ac as withoutSdkUnwiredProperties, Ad as canonicalizeRegion, Al as recoverMaskedOutput, Ao as parseWebACLArn, At as enclosingDeadlineExpired, B as reverseMapStreamPolicy, Ct as maskedLogger, Cu as stringifyValue, Dd as decodeListingKey, Dt as S3_AUTO_DELETE_OBJECTS_TAG, Ea as getCurrentResourceSecrets, Et as ECR_AUTO_DELETE_IMAGES_TAG, F as STREAM_POLICY_KEY, Fc as ecsServiceLaunchTypeSetOrChanged, Fo as getAccountInfo, G as streamTagsMatchDeclared, Ga as reEnableInstanceApiTermination, Gd as describeFileReadFailure, Gi as maskedSecretSegment, Gt as markRefusedBeforeApplying, H as streamDeclaresTags, Ha as isTerminationProtectionPropagationError, I as STREAM_TAGS_KEY, Ic as emrClusterInstancesReplaced, Il as carriesSecretMask, J as planTimeToLive, Jd as resolveAssemblyPath, Jt as isAccessDeniedError, K as isTtlAlreadyDisabled, Ka as onlySecretReferencesDiffer, Kd as displayAssemblyPath, L as declaredStreamPolicyMember, Lc as canonicalLambdaFunctionName, Ml as recordAttributeIdCopy, Mo as outputReferenceProvenanceOf, Mr as getCurrentProducerRegions, Na as slowCcOperationTimeoutMs, Nc as blockDeviceMappingsDifferOnlyInDeleteOnTermination, Oa as waitForLambdaFunctionActive, Oc as findSdkUnwiredProperties, Ot as hasCdkAutoDeleteTag, Ou as rewriteTemplateAssetReferences, P as DynamoDBGlobalTableProvider, Q as readbackVectorIndexes, R as declaredStreamTagsMember, Ra as deleteSkipReason, Rc as lambdaFunctionNameForMask, Sl as withoutPhysicalNameCopies, St as deleteTableWithIndexBusyRetry, Tt as waitForIndexesSettled, U as streamMemberRefusals, Ua as observeThenDisableInstanceApiTermination, Uo as isUsableAttemptedName, V as streamDeclaresPolicy, Va as ec2InstanceProtectionSite, W as streamPolicyMatchesDeclared, Wa as reDisableInstanceApiTermination, Wi as APPSYNC_APIKEY_ARN_RESOURCE_PATH, Wt as getPriorAttempts, X as sendTtlWaitingOutRateLimit, Xt as withApiLimit, Y as readTtlSpec, Yt as lookupEachName, Z as planVectorIndexUpdates, Zc as passedNoEchoParametersOf, _ as listNestedTemplateRows, _o as s3BucketArn, _t as resolveDynamoDbDeleteBudgetClock, aa as stringifyIfAssigned, al as snapshotPassProvenance, ar as acquireIdempotencyToken, as as toFiniteNumber, at as planContributorInsightsOp, bc as withheldAccountClause, bo as s3BucketRegionalDomainName, br as redactedDeleteAddressFields, bt as INDEX_SETTLE_POLL_INTERVAL_MS, ca as planTagDiff, cl as hasMaskableValues, ct as reverseMapIndexContributorInsights, da as tagMapAsList, dn as withNestedStackContext, ds as passedParameterClassesOf, dt as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, du as timePhase, et as vectorIndexesSettled, fa as tagPlanWarning, ft as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, g as isAbsoluteAssetPath, gt as deleteBudgetKey, h as findNestedTemplateTreeDefect, ht as compensateRemovedDeletionProtection, ia as definedAttributes, ic as refuseMalformedNestedChildOutputs, ii as getStackRecords, il as recordReferenceProvenanceEntry, is as toCfnInteger, it as indexDeclaresContributorInsights, ja as resolvedResourceTimeoutMs, jd as derivePartitionAndUrlSuffix, jl as physicalNameCopiesOf, jt as enclosingDeadlineRemainingMs, kt as isTruthyCfnBoolean, la as readTagList, ls as withRetry, lt as reverseMapTableContributorInsights, ma as markDeleteStarted, mc as refuseMalformedResourcesForDestroy, mt as beginDeleteWait, ni as awaitInFlightSibling, nl as markSameGenerationBag, ns as coerceWarmThroughput$1, nt as CONTRIBUTOR_INSIGHTS_KEY, oa as DBPROXY_TAGS_WHAT, oi as replacedDeleteFailureVerdict, on as revertNestedChildFromJournal, ot as planIndexContributorInsightsOps, pa as isRefusedByName, pt as DYNAMODB_DELETE_POLL_COST_MS, q as isTtlRateLimited, qa as unchangedBehindSecretReference, qd as renderAssemblyPathEscape, qt as chunks, rl as redactForState, rn as getNestedRevertRun, rr as reserveStackCreateToken, rs as isWarmThroughputDecrease, rt as contributorInsightsRefusals, sa as DBPROXY_TAG_OPTIONS, st as readContributorInsightsSpec, t as DeployEngine, tr as earliestDefined, ts as WARM_THROUGHPUT_MEMBERS, tt as vectorIndexesShapeDetail, ua as refuseMalformedDesiredTags, un as getCurrentNestedStackContext, ut as stripIndexContributorInsights, v as renderNestedTemplateTreeDefect, vi as refuseRestoreFromItself, vo as s3BucketDomainName, vr as REDACTED_DELETE_ADDRESS_SKIP_REASON, vt as resolveDynamoDbDeleteBudgetMs, wl as dynamicReferenceTokens, wt as relayedIndexBusyDelete, xo as s3BucketWebsiteUrl, xr as redactedDeleteAddressSkip, xt as TABLE_INDEX_NOUN, yc as accountArgs, yo as s3BucketDualStackDomainName, yr as isRedactedRecordedValue, yt as DELETE_INDEX_WAIT_PROCEED_NOTE, z as planStreamMemberOps, za as withIndeterminateGuard, zc as sameLambdaFunctionAddress, zi as secretNamedAttributeNamesOf } from "./deploy-engine-BocT17az.js";
7
+ import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, o as canonicalizeIpProtocolValue, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-DM3nrEl9.js";
8
8
  import { d as ambientRegion } from "./aws-client-defaults-DP5k4Mfi.js";
9
- import { RDSProvider } from "./rds-provider-D7y6wD4F.js";
10
- import { n as modifyDbInstanceWhenAvailable, t as isModifyNotAvailableRefusal } from "./db-instance-modify-retry-BwAEmSQH.js";
11
- import { NeptuneProvider } from "./neptune-provider-oRAIG3Kd.js";
12
- import { ASGProvider } from "./asg-provider-BNaBEVOz.js";
9
+ import { RDSProvider } from "./rds-provider-B-TkBvu0.js";
10
+ import { n as modifyDbInstanceWhenAvailable, t as isModifyNotAvailableRefusal } from "./db-instance-modify-retry-CY94H9jp.js";
11
+ import { NeptuneProvider } from "./neptune-provider-CceDOA6q.js";
12
+ import { ASGProvider } from "./asg-provider-Bu7rz365.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";
@@ -66,7 +66,7 @@ import { BatchGetProjectsCommand, CodeBuildClient, CreateProjectCommand, CreateW
66
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
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
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
+ import { CreateNamespaceCommand, CreateTableBucketCommand, CreateTableCommand as CreateTableCommand$2, DeleteNamespaceCommand as DeleteNamespaceCommand$1, DeleteTableBucketCommand, DeleteTableBucketMetricsConfigurationCommand, DeleteTableBucketReplicationCommand, DeleteTableCommand as DeleteTableCommand$2, GetNamespaceCommand as GetNamespaceCommand$1, GetTableBucketCommand, GetTableBucketEncryptionCommand, GetTableBucketLoggingCommand, GetTableBucketMaintenanceConfigurationCommand, GetTableBucketMetricsConfigurationCommand, GetTableBucketReplicationCommand, GetTableBucketStorageClassCommand, GetTableCommand as GetTableCommand$1, GetTableMaintenanceConfigurationCommand, ListNamespacesCommand as ListNamespacesCommand$1, ListTableBucketsCommand, ListTablesCommand, ListTagsForResourceCommand as ListTagsForResourceCommand$20, NotFoundException as NotFoundException$7, PutTableBucketEncryptionCommand, PutTableBucketLoggingCommand, PutTableBucketMaintenanceConfigurationCommand, PutTableBucketMetricsConfigurationCommand, PutTableBucketReplicationCommand, PutTableBucketStorageClassCommand, PutTableMaintenanceConfigurationCommand, RenameTableCommand, S3TablesClient, TagResourceCommand as TagResourceCommand$30, UntagResourceCommand as UntagResourceCommand$31 } from "@aws-sdk/client-s3tables";
70
70
 
71
71
  // src/provisioning/providers/iam-policy/shared.ts
72
72
  const POLICY_NAME_SKIP_REASON = "no policy name in state — no delete issued";
@@ -57128,13 +57128,21 @@ function withoutTrailIdentifiers(text, physicalId) {
57128
57128
  }
57129
57129
  return out;
57130
57130
  }
57131
+ function trailBoolean(value) {
57132
+ return coerceCfnBoolean(value) ?? value;
57133
+ }
57131
57134
  function removalsLeftInPlace(properties, previousProperties, context, globalEventsResetSkipped) {
57132
57135
  if (context?.desiredFromAwsReadback) return [];
57133
57136
  const removed = context?.removedProperties;
57134
57137
  const wasRemoved = (key) => previousProperties[key] != null && properties[key] == null && (removed === void 0 || removed.has(key));
57135
57138
  const org = previousProperties["IsOrganizationTrail"];
57136
57139
  const globalEvents = previousProperties["IncludeGlobalServiceEvents"];
57137
- return [...wasRemoved("IsOrganizationTrail") && org !== false && org !== "false" ? ["IsOrganizationTrail"] : [], ...globalEventsResetSkipped && wasRemoved("IncludeGlobalServiceEvents") && globalEvents !== false && globalEvents !== "false" ? ["IncludeGlobalServiceEvents"] : []];
57140
+ const recursive = previousProperties["RecursiveLogging"];
57141
+ return [
57142
+ ...wasRemoved("IsOrganizationTrail") && trailBoolean(org) !== false ? ["IsOrganizationTrail"] : [],
57143
+ ...wasRemoved("RecursiveLogging") && trailBoolean(recursive) !== true ? ["RecursiveLogging"] : [],
57144
+ ...globalEventsResetSkipped && wasRemoved("IncludeGlobalServiceEvents") && trailBoolean(globalEvents) !== false ? ["IncludeGlobalServiceEvents"] : []
57145
+ ];
57138
57146
  }
57139
57147
  function leftInPlaceWarning(logicalId, names, caller) {
57140
57148
  const one = names.length === 1;
@@ -57159,15 +57167,16 @@ async function create$6(logicalId, resourceType, properties, context) {
57159
57167
  if (!s3BucketName) throw new ProvisioningError(`S3BucketName is required for CloudTrail Trail ${logicalId}`, resourceType, logicalId);
57160
57168
  const trailName = properties["TrailName"];
57161
57169
  const s3KeyPrefix = emptyToUndefined(properties["S3KeyPrefix"]);
57162
- const isMultiRegionTrail = properties["IsMultiRegionTrail"];
57163
- const includeGlobalServiceEvents = properties["IncludeGlobalServiceEvents"];
57164
- const enableLogFileValidation = properties["EnableLogFileValidation"];
57165
- const isLogging = properties["IsLogging"];
57170
+ const isMultiRegionTrail = trailBoolean(properties["IsMultiRegionTrail"]);
57171
+ const includeGlobalServiceEvents = trailBoolean(properties["IncludeGlobalServiceEvents"]);
57172
+ const enableLogFileValidation = trailBoolean(properties["EnableLogFileValidation"]);
57173
+ const isLogging = trailBoolean(properties["IsLogging"]);
57166
57174
  const cloudWatchLogsLogGroupArn = emptyToUndefined(properties["CloudWatchLogsLogGroupArn"]);
57167
57175
  const cloudWatchLogsRoleArn = emptyToUndefined(properties["CloudWatchLogsRoleArn"]);
57168
57176
  const kmsKeyId = emptyToUndefined(properties["KMSKeyId"]);
57169
57177
  const snsTopicName = emptyToUndefined(properties["SnsTopicName"]);
57170
- const isOrganizationTrail = properties["IsOrganizationTrail"];
57178
+ const isOrganizationTrail = trailBoolean(properties["IsOrganizationTrail"]);
57179
+ const recursiveLogging = trailBoolean(properties["RecursiveLogging"]);
57171
57180
  const eventSelectors = properties["EventSelectors"];
57172
57181
  const insightSelectors = properties["InsightSelectors"];
57173
57182
  const advancedEventSelectors = properties["AdvancedEventSelectors"] == null ? void 0 : requireConfigArray(properties["AdvancedEventSelectors"], "AWS::CloudTrail::Trail AdvancedEventSelectors", replayWarn(this.logger, context));
@@ -57191,7 +57200,8 @@ async function create$6(logicalId, resourceType, properties, context) {
57191
57200
  CloudWatchLogsRoleArn: cloudWatchLogsRoleArn,
57192
57201
  KmsKeyId: kmsKeyId,
57193
57202
  SnsTopicName: snsTopicName,
57194
- IsOrganizationTrail: isOrganizationTrail
57203
+ IsOrganizationTrail: isOrganizationTrail,
57204
+ RecursiveLogging: recursiveLogging
57195
57205
  }));
57196
57206
  trailCreated = true;
57197
57207
  const trailArn = result.TrailARN;
@@ -57246,18 +57256,19 @@ async function update$6(logicalId, physicalId, resourceType, properties, previou
57246
57256
  refuseMalformedDesiredTags(properties["Tags"], resourceType, logicalId, physicalId);
57247
57257
  const s3BucketName = properties["S3BucketName"];
57248
57258
  const s3KeyPrefix = clearOnUpdateRemoval(emptyToUndefined(properties["S3KeyPrefix"]), emptyToUndefined(previousProperties["S3KeyPrefix"]), "");
57249
- const isMultiRegionTrail = properties["IsMultiRegionTrail"];
57259
+ const isMultiRegionTrail = trailBoolean(properties["IsMultiRegionTrail"]);
57250
57260
  const globalEventsResetSkipped = isMultiRegionTrail !== false;
57251
- const includeGlobalServiceEvents = globalEventsResetSkipped ? properties["IncludeGlobalServiceEvents"] : clearOnUpdateRemoval(properties["IncludeGlobalServiceEvents"], previousProperties["IncludeGlobalServiceEvents"], false);
57252
- const enableLogFileValidation = properties["EnableLogFileValidation"];
57253
- const isLogging = properties["IsLogging"];
57261
+ const includeGlobalServiceEvents = globalEventsResetSkipped ? trailBoolean(properties["IncludeGlobalServiceEvents"]) : clearOnUpdateRemoval(trailBoolean(properties["IncludeGlobalServiceEvents"]), trailBoolean(previousProperties["IncludeGlobalServiceEvents"]), false);
57262
+ const enableLogFileValidation = trailBoolean(properties["EnableLogFileValidation"]);
57263
+ const isLogging = trailBoolean(properties["IsLogging"]);
57254
57264
  const cwPair = resolveCloudWatchLogsPair(properties);
57255
57265
  if (cwPair.unusable !== void 0) this.logger.warn(`CloudTrail Trail ${logicalId}: ${cwPair.unusable}. The trail's existing CloudWatch Logs wiring is left untouched for this update.`);
57256
57266
  const cloudWatchLogsLogGroupArn = cwPair.logGroupArn;
57257
57267
  const cloudWatchLogsRoleArn = cwPair.roleArn;
57258
57268
  const kmsKeyId = clearOnUpdateRemoval(emptyToUndefined(properties["KMSKeyId"]), emptyToUndefined(previousProperties["KMSKeyId"]), "");
57259
57269
  const snsTopicName = clearOnUpdateRemoval(emptyToUndefined(properties["SnsTopicName"]), emptyToUndefined(previousProperties["SnsTopicName"]), "");
57260
- const isOrganizationTrail = properties["IsOrganizationTrail"];
57270
+ const isOrganizationTrail = trailBoolean(properties["IsOrganizationTrail"]);
57271
+ const recursiveLogging = trailBoolean(properties["RecursiveLogging"]);
57261
57272
  const appliedBeforeFailure = [];
57262
57273
  try {
57263
57274
  await this.getClient().send(new UpdateTrailCommand({
@@ -57271,7 +57282,8 @@ async function update$6(logicalId, physicalId, resourceType, properties, previou
57271
57282
  CloudWatchLogsRoleArn: cloudWatchLogsRoleArn,
57272
57283
  KmsKeyId: kmsKeyId,
57273
57284
  SnsTopicName: snsTopicName,
57274
- IsOrganizationTrail: isOrganizationTrail
57285
+ IsOrganizationTrail: isOrganizationTrail,
57286
+ RecursiveLogging: recursiveLogging
57275
57287
  }));
57276
57288
  const keptNames = removalsLeftInPlace(properties, previousProperties, context, globalEventsResetSkipped);
57277
57289
  if (keptNames.length > 0) this.logger.warn(leftInPlaceWarning(logicalId, keptNames, context?.replayingState ? "rollback" : "deploy"));
@@ -57339,7 +57351,7 @@ async function update$6(logicalId, physicalId, resourceType, properties, previou
57339
57351
  InsightSelectors: newInsightSelectors ?? []
57340
57352
  }));
57341
57353
  }
57342
- const oldIsLogging = previousProperties["IsLogging"];
57354
+ const oldIsLogging = trailBoolean(previousProperties["IsLogging"]);
57343
57355
  if (isLogging !== void 0 && isLogging !== oldIsLogging) {
57344
57356
  if (isLogging === false) {
57345
57357
  this.logger.debug(`Stopping logging for CloudTrail Trail ${logicalId}`);
@@ -57459,6 +57471,7 @@ async function readCurrentState$4(physicalId, _logicalId, _resourceType) {
57459
57471
  result["KMSKeyId"] = trail.KmsKeyId ?? "";
57460
57472
  result["SnsTopicName"] = trail.SnsTopicName ?? "";
57461
57473
  result["IsOrganizationTrail"] = trail.IsOrganizationTrail ?? false;
57474
+ result["RecursiveLogging"] = trail.RecursiveLogging ?? true;
57462
57475
  try {
57463
57476
  result["IsLogging"] = (await this.getClient().send(new GetTrailStatusCommand({ Name: physicalId }))).IsLogging ?? false;
57464
57477
  } catch {}
@@ -57531,7 +57544,8 @@ var CloudTrailProvider = class {
57531
57544
  "AggregationConfigurations",
57532
57545
  "Tags",
57533
57546
  "IncludeGlobalServiceEvents",
57534
- "IsOrganizationTrail"
57547
+ "IsOrganizationTrail",
57548
+ "RecursiveLogging"
57535
57549
  ])]]);
57536
57550
  handledProperties = /* @__PURE__ */ new Map([["AWS::CloudTrail::Trail", /* @__PURE__ */ new Set([
57537
57551
  "S3BucketName",
@@ -57550,7 +57564,8 @@ var CloudTrailProvider = class {
57550
57564
  "InsightSelectors",
57551
57565
  "IsOrganizationTrail",
57552
57566
  "AdvancedEventSelectors",
57553
- "AggregationConfigurations"
57567
+ "AggregationConfigurations",
57568
+ "RecursiveLogging"
57554
57569
  ])]]);
57555
57570
  getClient() {
57556
57571
  if (!this.client) {
@@ -60411,6 +60426,28 @@ function sdkReplication(cfn) {
60411
60426
  rules: list(cfn["Rules"])?.map((rule) => defined({ destinations: list(isCfnObject(rule) ? rule["Destinations"] : void 0)?.map((destination) => defined({ destinationTableBucketARN: isCfnObject(destination) ? destination["DestinationTableBucketARN"] : void 0 })) }))
60412
60427
  });
60413
60428
  }
60429
+ function refuseMalformedLogging(cfn, resourceType, logicalId, physicalId) {
60430
+ const keyFormat = isCfnObject(cfn["TargetObjectKeyFormat"]) ? cfn["TargetObjectKeyFormat"] : void 0;
60431
+ const partitioned = isCfnObject(keyFormat?.["PartitionedPrefix"]) ? keyFormat["PartitionedPrefix"] : void 0;
60432
+ const members = [
60433
+ ["TargetBucket", cfn["TargetBucket"]],
60434
+ ["TargetPrefix", cfn["TargetPrefix"]],
60435
+ ["TargetObjectKeyFormat.PartitionedPrefix.PartitionDateSource", partitioned?.["PartitionDateSource"]]
60436
+ ];
60437
+ for (const [member, value] of members) {
60438
+ if (typeof value === "string") continue;
60439
+ throw new ProvisioningError(`LoggingConfiguration.${member} for ${resourceType} ${logicalId} must be a string; refusing before any call`, resourceType, logicalId, physicalId);
60440
+ }
60441
+ }
60442
+ function sdkLogging(cfn) {
60443
+ const keyFormat = isCfnObject(cfn["TargetObjectKeyFormat"]) ? cfn["TargetObjectKeyFormat"] : void 0;
60444
+ const partitioned = isCfnObject(keyFormat?.["PartitionedPrefix"]) ? keyFormat["PartitionedPrefix"] : void 0;
60445
+ return { loggingEnabled: defined({
60446
+ targetBucket: cfn["TargetBucket"],
60447
+ targetPrefix: cfn["TargetPrefix"],
60448
+ targetObjectKeyFormat: keyFormat && defined({ partitionedPrefix: partitioned && defined({ partitionDateSource: partitioned["PartitionDateSource"] }) })
60449
+ }) };
60450
+ }
60414
60451
  function sdkUnreferencedFileRemoval(cfn) {
60415
60452
  const unreferencedDays = integer(cfn["UnreferencedDays"], "UnreferencedDays");
60416
60453
  const nonCurrentDays = integer(cfn["NoncurrentDays"], "NoncurrentDays");
@@ -60494,7 +60531,8 @@ const UPDATABLE_CONFIG_KEYS = {
60494
60531
  "StorageClassConfiguration",
60495
60532
  "MetricsConfiguration",
60496
60533
  "UnreferencedFileRemoval",
60497
- "ReplicationConfiguration"
60534
+ "ReplicationConfiguration",
60535
+ "LoggingConfiguration"
60498
60536
  ],
60499
60537
  "AWS::S3Tables::Table": ["Compaction", "SnapshotManagement"]
60500
60538
  };
@@ -60565,7 +60603,11 @@ async function update$2(logicalId, physicalId, resourceType, properties, previou
60565
60603
  const value = desiredObject(properties, key, resourceType, logicalId, physicalId);
60566
60604
  if (value !== void 0) refuseNonIntegers(() => convert(value), key, resourceType, logicalId, physicalId);
60567
60605
  }
60568
- if (resourceType === "AWS::S3Tables::TableBucket") metricsEnabled(recordedObject(properties, "MetricsConfiguration"), resourceType, logicalId, physicalId);
60606
+ if (resourceType === "AWS::S3Tables::TableBucket") {
60607
+ metricsEnabled(recordedObject(properties, "MetricsConfiguration"), resourceType, logicalId, physicalId);
60608
+ const logging = recordedObject(properties, "LoggingConfiguration");
60609
+ if (logging !== void 0) refuseMalformedLogging(logging, resourceType, logicalId, physicalId);
60610
+ }
60569
60611
  try {
60570
60612
  return await this.applyUpdate(logicalId, physicalId, resourceType, properties, previousProperties, context?.maskSecrets, context?.recordedAttributes, (key) => context?.markUnsettled?.(key));
60571
60613
  } catch (error) {
@@ -60625,6 +60667,8 @@ async function createTableBucket(logicalId, resourceType, properties, context) {
60625
60667
  const metricsOn = metricsEnabled(metrics, resourceType, logicalId);
60626
60668
  const unreferenced = desiredObject(properties, "UnreferencedFileRemoval", resourceType, logicalId);
60627
60669
  const replication = desiredObject(properties, "ReplicationConfiguration", resourceType, logicalId);
60670
+ const logging = desiredObject(properties, "LoggingConfiguration", resourceType, logicalId);
60671
+ if (logging !== void 0) refuseMalformedLogging(logging, resourceType, logicalId);
60628
60672
  const unreferencedValue = unreferenced && refuseNonIntegers(() => sdkUnreferencedFileRemoval(unreferenced), "UnreferencedFileRemoval", resourceType, logicalId);
60629
60673
  let createdArn;
60630
60674
  try {
@@ -60646,6 +60690,10 @@ async function createTableBucket(logicalId, resourceType, properties, context) {
60646
60690
  tableBucketARN,
60647
60691
  configuration: sdkReplication(replication)
60648
60692
  }));
60693
+ if (logging !== void 0) await this.getClient().send(new PutTableBucketLoggingCommand({
60694
+ tableBucketARN,
60695
+ tableBucketLoggingStatus: sdkLogging(logging)
60696
+ }));
60649
60697
  this.logger.debug(`Successfully created S3 Table Bucket ${logicalId}: ${tableBucketARN}`);
60650
60698
  return {
60651
60699
  physicalId: tableBucketARN,
@@ -60717,6 +60765,14 @@ async function applyTableBucketConfigUpdate(logicalId, tableBucketARN, resourceT
60717
60765
  await this.deleteBucketConfig(tableBucketARN, new DeleteTableBucketReplicationCommand({ tableBucketARN }));
60718
60766
  }
60719
60767
  }
60768
+ const [logging, loggingChanged] = changed("LoggingConfiguration");
60769
+ if (loggingChanged) {
60770
+ markUnsettled("LoggingConfiguration");
60771
+ await client.send(new PutTableBucketLoggingCommand({
60772
+ tableBucketARN,
60773
+ tableBucketLoggingStatus: logging !== void 0 ? sdkLogging(logging) : {}
60774
+ }));
60775
+ }
60720
60776
  }
60721
60777
  async function applyTableMaintenanceUpdate(logicalId, physicalId, resourceType, properties, previousProperties, markUnsettled) {
60722
60778
  const writes = [];
@@ -61111,6 +61167,16 @@ async function readTableBucketConfigs(tableBucketARN, strict = false) {
61111
61167
  Rules: (c.rules ?? []).map((rule) => ({ Destinations: (rule.destinations ?? []).map((d) => ({ DestinationTableBucketARN: d.destinationTableBucketARN })) }))
61112
61168
  });
61113
61169
  }, "absent", strict);
61170
+ await this.readConfig(out, "LoggingConfiguration", async () => {
61171
+ const l = (await client.send(new GetTableBucketLoggingCommand({ tableBucketARN }))).tableBucketLoggingStatus?.loggingEnabled;
61172
+ if (l === void 0) return void 0;
61173
+ const partitioned = l.targetObjectKeyFormat?.partitionedPrefix;
61174
+ return defined({
61175
+ TargetBucket: l.targetBucket,
61176
+ TargetPrefix: l.targetPrefix,
61177
+ TargetObjectKeyFormat: l.targetObjectKeyFormat && defined({ PartitionedPrefix: partitioned && defined({ PartitionDateSource: partitioned.partitionDateSource }) })
61178
+ });
61179
+ }, "absent", strict);
61114
61180
  return out;
61115
61181
  }
61116
61182
  async function readConfig(out, key, read, notFound, strict = false) {
@@ -61509,7 +61575,8 @@ var S3TablesProvider = class {
61509
61575
  "StorageClassConfiguration",
61510
61576
  "MetricsConfiguration",
61511
61577
  "UnreferencedFileRemoval",
61512
- "ReplicationConfiguration"
61578
+ "ReplicationConfiguration",
61579
+ "LoggingConfiguration"
61513
61580
  ])],
61514
61581
  ["AWS::S3Tables::Namespace", /* @__PURE__ */ new Set(["TableBucketARN", "Namespace"])],
61515
61582
  ["AWS::S3Tables::Table", /* @__PURE__ */ new Set([
@@ -61535,7 +61602,8 @@ var S3TablesProvider = class {
61535
61602
  ] : [];
61536
61603
  }
61537
61604
  getDriftAbsentMeansDefaultKeys(resourceType, properties) {
61538
- return resourceType === "AWS::S3Tables::TableBucket" && properties["ReplicationConfiguration"] === void 0 ? ["ReplicationConfiguration"] : [];
61605
+ if (resourceType !== "AWS::S3Tables::TableBucket") return [];
61606
+ return ["ReplicationConfiguration", "LoggingConfiguration"].filter((key) => properties[key] === void 0);
61539
61607
  }
61540
61608
  getClient() {
61541
61609
  return getClient.call(this);
@@ -62864,4 +62932,4 @@ var ACMCertificateProvider = class {
62864
62932
  };
62865
62933
 
62866
62934
  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 };
62867
- //# sourceMappingURL=provider-classes-DmCFkSIr.js.map
62935
+ //# sourceMappingURL=provider-classes-BJRQVOZ0.js.map