@go-to-k/cdkd 0.185.0 → 0.186.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.
@@ -5894,6 +5894,19 @@ var IntrinsicFunctionResolver = class {
5894
5894
  case "Arn": return `arn:${partition}:ecs:${region}:${accountId}:cluster/${physicalId}`;
5895
5895
  default: return physicalId;
5896
5896
  }
5897
+ if (resourceType === "AWS::ECS::Service") switch (attributeName) {
5898
+ case "Name": {
5899
+ const pipeIdx = physicalId.indexOf("|");
5900
+ const left = pipeIdx >= 0 ? physicalId.substring(0, pipeIdx) : physicalId;
5901
+ if (left.includes(":service/")) {
5902
+ const lastSlash = left.lastIndexOf("/");
5903
+ return lastSlash >= 0 ? left.substring(lastSlash + 1) : physicalId;
5904
+ }
5905
+ if (pipeIdx >= 0) return physicalId.substring(pipeIdx + 1);
5906
+ return physicalId;
5907
+ }
5908
+ default: return physicalId;
5909
+ }
5897
5910
  if (resourceType === "AWS::EC2::SecurityGroup") switch (attributeName) {
5898
5911
  case "GroupId": return physicalId;
5899
5912
  case "VpcId": return;
@@ -8036,6 +8049,7 @@ const PROPERTY_COVERAGE_BY_TYPE = new Map([
8036
8049
  "CorsConfiguration",
8037
8050
  "Description",
8038
8051
  "DisableExecuteApiEndpoint",
8052
+ "IpAddressType",
8039
8053
  "Name",
8040
8054
  "ProtocolType",
8041
8055
  "RouteSelectionExpression",
@@ -8049,7 +8063,6 @@ const PROPERTY_COVERAGE_BY_TYPE = new Map([
8049
8063
  ["CredentialsArn", "Quick-create shortcut (paired with RouteKey/Target); cdkd models the integration as an explicit AWS::ApiGatewayV2::Integration resource instead."],
8050
8064
  ["DisableSchemaValidation", "Schema-validation toggle on CreateApi/UpdateApi that AWS docs scope to WebSocket APIs using AWS::ApiGatewayV2::Model — that resource type is not yet registered in cdkd, so the toggle has no effect to wire."],
8051
8065
  ["FailOnWarnings", "OpenAPI-import-only flag; meaningful only on the ImportApi code path."],
8052
- ["IpAddressType", "not yet implemented by cdkd"],
8053
8066
  ["RouteKey", "Quick-create shortcut: CreateApi inline-creates a default route+integration from RouteKey/Target/CredentialsArn. cdkd models routes/integrations as explicit AWS::ApiGatewayV2::Route/::Integration resources, so this convenience field is not wired."],
8054
8067
  ["Target", "Quick-create shortcut (paired with RouteKey/CredentialsArn); cdkd models the integration as an explicit AWS::ApiGatewayV2::Integration resource instead."]
8055
8068
  ])
@@ -12575,4 +12588,4 @@ var DeployEngine = class {
12575
12588
 
12576
12589
  //#endregion
12577
12590
  export { AssetError as $, S3StateBackend as A, resolveCaptureObservedState as B, assertRegionMatch as C, DagBuilder as D, DiffCalculator as E, buildDockerImage as F, CFN_TEMPLATE_BODY_LIMIT as G, resolveStateBucketWithDefault as H, Synthesizer as I, findLargeInlineResources as J, CFN_TEMPLATE_URL_LIMIT as K, getDefaultStateBucketName as L, AssetPublisher as M, stringifyValue as N, TemplateParser as O, WorkGraph as P, resolveBucketRegion as Q, getLegacyStateBucketName as R, CloudControlProvider as S, applyRoleArnIfSet as T, resolveStateBucketWithDefaultAndSource as U, resolveSkipPrefix as V, warnDeprecatedNoPrefixCliFlag as W, AssemblyReader as X, uploadCfnTemplate as Y, clearBucketRegionCache as Z, matchesCdkPath as _, formatError as _t, withRetry as a, LocalStartServiceError as at, ProviderRegistry as b, withErrorHandling as bt, bold as c, NestedStackChildDirectDestroyError as ct, green as d, ResourceTimeoutError as dt, CdkdError as et, red as f, ResourceUpdateNotSupportedError as ft, CDK_PATH_TAG as g, SynthesisError as gt, collectInlinePolicyNamesManagedBySiblings as h, StateError as ht, withResourceDeadline as i, LocalMigrateError as it, shouldRetainResource as j, LockManager as k, cyan as l, PartialFailureError as lt, IAMRoleProvider as m, StackTerminationProtectionError as mt, DEFAULT_RESOURCE_WARN_AFTER_MS as n, DependencyError as nt, IMPLICIT_DELETE_DEPENDENCIES as o, LockError as ot, yellow as p, StackHasActiveImportsError as pt, MIGRATE_TMP_PREFIX as q, DeployEngine as r, LocalInvokeBuildError as rt, formatResourceLine as s, MissingCdkCliError as st, DEFAULT_RESOURCE_TIMEOUT_MS as t, ConfigError as tt, gray as u, ProvisioningError as ut, normalizeAwsTagsToCfn as v, isCdkdError as vt, IntrinsicFunctionResolver as w, findActionableSilentDrops as x, resolveExplicitPhysicalId as y, normalizeAwsError as yt, resolveApp as z };
12578
- //# sourceMappingURL=deploy-engine-D2zFFHWI.js.map
12591
+ //# sourceMappingURL=deploy-engine-CHvez1B0.js.map