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,45 @@
/**
* Specifies the termination criteria to apply before Amazon EC2 Auto Scaling
* chooses an instance for termination.
*/
export declare enum TerminationPolicy {
/**
* Terminate instances in the Auto Scaling group to align the remaining
* instances to the allocation strategy for the type of instance that is
* terminating (either a Spot Instance or an On-Demand Instance).
*/
ALLOCATION_STRATEGY = "AllocationStrategy",
/**
* Terminate instances that are closest to the next billing hour.
*/
CLOSEST_TO_NEXT_INSTANCE_HOUR = "ClosestToNextInstanceHour",
/**
* Terminate instances according to the default termination policy.
*/
DEFAULT = "Default",
/**
* Terminate the newest instance in the group.
*/
NEWEST_INSTANCE = "NewestInstance",
/**
* Terminate the oldest instance in the group.
*/
OLDEST_INSTANCE = "OldestInstance",
/**
* Terminate instances that have the oldest launch configuration.
*/
OLDEST_LAUNCH_CONFIGURATION = "OldestLaunchConfiguration",
/**
* Terminate instances that have the oldest launch template.
*/
OLDEST_LAUNCH_TEMPLATE = "OldestLaunchTemplate",
/**
* Terminate instances using custom termination policy with lambda. If this is
* specified, you must also supply a value of lambda arn in the terminationPolicyCustomLambdaFunctionArn property.
*
* If there are multiple termination policies specified, the custom termination policy with lambda
* must be specified first in the order.
* @see https://docs.aws.amazon.com/autoscaling/ec2/userguide/lambda-custom-termination-policy.html#lambda-custom-termination-policy-limitations
*/
CUSTOM_LAMBDA_FUNCTION = "CustomLambdaFunction"
}