agent-claw: automated task changes

This commit is contained in:
daniel
2026-05-06 18:55:16 -05:00
parent 38905bb1e9
commit 732b00fb66
8494 changed files with 2018127 additions and 4 deletions

View File

@@ -0,0 +1,27 @@
import type * as ecs from './ecs.generated';
import type { IGrantable } from '../../aws-iam';
import { Grant } from '../../aws-iam';
/**
* Collection of grant methods for a IClusterRef
*/
export declare class ClusterGrants {
/**
* Creates grants for ClusterGrants
*/
static fromCluster(resource: ecs.IClusterRef): ClusterGrants;
protected readonly resource: ecs.IClusterRef;
private constructor();
/**
* Grants an ECS Task Protection API permission to the specified grantee.
* This method provides a streamlined way to assign the 'ecs:UpdateTaskProtection'
* permission, enabling the grantee to manage task protection in the ECS cluster.
*/
taskProtection(grantee: IGrantable): Grant;
/**
* Returns an ARN that represents all tasks within the cluster that match
* the task pattern specified. To represent all tasks, specify ``"*"``.
*
* @param keyPattern Task id pattern
*/
private arnForTasks;
}