aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
23 lines (22 loc) • 821 B
TypeScript
import * as kinesisfirehose from "./kinesisfirehose.generated";
import * as iam from "../../aws-iam";
import * as cdk from "../../core/lib";
/**
* Collection of grant methods for a IDeliveryStreamRef
*/
export declare class DeliveryStreamGrants {
/**
* Creates grants for DeliveryStreamGrants
*/
static fromDeliveryStream(resource: kinesisfirehose.IDeliveryStreamRef): DeliveryStreamGrants;
protected readonly resource: kinesisfirehose.IDeliveryStreamRef;
private constructor();
/**
* Grant the given identity custom permissions
*/
actions(grantee: iam.IGrantable, actions: Array<string>, options?: cdk.PermissionsOptions): iam.Grant;
/**
* Grant the `grantee` identity permissions to perform `actions`.
*/
putRecords(grantee: iam.IGrantable): iam.Grant;
}