UNPKG

@cloud-copilot/iam-simulate

Version:
43 lines 984 B
export interface RequestResource { /** * The raw string of the resource */ value(): string; /** * The partition of the ARN */ partition(): string; /** * The service of the ARN */ service(): string; /** * The region of the ARN */ region(): string; /** * The account of the ARN */ account(): string; /** * The resource of the ARN */ resource(): string; /** * The account ID of the resource, independent of what is in the ARN */ accountId(): string; } export declare class ResourceRequestImpl implements RequestResource { private readonly rawValue; private readonly accountIdString; constructor(rawValue: string, accountIdString: string); partition(): string; service(): string; region(): string; account(): string; resource(): string; value(): string; accountId(): string; } //# sourceMappingURL=requestResource.d.ts.map