agent-claw: automated task changes
This commit is contained in:
35
cdk/node_modules/aws-cdk-lib/rosetta/aws_eks/cdk8schart.ts-fixture
generated
vendored
Normal file
35
cdk/node_modules/aws-cdk-lib/rosetta/aws_eks/cdk8schart.ts-fixture
generated
vendored
Normal 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
|
||||
}
|
||||
}
|
||||
17
cdk/node_modules/aws-cdk-lib/rosetta/aws_eks/default.ts-fixture
generated
vendored
Normal file
17
cdk/node_modules/aws-cdk-lib/rosetta/aws_eks/default.ts-fixture
generated
vendored
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user