Настройка реагирует со стеком без сервера

COPY// Deploy our React app
const site = new ReactStaticSite(stack, "ReactSite", {
  path: "frontend",
  environment: {
    REACT_APP_API_URL: api.url,
  },
});

// Show the URLs in the output
stack.addOutputs({
  SiteUrl: site.url,
  ApiEndpoint: api.url,
});
Kenny