19 lines
498 B
Plaintext
19 lines
498 B
Plaintext
import { Duration, Stack } from 'aws-cdk-lib';
|
|
import { Construct } from 'constructs';
|
|
import * as ec2 from 'aws-cdk-lib/aws-ec2';
|
|
import * as neptune from 'aws-cdk-lib/aws-neptune';
|
|
|
|
class Fixture extends Stack {
|
|
constructor(scope: Construct, id: string) {
|
|
super(scope, id);
|
|
|
|
const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });
|
|
|
|
const cluster = new neptune.DatabaseCluster(this, 'Database', {
|
|
vpc,
|
|
instanceType: neptune.InstanceType.R5_LARGE,
|
|
});
|
|
|
|
/// here
|
|
}
|
|
} |