Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-neptune-alpha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const cluster = new neptune.DatabaseCluster(this, 'Database', {
});
```

Note: To use the Neptune engine versions `1.2.0.0` or later, including the newly added `1.3` series, it's necessary to specify the appropriate `engineVersion` prop in `neptune.DatabaseCluster`. Additionally, for both 1.2 and 1.3 series, the corresponding `family` prop must be set to `ParameterGroupFamily.NEPTUNE_1_2` or `ParameterGroupFamily.NEPTUNE_1_3` respectively in `neptune.ClusterParameterGroup` and `neptune.ParameterGroup`.
Note: To use the Neptune engine versions `1.2.0.0` or later, including the newly added `1.3` and `1.4` series, it's necessary to specify the appropriate `engineVersion` prop in `neptune.DatabaseCluster`. Additionally, for 1.2, 1.3 and 1.4 series, the corresponding `family` prop must be set to `ParameterGroupFamily.NEPTUNE_1_2`, `ParameterGroupFamily.NEPTUNE_1_3` or `ParameterGroupFamily.NEPTUNE_1_4` respectively in `neptune.ClusterParameterGroup` and `neptune.ParameterGroup`.

## Adding replicas

Expand Down
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 @@ -109,6 +109,26 @@ export class EngineVersion {
* Neptune engine version 1.3.4.0
*/
public static readonly V1_3_4_0 = new EngineVersion('1.3.4.0');
/**
* Neptune engine version 1.4.0.0
*/
public static readonly V1_4_0_0 = new EngineVersion('1.4.0.0');
/**
* Neptune engine version 1.4.1.0
*/
public static readonly V1_4_1_0 = new EngineVersion('1.4.1.0');
/**
* Neptune engine version 1.4.2.0
*/
public static readonly V1_4_2_0 = new EngineVersion('1.4.2.0');
/**
* Neptune engine version 1.4.3.0
*/
public static readonly V1_4_3_0 = new EngineVersion('1.4.3.0');
/**
* Neptune engine version 1.4.4.0
*/
public static readonly V1_4_4_0 = new EngineVersion('1.4.4.0');

/**
* Constructor for specifying a custom engine version
Expand Down
4 changes: 4 additions & 0 deletions packages/@aws-cdk/aws-neptune-alpha/lib/parameter-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ export class ParameterGroupFamily {
* Family used by Neptune engine versions 1.3.0.0 and later
*/
public static readonly NEPTUNE_1_3 = new ParameterGroupFamily('neptune1.3');
/**
* Family used by Neptune engine versions 1.4.0.0 and later
*/
public static readonly NEPTUNE_1_4 = new ParameterGroupFamily('neptune1.4');

/**
* Constructor for specifying a custom parameter group family
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-neptune-alpha/test/cluster.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ describe('DatabaseCluster', () => {
});

test.each([
['1.1.1.0', EngineVersion.V1_1_1_0], ['1.2.0.0', EngineVersion.V1_2_0_0], ['1.3.0.0', EngineVersion.V1_3_0_0],
['1.1.1.0', EngineVersion.V1_1_1_0], ['1.2.0.0', EngineVersion.V1_2_0_0], ['1.3.0.0', EngineVersion.V1_3_0_0], ['1.4.0.0', EngineVersion.V1_4_0_0],
])('can create a cluster for engine version %s', (expected, version) => {
// GIVEN
const stack = testStack();
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading