Files
2026-05-06 18:55:16 -05:00

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;