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,35 @@
import { Construct } from 'constructs';
import { CfnOutput, Fn, Size, Stack } from 'aws-cdk-lib';
import * as eks from 'aws-cdk-lib/aws-eks';
import * as s3 from 'aws-cdk-lib/aws-s3';
import * as cdk8s from 'cdk8s';
import * as kplus from 'cdk8s-plus-25';
interface MyChartProps {
readonly bucket: s3.Bucket;
}
class MyChart extends cdk8s.Chart {
constructor(scope: Construct, id: string, props: MyChartProps) {
super(scope, id);
new kplus.Pod(this, 'Pod', {
containers: [
new kplus.Container({
image: 'my-image',
envVariables: {
BUCKET_NAME: kplus.EnvValue.fromValue(props.bucket.bucketName),
},
}),
],
});
}
}
class Context extends Stack {
constructor(scope: Construct, id: string) {
super(scope, id);
/// here
}
}

View File

@@ -0,0 +1,17 @@
import { Construct } from 'constructs';
import { CfnOutput, Fn, Size, Stack } from 'aws-cdk-lib';
import * as eks from 'aws-cdk-lib/aws-eks';
import * as ec2 from 'aws-cdk-lib/aws-ec2';
import * as lambda from 'aws-cdk-lib/aws-lambda';
import * as iam from 'aws-cdk-lib/aws-iam';
import * as kms from 'aws-cdk-lib/aws-kms';
import * as s3 from 'aws-cdk-lib/aws-s3';
import * as autoscaling from 'aws-cdk-lib/aws-autoscaling';
class Context extends Stack {
constructor(scope: Construct, id: string) {
super(scope, id);
/// here
}
}