Skip to content

Commit

Permalink
chore(neptune-alpha): add engine versions, instance types
Browse files Browse the repository at this point in the history
  • Loading branch information
msambol committed Sep 8, 2024
1 parent 4fa7716 commit c458368
Show file tree
Hide file tree
Showing 2 changed files with 181 additions and 2 deletions.
20 changes: 20 additions & 0 deletions packages/@aws-cdk/aws-neptune-alpha/lib/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ export class EngineVersion {
* Neptune engine version 1.2.1.0
*/
public static readonly V1_2_1_0 = new EngineVersion('1.2.1.0');
/**
* Neptune engine version 1.2.1.1
*/
public static readonly V1_2_1_1 = new EngineVersion('1.2.1.1');
/**
* Neptune engine version 1.2.1.2
*/
public static readonly V1_2_1_2 = new EngineVersion('1.2.1.2');
/**
* Neptune engine version 1.3.0.0
*/
Expand All @@ -84,6 +92,18 @@ export class EngineVersion {
* Neptune engine version 1.3.1.0
*/
public static readonly V1_3_1_0 = new EngineVersion('1.3.1.0');
/**
* Neptune engine version 1.3.2.0
*/
public static readonly V1_3_2_0 = new EngineVersion('1.3.2.0');
/**
* Neptune engine version 1.3.2.1
*/
public static readonly V1_3_2_1 = new EngineVersion('1.3.2.1');
/**
* Neptune engine version 1.3.3.0
*/
public static readonly V1_3_3_0 = new EngineVersion('1.3.3.0');

/**
* Constructor for specifying a custom engine version
Expand Down
163 changes: 161 additions & 2 deletions packages/@aws-cdk/aws-neptune-alpha/lib/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,75 @@ import { IParameterGroup } from './parameter-group';
* used for defining `DatabaseInstanceProps.instanceType`.
*/
export class InstanceType {
/**
* db.x2g.large
*/
public static readonly X2G_LARGE = InstanceType.of('db.x2g.large');

/**
* db.x2g.xlarge
*/
public static readonly X2G_XLARGE = InstanceType.of('db.x2g.xlarge');

/**
* db.x2g.2xlarge
*/
public static readonly X2G_2XLARGE = InstanceType.of('db.x2g.2xlarge');

/**
* db.x2g.4xlarge
*/
public static readonly X2G_4XLARGE = InstanceType.of('db.x2g.4xlarge');

/**
* db.x2g.8xlarge
*/
public static readonly X2G_8XLARGE = InstanceType.of('db.x2g.8xlarge');

/**
* db.x2g.12xlarge
*/
public static readonly X2G_12XLARGE = InstanceType.of('db.x2g.12xlarge');

/**
* db.x2g.16xlarge
*/
public static readonly X2G_16XLARGE = InstanceType.of('db.x2g.16xlarge');

/**
* db.x2iedn.xlarge
*/
public static readonly X2IEDN_XLARGE = InstanceType.of('db.x2iedn.xlarge');

/**
* db.x2iedn.2xlarge
*/
public static readonly X2IEDN_2XLARGE = InstanceType.of('db.x2iedn.2xlarge');

/**
* db.x2iedn.4xlarge
*/
public static readonly X2IEDN_4XLARGE = InstanceType.of('db.x2iedn.4xlarge');

/**
* db.x2iedn.8xlarge
*/
public static readonly X2IEDN_8XLARGE = InstanceType.of('db.x2iedn.8xlarge');

/**
* db.x2iedn.16xlarge
*/
public static readonly X2IEDN_16XLARGE = InstanceType.of('db.x2iedn.16xlarge');

/**
* db.x2iedn.24xlarge
*/
public static readonly X2IEDN_24XLARGE = InstanceType.of('db.x2iedn.24xlarge');

/**
* db.x2iedn.32xlarge
*/
public static readonly X2IEDN_32XLARGE = InstanceType.of('db.x2iedn.32xlarge');

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

/**
* db.t4g.medium
* db.r6i.large
*/
public static readonly T4G_MEDIUM = InstanceType.of('db.t4g.medium');
public static readonly R6I_LARGE = InstanceType.of('db.r6i.large');

/**
* db.r6i.xlarge
*/
public static readonly R6I_XLARGE = InstanceType.of('db.r6i.xlarge');

/**
* db.r6i.2xlarge
*/
public static readonly R6I_2XLARGE = InstanceType.of('db.r6i.2xlarge');

/**
* db.r6i.4xlarge
*/
public static readonly R6I_4XLARGE = InstanceType.of('db.r6i.4xlarge');

/**
* db.r6i.8xlarge
*/
public static readonly R6I_8XLARGE = InstanceType.of('db.r6i.8xlarge');

/**
* db.r6i.12xlarge
*/
public static readonly R6I_12XLARGE = InstanceType.of('db.r6i.12xlarge');

/**
* db.r6i.16xlarge
*/
public static readonly R6I_16XßLARGE = InstanceType.of('db.r6i.16xlarge');

/**
* db.r6i.24xlarge
*/
public static readonly R6I_24XLARGE = InstanceType.of('db.r6i.24xlarge');

/**
* db.r6i.32xlarge
*/
public static readonly R6I_32XLARGE = InstanceType.of('db.r6i.32xlarge');

/**
* db.r5.large
Expand Down Expand Up @@ -83,11 +192,56 @@ export class InstanceType {
*/
public static readonly R5_12XLARGE = InstanceType.of('db.r5.12xlarge');

/**
* db.r5.16xlarge
*/
public static readonly R5_16XLARGE = InstanceType.of('db.r5.16xlarge');

/**
* db.r5.24xlarge
*/
public static readonly R5_24XLARGE = InstanceType.of('db.r5.24xlarge');

/**
* db.r5d.large
*/
public static readonly R5D_LARGE = InstanceType.of('db.r5d.large');

/**
* db.r5d.xlarge
*/
public static readonly R5D_XLARGE = InstanceType.of('db.r5d.xlarge');

/**
* db.r5d.2xlarge
*/
public static readonly R5D_2XLARGE = InstanceType.of('db.r5d.2xlarge');

/**
* db.r5d.4xlarge
*/
public static readonly R5D_4XLARGE = InstanceType.of('db.r5d.4xlarge');

/**
* db.r5d.8xlarge
*/
public static readonly R5D_8XLARGE = InstanceType.of('db.r5d.8xlarge');

/**
* db.r5d.12xlarge
*/
public static readonly R5D_12XLARGE = InstanceType.of('db.r5d.12xlarge');

/**
* db.r5d.16xlarge
*/
public static readonly R5D_16XLARGE = InstanceType.of('db.r5d.16xlarge');

/**
* db.r5d.24xlarge
*/
public static readonly R5D_24XLARGE = InstanceType.of('db.r5d.24xlarge');

/**
* db.r4.large
*/
Expand All @@ -113,6 +267,11 @@ export class InstanceType {
*/
public static readonly R4_8XLARGE = InstanceType.of('db.r4.8xlarge');

/**
* db.t4g.medium
*/
public static readonly T4G_MEDIUM = InstanceType.of('db.t4g.medium');

/**
* db.t3.medium
*/
Expand Down

0 comments on commit c458368

Please sign in to comment.