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

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,27 @@
import { Construct } from "constructs";
import * as lambda from "../../../aws-lambda";
export declare class AwsCustomResourceSingletonFunction extends lambda.SingletonFunction {
constructor(scope: Construct, id: string, props: AwsCustomResourceSingletonFunctionProps);
}
/**
* Initialization properties for AwsCustomResourceSingletonFunction
*/
export interface AwsCustomResourceSingletonFunctionProps extends lambda.FunctionOptions {
/**
* A unique identifier to identify this Lambda.
*
* The identifier should be unique across all custom resource providers.
* We recommend generating a UUID per provider.
*/
readonly uuid: string;
/**
* A descriptive name for the purpose of this Lambda.
*
* If the Lambda does not have a physical name, this string will be
* reflected in its generated name. The combination of lambdaPurpose
* and uuid must be unique.
*
* @default SingletonLambda
*/
readonly lambdaPurpose?: string;
}

View File

@@ -0,0 +1 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AwsCustomResourceSingletonFunction=void 0;const path=require("path"),lambda=require("../../../aws-lambda");class AwsCustomResourceSingletonFunction extends lambda.SingletonFunction{constructor(scope,id,props){super(scope,id,{...props,code:lambda.Code.fromAsset(path.join(__dirname,"aws-custom-resource-handler")),handler:"index.handler",runtime:lambda.determineLatestNodeRuntime(scope)}),this.addMetadata("aws:cdk:is-custom-resource-handler-singleton",!0),this.addMetadata("aws:cdk:is-custom-resource-handler-runtime-family",this.runtime.family),props?.logGroup&&this.logGroup.node.addMetadata("aws:cdk:is-custom-resource-handler-logGroup",!0),props?.logRetention&&this.lambdaFunction._logRetention?.node.addMetadata("aws:cdk:is-custom-resource-handler-logRetention",!0)}}exports.AwsCustomResourceSingletonFunction=AwsCustomResourceSingletonFunction;