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,53 @@
import type { Construct } from 'constructs';
import type { CommonTaskDefinitionAttributes, CommonTaskDefinitionProps, InferenceAccelerator, ITaskDefinition } from '../base/task-definition';
import { NetworkMode, TaskDefinition } from '../base/task-definition';
/**
* The properties for a task definition run on an External cluster.
*/
export interface ExternalTaskDefinitionProps extends CommonTaskDefinitionProps {
/**
* The networking mode to use for the containers in the task.
*
* With ECS Anywhere, supported modes are bridge, host and none.
*
* @default NetworkMode.BRIDGE
*/
readonly networkMode?: NetworkMode;
}
/**
* The interface of a task definition run on an External cluster.
*/
export interface IExternalTaskDefinition extends ITaskDefinition {
}
/**
* Attributes used to import an existing External task definition
*/
export interface ExternalTaskDefinitionAttributes extends CommonTaskDefinitionAttributes {
}
/**
* The details of a task definition run on an External cluster.
*
* @resource AWS::ECS::TaskDefinition
*/
export declare class ExternalTaskDefinition extends TaskDefinition implements IExternalTaskDefinition {
/**
* Uniquely identifies this class.
*/
static readonly PROPERTY_INJECTION_ID: string;
/**
* Imports a task definition from the specified task definition ARN.
*/
static fromEc2TaskDefinitionArn(scope: Construct, id: string, externalTaskDefinitionArn: string): IExternalTaskDefinition;
/**
* Imports an existing External task definition from its attributes
*/
static fromExternalTaskDefinitionAttributes(scope: Construct, id: string, attrs: ExternalTaskDefinitionAttributes): IExternalTaskDefinition;
/**
* Constructs a new instance of the ExternalTaskDefinition class.
*/
constructor(scope: Construct, id: string, props?: ExternalTaskDefinitionProps);
/**
* Overridden method to throw error as interface accelerators are not supported for external tasks
*/
addInferenceAccelerator(_inferenceAccelerator: InferenceAccelerator): void;
}