agent-claw: automated task changes
This commit is contained in:
22
cdk/node_modules/aws-cdk-lib/aws-iam/lib/identity-base.d.ts
generated
vendored
Normal file
22
cdk/node_modules/aws-cdk-lib/aws-iam/lib/identity-base.d.ts
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import type { IManagedPolicy } from './managed-policy';
|
||||
import type { Policy } from './policy';
|
||||
import type { IPrincipal } from './principals';
|
||||
import type { IResource } from '../../core';
|
||||
/**
|
||||
* A construct that represents an IAM principal, such as a user, group or role.
|
||||
*
|
||||
* [awslint:interface-extends-ref]
|
||||
*/
|
||||
export interface IIdentity extends IPrincipal, IResource {
|
||||
/**
|
||||
* Attaches an inline policy to this principal.
|
||||
* This is the same as calling `policy.addToXxx(principal)`.
|
||||
* @param policy The policy resource to attach to this principal [disable-awslint:ref-via-interface]
|
||||
*/
|
||||
attachInlinePolicy(policy: Policy): void;
|
||||
/**
|
||||
* Attaches a managed policy to this principal.
|
||||
* @param policy The managed policy
|
||||
*/
|
||||
addManagedPolicy(policy: IManagedPolicy): void;
|
||||
}
|
||||
Reference in New Issue
Block a user