UNPKG

442 BTypeScriptView Raw
1import * as iam from '@aws-cdk/aws-iam';
2/**
3 * A principal to allow access to a key if it's being used through another AWS service
4 */
5export declare class ViaServicePrincipal extends iam.PrincipalBase {
6 private readonly serviceName;
7 private readonly basePrincipal;
8 constructor(serviceName: string, basePrincipal?: iam.IPrincipal);
9 get policyFragment(): iam.PrincipalPolicyFragment;
10 dedupeString(): string | undefined;
11}