Files
agent-claw/cdk/node_modules/aws-cdk-lib/aws-cloudfront/lib/cloudfront-grants.generated.d.ts
2026-05-06 18:55:16 -05:00

23 lines
817 B
TypeScript

import * as cloudfront from "./cloudfront.generated";
import * as iam from "../../aws-iam";
import * as cdk from "../../core/lib";
/**
* 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 the given identity custom permissions
*/
actions(grantee: iam.IGrantable, actions: Array<string>, options?: cdk.PermissionsOptions): iam.Grant;
/**
* Grant to create invalidations for this bucket to an IAM principal (Role/Group/User).
*/
createInvalidation(grantee: iam.IGrantable): iam.Grant;
}