UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

12 lines (11 loc) 439 B
import * as iam from '../../aws-iam'; /** * A principal to allow access to a key if it's being used through another AWS service */ export declare class ViaServicePrincipal extends iam.PrincipalBase { private readonly serviceName; private readonly basePrincipal; constructor(serviceName: string, basePrincipal?: iam.IPrincipal); get policyFragment(): iam.PrincipalPolicyFragment; dedupeString(): string | undefined; }