full-dress-1002605/29/2019, 8:17 PM
which internally creates some
. I would like to expose some outputs of the CF Stacks as outputs of my
. I tried doing this in my ComponentResource ctor:
Typescript complains that
this.computeGroupName = computeStack.outputs.apply(outputs => outputs["CodeDeployDeploymentGroup"]);
. I'm guessing this is because a CF Stack does not cast the values from its
Type 'Output<any>' is not assignable to type 'Output<string>'.
to any type.
is defined as
. Is there a way to make TypeScript happy?
tall-librarian-4937405/29/2019, 8:20 PM
should satisfy the compiler
this.computeGroupName = computeStack.outputs.apply(outputs => <string>outputs["CodeDeployDeploymentGroup"]);
full-dress-1002605/29/2019, 8:21 PM