@aws-cdk/aws-neptune-alpha 2.9.0-alpha.0 → 2.13.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +34 -18
- package/.jsii.tabl.json +71 -69
- package/.warnings.jsii.js +3 -3
- package/README.md +9 -9
- package/lib/cluster.d.ts +68 -207
- package/lib/cluster.js +25 -66
- package/lib/endpoint.d.ts +4 -15
- package/lib/endpoint.js +3 -8
- package/lib/instance.d.ts +49 -141
- package/lib/instance.js +30 -81
- package/lib/parameter-group.d.ts +16 -49
- package/lib/parameter-group.js +7 -19
- package/lib/subnet-group.d.ts +12 -34
- package/lib/subnet-group.js +4 -10
- package/package.json +15 -8
package/.jsii.tabl.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2",
|
|
3
|
-
"toolVersion": "1.
|
|
3
|
+
"toolVersion": "1.54.0",
|
|
4
4
|
"snippets": {
|
|
5
5
|
"bcadbe51a636bac40037d281e236cbbf751bc8d72ff900918130bb2b818247bb": {
|
|
6
6
|
"translations": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"fqnsFingerprint": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
46
46
|
},
|
|
47
|
-
"
|
|
47
|
+
"b006c22643f156885e37c0070450c8e5b44306426338197f78f053d085612d9b": {
|
|
48
48
|
"translations": {
|
|
49
49
|
"python": {
|
|
50
50
|
"source": "cluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE\n)",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"version": "1"
|
|
60
60
|
},
|
|
61
61
|
"$": {
|
|
62
|
-
"source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE
|
|
62
|
+
"source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n});",
|
|
63
63
|
"version": "0"
|
|
64
64
|
}
|
|
65
65
|
},
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
82
82
|
"aws-cdk-lib.aws_ec2.IVpc"
|
|
83
83
|
],
|
|
84
|
-
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE
|
|
84
|
+
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
85
85
|
"syntaxKindCounter": {
|
|
86
86
|
"10": 1,
|
|
87
87
|
"75": 8,
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"281": 1,
|
|
96
96
|
"282": 1
|
|
97
97
|
},
|
|
98
|
-
"fqnsFingerprint": "
|
|
98
|
+
"fqnsFingerprint": "b395c00a678ee3b07c43b880dc4cb3370cae0023babfaf5b6fc0c736338ee381"
|
|
99
99
|
},
|
|
100
100
|
"953c2428df37057ec1a6bd84519912404177f69e256af1b480542f211c7de999": {
|
|
101
101
|
"translations": {
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"196": 1,
|
|
142
142
|
"226": 1
|
|
143
143
|
},
|
|
144
|
-
"fqnsFingerprint": "
|
|
144
|
+
"fqnsFingerprint": "5c6049ec6ac487ed2710ce7aa8b2207ea942722d008b94005d92fa28e6a2764c"
|
|
145
145
|
},
|
|
146
146
|
"ed8c6b463c666c0bbf894f52002ec2d77ba24c864bccf03a81468b3fae25f833": {
|
|
147
147
|
"translations": {
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"242": 1,
|
|
188
188
|
"243": 1
|
|
189
189
|
},
|
|
190
|
-
"fqnsFingerprint": "
|
|
190
|
+
"fqnsFingerprint": "c59e40d3c0032c879c82e52d845c84b5ac70a5e4d592609dbd50da7d87a0513a"
|
|
191
191
|
},
|
|
192
192
|
"82b04fa3008df9bacd25bb31d6ff6ef55b796c541f1def3827e6016c267bd0a5": {
|
|
193
193
|
"translations": {
|
|
@@ -250,9 +250,9 @@
|
|
|
250
250
|
"281": 3,
|
|
251
251
|
"282": 1
|
|
252
252
|
},
|
|
253
|
-
"fqnsFingerprint": "
|
|
253
|
+
"fqnsFingerprint": "15149da5ccfd44ad538f65606793ccadc245bd77e6993ab10780455f0e44ecb5"
|
|
254
254
|
},
|
|
255
|
-
"
|
|
255
|
+
"c278fa65a86418d593bc6762349137a33d48f05bfaa7f21164d550693a8ddc21": {
|
|
256
256
|
"translations": {
|
|
257
257
|
"python": {
|
|
258
258
|
"source": "cluster_params = neptune.ClusterParameterGroup(self, \"ClusterParams\",\n description=\"Cluster parameter group\",\n parameters={\n \"neptune_enable_audit_log\": \"1\"\n }\n)\n\ndb_params = neptune.ParameterGroup(self, \"DbParams\",\n description=\"Db parameter group\",\n parameters={\n \"neptune_query_timeout\": \"120000\"\n }\n)\n\ncluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n cluster_parameter_group=cluster_params,\n parameter_group=db_params\n)",
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
"version": "1"
|
|
268
268
|
},
|
|
269
269
|
"$": {
|
|
270
|
-
"source": "const clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000'
|
|
270
|
+
"source": "const clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000',\n },\n});\n\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n clusterParameterGroup: clusterParams,\n parameterGroup: dbParams,\n});",
|
|
271
271
|
"version": "0"
|
|
272
272
|
}
|
|
273
273
|
},
|
|
@@ -295,7 +295,7 @@
|
|
|
295
295
|
"@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
|
|
296
296
|
"aws-cdk-lib.aws_ec2.IVpc"
|
|
297
297
|
],
|
|
298
|
-
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000'
|
|
298
|
+
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000',\n },\n});\n\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n clusterParameterGroup: clusterParams,\n parameterGroup: dbParams,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
299
299
|
"syntaxKindCounter": {
|
|
300
300
|
"10": 7,
|
|
301
301
|
"75": 24,
|
|
@@ -309,9 +309,9 @@
|
|
|
309
309
|
"281": 9,
|
|
310
310
|
"282": 1
|
|
311
311
|
},
|
|
312
|
-
"fqnsFingerprint": "
|
|
312
|
+
"fqnsFingerprint": "06d7d5b484b167cf9aaf3cc300d8b3aaabc9376c2307aced4a702ca04499e933"
|
|
313
313
|
},
|
|
314
|
-
"
|
|
314
|
+
"804ce366d9b9581aad1975c9d303485d3cf6677c65296e2242c6f941a1b338cb": {
|
|
315
315
|
"translations": {
|
|
316
316
|
"python": {
|
|
317
317
|
"source": "cluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n instances=2\n)",
|
|
@@ -326,7 +326,7 @@
|
|
|
326
326
|
"version": "1"
|
|
327
327
|
},
|
|
328
328
|
"$": {
|
|
329
|
-
"source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2
|
|
329
|
+
"source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2,\n});",
|
|
330
330
|
"version": "0"
|
|
331
331
|
}
|
|
332
332
|
},
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
349
349
|
"aws-cdk-lib.aws_ec2.IVpc"
|
|
350
350
|
],
|
|
351
|
-
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2
|
|
351
|
+
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
352
352
|
"syntaxKindCounter": {
|
|
353
353
|
"8": 1,
|
|
354
354
|
"10": 1,
|
|
@@ -363,9 +363,9 @@
|
|
|
363
363
|
"281": 2,
|
|
364
364
|
"282": 1
|
|
365
365
|
},
|
|
366
|
-
"fqnsFingerprint": "
|
|
366
|
+
"fqnsFingerprint": "b395c00a678ee3b07c43b880dc4cb3370cae0023babfaf5b6fc0c736338ee381"
|
|
367
367
|
},
|
|
368
|
-
"
|
|
368
|
+
"dd40a1a706f517f5cc18e1b3f51f65e30dc52dd088d96d4e24285e9963cdc5b1": {
|
|
369
369
|
"translations": {
|
|
370
370
|
"python": {
|
|
371
371
|
"source": "replica1 = neptune.DatabaseInstance(self, \"Instance\",\n cluster=cluster,\n instance_type=neptune.InstanceType.R5_LARGE\n)",
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
"version": "1"
|
|
381
381
|
},
|
|
382
382
|
"$": {
|
|
383
|
-
"source": "const replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE
|
|
383
|
+
"source": "const replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE,\n});",
|
|
384
384
|
"version": "0"
|
|
385
385
|
}
|
|
386
386
|
},
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
404
404
|
"aws-cdk-lib.aws_ec2.IVpc"
|
|
405
405
|
],
|
|
406
|
-
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n });\n\n // Code snippet begins after !show marker below\n/// !show\nconst replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE
|
|
406
|
+
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n });\n\n // Code snippet begins after !show marker below\n/// !show\nconst replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
407
407
|
"syntaxKindCounter": {
|
|
408
408
|
"10": 1,
|
|
409
409
|
"75": 8,
|
|
@@ -417,24 +417,24 @@
|
|
|
417
417
|
"281": 1,
|
|
418
418
|
"282": 1
|
|
419
419
|
},
|
|
420
|
-
"fqnsFingerprint": "
|
|
420
|
+
"fqnsFingerprint": "e3f3791a20fdacda42988168b95352166ee44ada21c366055a3d197e0873cd02"
|
|
421
421
|
},
|
|
422
|
-
"
|
|
422
|
+
"754885205096a886b22934ccd9e8aa7f6a0445d5f89fab015da6d691d224c4c7": {
|
|
423
423
|
"translations": {
|
|
424
424
|
"python": {
|
|
425
|
-
"source": "neptune.DatabaseCluster(
|
|
425
|
+
"source": "neptune.DatabaseCluster(self, \"Cluster\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n auto_minor_version_upgrade=True\n)",
|
|
426
426
|
"version": "2"
|
|
427
427
|
},
|
|
428
428
|
"csharp": {
|
|
429
|
-
"source": "new DatabaseCluster(
|
|
429
|
+
"source": "new DatabaseCluster(this, \"Cluster\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n AutoMinorVersionUpgrade = true\n});",
|
|
430
430
|
"version": "1"
|
|
431
431
|
},
|
|
432
432
|
"java": {
|
|
433
|
-
"source": "DatabaseCluster.Builder.create(
|
|
433
|
+
"source": "DatabaseCluster.Builder.create(this, \"Cluster\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .autoMinorVersionUpgrade(true)\n .build();",
|
|
434
434
|
"version": "1"
|
|
435
435
|
},
|
|
436
436
|
"$": {
|
|
437
|
-
"source": "new neptune.DatabaseCluster(
|
|
437
|
+
"source": "new neptune.DatabaseCluster(this, 'Cluster', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n autoMinorVersionUpgrade: true,\n});",
|
|
438
438
|
"version": "0"
|
|
439
439
|
}
|
|
440
440
|
},
|
|
@@ -448,28 +448,30 @@
|
|
|
448
448
|
"line": 129
|
|
449
449
|
}
|
|
450
450
|
},
|
|
451
|
-
"didCompile":
|
|
451
|
+
"didCompile": true,
|
|
452
452
|
"fqnsReferenced": [
|
|
453
453
|
"@aws-cdk/aws-neptune-alpha.DatabaseCluster",
|
|
454
454
|
"@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
|
|
455
455
|
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
456
|
+
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
456
457
|
"aws-cdk-lib.aws_ec2.IVpc"
|
|
457
458
|
],
|
|
458
|
-
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nnew neptune.DatabaseCluster(
|
|
459
|
+
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nnew neptune.DatabaseCluster(this, 'Cluster', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n autoMinorVersionUpgrade: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
459
460
|
"syntaxKindCounter": {
|
|
460
461
|
"10": 1,
|
|
461
462
|
"75": 8,
|
|
463
|
+
"104": 1,
|
|
462
464
|
"106": 1,
|
|
463
465
|
"193": 1,
|
|
464
|
-
"194":
|
|
466
|
+
"194": 3,
|
|
465
467
|
"197": 1,
|
|
466
468
|
"226": 1,
|
|
467
469
|
"281": 2,
|
|
468
470
|
"282": 1
|
|
469
471
|
},
|
|
470
|
-
"fqnsFingerprint": "
|
|
472
|
+
"fqnsFingerprint": "b395c00a678ee3b07c43b880dc4cb3370cae0023babfaf5b6fc0c736338ee381"
|
|
471
473
|
},
|
|
472
|
-
"
|
|
474
|
+
"f78c424f88c91892f0ec444a322ad2cd25612bc3111ea4695ee7086cd5e09118": {
|
|
473
475
|
"translations": {
|
|
474
476
|
"python": {
|
|
475
477
|
"source": "cluster_params = neptune.ClusterParameterGroup(self, \"ClusterParams\",\n description=\"Cluster parameter group\",\n parameters={\n \"neptune_enable_audit_log\": \"1\"\n }\n)\n\ndb_params = neptune.ParameterGroup(self, \"DbParams\",\n description=\"Db parameter group\",\n parameters={\n \"neptune_query_timeout\": \"120000\"\n }\n)\n\ncluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n cluster_parameter_group=cluster_params,\n parameter_group=db_params\n)",
|
|
@@ -484,7 +486,7 @@
|
|
|
484
486
|
"version": "1"
|
|
485
487
|
},
|
|
486
488
|
"$": {
|
|
487
|
-
"source": "const clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000'
|
|
489
|
+
"source": "const clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000',\n },\n});\n\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n clusterParameterGroup: clusterParams,\n parameterGroup: dbParams,\n});",
|
|
488
490
|
"version": "0"
|
|
489
491
|
}
|
|
490
492
|
},
|
|
@@ -511,7 +513,7 @@
|
|
|
511
513
|
"@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
|
|
512
514
|
"aws-cdk-lib.aws_ec2.IVpc"
|
|
513
515
|
],
|
|
514
|
-
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000'
|
|
516
|
+
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000',\n },\n});\n\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n clusterParameterGroup: clusterParams,\n parameterGroup: dbParams,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
515
517
|
"syntaxKindCounter": {
|
|
516
518
|
"10": 7,
|
|
517
519
|
"75": 24,
|
|
@@ -525,9 +527,9 @@
|
|
|
525
527
|
"281": 9,
|
|
526
528
|
"282": 1
|
|
527
529
|
},
|
|
528
|
-
"fqnsFingerprint": "
|
|
530
|
+
"fqnsFingerprint": "06d7d5b484b167cf9aaf3cc300d8b3aaabc9376c2307aced4a702ca04499e933"
|
|
529
531
|
},
|
|
530
|
-
"
|
|
532
|
+
"4950b4c14374f4e16307567734e58a5da60a016b15d4735158b90b61a361b81d": {
|
|
531
533
|
"translations": {
|
|
532
534
|
"python": {
|
|
533
535
|
"source": "cluster_params = neptune.ClusterParameterGroup(self, \"ClusterParams\",\n description=\"Cluster parameter group\",\n parameters={\n \"neptune_enable_audit_log\": \"1\"\n }\n)\n\ndb_params = neptune.ParameterGroup(self, \"DbParams\",\n description=\"Db parameter group\",\n parameters={\n \"neptune_query_timeout\": \"120000\"\n }\n)\n\ncluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n cluster_parameter_group=cluster_params,\n parameter_group=db_params\n)",
|
|
@@ -542,7 +544,7 @@
|
|
|
542
544
|
"version": "1"
|
|
543
545
|
},
|
|
544
546
|
"$": {
|
|
545
|
-
"source": "const clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000'
|
|
547
|
+
"source": "const clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000',\n },\n});\n\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n clusterParameterGroup: clusterParams,\n parameterGroup: dbParams,\n});",
|
|
546
548
|
"version": "0"
|
|
547
549
|
}
|
|
548
550
|
},
|
|
@@ -569,7 +571,7 @@
|
|
|
569
571
|
"@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
|
|
570
572
|
"aws-cdk-lib.aws_ec2.IVpc"
|
|
571
573
|
],
|
|
572
|
-
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000'
|
|
574
|
+
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000',\n },\n});\n\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n clusterParameterGroup: clusterParams,\n parameterGroup: dbParams,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
573
575
|
"syntaxKindCounter": {
|
|
574
576
|
"10": 7,
|
|
575
577
|
"75": 24,
|
|
@@ -583,9 +585,9 @@
|
|
|
583
585
|
"281": 9,
|
|
584
586
|
"282": 1
|
|
585
587
|
},
|
|
586
|
-
"fqnsFingerprint": "
|
|
588
|
+
"fqnsFingerprint": "06d7d5b484b167cf9aaf3cc300d8b3aaabc9376c2307aced4a702ca04499e933"
|
|
587
589
|
},
|
|
588
|
-
"
|
|
590
|
+
"6366754a6ca65c9b5110d743ceaf8c4c4d56386a2443607afa76c1f4105df151": {
|
|
589
591
|
"translations": {
|
|
590
592
|
"python": {
|
|
591
593
|
"source": "cluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n instances=2\n)",
|
|
@@ -600,7 +602,7 @@
|
|
|
600
602
|
"version": "1"
|
|
601
603
|
},
|
|
602
604
|
"$": {
|
|
603
|
-
"source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2
|
|
605
|
+
"source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2,\n});",
|
|
604
606
|
"version": "0"
|
|
605
607
|
}
|
|
606
608
|
},
|
|
@@ -621,7 +623,7 @@
|
|
|
621
623
|
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
622
624
|
"aws-cdk-lib.aws_ec2.IVpc"
|
|
623
625
|
],
|
|
624
|
-
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2
|
|
626
|
+
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
625
627
|
"syntaxKindCounter": {
|
|
626
628
|
"8": 1,
|
|
627
629
|
"10": 1,
|
|
@@ -636,7 +638,7 @@
|
|
|
636
638
|
"281": 2,
|
|
637
639
|
"282": 1
|
|
638
640
|
},
|
|
639
|
-
"fqnsFingerprint": "
|
|
641
|
+
"fqnsFingerprint": "b395c00a678ee3b07c43b880dc4cb3370cae0023babfaf5b6fc0c736338ee381"
|
|
640
642
|
},
|
|
641
643
|
"ca78c2f98112db812559f7f41e5124e808711be8432f88d86a2d59d55da578fd": {
|
|
642
644
|
"translations": {
|
|
@@ -691,7 +693,7 @@
|
|
|
691
693
|
"281": 6,
|
|
692
694
|
"290": 1
|
|
693
695
|
},
|
|
694
|
-
"fqnsFingerprint": "
|
|
696
|
+
"fqnsFingerprint": "40100fcd7e4f3e29f04ad53bdbf9bcacd57a9592667e96e0913e4abb7f19e703"
|
|
695
697
|
},
|
|
696
698
|
"5feaab84cd035d4d56003d0f61d965d14aea7831538483a609a5337884f0874d": {
|
|
697
699
|
"translations": {
|
|
@@ -752,9 +754,9 @@
|
|
|
752
754
|
"281": 6,
|
|
753
755
|
"290": 1
|
|
754
756
|
},
|
|
755
|
-
"fqnsFingerprint": "
|
|
757
|
+
"fqnsFingerprint": "0f484ca6f7a4b3d19e1601a507ffebbc1951d39a3dedb8f13b185d9fa6f7f8c1"
|
|
756
758
|
},
|
|
757
|
-
"
|
|
759
|
+
"38d3526257f4ac9b4843ee18c24d2d0f3b936ef988be53484fcfab45022191d4": {
|
|
758
760
|
"translations": {
|
|
759
761
|
"python": {
|
|
760
762
|
"source": "cluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n instances=2\n)",
|
|
@@ -769,7 +771,7 @@
|
|
|
769
771
|
"version": "1"
|
|
770
772
|
},
|
|
771
773
|
"$": {
|
|
772
|
-
"source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2
|
|
774
|
+
"source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2,\n});",
|
|
773
775
|
"version": "0"
|
|
774
776
|
}
|
|
775
777
|
},
|
|
@@ -790,7 +792,7 @@
|
|
|
790
792
|
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
791
793
|
"aws-cdk-lib.aws_ec2.IVpc"
|
|
792
794
|
],
|
|
793
|
-
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2
|
|
795
|
+
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
794
796
|
"syntaxKindCounter": {
|
|
795
797
|
"8": 1,
|
|
796
798
|
"10": 1,
|
|
@@ -805,9 +807,9 @@
|
|
|
805
807
|
"281": 2,
|
|
806
808
|
"282": 1
|
|
807
809
|
},
|
|
808
|
-
"fqnsFingerprint": "
|
|
810
|
+
"fqnsFingerprint": "b395c00a678ee3b07c43b880dc4cb3370cae0023babfaf5b6fc0c736338ee381"
|
|
809
811
|
},
|
|
810
|
-
"
|
|
812
|
+
"35dbc0c48fa4c8aae20324c1e723eb7567c8ce3d8843eb66260af324baba7f0d": {
|
|
811
813
|
"translations": {
|
|
812
814
|
"python": {
|
|
813
815
|
"source": "replica1 = neptune.DatabaseInstance(self, \"Instance\",\n cluster=cluster,\n instance_type=neptune.InstanceType.R5_LARGE\n)",
|
|
@@ -822,7 +824,7 @@
|
|
|
822
824
|
"version": "1"
|
|
823
825
|
},
|
|
824
826
|
"$": {
|
|
825
|
-
"source": "const replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE
|
|
827
|
+
"source": "const replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE,\n});",
|
|
826
828
|
"version": "0"
|
|
827
829
|
}
|
|
828
830
|
},
|
|
@@ -844,7 +846,7 @@
|
|
|
844
846
|
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
845
847
|
"aws-cdk-lib.aws_ec2.IVpc"
|
|
846
848
|
],
|
|
847
|
-
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n });\n\n // Code snippet begins after !show marker below\n/// !show\nconst replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE
|
|
849
|
+
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n });\n\n // Code snippet begins after !show marker below\n/// !show\nconst replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
848
850
|
"syntaxKindCounter": {
|
|
849
851
|
"10": 1,
|
|
850
852
|
"75": 8,
|
|
@@ -858,7 +860,7 @@
|
|
|
858
860
|
"281": 1,
|
|
859
861
|
"282": 1
|
|
860
862
|
},
|
|
861
|
-
"fqnsFingerprint": "
|
|
863
|
+
"fqnsFingerprint": "e3f3791a20fdacda42988168b95352166ee44ada21c366055a3d197e0873cd02"
|
|
862
864
|
},
|
|
863
865
|
"1c29ef9ee276ff0244af33921a49b62fe7a65603798209a19f034543b43dc146": {
|
|
864
866
|
"translations": {
|
|
@@ -911,7 +913,7 @@
|
|
|
911
913
|
},
|
|
912
914
|
"fqnsFingerprint": "da6cd33720a7e8d05e7de1c5737ca36c6dc3ef838b16fcc67cb052d391af10b3"
|
|
913
915
|
},
|
|
914
|
-
"
|
|
916
|
+
"71645f4aebe9cf8219e83a3b5efeea3ee4375cff7ba91e3a91788398f194609e": {
|
|
915
917
|
"translations": {
|
|
916
918
|
"python": {
|
|
917
919
|
"source": "replica1 = neptune.DatabaseInstance(self, \"Instance\",\n cluster=cluster,\n instance_type=neptune.InstanceType.R5_LARGE\n)",
|
|
@@ -926,7 +928,7 @@
|
|
|
926
928
|
"version": "1"
|
|
927
929
|
},
|
|
928
930
|
"$": {
|
|
929
|
-
"source": "const replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE
|
|
931
|
+
"source": "const replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE,\n});",
|
|
930
932
|
"version": "0"
|
|
931
933
|
}
|
|
932
934
|
},
|
|
@@ -948,7 +950,7 @@
|
|
|
948
950
|
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
949
951
|
"aws-cdk-lib.aws_ec2.IVpc"
|
|
950
952
|
],
|
|
951
|
-
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n });\n\n // Code snippet begins after !show marker below\n/// !show\nconst replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE
|
|
953
|
+
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n });\n\n // Code snippet begins after !show marker below\n/// !show\nconst replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
952
954
|
"syntaxKindCounter": {
|
|
953
955
|
"10": 1,
|
|
954
956
|
"75": 8,
|
|
@@ -962,7 +964,7 @@
|
|
|
962
964
|
"281": 1,
|
|
963
965
|
"282": 1
|
|
964
966
|
},
|
|
965
|
-
"fqnsFingerprint": "
|
|
967
|
+
"fqnsFingerprint": "e3f3791a20fdacda42988168b95352166ee44ada21c366055a3d197e0873cd02"
|
|
966
968
|
},
|
|
967
969
|
"de16aca82c633caedaf5c5814e46eec3e18bdb3f103ae63e3a7493c2e0aabc11": {
|
|
968
970
|
"translations": {
|
|
@@ -1061,7 +1063,7 @@
|
|
|
1061
1063
|
},
|
|
1062
1064
|
"fqnsFingerprint": "c6e6cf7bc71d2f928da49d88c5ecd92e0068fe2cf1d832efa86183a70b7654de"
|
|
1063
1065
|
},
|
|
1064
|
-
"
|
|
1066
|
+
"6e7def9cf6034490263320f1ff12c44f5d398fd9bcb8f7b297c2eb7367f88558": {
|
|
1065
1067
|
"translations": {
|
|
1066
1068
|
"python": {
|
|
1067
1069
|
"source": "cluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n instances=2\n)",
|
|
@@ -1076,7 +1078,7 @@
|
|
|
1076
1078
|
"version": "1"
|
|
1077
1079
|
},
|
|
1078
1080
|
"$": {
|
|
1079
|
-
"source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2
|
|
1081
|
+
"source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2,\n});",
|
|
1080
1082
|
"version": "0"
|
|
1081
1083
|
}
|
|
1082
1084
|
},
|
|
@@ -1097,7 +1099,7 @@
|
|
|
1097
1099
|
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
1098
1100
|
"aws-cdk-lib.aws_ec2.IVpc"
|
|
1099
1101
|
],
|
|
1100
|
-
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2
|
|
1102
|
+
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
1101
1103
|
"syntaxKindCounter": {
|
|
1102
1104
|
"8": 1,
|
|
1103
1105
|
"10": 1,
|
|
@@ -1112,9 +1114,9 @@
|
|
|
1112
1114
|
"281": 2,
|
|
1113
1115
|
"282": 1
|
|
1114
1116
|
},
|
|
1115
|
-
"fqnsFingerprint": "
|
|
1117
|
+
"fqnsFingerprint": "b395c00a678ee3b07c43b880dc4cb3370cae0023babfaf5b6fc0c736338ee381"
|
|
1116
1118
|
},
|
|
1117
|
-
"
|
|
1119
|
+
"f9296902595600ec2944094f8ea1fc6179f727622ae489fefc90d0e34953b835": {
|
|
1118
1120
|
"translations": {
|
|
1119
1121
|
"python": {
|
|
1120
1122
|
"source": "cluster_params = neptune.ClusterParameterGroup(self, \"ClusterParams\",\n description=\"Cluster parameter group\",\n parameters={\n \"neptune_enable_audit_log\": \"1\"\n }\n)\n\ndb_params = neptune.ParameterGroup(self, \"DbParams\",\n description=\"Db parameter group\",\n parameters={\n \"neptune_query_timeout\": \"120000\"\n }\n)\n\ncluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n cluster_parameter_group=cluster_params,\n parameter_group=db_params\n)",
|
|
@@ -1129,7 +1131,7 @@
|
|
|
1129
1131
|
"version": "1"
|
|
1130
1132
|
},
|
|
1131
1133
|
"$": {
|
|
1132
|
-
"source": "const clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000'
|
|
1134
|
+
"source": "const clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000',\n },\n});\n\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n clusterParameterGroup: clusterParams,\n parameterGroup: dbParams,\n});",
|
|
1133
1135
|
"version": "0"
|
|
1134
1136
|
}
|
|
1135
1137
|
},
|
|
@@ -1156,7 +1158,7 @@
|
|
|
1156
1158
|
"@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
|
|
1157
1159
|
"aws-cdk-lib.aws_ec2.IVpc"
|
|
1158
1160
|
],
|
|
1159
|
-
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000'
|
|
1161
|
+
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000',\n },\n});\n\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n clusterParameterGroup: clusterParams,\n parameterGroup: dbParams,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
1160
1162
|
"syntaxKindCounter": {
|
|
1161
1163
|
"10": 7,
|
|
1162
1164
|
"75": 24,
|
|
@@ -1170,9 +1172,9 @@
|
|
|
1170
1172
|
"281": 9,
|
|
1171
1173
|
"282": 1
|
|
1172
1174
|
},
|
|
1173
|
-
"fqnsFingerprint": "
|
|
1175
|
+
"fqnsFingerprint": "06d7d5b484b167cf9aaf3cc300d8b3aaabc9376c2307aced4a702ca04499e933"
|
|
1174
1176
|
},
|
|
1175
|
-
"
|
|
1177
|
+
"b3321b21b55d357012d80dd629d7b798472053fa4bc2d315972f695682d16f95": {
|
|
1176
1178
|
"translations": {
|
|
1177
1179
|
"python": {
|
|
1178
1180
|
"source": "cluster_params = neptune.ClusterParameterGroup(self, \"ClusterParams\",\n description=\"Cluster parameter group\",\n parameters={\n \"neptune_enable_audit_log\": \"1\"\n }\n)\n\ndb_params = neptune.ParameterGroup(self, \"DbParams\",\n description=\"Db parameter group\",\n parameters={\n \"neptune_query_timeout\": \"120000\"\n }\n)\n\ncluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n cluster_parameter_group=cluster_params,\n parameter_group=db_params\n)",
|
|
@@ -1187,7 +1189,7 @@
|
|
|
1187
1189
|
"version": "1"
|
|
1188
1190
|
},
|
|
1189
1191
|
"$": {
|
|
1190
|
-
"source": "const clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000'
|
|
1192
|
+
"source": "const clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000',\n },\n});\n\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n clusterParameterGroup: clusterParams,\n parameterGroup: dbParams,\n});",
|
|
1191
1193
|
"version": "0"
|
|
1192
1194
|
}
|
|
1193
1195
|
},
|
|
@@ -1214,7 +1216,7 @@
|
|
|
1214
1216
|
"@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
|
|
1215
1217
|
"aws-cdk-lib.aws_ec2.IVpc"
|
|
1216
1218
|
],
|
|
1217
|
-
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000'
|
|
1219
|
+
"fullSource": "import { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as iam from 'aws-cdk-lib/aws-iam';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as neptune from '@aws-cdk/aws-neptune-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const vpc = new ec2.Vpc(this, 'VPC', { maxAzs: 2 });\n\n // Code snippet begins after !show marker below\n/// !show\nconst clusterParams = new neptune.ClusterParameterGroup(this, 'ClusterParams', {\n description: 'Cluster parameter group',\n parameters: {\n neptune_enable_audit_log: '1'\n },\n});\n\nconst dbParams = new neptune.ParameterGroup(this, 'DbParams', {\n description: 'Db parameter group',\n parameters: {\n neptune_query_timeout: '120000',\n },\n});\n\nconst cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n clusterParameterGroup: clusterParams,\n parameterGroup: dbParams,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
|
|
1218
1220
|
"syntaxKindCounter": {
|
|
1219
1221
|
"10": 7,
|
|
1220
1222
|
"75": 24,
|
|
@@ -1228,7 +1230,7 @@
|
|
|
1228
1230
|
"281": 9,
|
|
1229
1231
|
"282": 1
|
|
1230
1232
|
},
|
|
1231
|
-
"fqnsFingerprint": "
|
|
1233
|
+
"fqnsFingerprint": "06d7d5b484b167cf9aaf3cc300d8b3aaabc9376c2307aced4a702ca04499e933"
|
|
1232
1234
|
},
|
|
1233
1235
|
"1b234381e7b7a935aaf7b780eff4d51fdbf11037524c62776b1d861c51e87077": {
|
|
1234
1236
|
"translations": {
|
|
@@ -1293,7 +1295,7 @@
|
|
|
1293
1295
|
"281": 11,
|
|
1294
1296
|
"290": 1
|
|
1295
1297
|
},
|
|
1296
|
-
"fqnsFingerprint": "
|
|
1298
|
+
"fqnsFingerprint": "81da53fe5e6a0ba7ff59065e963202d1f728251044f1140bc3eaccfd7dcbde7b"
|
|
1297
1299
|
},
|
|
1298
1300
|
"66acd64033a59a14c547f8f7b169f31adbac7d4ff584afa3879fbf141004a793": {
|
|
1299
1301
|
"translations": {
|
|
@@ -1355,7 +1357,7 @@
|
|
|
1355
1357
|
"281": 11,
|
|
1356
1358
|
"290": 1
|
|
1357
1359
|
},
|
|
1358
|
-
"fqnsFingerprint": "
|
|
1360
|
+
"fqnsFingerprint": "a7afeb428a5d1969f87b08027e5ef7400a46319cb144a3a6d66bde9c3100e929"
|
|
1359
1361
|
}
|
|
1360
1362
|
}
|
|
1361
1363
|
}
|
package/.warnings.jsii.js
CHANGED
|
@@ -20,10 +20,10 @@ function _aws_cdk_aws_neptune_alpha_IDatabaseCluster(p) {
|
|
|
20
20
|
}
|
|
21
21
|
function _aws_cdk_aws_neptune_alpha_SubnetGroupProps(p) {
|
|
22
22
|
}
|
|
23
|
-
function _aws_cdk_aws_neptune_alpha_ParameterGroup(p) {
|
|
24
|
-
}
|
|
25
23
|
function _aws_cdk_aws_neptune_alpha_ClusterParameterGroup(p) {
|
|
26
24
|
}
|
|
25
|
+
function _aws_cdk_aws_neptune_alpha_ParameterGroup(p) {
|
|
26
|
+
}
|
|
27
27
|
function _aws_cdk_aws_neptune_alpha_SubnetGroup(p) {
|
|
28
28
|
}
|
|
29
29
|
function _aws_cdk_aws_neptune_alpha_DatabaseInstanceProps(p) {
|
|
@@ -83,5 +83,5 @@ function print(name, deprecationMessage) {
|
|
|
83
83
|
const visitedObjects = new Set();
|
|
84
84
|
class DeprecationError extends Error {
|
|
85
85
|
}
|
|
86
|
-
module.exports = { print, _aws_cdk_aws_neptune_alpha_DatabaseInstanceAttributes, _aws_cdk_aws_neptune_alpha_Endpoint, _aws_cdk_aws_neptune_alpha_ClusterParameterGroupProps, _aws_cdk_aws_neptune_alpha_ParameterGroupProps, _aws_cdk_aws_neptune_alpha_IClusterParameterGroup, _aws_cdk_aws_neptune_alpha_IParameterGroup, _aws_cdk_aws_neptune_alpha_ISubnetGroup, _aws_cdk_aws_neptune_alpha_DatabaseClusterAttributes, _aws_cdk_aws_neptune_alpha_IDatabaseInstance, _aws_cdk_aws_neptune_alpha_IDatabaseCluster, _aws_cdk_aws_neptune_alpha_SubnetGroupProps,
|
|
86
|
+
module.exports = { print, _aws_cdk_aws_neptune_alpha_DatabaseInstanceAttributes, _aws_cdk_aws_neptune_alpha_Endpoint, _aws_cdk_aws_neptune_alpha_ClusterParameterGroupProps, _aws_cdk_aws_neptune_alpha_ParameterGroupProps, _aws_cdk_aws_neptune_alpha_IClusterParameterGroup, _aws_cdk_aws_neptune_alpha_IParameterGroup, _aws_cdk_aws_neptune_alpha_ISubnetGroup, _aws_cdk_aws_neptune_alpha_DatabaseClusterAttributes, _aws_cdk_aws_neptune_alpha_IDatabaseInstance, _aws_cdk_aws_neptune_alpha_IDatabaseCluster, _aws_cdk_aws_neptune_alpha_SubnetGroupProps, _aws_cdk_aws_neptune_alpha_ClusterParameterGroup, _aws_cdk_aws_neptune_alpha_ParameterGroup, _aws_cdk_aws_neptune_alpha_SubnetGroup, _aws_cdk_aws_neptune_alpha_DatabaseInstanceProps, _aws_cdk_aws_neptune_alpha_DatabaseInstance, _aws_cdk_aws_neptune_alpha_DatabaseClusterBase, _aws_cdk_aws_neptune_alpha_EngineVersion, _aws_cdk_aws_neptune_alpha_DatabaseCluster, _aws_cdk_aws_neptune_alpha_DatabaseClusterProps, _aws_cdk_aws_neptune_alpha_InstanceType };
|
|
87
87
|
module.exports.DeprecationError = DeprecationError;
|