Skip to content

Commit 83e669d

Browse files
authoredNov 30, 2021
feat(neptune): add engine version 1.1.0.0 and instance types t4g, r6g (#17669)
Add new instance types general-purpose T4g and memory-optimized R6g (see [announcement](https://aws.amazon.com/about-aws/whats-new/2021/11/aws-graviton2-based-instances-amazon-neptune/)). The specific instance types were copied from the [pricing page](https://aws.amazon.com/de/neptune/pricing/). Add new Neptune engine version 1.1.0.0 which was part of the announcement, too. Deployment tested successfully in region us-east-1: ```ts new neptune.DatabaseCluster(this, 'Database', { vpc, instanceType: neptune.InstanceType.T4G_MEDIUM, engineVersion: neptune.EngineVersion.V1_1_0_0, }); new neptune.DatabaseCluster(this, 'Database2', { vpc, instanceType: neptune.InstanceType.R6G_LARGE, engineVersion: neptune.EngineVersion.V1_1_0_0, }); ``` ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent d911c58 commit 83e669d

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed
 

‎packages/@aws-cdk/aws-neptune/lib/cluster.ts

+4
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ export class EngineVersion {
5050
* Neptune engine version 1.0.5.0
5151
*/
5252
public static readonly V1_0_5_0 = new EngineVersion('1.0.5.0');
53+
/**
54+
* Neptune engine version 1.1.0.0
55+
*/
56+
public static readonly V1_1_0_0 = new EngineVersion('1.1.0.0');
5357

5458
/**
5559
* Constructor for specifying a custom engine version

‎packages/@aws-cdk/aws-neptune/lib/instance.ts

+40
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,46 @@ import { IParameterGroup } from './parameter-group';
1212
*/
1313
export class InstanceType {
1414

15+
/**
16+
* db.r6g.large
17+
*/
18+
public static readonly R6G_LARGE = InstanceType.of('db.r6g.large');
19+
20+
/**
21+
* db.r6g.xlarge
22+
*/
23+
public static readonly R6G_XLARGE = InstanceType.of('db.r6g.xlarge');
24+
25+
/**
26+
* db.r6g.2xlarge
27+
*/
28+
public static readonly R6G_2XLARGE = InstanceType.of('db.r6g.2xlarge');
29+
30+
/**
31+
* db.r6g.4xlarge
32+
*/
33+
public static readonly R6G_4XLARGE = InstanceType.of('db.r6g.4xlarge');
34+
35+
/**
36+
* db.r6g.8xlarge
37+
*/
38+
public static readonly R6G_8XLARGE = InstanceType.of('db.r6g.8xlarge');
39+
40+
/**
41+
* db.r6g.12xlarge
42+
*/
43+
public static readonly R6G_12XLARGE = InstanceType.of('db.r6g.12xlarge');
44+
45+
/**
46+
* db.r6g.16xlarge
47+
*/
48+
public static readonly R6G_16XLARGE = InstanceType.of('db.r6g.16xlarge');
49+
50+
/**
51+
* db.t4g.medium
52+
*/
53+
public static readonly T4G_MEDIUM = InstanceType.of('db.t4g.medium');
54+
1555
/**
1656
* db.r5.large
1757
*/

0 commit comments

Comments
 (0)
Please sign in to comment.