UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

18 lines (17 loc) 604 B
import * as cloudfront from "./cloudfront.generated"; import * as iam from "../../aws-iam"; /** * Collection of grant methods for a IDistributionRef */ export declare class DistributionGrants { /** * Creates grants for DistributionGrants */ static fromDistribution(resource: cloudfront.IDistributionRef): DistributionGrants; protected readonly resource: cloudfront.IDistributionRef; private constructor(); /** * Grant to create invalidations for this bucket to an IAM principal (Role/Group/User). */ createInvalidation(grantee: iam.IGrantable): iam.Grant; }