@go-to-k/cdkd 0.290.23 → 0.290.24
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-BOYln2Tw.js → asg-provider-CHeJf5zw.js} +2 -2
- package/dist/{asg-provider-BOYln2Tw.js.map → asg-provider-CHeJf5zw.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{deploy-engine-CBzq85r6.js → deploy-engine-BcNBidfy.js} +3 -3
- package/dist/{deploy-engine-CBzq85r6.js.map → deploy-engine-BcNBidfy.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/{program-BgbPkrcx.js → program-DaoJ7P4H.js} +90 -89
- package/dist/{program-BgbPkrcx.js.map → program-DaoJ7P4H.js.map} +1 -1
- package/dist/{version-DxUVmvM5.js → version-PsB8OjhM.js} +2 -2
- package/dist/{version-DxUVmvM5.js.map → version-PsB8OjhM.js.map} +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $i as isCdkdError, $r as Synthesizer, Ai as setAwsClients, Ci as AssemblyReader, Di as AwsClients, Ei as resolveBucketRegion, Fi as DependencyError, Fn as DagBuilder, Gi as ProvisioningError, In as TemplateParser, Mi as CdkdError, Ni as ConfigError, Oi as getAwsClients, Qi as formatError, Ti as clearBucketRegionCache, Vi as LockError, Xi as StateError, Zi as SynthesisError, ea as normalizeAwsError, er as LockManager, gt as CloudControlProvider, ji as AssetError, ki as resetAwsClients, ot as ProviderRegistry, r as DeployEngine, rt as IAMRoleProvider, sn as DiffCalculator, tr as S3StateBackend, vr as AssetPublisher } from "./deploy-engine-
|
|
1
|
+
import { $i as isCdkdError, $r as Synthesizer, Ai as setAwsClients, Ci as AssemblyReader, Di as AwsClients, Ei as resolveBucketRegion, Fi as DependencyError, Fn as DagBuilder, Gi as ProvisioningError, In as TemplateParser, Mi as CdkdError, Ni as ConfigError, Oi as getAwsClients, Qi as formatError, Ti as clearBucketRegionCache, Vi as LockError, Xi as StateError, Zi as SynthesisError, ea as normalizeAwsError, er as LockManager, gt as CloudControlProvider, ji as AssetError, ki as resetAwsClients, ot as ProviderRegistry, r as DeployEngine, rt as IAMRoleProvider, sn as DiffCalculator, tr as S3StateBackend, vr as AssetPublisher } from "./deploy-engine-BcNBidfy.js";
|
|
2
2
|
import { a as setLogger, n as getLogger, t as ConsoleLogger } from "./logger-CkHVgzLx.js";
|
|
3
3
|
|
|
4
4
|
export { AssemblyReader, AssetError, AssetPublisher, AwsClients, CdkdError, CloudControlProvider, ConfigError, ConsoleLogger, DagBuilder, DependencyError, DeployEngine, DiffCalculator, IAMRoleProvider, LockError, LockManager, ProviderRegistry, ProvisioningError, S3StateBackend, StateError, SynthesisError, Synthesizer, TemplateParser, clearBucketRegionCache, formatError, getAwsClients, getLogger, isCdkdError, normalizeAwsError, resetAwsClients, resolveBucketRegion, setAwsClients, setLogger };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as secretBearing, $n as scrubResourceRecord, $r as Synthesizer, $t as s3BucketArn, A as extractDeploymentEventError, Ai as setAwsClients, An as repairMalformedResourcesForReadOnly, Ar as isCrossRegionRedirect, At as isImpossibleEmptyStoredAttribute, B as toCfnInteger, Bi as LocalStartServiceError, Bn as TEMPLATE_SOURCED_RULES, Br as describeDockerExecFailure, Bt as coerceCfnBoolean, C as buildFinalSnapshotIdentifier, Ci as AssemblyReader, Cn as refuseMalformedOutputs, Cr as loadPublishableAssetManifest, Ct as isTerminationProtectionPropagationError, D as refusesFinalSnapshot, Di as AwsClients, Dn as refuseMalformedState, Dr as assertAssetBucketRegion, Dt as cfnRefValueFromPhysicalId, E as isFinalSnapshotError, Ei as resolveBucketRegion, En as refuseMalformedResourcesForDestroy, Er as BOOTSTRAP_MARKER_PREFIX, Et as carriesFetchableDynamicReference, F as isStatefulRecreateTargetSync, Fn as DagBuilder, Fr as buildDenyExternalAccessPolicy, Ft as isSettledInstanceState, G as gray, Gi as ProvisioningError, Gn as identityKeyFor, Gr as partitionSensitiveEnv, Gt as readConfigString, H as formatResourceLine, Hi as MalformedProducerRecordRefusalError, Hn as createSecretMasker, Hr as dockerSpawnEnvWithSensitive, Ht as configBooleanRefusal, I as renderStatefulReason, Ii as DeployCancelledError, In as TemplateParser, Ir as describeAwsFailure, It as WAFv2WebACLProvider, J as yellow, Ji as StackHasActiveImportsError, Jn as maskSecretsInError, Jr as runDockerStreaming, Jt as requireConfigObject, K as green, Ki as ResourceTimeoutError, Kn as isSingleDynamicReferenceToken, Kr as redactDockerArgvValues, Kt as replayWarn, L as WARM_THROUGHPUT_MEMBERS, Li as DynamicReferenceRegionAmbiguousError, Ln as STATE_SOURCED_BASELINE_RULES, Lr as safeStringify, Lt as normalizeAwsTagsToCfn, M as planOrphanAdoption, Mi as CdkdError, Mn as findSilentDropProperties, Mr as readBootstrapMarkerBody, Mt as isUnboundTemplateParameter, N as MULTI_REGION_RECREATE_BLOCKED_TYPES, Nn as describeTypeWithThrottleRetry, Nr as validateAssetBucketName, Nt as parameterTypeMayLoseSecretIdentity, O as unsupportedFinalSnapshotError, Oi as getAwsClients, On as repairMalformedOutputsForReadOnly, Or as ensureAssetStorage, Ot as coerceParameterTypedValue, P as isStatefulRecreateTargetForReplace, Pi as CrossAccountSecretRefusalError, Pn as withRetry, Pr as validateContainerRepoName, Pt as refStateLookupFromResource, Q as isExportAliasCollision, Qn as redactSecretsForState, Qr as getDockerImageBySourceHash, Qt as withSharedDrainBudget, R as coerceWarmThroughput$1, Ri as IntrinsicResolutionRefusalError, Rn as STATE_SOURCED_CROSS_GENERATION_RULES, Rr as buildDockerImage, Rt as resolveExplicitPhysicalId, S as PRE_DELETE_SNAPSHOT_TYPES, Si as derivePartitionAndUrlSuffix, Sn as refuseMalformedNestedChildOutputs, Sr as createAssetRedirectResolver, St as disableInstanceApiTermination, T as createPreDeleteFinalSnapshot, Tn as refuseMalformedResourcePropertiesForOrphan, Tr as AssetModeResolver, Tt as carriesDynamicReference, U as bold, Ui as NestedStackChildDirectDestroyError, Un as dynamicReferenceTokens, Ur as formatDockerLoginError, Ut as configIntegerRefusal, V as toFiniteNumber, Vn as carriesSecretMask, Vr as describeDockerFailure, Vt as coerceCfnInteger, W as cyan, Wi as PartialFailureError, Wn as errorCauseChain, Wr as getDockerCmd, Wt as configStringRefusal, X as collectPublishedOutputNames, Xn as recordMaskOnlyValue, Xr as stripControlChars, Xt as classifyReplaySecretRegion, Y as collectDeclaredOutputNames, Yi as StackTerminationProtectionError, Yn as maskSecretsInText, Yr as escapeRegExp, Yt as requireConfigString, Z as exportAliasCollisionScrubWarning, Zn as recoverMaskedOutput, Zr as AssetManifestLoader, Zt as producerRegionsFromState, _ as isSecretBearingReferenceString, _i as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, _n as malformedRenderedContainersWarning, _r as shouldRetainResource, _t as isWaitAbandonedError, a as DeploymentEventsStore, aa as isTransientServerError, ai as resolveCaptureObservedState, an as applyCallerIdentityCredentials, ar as forceQuitRecoveryClause, at as clearOnUpdateRemoval, b as bindingSkippedOutputs, bi as PARTITION_TABLE, bn as malformedStateRefusalMessage, br as WorkGraph, bt as deleteIndeterminateGuards, c as replayFailedOperations, ca as retryClassificationText, ci as resolveStateBucketWithDefaultAndSource, cn as INTRINSIC_KEYS, cr as CUSTOM_RESOURCE_RESPONSE_PREFIX, ct as createMaskedRetryLogger, d as updatePartialReason, di as warnDeprecatedNoPrefixCliFlag, dn as hasReadableResources, dr as hasReadableExportSet, dt as beginCommandInterruptScope, ea as normalizeAwsError, ei as synthesisStatusMessage, en as s3BucketDomainName, er as LockManager, et as secretBearingStateKeyWarning, f as withResourceDeadline, fi as CFN_TEMPLATE_BODY_LIMIT, fn as malformedExportNamesWarning, fr as importableOutputKeys, ft as endCommandInterruptScope, g as bagHoldsSecretExpression, gi as uploadCfnTemplate, gn as malformedOutputsWarning, gr as orphansCarriedFrom, gt as CloudControlProvider, h as computeImplicitDeleteEdges, hi as findLargeInlineResources, hn as malformedOutputsRefusalMessage, hr as orphansAfterRollback, ht as startInterruptWatch, i as DeploymentEventsReader, ia as isThrottlingError, ii as resolveAutoAssetStorage, in as applyRoleArnIfSet, ir as buildLockContentionMessage, it as collectInlinePolicyNamesManagedBySiblings, j as makeSiblingClaimReader, jn as findActionableSilentDrops, jr as parseBootstrapMarker, jt as isNamelessDynamicReferenceError, k as makeCanonicalizePropertiesFn, ki as resetAwsClients, kn as repairMalformedResourcePropertiesForReadOnly, kr as getBootstrapMarkerKey, kt as getAccountInfo, l as replayRollback, li as resolveUseCdkBootstrapAssets, ln as STATE_RESOURCES_MALFORMED, lr as DEFAULT_STATE_PREFIX, lt as maskDeep, m as IMPLICIT_DELETE_DEPENDENCIES, mi as MIGRATE_TMP_PREFIX, mn as malformedLocalOutputsWarning, mr as isReadableBag, mt as isInterruptedWaitError, n as DEFAULT_RESOURCE_WARN_AFTER_MS, na as isMarkedNonRetryable, ni as getLegacyStateBucketName, nn as s3BucketRegionalDomainName, nr as rebuildClientForBucketRegion, nt as getCurrentResourceSecrets, o as planFailedOps, oa as markNonRetryable, oi as resolveSkipPrefix, on as callerEnvCredentials, or as formatLockExpiry, ot as ProviderRegistry, p as maskingRetryLogger, pi as CFN_TEMPLATE_URL_LIMIT, pn as malformedExportSourceWarning, pr as importableOutputs, pt as interruptWatchListenerCount, q as red, qi as ResourceUpdateNotSupportedError, qn as markSameGenerationBag, qr as runDockerForeground, qt as requireConfigArray, r as DeployEngine, ra as isRetryableTransientError, ri as resolveApp, rn as s3BucketWebsiteUrl, rr as buildForceUnlockCommand, rt as IAMRoleProvider, s as planRollback, sa as markRedactedCause, si as resolveStateBucketWithDefault, sn as DiffCalculator, sr as shellQuote, st as wouldReturnToSdkProvider, t as DEFAULT_RESOURCE_TIMEOUT_MS, ta as withErrorHandling, ti as getDefaultStateBucketName, tn as s3BucketDualStackDomainName, tr as S3StateBackend, tt as secretSafeKeyDisplay, u as updatePartialMessage, ui as stateBucketExistenceConfirmed, un as hasReadableOutputs, ur as exportNamesCarriedFrom, ut as maskerOrIdentity, v as keptWholeReasonText, vi as decodeListingKey, vn as malformedResourcePropertiesWarning, vr as AssetPublisher, vt as slowCcOperationTimeoutMs, w as ccRoutedFinalSnapshotError, wi as processStackMessages, wn as refuseMalformedOutputsForDestroy, wr as rewriteTemplateAssetReferences, wt as IntrinsicFunctionResolver, x as ATOMIC_FINAL_SNAPSHOT_TYPES, xi as canonicalizeRegion, xn as producerRecordKey, xr as buildAssetRedirectMap, xt as deleteSkipReason, y as mergeNoChangeOutputs, yi as expectedOwnerParam, yn as malformedResourcesWarning, yr as stringifyValue, yt as UNSPECIFIED_SKIP_REASON, z as isWarmThroughputDecrease, zi as LocalInvokeBuildError$1, zn as STATE_SOURCED_READBACK_RULES, zr as describeDockerCapturedOutput, zt as assertRegionMatch } from "./deploy-engine-
|
|
1
|
+
import { $ as secretBearing, $n as scrubResourceRecord, $r as Synthesizer, $t as s3BucketArn, A as extractDeploymentEventError, Ai as setAwsClients, An as repairMalformedResourcesForReadOnly, Ar as isCrossRegionRedirect, At as isImpossibleEmptyStoredAttribute, B as toCfnInteger, Bi as LocalStartServiceError, Bn as TEMPLATE_SOURCED_RULES, Br as describeDockerExecFailure, Bt as coerceCfnBoolean, C as buildFinalSnapshotIdentifier, Ci as AssemblyReader, Cn as refuseMalformedOutputs, Cr as loadPublishableAssetManifest, Ct as isTerminationProtectionPropagationError, D as refusesFinalSnapshot, Di as AwsClients, Dn as refuseMalformedState, Dr as assertAssetBucketRegion, Dt as cfnRefValueFromPhysicalId, E as isFinalSnapshotError, Ei as resolveBucketRegion, En as refuseMalformedResourcesForDestroy, Er as BOOTSTRAP_MARKER_PREFIX, Et as carriesFetchableDynamicReference, F as isStatefulRecreateTargetSync, Fn as DagBuilder, Fr as buildDenyExternalAccessPolicy, Ft as isSettledInstanceState, G as gray, Gi as ProvisioningError, Gn as identityKeyFor, Gr as partitionSensitiveEnv, Gt as readConfigString, H as formatResourceLine, Hi as MalformedProducerRecordRefusalError, Hn as createSecretMasker, Hr as dockerSpawnEnvWithSensitive, Ht as configBooleanRefusal, I as renderStatefulReason, Ii as DeployCancelledError, In as TemplateParser, Ir as describeAwsFailure, It as WAFv2WebACLProvider, J as yellow, Ji as StackHasActiveImportsError, Jn as maskSecretsInError, Jr as runDockerStreaming, Jt as requireConfigObject, K as green, Ki as ResourceTimeoutError, Kn as isSingleDynamicReferenceToken, Kr as redactDockerArgvValues, Kt as replayWarn, L as WARM_THROUGHPUT_MEMBERS, Li as DynamicReferenceRegionAmbiguousError, Ln as STATE_SOURCED_BASELINE_RULES, Lr as safeStringify, Lt as normalizeAwsTagsToCfn, M as planOrphanAdoption, Mi as CdkdError, Mn as findSilentDropProperties, Mr as readBootstrapMarkerBody, Mt as isUnboundTemplateParameter, N as MULTI_REGION_RECREATE_BLOCKED_TYPES, Nn as describeTypeWithThrottleRetry, Nr as validateAssetBucketName, Nt as parameterTypeMayLoseSecretIdentity, O as unsupportedFinalSnapshotError, Oi as getAwsClients, On as repairMalformedOutputsForReadOnly, Or as ensureAssetStorage, Ot as coerceParameterTypedValue, P as isStatefulRecreateTargetForReplace, Pi as CrossAccountSecretRefusalError, Pn as withRetry, Pr as validateContainerRepoName, Pt as refStateLookupFromResource, Q as isExportAliasCollision, Qn as redactSecretsForState, Qr as getDockerImageBySourceHash, Qt as withSharedDrainBudget, R as coerceWarmThroughput$1, Ri as IntrinsicResolutionRefusalError, Rn as STATE_SOURCED_CROSS_GENERATION_RULES, Rr as buildDockerImage, Rt as resolveExplicitPhysicalId, S as PRE_DELETE_SNAPSHOT_TYPES, Si as derivePartitionAndUrlSuffix, Sn as refuseMalformedNestedChildOutputs, Sr as createAssetRedirectResolver, St as disableInstanceApiTermination, T as createPreDeleteFinalSnapshot, Tn as refuseMalformedResourcePropertiesForOrphan, Tr as AssetModeResolver, Tt as carriesDynamicReference, U as bold, Ui as NestedStackChildDirectDestroyError, Un as dynamicReferenceTokens, Ur as formatDockerLoginError, Ut as configIntegerRefusal, V as toFiniteNumber, Vn as carriesSecretMask, Vr as describeDockerFailure, Vt as coerceCfnInteger, W as cyan, Wi as PartialFailureError, Wn as errorCauseChain, Wr as getDockerCmd, Wt as configStringRefusal, X as collectPublishedOutputNames, Xn as recordMaskOnlyValue, Xr as stripControlChars, Xt as classifyReplaySecretRegion, Y as collectDeclaredOutputNames, Yi as StackTerminationProtectionError, Yn as maskSecretsInText, Yr as escapeRegExp, Yt as requireConfigString, Z as exportAliasCollisionScrubWarning, Zn as recoverMaskedOutput, Zr as AssetManifestLoader, Zt as producerRegionsFromState, _ as isSecretBearingReferenceString, _i as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, _n as malformedRenderedContainersWarning, _r as shouldRetainResource, _t as isWaitAbandonedError, a as DeploymentEventsStore, aa as isTransientServerError, ai as resolveCaptureObservedState, an as applyCallerIdentityCredentials, ar as forceQuitRecoveryClause, at as clearOnUpdateRemoval, b as bindingSkippedOutputs, bi as PARTITION_TABLE, bn as malformedStateRefusalMessage, br as WorkGraph, bt as deleteIndeterminateGuards, c as replayFailedOperations, ca as retryClassificationText, ci as resolveStateBucketWithDefaultAndSource, cn as INTRINSIC_KEYS, cr as CUSTOM_RESOURCE_RESPONSE_PREFIX, ct as createMaskedRetryLogger, d as updatePartialReason, di as warnDeprecatedNoPrefixCliFlag, dn as hasReadableResources, dr as hasReadableExportSet, dt as beginCommandInterruptScope, ea as normalizeAwsError, ei as synthesisStatusMessage, en as s3BucketDomainName, er as LockManager, et as secretBearingStateKeyWarning, f as withResourceDeadline, fi as CFN_TEMPLATE_BODY_LIMIT, fn as malformedExportNamesWarning, fr as importableOutputKeys, ft as endCommandInterruptScope, g as bagHoldsSecretExpression, gi as uploadCfnTemplate, gn as malformedOutputsWarning, gr as orphansCarriedFrom, gt as CloudControlProvider, h as computeImplicitDeleteEdges, hi as findLargeInlineResources, hn as malformedOutputsRefusalMessage, hr as orphansAfterRollback, ht as startInterruptWatch, i as DeploymentEventsReader, ia as isThrottlingError, ii as resolveAutoAssetStorage, in as applyRoleArnIfSet, ir as buildLockContentionMessage, it as collectInlinePolicyNamesManagedBySiblings, j as makeSiblingClaimReader, jn as findActionableSilentDrops, jr as parseBootstrapMarker, jt as isNamelessDynamicReferenceError, k as makeCanonicalizePropertiesFn, ki as resetAwsClients, kn as repairMalformedResourcePropertiesForReadOnly, kr as getBootstrapMarkerKey, kt as getAccountInfo, l as replayRollback, li as resolveUseCdkBootstrapAssets, ln as STATE_RESOURCES_MALFORMED, lr as DEFAULT_STATE_PREFIX, lt as maskDeep, m as IMPLICIT_DELETE_DEPENDENCIES, mi as MIGRATE_TMP_PREFIX, mn as malformedLocalOutputsWarning, mr as isReadableBag, mt as isInterruptedWaitError, n as DEFAULT_RESOURCE_WARN_AFTER_MS, na as isMarkedNonRetryable, ni as getLegacyStateBucketName, nn as s3BucketRegionalDomainName, nr as rebuildClientForBucketRegion, nt as getCurrentResourceSecrets, o as planFailedOps, oa as markNonRetryable, oi as resolveSkipPrefix, on as callerEnvCredentials, or as formatLockExpiry, ot as ProviderRegistry, p as maskingRetryLogger, pi as CFN_TEMPLATE_URL_LIMIT, pn as malformedExportSourceWarning, pr as importableOutputs, pt as interruptWatchListenerCount, q as red, qi as ResourceUpdateNotSupportedError, qn as markSameGenerationBag, qr as runDockerForeground, qt as requireConfigArray, r as DeployEngine, ra as isRetryableTransientError, ri as resolveApp, rn as s3BucketWebsiteUrl, rr as buildForceUnlockCommand, rt as IAMRoleProvider, s as planRollback, sa as markRedactedCause, si as resolveStateBucketWithDefault, sn as DiffCalculator, sr as shellQuote, st as wouldReturnToSdkProvider, t as DEFAULT_RESOURCE_TIMEOUT_MS, ta as withErrorHandling, ti as getDefaultStateBucketName, tn as s3BucketDualStackDomainName, tr as S3StateBackend, tt as secretSafeKeyDisplay, u as updatePartialMessage, ui as stateBucketExistenceConfirmed, un as hasReadableOutputs, ur as exportNamesCarriedFrom, ut as maskerOrIdentity, v as keptWholeReasonText, vi as decodeListingKey, vn as malformedResourcePropertiesWarning, vr as AssetPublisher, vt as slowCcOperationTimeoutMs, w as ccRoutedFinalSnapshotError, wi as processStackMessages, wn as refuseMalformedOutputsForDestroy, wr as rewriteTemplateAssetReferences, wt as IntrinsicFunctionResolver, x as ATOMIC_FINAL_SNAPSHOT_TYPES, xi as canonicalizeRegion, xn as producerRecordKey, xr as buildAssetRedirectMap, xt as deleteSkipReason, y as mergeNoChangeOutputs, yi as expectedOwnerParam, yn as malformedResourcesWarning, yr as stringifyValue, yt as UNSPECIFIED_SKIP_REASON, z as isWarmThroughputDecrease, zi as LocalInvokeBuildError$1, zn as STATE_SOURCED_READBACK_RULES, zr as describeDockerCapturedOutput, zt as assertRegionMatch } from "./deploy-engine-BcNBidfy.js";
|
|
2
2
|
import { C as displaySafe, S as displayIdent, _ as withSkipPrefix, b as STACK_REF_MAX_CODE_POINTS, c as PATTERN_B_NAME_OPTIONS, f as explicitNamePropertyFor, h as getCurrentStackName, i as reserveStdoutForPayload, l as PATTERN_B_NAME_PROPERTIES, m as generateResourceNameWithFallback, n as getLogger, o as runStackBuffered, p as generateResourceName, s as getLiveRenderer, u as PATTERN_B_RESOURCE_TYPES, v as withStackName, w as truncateCodePoints, x as UNRENDERABLE } from "./logger-CkHVgzLx.js";
|
|
3
3
|
import { n as awsClientDefaults } from "./aws-client-defaults-BoIxyCir.js";
|
|
4
|
-
import { t as getCdkdVersion } from "./version-
|
|
5
|
-
import { a as renderDisableCommand, i as protectedReplacementAdvice, r as UNNAMEABLE_ID_CLAUSE, t as ASGProvider } from "./asg-provider-
|
|
4
|
+
import { t as getCdkdVersion } from "./version-PsB8OjhM.js";
|
|
5
|
+
import { a as renderDisableCommand, i as protectedReplacementAdvice, r as UNNAMEABLE_ID_CLAUSE, t as ASGProvider } from "./asg-provider-CHeJf5zw.js";
|
|
6
6
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
7
7
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
8
8
|
import { CopyObjectCommand, CreateBucketCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketEncryptionCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketOwnershipControlsCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketNotificationConfigurationCommand, GetBucketOwnershipControlsCommand, GetBucketPolicyCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetBucketVersioningCommand, GetBucketWebsiteCommand, GetObjectCommand, GetObjectLockConfigurationCommand, GetPublicAccessBlockCommand, HeadBucketCommand, ListBucketAnalyticsConfigurationsCommand, ListBucketIntelligentTieringConfigurationsCommand, ListBucketInventoryConfigurationsCommand, ListBucketMetricsConfigurationsCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, NotFound, PutBucketAccelerateConfigurationCommand, PutBucketAnalyticsConfigurationCommand, PutBucketCorsCommand, PutBucketEncryptionCommand, PutBucketIntelligentTieringConfigurationCommand, PutBucketInventoryConfigurationCommand, PutBucketLifecycleConfigurationCommand, PutBucketLoggingCommand, PutBucketMetricsConfigurationCommand, PutBucketNotificationConfigurationCommand, PutBucketOwnershipControlsCommand, PutBucketPolicyCommand, PutBucketReplicationCommand, PutBucketTaggingCommand, PutBucketVersioningCommand, PutBucketWebsiteCommand, PutObjectCommand, PutObjectLockConfigurationCommand, PutPublicAccessBlockCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
|
|
@@ -12974,6 +12974,88 @@ function mapDeliveryStatusLogging(attrs, stateCaseMap = /* @__PURE__ */ new Map(
|
|
|
12974
12974
|
return result;
|
|
12975
12975
|
}
|
|
12976
12976
|
|
|
12977
|
+
//#endregion
|
|
12978
|
+
//#region src/provisioning/attribute-map.ts
|
|
12979
|
+
/**
|
|
12980
|
+
* The ONE spelling of the attribute-map rule an SDK provider's `create()` /
|
|
12981
|
+
* `update()` / `import()` result follows (issue #3077, closing the `?? ''`
|
|
12982
|
+
* shape `docs/provider-development.md` forbids under "Never store an
|
|
12983
|
+
* empty-string placeholder"):
|
|
12984
|
+
*
|
|
12985
|
+
* an attribute cdkd could not read back is ABSENT from the map — never
|
|
12986
|
+
* recorded as the empty string, and never as a present-but-`undefined` key.
|
|
12987
|
+
*
|
|
12988
|
+
* The consumers of `ResourceState.attributes` all key off exactly that
|
|
12989
|
+
* distinction, and a sentinel puts every one of them on the wrong branch:
|
|
12990
|
+
*
|
|
12991
|
+
* - the deploy engine persists the map as-is, so `''` becomes the recorded
|
|
12992
|
+
* value of a field AWS never assigned;
|
|
12993
|
+
* - the intrinsic resolver serves a stored attribute whenever it is not
|
|
12994
|
+
* `undefined`, so `''` shadows `constructAttribute` forever — the
|
|
12995
|
+
* `AWS::EC2::Instance` IP / DNS / AZ arm re-describes the instance from
|
|
12996
|
+
* AWS only on a MISS, the `Arn` arms of the RDS family rebuild the ARN
|
|
12997
|
+
* only on a MISS;
|
|
12998
|
+
* - the Outputs export pass publishes whatever the resolver returned, so a
|
|
12999
|
+
* stored `''` is exported to every `Fn::ImportValue` consumer.
|
|
13000
|
+
*
|
|
13001
|
+
* It exists as a MODULE rather than a per-provider idiom because the rule was
|
|
13002
|
+
* prose and 96 attribute-position `?? ''` / `|| ''` / bare `''` sites across
|
|
13003
|
+
* 18 providers shipped anyway (measured 2026-09-14 with the TypeScript-compiler
|
|
13004
|
+
* walk that is now `tests/unit/provisioning/attribute-map.test.ts`). A helper
|
|
13005
|
+
* that DROPS the key is the one form a provider cannot spell wrong by habit.
|
|
13006
|
+
*
|
|
13007
|
+
* Two values are treated as "not read back":
|
|
13008
|
+
*
|
|
13009
|
+
* - `undefined`: the SDK's spelling of an unassigned optional member.
|
|
13010
|
+
* - `null`: no AWS SDK v3 read-back reports a scalar attribute as `null`, and
|
|
13011
|
+
* a stored `null` takes the resolver's "not `undefined`" hit branch exactly
|
|
13012
|
+
* like `''` does.
|
|
13013
|
+
*
|
|
13014
|
+
* Every other value is kept verbatim — INCLUDING an empty string AWS itself
|
|
13015
|
+
* reported (`false`, `0`, an empty array and an object likewise). The helper
|
|
13016
|
+
* stops cdkd MANUFACTURING `''` for a field it never read; a `''` that came
|
|
13017
|
+
* off the wire is a known value with a meaning the provider owns. The EC2
|
|
13018
|
+
* Instance provider is where that distinction is load-bearing: a `running`
|
|
13019
|
+
* instance with no public address is described with `PublicDnsName: ''` and
|
|
13020
|
+
* no `PublicIpAddress`, and CloudFormation answers `''` for both — a KNOWN
|
|
13021
|
+
* empty, recorded as such so a reference does not degrade to the instance id
|
|
13022
|
+
* on every resolution — while the same `''` on a `pending` instance means
|
|
13023
|
+
* "not yet", which that provider maps to `undefined` BEFORE calling this
|
|
13024
|
+
* helper (its `describedInstanceAttributes`). A caller that knows a `''`
|
|
13025
|
+
* means "unknown" is the one that must say so; this helper cannot tell.
|
|
13026
|
+
*
|
|
13027
|
+
* Deliberately NOT a general "compact this record" utility: it is scoped to
|
|
13028
|
+
* attribute maps. A property bag keeps its `undefined`-valued keys out by other
|
|
13029
|
+
* means (`.claude/rules/provider-property-fidelity.md`, "Remove the key rather
|
|
13030
|
+
* than setting it to `undefined`").
|
|
13031
|
+
*
|
|
13032
|
+
* A LEAF module (imports nothing) so every provider can take it without adding
|
|
13033
|
+
* an edge to the provider import ring.
|
|
13034
|
+
*/
|
|
13035
|
+
/**
|
|
13036
|
+
* Build an attribute map from read-back values, omitting every key whose value
|
|
13037
|
+
* is `undefined` or `null`.
|
|
13038
|
+
*/
|
|
13039
|
+
function definedAttributes(entries) {
|
|
13040
|
+
const out = {};
|
|
13041
|
+
for (const [key, value] of Object.entries(entries)) {
|
|
13042
|
+
if (value === void 0 || value === null) continue;
|
|
13043
|
+
out[key] = value;
|
|
13044
|
+
}
|
|
13045
|
+
return out;
|
|
13046
|
+
}
|
|
13047
|
+
/**
|
|
13048
|
+
* `String(value)` for a numeric read-back whose CloudFormation attribute is a
|
|
13049
|
+
* string (`Endpoint.Port`), or `undefined` when the field is unassigned — so
|
|
13050
|
+
* `definedAttributes` drops the key instead of recording the literal
|
|
13051
|
+
* `'undefined'`, which is what `String(described?.Port ?? '')` yields once its
|
|
13052
|
+
* `?? ''` is merely deleted.
|
|
13053
|
+
*/
|
|
13054
|
+
function stringifyIfAssigned(value) {
|
|
13055
|
+
if (value === void 0 || value === null) return void 0;
|
|
13056
|
+
return String(value);
|
|
13057
|
+
}
|
|
13058
|
+
|
|
12977
13059
|
//#endregion
|
|
12978
13060
|
//#region src/provisioning/providers/sns-subscription-provider.ts
|
|
12979
13061
|
/**
|
|
@@ -13046,17 +13128,18 @@ var SNSSubscriptionProvider = class {
|
|
|
13046
13128
|
if (replayPolicy !== void 0) attributes["ReplayPolicy"] = typeof replayPolicy === "string" ? replayPolicy : JSON.stringify(replayPolicy);
|
|
13047
13129
|
const subscriptionRoleArn = properties["SubscriptionRoleArn"];
|
|
13048
13130
|
if (subscriptionRoleArn !== void 0) attributes["SubscriptionRoleArn"] = stringifyValue(subscriptionRoleArn);
|
|
13049
|
-
const
|
|
13131
|
+
const response = await this.snsClient.send(new SubscribeCommand({
|
|
13050
13132
|
TopicArn: topicArn,
|
|
13051
13133
|
Protocol: protocol,
|
|
13052
13134
|
Endpoint: endpoint,
|
|
13053
13135
|
ReturnSubscriptionArn: true,
|
|
13054
13136
|
...Object.keys(attributes).length > 0 && { Attributes: attributes }
|
|
13055
|
-
}))
|
|
13137
|
+
}));
|
|
13138
|
+
const subscriptionArn = response.SubscriptionArn || `${topicArn}:${logicalId}`;
|
|
13056
13139
|
this.logger.debug(`Successfully created SNS subscription ${logicalId}: ${subscriptionArn}`);
|
|
13057
13140
|
return {
|
|
13058
13141
|
physicalId: subscriptionArn,
|
|
13059
|
-
attributes: {}
|
|
13142
|
+
attributes: definedAttributes({ Arn: response.SubscriptionArn?.startsWith("arn:") ? response.SubscriptionArn : void 0 })
|
|
13060
13143
|
};
|
|
13061
13144
|
} catch (error) {
|
|
13062
13145
|
const cause = error instanceof Error ? error : void 0;
|
|
@@ -26468,88 +26551,6 @@ var EventBridgeRuleProvider = class {
|
|
|
26468
26551
|
}
|
|
26469
26552
|
};
|
|
26470
26553
|
|
|
26471
|
-
//#endregion
|
|
26472
|
-
//#region src/provisioning/attribute-map.ts
|
|
26473
|
-
/**
|
|
26474
|
-
* The ONE spelling of the attribute-map rule an SDK provider's `create()` /
|
|
26475
|
-
* `update()` / `import()` result follows (issue #3077, closing the `?? ''`
|
|
26476
|
-
* shape `docs/provider-development.md` forbids under "Never store an
|
|
26477
|
-
* empty-string placeholder"):
|
|
26478
|
-
*
|
|
26479
|
-
* an attribute cdkd could not read back is ABSENT from the map — never
|
|
26480
|
-
* recorded as the empty string, and never as a present-but-`undefined` key.
|
|
26481
|
-
*
|
|
26482
|
-
* The consumers of `ResourceState.attributes` all key off exactly that
|
|
26483
|
-
* distinction, and a sentinel puts every one of them on the wrong branch:
|
|
26484
|
-
*
|
|
26485
|
-
* - the deploy engine persists the map as-is, so `''` becomes the recorded
|
|
26486
|
-
* value of a field AWS never assigned;
|
|
26487
|
-
* - the intrinsic resolver serves a stored attribute whenever it is not
|
|
26488
|
-
* `undefined`, so `''` shadows `constructAttribute` forever — the
|
|
26489
|
-
* `AWS::EC2::Instance` IP / DNS / AZ arm re-describes the instance from
|
|
26490
|
-
* AWS only on a MISS, the `Arn` arms of the RDS family rebuild the ARN
|
|
26491
|
-
* only on a MISS;
|
|
26492
|
-
* - the Outputs export pass publishes whatever the resolver returned, so a
|
|
26493
|
-
* stored `''` is exported to every `Fn::ImportValue` consumer.
|
|
26494
|
-
*
|
|
26495
|
-
* It exists as a MODULE rather than a per-provider idiom because the rule was
|
|
26496
|
-
* prose and 96 attribute-position `?? ''` / `|| ''` / bare `''` sites across
|
|
26497
|
-
* 18 providers shipped anyway (measured 2026-09-14 with the TypeScript-compiler
|
|
26498
|
-
* walk that is now `tests/unit/provisioning/attribute-map.test.ts`). A helper
|
|
26499
|
-
* that DROPS the key is the one form a provider cannot spell wrong by habit.
|
|
26500
|
-
*
|
|
26501
|
-
* Two values are treated as "not read back":
|
|
26502
|
-
*
|
|
26503
|
-
* - `undefined`: the SDK's spelling of an unassigned optional member.
|
|
26504
|
-
* - `null`: no AWS SDK v3 read-back reports a scalar attribute as `null`, and
|
|
26505
|
-
* a stored `null` takes the resolver's "not `undefined`" hit branch exactly
|
|
26506
|
-
* like `''` does.
|
|
26507
|
-
*
|
|
26508
|
-
* Every other value is kept verbatim — INCLUDING an empty string AWS itself
|
|
26509
|
-
* reported (`false`, `0`, an empty array and an object likewise). The helper
|
|
26510
|
-
* stops cdkd MANUFACTURING `''` for a field it never read; a `''` that came
|
|
26511
|
-
* off the wire is a known value with a meaning the provider owns. The EC2
|
|
26512
|
-
* Instance provider is where that distinction is load-bearing: a `running`
|
|
26513
|
-
* instance with no public address is described with `PublicDnsName: ''` and
|
|
26514
|
-
* no `PublicIpAddress`, and CloudFormation answers `''` for both — a KNOWN
|
|
26515
|
-
* empty, recorded as such so a reference does not degrade to the instance id
|
|
26516
|
-
* on every resolution — while the same `''` on a `pending` instance means
|
|
26517
|
-
* "not yet", which that provider maps to `undefined` BEFORE calling this
|
|
26518
|
-
* helper (its `describedInstanceAttributes`). A caller that knows a `''`
|
|
26519
|
-
* means "unknown" is the one that must say so; this helper cannot tell.
|
|
26520
|
-
*
|
|
26521
|
-
* Deliberately NOT a general "compact this record" utility: it is scoped to
|
|
26522
|
-
* attribute maps. A property bag keeps its `undefined`-valued keys out by other
|
|
26523
|
-
* means (`.claude/rules/provider-property-fidelity.md`, "Remove the key rather
|
|
26524
|
-
* than setting it to `undefined`").
|
|
26525
|
-
*
|
|
26526
|
-
* A LEAF module (imports nothing) so every provider can take it without adding
|
|
26527
|
-
* an edge to the provider import ring.
|
|
26528
|
-
*/
|
|
26529
|
-
/**
|
|
26530
|
-
* Build an attribute map from read-back values, omitting every key whose value
|
|
26531
|
-
* is `undefined` or `null`.
|
|
26532
|
-
*/
|
|
26533
|
-
function definedAttributes(entries) {
|
|
26534
|
-
const out = {};
|
|
26535
|
-
for (const [key, value] of Object.entries(entries)) {
|
|
26536
|
-
if (value === void 0 || value === null) continue;
|
|
26537
|
-
out[key] = value;
|
|
26538
|
-
}
|
|
26539
|
-
return out;
|
|
26540
|
-
}
|
|
26541
|
-
/**
|
|
26542
|
-
* `String(value)` for a numeric read-back whose CloudFormation attribute is a
|
|
26543
|
-
* string (`Endpoint.Port`), or `undefined` when the field is unassigned — so
|
|
26544
|
-
* `definedAttributes` drops the key instead of recording the literal
|
|
26545
|
-
* `'undefined'`, which is what `String(described?.Port ?? '')` yields once its
|
|
26546
|
-
* `?? ''` is merely deleted.
|
|
26547
|
-
*/
|
|
26548
|
-
function stringifyIfAssigned(value) {
|
|
26549
|
-
if (value === void 0 || value === null) return void 0;
|
|
26550
|
-
return String(value);
|
|
26551
|
-
}
|
|
26552
|
-
|
|
26553
26554
|
//#endregion
|
|
26554
26555
|
//#region src/provisioning/providers/eventbridge-bus-provider.ts
|
|
26555
26556
|
/**
|
|
@@ -94394,4 +94395,4 @@ function buildProgram() {
|
|
|
94394
94395
|
|
|
94395
94396
|
//#endregion
|
|
94396
94397
|
export { buildProgram };
|
|
94397
|
-
//# sourceMappingURL=program-
|
|
94398
|
+
//# sourceMappingURL=program-DaoJ7P4H.js.map
|