Skip to content

Commit c2889d8

Browse files
authored
chore(neptune-alpha): add engine versions, instance types (#31363)
Closes #31244.
1 parent 6542207 commit c2889d8

File tree

2 files changed

+181
-2
lines changed

2 files changed

+181
-2
lines changed

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,14 @@ export class EngineVersion {
7676
* Neptune engine version 1.2.1.0
7777
*/
7878
public static readonly V1_2_1_0 = new EngineVersion('1.2.1.0');
79+
/**
80+
* Neptune engine version 1.2.1.1
81+
*/
82+
public static readonly V1_2_1_1 = new EngineVersion('1.2.1.1');
83+
/**
84+
* Neptune engine version 1.2.1.2
85+
*/
86+
public static readonly V1_2_1_2 = new EngineVersion('1.2.1.2');
7987
/**
8088
* Neptune engine version 1.3.0.0
8189
*/
@@ -84,6 +92,18 @@ export class EngineVersion {
8492
* Neptune engine version 1.3.1.0
8593
*/
8694
public static readonly V1_3_1_0 = new EngineVersion('1.3.1.0');
95+
/**
96+
* Neptune engine version 1.3.2.0
97+
*/
98+
public static readonly V1_3_2_0 = new EngineVersion('1.3.2.0');
99+
/**
100+
* Neptune engine version 1.3.2.1
101+
*/
102+
public static readonly V1_3_2_1 = new EngineVersion('1.3.2.1');
103+
/**
104+
* Neptune engine version 1.3.3.0
105+
*/
106+
public static readonly V1_3_3_0 = new EngineVersion('1.3.3.0');
87107

88108
/**
89109
* Constructor for specifying a custom engine version

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

Lines changed: 161 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,75 @@ import { IParameterGroup } from './parameter-group';
1212
* used for defining `DatabaseInstanceProps.instanceType`.
1313
*/
1414
export class InstanceType {
15+
/**
16+
* db.x2g.large
17+
*/
18+
public static readonly X2G_LARGE = InstanceType.of('db.x2g.large');
19+
20+
/**
21+
* db.x2g.xlarge
22+
*/
23+
public static readonly X2G_XLARGE = InstanceType.of('db.x2g.xlarge');
24+
25+
/**
26+
* db.x2g.2xlarge
27+
*/
28+
public static readonly X2G_2XLARGE = InstanceType.of('db.x2g.2xlarge');
29+
30+
/**
31+
* db.x2g.4xlarge
32+
*/
33+
public static readonly X2G_4XLARGE = InstanceType.of('db.x2g.4xlarge');
34+
35+
/**
36+
* db.x2g.8xlarge
37+
*/
38+
public static readonly X2G_8XLARGE = InstanceType.of('db.x2g.8xlarge');
39+
40+
/**
41+
* db.x2g.12xlarge
42+
*/
43+
public static readonly X2G_12XLARGE = InstanceType.of('db.x2g.12xlarge');
44+
45+
/**
46+
* db.x2g.16xlarge
47+
*/
48+
public static readonly X2G_16XLARGE = InstanceType.of('db.x2g.16xlarge');
49+
50+
/**
51+
* db.x2iedn.xlarge
52+
*/
53+
public static readonly X2IEDN_XLARGE = InstanceType.of('db.x2iedn.xlarge');
54+
55+
/**
56+
* db.x2iedn.2xlarge
57+
*/
58+
public static readonly X2IEDN_2XLARGE = InstanceType.of('db.x2iedn.2xlarge');
59+
60+
/**
61+
* db.x2iedn.4xlarge
62+
*/
63+
public static readonly X2IEDN_4XLARGE = InstanceType.of('db.x2iedn.4xlarge');
64+
65+
/**
66+
* db.x2iedn.8xlarge
67+
*/
68+
public static readonly X2IEDN_8XLARGE = InstanceType.of('db.x2iedn.8xlarge');
69+
70+
/**
71+
* db.x2iedn.16xlarge
72+
*/
73+
public static readonly X2IEDN_16XLARGE = InstanceType.of('db.x2iedn.16xlarge');
74+
75+
/**
76+
* db.x2iedn.24xlarge
77+
*/
78+
public static readonly X2IEDN_24XLARGE = InstanceType.of('db.x2iedn.24xlarge');
79+
80+
/**
81+
* db.x2iedn.32xlarge
82+
*/
83+
public static readonly X2IEDN_32XLARGE = InstanceType.of('db.x2iedn.32xlarge');
1584

1685
/**
1786
* db.r6g.large
@@ -49,9 +118,49 @@ export class InstanceType {
49118
public static readonly R6G_16XLARGE = InstanceType.of('db.r6g.16xlarge');
50119

51120
/**
52-
* db.t4g.medium
121+
* db.r6i.large
53122
*/
54-
public static readonly T4G_MEDIUM = InstanceType.of('db.t4g.medium');
123+
public static readonly R6I_LARGE = InstanceType.of('db.r6i.large');
124+
125+
/**
126+
* db.r6i.xlarge
127+
*/
128+
public static readonly R6I_XLARGE = InstanceType.of('db.r6i.xlarge');
129+
130+
/**
131+
* db.r6i.2xlarge
132+
*/
133+
public static readonly R6I_2XLARGE = InstanceType.of('db.r6i.2xlarge');
134+
135+
/**
136+
* db.r6i.4xlarge
137+
*/
138+
public static readonly R6I_4XLARGE = InstanceType.of('db.r6i.4xlarge');
139+
140+
/**
141+
* db.r6i.8xlarge
142+
*/
143+
public static readonly R6I_8XLARGE = InstanceType.of('db.r6i.8xlarge');
144+
145+
/**
146+
* db.r6i.12xlarge
147+
*/
148+
public static readonly R6I_12XLARGE = InstanceType.of('db.r6i.12xlarge');
149+
150+
/**
151+
* db.r6i.16xlarge
152+
*/
153+
public static readonly R6I_16XLARGE = InstanceType.of('db.r6i.16xlarge');
154+
155+
/**
156+
* db.r6i.24xlarge
157+
*/
158+
public static readonly R6I_24XLARGE = InstanceType.of('db.r6i.24xlarge');
159+
160+
/**
161+
* db.r6i.32xlarge
162+
*/
163+
public static readonly R6I_32XLARGE = InstanceType.of('db.r6i.32xlarge');
55164

56165
/**
57166
* db.r5.large
@@ -83,11 +192,56 @@ export class InstanceType {
83192
*/
84193
public static readonly R5_12XLARGE = InstanceType.of('db.r5.12xlarge');
85194

195+
/**
196+
* db.r5.16xlarge
197+
*/
198+
public static readonly R5_16XLARGE = InstanceType.of('db.r5.16xlarge');
199+
86200
/**
87201
* db.r5.24xlarge
88202
*/
89203
public static readonly R5_24XLARGE = InstanceType.of('db.r5.24xlarge');
90204

205+
/**
206+
* db.r5d.large
207+
*/
208+
public static readonly R5D_LARGE = InstanceType.of('db.r5d.large');
209+
210+
/**
211+
* db.r5d.xlarge
212+
*/
213+
public static readonly R5D_XLARGE = InstanceType.of('db.r5d.xlarge');
214+
215+
/**
216+
* db.r5d.2xlarge
217+
*/
218+
public static readonly R5D_2XLARGE = InstanceType.of('db.r5d.2xlarge');
219+
220+
/**
221+
* db.r5d.4xlarge
222+
*/
223+
public static readonly R5D_4XLARGE = InstanceType.of('db.r5d.4xlarge');
224+
225+
/**
226+
* db.r5d.8xlarge
227+
*/
228+
public static readonly R5D_8XLARGE = InstanceType.of('db.r5d.8xlarge');
229+
230+
/**
231+
* db.r5d.12xlarge
232+
*/
233+
public static readonly R5D_12XLARGE = InstanceType.of('db.r5d.12xlarge');
234+
235+
/**
236+
* db.r5d.16xlarge
237+
*/
238+
public static readonly R5D_16XLARGE = InstanceType.of('db.r5d.16xlarge');
239+
240+
/**
241+
* db.r5d.24xlarge
242+
*/
243+
public static readonly R5D_24XLARGE = InstanceType.of('db.r5d.24xlarge');
244+
91245
/**
92246
* db.r4.large
93247
*/
@@ -113,6 +267,11 @@ export class InstanceType {
113267
*/
114268
public static readonly R4_8XLARGE = InstanceType.of('db.r4.8xlarge');
115269

270+
/**
271+
* db.t4g.medium
272+
*/
273+
public static readonly T4G_MEDIUM = InstanceType.of('db.t4g.medium');
274+
116275
/**
117276
* db.t3.medium
118277
*/

0 commit comments

Comments
 (0)