/** * Transform an assumed role session ARN into a role ARN * * @param assumedRoleArn the assumed role session ARN * @returns the role ARN for the assumed role session */ export declare function convertAssumedRoleArnToRoleArn(assumedRoleArn: string): string; /** * Create an assumed role ARN from a role ARN and a session name * * @param roleArn the role ARN to create an assumed role ARN from * @param sessionName the session name to use * @returns the assumed role ARN */ export declare function convertRoleArnToAssumedRoleArn(roleArn: string, sessionName: string): string; /** * Tests if a principal string is an assumed role ARN * * @param principal the principal string to test * @returns true if the principal is an assumed role ARN, false otherwise */ export declare function isAssumedRoleArn(principal: string): boolean; /** * Test if a principal string is an IAM user ARN * * @param principal the principal string to test * @returns true if the principal is an IAM user ARN, false otherwise */ export declare function isIamUserArn(principal: string): boolean; /** * Test if a principal string is an IAM Role ARN * * @param principal the principal string to test * @returns true if the principal is an IAM role ARN, false otherwise */ export declare function isIamRoleArn(principal: string): boolean; /** * Test if a principal string is a federated user ARN * * @param principal the principal string to test * @returns true if the principal is a federated user ARN, false otherwise */ export declare function isFederatedUserArn(principal: string): boolean; /** * Test if a principal string is an ARN * * @param principal the principal string to test * @returns true if the principal is an ARN, false otherwise */ export declare function isArnPrincipal(principal: string): boolean; /** * Test if a principal string is a service principal * * @param principal the principal string to test * @returns true if the principal is a service principal, false otherwise */ export declare function isServicePrincipal(principal: string): boolean; //# sourceMappingURL=principals.d.ts.map