import * as batch from "./batch.generated"; import * as iam from "../../aws-iam"; import * as cdk from "../../core/lib"; /** * Collection of grant methods for a IConsumableResourceRef */ export declare class ConsumableResourceGrants { /** * Creates grants for ConsumableResourceGrants */ static fromConsumableResource(resource: batch.IConsumableResourceRef): ConsumableResourceGrants; protected readonly resource: batch.IConsumableResourceRef; private constructor(); /** * Grant the given identity custom permissions */ actions(grantee: iam.IGrantable, actions: Array, options?: cdk.PermissionsOptions): iam.Grant; /** * Grant permission to describe this consumable resource and list the jobs that use it. * * This will grant the following permissions: * * - batch:DescribeConsumableResource * - batch:ListJobsByConsumableResource */ read(grantee: iam.IGrantable): iam.Grant; /** * Grant permission to change the total quantity of this consumable resource. * * This will grant the following permissions: * * - batch:UpdateConsumableResource */ update(grantee: iam.IGrantable): iam.Grant; }