agent-claw: automated task changes
This commit is contained in:
13
cdk/node_modules/aws-cdk-lib/rosetta/aws_efs/default.ts-fixture
generated
vendored
Normal file
13
cdk/node_modules/aws-cdk-lib/rosetta/aws_efs/default.ts-fixture
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// Fixture with packages imported, but nothing else
|
||||
import { Duration, RemovalPolicy, Stack } from 'aws-cdk-lib';
|
||||
import { Construct } from 'constructs';
|
||||
import * as efs from 'aws-cdk-lib/aws-efs';
|
||||
import * as ec2 from 'aws-cdk-lib/aws-ec2';
|
||||
|
||||
class Fixture extends Stack {
|
||||
constructor(scope: Construct, id: string) {
|
||||
super(scope, id);
|
||||
|
||||
/// here
|
||||
}
|
||||
}
|
||||
31
cdk/node_modules/aws-cdk-lib/rosetta/aws_efs/with-filesystem-instance.ts-fixture
generated
vendored
Normal file
31
cdk/node_modules/aws-cdk-lib/rosetta/aws_efs/with-filesystem-instance.ts-fixture
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
// Fixture with file system and an EC2 instance created in a VPC
|
||||
import { Stack } from 'aws-cdk-lib';
|
||||
import { Construct } from 'constructs';
|
||||
import * as efs from 'aws-cdk-lib/aws-efs';
|
||||
import * as ec2 from 'aws-cdk-lib/aws-ec2';
|
||||
import * as iam from 'aws-cdk-lib/aws-iam';
|
||||
|
||||
class Fixture extends Stack {
|
||||
constructor(scope: Construct, id: string) {
|
||||
super(scope, id);
|
||||
|
||||
const vpc = new ec2.Vpc(this, 'VPC');
|
||||
|
||||
const fileSystem = new efs.FileSystem(this, 'FileSystem', {
|
||||
vpc,
|
||||
});
|
||||
|
||||
const instance = new ec2.Instance(this, 'instance', {
|
||||
instanceType: ec2.InstanceType.of(ec2.InstanceClass.T2, ec2.InstanceSize.LARGE),
|
||||
machineImage: new ec2.AmazonLinuxImage({
|
||||
generation: ec2.AmazonLinuxGeneration.AMAZON_LINUX_2
|
||||
}),
|
||||
vpc,
|
||||
vpcSubnets: {
|
||||
subnetType: ec2.SubnetType.PUBLIC,
|
||||
}
|
||||
});
|
||||
|
||||
/// here
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user