steep-toddler-94095
10/13/2021, 4:10 PMOutput<string>
it's a function that returns Output<string>
. you need to either call the function or change the class method to a get
. I.e. for the latter:
export class CustomResource extends ComponentResource {
public get resourceArn(): Output<string> {
return this.resource.arn;
}
}
brave-nightfall-19158
10/13/2021, 4:51 PM