How does `aws.Provider` have a `region` output, bu...
# typescript
How does
have a
output, but TS throws:
Copy code
2339: Property 'region' does not exist on type 'Provider'.
Looking at
, the aws.Provider class doesn't expose any of its values as properties. It does register its inputs/outputs in the checkpoint file, which is why region appears there (region is defined in the ProviderArgs interface for input). Unfortunately, in order to actually access these values from external TS code, they would need to be declared in the class. Depending on what you are trying to do, I believe
can give you the region that is being used.