@go-to-k/cdkd 0.229.4 → 0.229.6

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.
@@ -5597,20 +5597,34 @@ async function applyRoleArnIfSet(opts) {
5597
5597
  */
5598
5598
  const AWS_NO_VALUE = Symbol("AWS::NoValue");
5599
5599
  /**
5600
- * Resource types whose CloudFormation `Ref` returns the segment AFTER the pipe
5601
- * in cdkd's compound Cloud Control physical id `<parent>|<ref>` (rather than the
5602
- * whole physical id). These are Cloud-Control-provisioned types whose CC
5603
- * primaryIdentifier is compound `<parentId>|<ref>` while CFn's `Ref` returns
5604
- * only the trailing `<ref>` component:
5600
+ * Resource types whose CloudFormation `Ref` returns the segment AFTER the LAST
5601
+ * pipe in cdkd's compound Cloud Control physical id (rather than the whole
5602
+ * physical id). These are Cloud-Control-provisioned types whose CC
5603
+ * primaryIdentifier is compound (`<parentId>|<ref>`, or `<a>|<b>|<ref>` for
5604
+ * triple-segment AppConfig children) while CFn's `Ref` returns only the
5605
+ * trailing `<ref>` component:
5605
5606
  * - AWS::ApiGateway::Model `<restApiId>|<modelName>` -> model name
5606
5607
  * - AWS::ApiGateway::RequestValidator `<restApiId>|<validatorId>` -> validator id
5607
5608
  * - AWS::Cognito::UserPoolClient `<userPoolId>|<clientId>` -> client id
5608
- * See {@link IntrinsicFunctionResolver.resolveRefValue}.
5609
+ * - AWS::AppConfig::Environment `<appId>|<envId>` -> environment id
5610
+ * - AWS::AppConfig::ConfigurationProfile `<appId>|<profileId>` -> profile id
5611
+ * - AWS::AppConfig::HostedConfigurationVersion `<appId>|<profileId>|<ver>` -> version number
5612
+ * - AWS::AppConfig::Deployment `<appId>|<envId>|<deployNum>` -> deployment number
5613
+ *
5614
+ * The extraction takes the segment after the LAST pipe (see
5615
+ * {@link IntrinsicFunctionResolver.resolveRefValue}) so it is correct for both
5616
+ * 2-segment (`<parent>|<ref>`) and 3-segment AppConfig compounds; for the
5617
+ * 2-segment types it is identical to after-first-pipe. AppConfig::Application
5618
+ * and ::DeploymentStrategy are NOT here — their Ref is a simple, pipe-free id.
5609
5619
  */
5610
5620
  const REF_RETURNS_SEGMENT_AFTER_PIPE = new Set([
5611
5621
  "AWS::ApiGateway::Model",
5612
5622
  "AWS::ApiGateway::RequestValidator",
5613
- "AWS::Cognito::UserPoolClient"
5623
+ "AWS::Cognito::UserPoolClient",
5624
+ "AWS::AppConfig::Environment",
5625
+ "AWS::AppConfig::ConfigurationProfile",
5626
+ "AWS::AppConfig::HostedConfigurationVersion",
5627
+ "AWS::AppConfig::Deployment"
5614
5628
  ]);
5615
5629
  /**
5616
5630
  * Intrinsic-function keys the resolver knows how to handle.
@@ -5943,7 +5957,7 @@ var IntrinsicFunctionResolver = class {
5943
5957
  resolveRefValue(resource) {
5944
5958
  const physicalId = resource.physicalId;
5945
5959
  if (REF_RETURNS_SEGMENT_AFTER_PIPE.has(resource.resourceType)) {
5946
- const pipeIdx = physicalId.indexOf("|");
5960
+ const pipeIdx = physicalId.lastIndexOf("|");
5947
5961
  if (pipeIdx >= 0) return physicalId.substring(pipeIdx + 1);
5948
5962
  }
5949
5963
  return physicalId;
@@ -13495,4 +13509,4 @@ var DeployEngine = class {
13495
13509
 
13496
13510
  //#endregion
13497
13511
  export { findLargeInlineResources as $, shouldRetainResource as A, getDockerImageBySourceHash as B, applyRoleArnIfSet as C, LockManager as D, TemplateParser as E, formatDockerLoginError as F, resolveCaptureObservedState as G, getDefaultStateBucketName as H, getDockerCmd as I, resolveStateBucketWithDefaultAndSource as J, resolveSkipPrefix as K, runDockerForeground as L, stringifyValue as M, WorkGraph as N, S3StateBackend as O, buildDockerImage as P, MIGRATE_TMP_PREFIX as Q, runDockerStreaming as R, IntrinsicFunctionResolver as S, DagBuilder as T, getLegacyStateBucketName as U, Synthesizer as V, resolveApp as W, CFN_TEMPLATE_BODY_LIMIT as X, warnDeprecatedNoPrefixCliFlag as Y, CFN_TEMPLATE_URL_LIMIT as Z, IAMRoleProvider as _, withRetry as a, findActionableSilentDrops as b, computeImplicitDeleteEdges as c, bold as d, uploadCfnTemplate as et, cyan as f, yellow as g, red as h, withResourceDeadline as i, AssetPublisher as j, rebuildClientForBucketRegion as k, extractDeploymentEventError as l, green as m, DEFAULT_RESOURCE_WARN_AFTER_MS as n, clearBucketRegionCache as nt, isRetryableTransientError as o, gray as p, resolveStateBucketWithDefault as q, DeployEngine as r, resolveBucketRegion as rt, IMPLICIT_DELETE_DEPENDENCIES as s, DEFAULT_RESOURCE_TIMEOUT_MS as t, AssemblyReader as tt, formatResourceLine as u, collectInlinePolicyNamesManagedBySiblings as v, DiffCalculator as w, CloudControlProvider as x, ProviderRegistry as y, AssetManifestLoader as z };
13498
- //# sourceMappingURL=deploy-engine-Bqy4oNkR.js.map
13512
+ //# sourceMappingURL=deploy-engine-BIYc-qWo.js.map