UNPKG

@cloud-copilot/iam-simulate

Version:
17 lines 822 B
import { ResourceAnalysis } from '../evaluate.js'; import { RequestResource } from '../request/requestResource.js'; import { DefaultServiceAuthorizer } from './DefaultServiceAuthorizer.js'; /** * The default authorizer for services. */ export declare class KmsServiceAuthorizer extends DefaultServiceAuthorizer { /** * Determines if the service trusts the principal's Account's IAM policies * * @param sameAccount - If the principal and resource are in the same account * @param resourceAnalysis - The resource policy analysis * @returns true if the service trusts the principal's account IAM policies */ serviceTrustsPrincipalAccount(sameAccount: boolean, resourceAnalysis: ResourceAnalysis, resource: RequestResource): boolean; } //# sourceMappingURL=KmsServiceAuthorizer.d.ts.map