UNPKG

@cloud-copilot/iam-lens

Version:

Visibility in IAM in and across AWS accounts

22 lines 600 B
import { type ArnParts } from '@cloud-copilot/iam-utils'; export declare class Arn { private readonly arn; private readonly parts; constructor(arn: string); get service(): string; get partition(): string; get region(): string | undefined; get accountId(): string | undefined; get resourceType(): string | undefined; get resourcePath(): string | undefined; get resource(): string; get value(): string; /** * Check * * @param parts * @returns */ matches(parts: Partial<ArnParts>): boolean; } //# sourceMappingURL=arn.d.ts.map