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,61 @@
import * as sqs from "./sqs.generated";
import * as iam from "../../aws-iam";
import * as cdk from "../../core/lib";
/**
* Collection of grant methods for a IQueueRef
*/
export declare class QueueGrants {
/**
* Creates grants for QueueGrants
*/
static fromQueue(resource: sqs.IQueueRef): QueueGrants;
protected readonly resource: sqs.IQueueRef;
protected readonly encryptedResource?: iam.IEncryptedResource;
protected readonly policyResource?: iam.IResourceWithPolicyV2;
private constructor();
/**
* Grant the given identity custom permissions
*/
actions(grantee: iam.IGrantable, actions: Array<string>, options?: cdk.EncryptedPermissionsOptions): iam.Grant;
/**
* Grant permissions to consume messages from a queue
*
* This will grant the following permissions:
*
* - sqs:ChangeMessageVisibility
* - sqs:DeleteMessage
* - sqs:ReceiveMessage
* - sqs:GetQueueAttributes
* - sqs:GetQueueUrl
*
* If encryption is used, permission to use the key to decrypt the contents of the queue will also be granted to the same principal.
*
* This will grant the following KMS permissions:
*
* - kms:Decrypt
*/
consumeMessages(grantee: iam.IGrantable): iam.Grant;
/**
* Grant access to send messages to a queue to the given identity.
*
* This will grant the following permissions:
*
* - sqs:SendMessage
* - sqs:GetQueueAttributes
* - sqs:GetQueueUrl
*
* If encryption is used, permission to use the key to encrypt/decrypt the contents of the queue will also be granted to the same principal.
*
* This will grant the following KMS permissions:
*
* - kms:Decrypt
* - kms:Encrypt
* - kms:ReEncrypt*
* - kms:GenerateDataKey*
*/
sendMessages(grantee: iam.IGrantable): iam.Grant;
/**
* Grants purge permissions
*/
purge(grantee: iam.IGrantable): iam.Grant;
}