```new cdk.CfnOutput(stack, "core", { value: e...
# help
a
Copy code
new cdk.CfnOutput(stack, "core", {
    value: exporedValue,
  });
f
Copy code
new cdk.CfnOutput(stack, "core", {
  value: exportedValue,
  exportName: 'MyExport',
});
Alternatively inside a stack:
Copy code
this.addOutputs({
  core: { value: exportedValue, exportName: "MyExport" },
  ... // you can add other outputs here in one shot
});