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,41 @@
/**
* Used to indicate that a particular construct has an resource environment
*/
export interface IEnvironmentAware {
/**
* The environment this resource belongs to.
*
* For resources that are created and managed in a Stack (those created by
* creating new class instances like `new Role()`, `new Bucket()`, etc.), this
* is always the same as the environment of the stack they belong to.
*
* For referenced resources (those obtained from referencing methods like
* `Role.fromRoleArn()`, `Bucket.fromBucketName()`, etc.), they might be
* different than the stack they were imported into.
*/
readonly env: ResourceEnvironment;
}
/**
* Represents the environment a given resource lives in.
*
* Used as the return value for the `IEnvironmentAware.env` property.
*/
export interface ResourceEnvironment {
/**
* The AWS Account ID that this resource belongs to.
*
* Since this can be a Token (for example, when the account is
* CloudFormation's `AWS::AccountId` intrinsic), make sure to use
* `Token.compareStrings()` instead of comparing the values with direct
* string equality.
*/
readonly account: string;
/**
* The AWS Region that this resource belongs to.
*
* Since this can be a Token (for example, when the region is CloudFormation's
* `AWS::Region` intrinsic), make sure to use `Token.compareStrings()` instead
* of comparing the values with direct string equality.
*/
readonly region: string;
}