arn icon indicating copy to clipboard operation
arn copied to clipboard

ARN classes should understand whether they have region or account values

Open benkehoe opened this issue 5 years ago • 1 comments

Some ARNs, like for S3 buckets, have neither region nor account in them. Others, like IAM resources, don't have region but do have account. The ARN subclasses should be aware of this and, I would say, both refuse to create incorrect ARNs, and throw errors when parsing incorrect ARNs.

benkehoe avatar Aug 21 '20 01:08 benkehoe

Apologies for the delayed response, I didn't have notifications set up for this repo.

Thanks for the suggestion, it does sound like a good idea, I'll dig deeper into it.

francoiscampbell avatar Sep 04 '20 18:09 francoiscampbell