agent-claw: automated task changes
This commit is contained in:
22
cdk/node_modules/aws-cdk-lib/aws-iam/lib/role-grants.d.ts
generated
vendored
Normal file
22
cdk/node_modules/aws-cdk-lib/aws-iam/lib/role-grants.d.ts
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import { Grant } from './grant';
|
||||
import type { IRoleRef } from './iam.generated';
|
||||
import type { IPrincipal } from './principals';
|
||||
/**
|
||||
* Collection of grant methods for a IRoleRef
|
||||
*/
|
||||
export declare class RoleGrants {
|
||||
private readonly role;
|
||||
/**
|
||||
* Creates grants for IRoleRef
|
||||
*/
|
||||
static fromRole(role: IRoleRef): RoleGrants;
|
||||
private constructor();
|
||||
/**
|
||||
* Grant permissions to the given principal to assume this role.
|
||||
*/
|
||||
assumeRole(identity: IPrincipal): Grant;
|
||||
/**
|
||||
* Grant permissions to the given principal to pass this role.
|
||||
*/
|
||||
passRole(identity: IPrincipal): Grant;
|
||||
}
|
||||
Reference in New Issue
Block a user