12 lines
442 B
TypeScript
12 lines
442 B
TypeScript
import type { IDistribution } from '..';
|
|
import * as iam from '../../../aws-iam';
|
|
/**
|
|
* Format distribution ARN from stack and distribution ID.
|
|
*/
|
|
export declare function formatDistributionArn(dist: IDistribution): string;
|
|
/**
|
|
* Adds an IAM policy statement associated with this distribution to an IAM
|
|
* principal's policy.
|
|
*/
|
|
export declare function grant(dist: IDistribution, grantee: iam.IGrantable, ...actions: string[]): iam.Grant;
|