@aws-cdk/aws-neptune-alpha 2.7.0-alpha.0 → 2.11.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.tabl.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "version": "2",
3
- "toolVersion": "1.50.0",
3
+ "toolVersion": "1.52.1",
4
4
  "snippets": {
5
5
  "bcadbe51a636bac40037d281e236cbbf751bc8d72ff900918130bb2b818247bb": {
6
6
  "translations": {
7
7
  "python": {
8
8
  "source": "import aws_cdk.aws_neptune_alpha as neptune",
9
- "version": "1"
9
+ "version": "2"
10
10
  },
11
11
  "csharp": {
12
12
  "source": "using Amazon.CDK.AWS.Neptune.Alpha;",
@@ -44,11 +44,11 @@
44
44
  },
45
45
  "fqnsFingerprint": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
46
46
  },
47
- "67f3522d343cbef9bc95a97ce0748293834b3fdce75124a9f746c1946736ed8b": {
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)",
51
- "version": "1"
51
+ "version": "2"
52
52
  },
53
53
  "csharp": {
54
54
  "source": "DatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = 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\n});",
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\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
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,13 +95,13 @@
95
95
  "281": 1,
96
96
  "282": 1
97
97
  },
98
- "fqnsFingerprint": "2985154c56e07fa633845a65eb9f7caeb5dd27ddba3bb31c3f56d7e63eefbc4b"
98
+ "fqnsFingerprint": "fdc85f4c32cf914e6e209dc05982dcc00ff018477b65711c8ace0251717d52c2"
99
99
  },
100
100
  "953c2428df37057ec1a6bd84519912404177f69e256af1b480542f211c7de999": {
101
101
  "translations": {
102
102
  "python": {
103
103
  "source": "cluster.connections.allow_default_port_from_any_ipv4(\"Open to the world\")",
104
- "version": "1"
104
+ "version": "2"
105
105
  },
106
106
  "csharp": {
107
107
  "source": "cluster.Connections.AllowDefaultPortFromAnyIpv4(\"Open to the world\");",
@@ -141,13 +141,13 @@
141
141
  "196": 1,
142
142
  "226": 1
143
143
  },
144
- "fqnsFingerprint": "4b63582b5aca0f0793a3a66ee178960119da8558d25b39d32f77bf4dfa400708"
144
+ "fqnsFingerprint": "ab957a42ac1b6973e9972daeae9384c7f7fcf33e89549f0ace1eb86ed36c52d3"
145
145
  },
146
146
  "ed8c6b463c666c0bbf894f52002ec2d77ba24c864bccf03a81468b3fae25f833": {
147
147
  "translations": {
148
148
  "python": {
149
149
  "source": "write_address = cluster.cluster_endpoint.socket_address",
150
- "version": "1"
150
+ "version": "2"
151
151
  },
152
152
  "csharp": {
153
153
  "source": "string writeAddress = cluster.ClusterEndpoint.SocketAddress;",
@@ -187,13 +187,13 @@
187
187
  "242": 1,
188
188
  "243": 1
189
189
  },
190
- "fqnsFingerprint": "46d2a5baa63823adad82b48b4015b76cf087dc39d14deb7687a71836e85f2f15"
190
+ "fqnsFingerprint": "7afb3afad5210c2056b86a39b7f3310bcbbba485acc7736551736c77002b8b33"
191
191
  },
192
192
  "82b04fa3008df9bacd25bb31d6ff6ef55b796c541f1def3827e6016c267bd0a5": {
193
193
  "translations": {
194
194
  "python": {
195
195
  "source": "cluster = neptune.DatabaseCluster(self, \"Cluster\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n iam_authentication=True\n)\nrole = iam.Role(self, \"DBRole\", assumed_by=iam.AccountPrincipal(self.account))\ncluster.grant_connect(role)",
196
- "version": "1"
196
+ "version": "2"
197
197
  },
198
198
  "csharp": {
199
199
  "source": "DatabaseCluster cluster = new DatabaseCluster(this, \"Cluster\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n IamAuthentication = true\n});\nRole role = new Role(this, \"DBRole\", new RoleProps { AssumedBy = new AccountPrincipal(Account) });\ncluster.GrantConnect(role);",
@@ -250,13 +250,13 @@
250
250
  "281": 3,
251
251
  "282": 1
252
252
  },
253
- "fqnsFingerprint": "16cb690db64909fe5390d54b799fc5a66ccaf4cef33f3f61ed28de8a2780271c"
253
+ "fqnsFingerprint": "932003a7fd872d9f67acd9f768806a83b07ac031b2f9203de146a5b22c984947"
254
254
  },
255
- "8f0c7a464e84fc443c9bd391c10fdd3cc84964c1bb440ddc75d9d6f1744bc99c": {
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)",
259
- "version": "1"
259
+ "version": "2"
260
260
  },
261
261
  "csharp": {
262
262
  "source": "ClusterParameterGroup clusterParams = new ClusterParameterGroup(this, \"ClusterParams\", new ClusterParameterGroupProps {\n Description = \"Cluster parameter group\",\n Parameters = new Dictionary<string, string> {\n { \"neptune_enable_audit_log\", \"1\" }\n }\n});\n\nParameterGroup dbParams = new ParameterGroup(this, \"DbParams\", new ParameterGroupProps {\n Description = \"Db parameter group\",\n Parameters = new Dictionary<string, string> {\n { \"neptune_query_timeout\", \"120000\" }\n }\n});\n\nDatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n ClusterParameterGroup = clusterParams,\n ParameterGroup = dbParams\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'\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});",
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'\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}",
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,13 +309,13 @@
309
309
  "281": 9,
310
310
  "282": 1
311
311
  },
312
- "fqnsFingerprint": "775ee9de9651838acb7563c4412d61a42ac1ce0c0c291e4fb5b383be25d08764"
312
+ "fqnsFingerprint": "6e1fbdcb5ee686302dcf15d3d47b862050f334d1a1f5183b1d4e3e4e92ae5cb9"
313
313
  },
314
- "cbd243747cc4c09ea3a434ee7fead88ec74cb6d39358fb22e5ab0e20118a0d7b": {
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)",
318
- "version": "1"
318
+ "version": "2"
319
319
  },
320
320
  "csharp": {
321
321
  "source": "DatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = 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\n});",
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\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
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,13 +363,13 @@
363
363
  "281": 2,
364
364
  "282": 1
365
365
  },
366
- "fqnsFingerprint": "2985154c56e07fa633845a65eb9f7caeb5dd27ddba3bb31c3f56d7e63eefbc4b"
366
+ "fqnsFingerprint": "fdc85f4c32cf914e6e209dc05982dcc00ff018477b65711c8ace0251717d52c2"
367
367
  },
368
- "baa95a460cd6c6db838ce41a5152b1f88a78f4296c0c9fd7ee97621f9be3df80": {
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)",
372
- "version": "1"
372
+ "version": "2"
373
373
  },
374
374
  "csharp": {
375
375
  "source": "DatabaseInstance replica1 = new DatabaseInstance(this, \"Instance\", new DatabaseInstanceProps {\n Cluster = cluster,\n InstanceType = 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\n});",
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\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
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,14 +417,66 @@
417
417
  "281": 1,
418
418
  "282": 1
419
419
  },
420
- "fqnsFingerprint": "77014da569a0a0eecdc7b3018bb433888009da9550d4db9359e6ea33857b7488"
420
+ "fqnsFingerprint": "b36f1ccc27f889b11f11491b825fc91ab9559db1c23faa40a25fb2d73de2bd85"
421
421
  },
422
- "d445e02b276ff833deadfee2a2d2cde6050b177c63dea8619191a5ae8cfa217b": {
422
+ "754885205096a886b22934ccd9e8aa7f6a0445d5f89fab015da6d691d224c4c7": {
423
423
  "translations": {
424
424
  "python": {
425
- "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)",
425
+ "source": "neptune.DatabaseCluster(self, \"Cluster\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n auto_minor_version_upgrade=True\n)",
426
+ "version": "2"
427
+ },
428
+ "csharp": {
429
+ "source": "new DatabaseCluster(this, \"Cluster\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n AutoMinorVersionUpgrade = true\n});",
426
430
  "version": "1"
427
431
  },
432
+ "java": {
433
+ "source": "DatabaseCluster.Builder.create(this, \"Cluster\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .autoMinorVersionUpgrade(true)\n .build();",
434
+ "version": "1"
435
+ },
436
+ "$": {
437
+ "source": "new neptune.DatabaseCluster(this, 'Cluster', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n autoMinorVersionUpgrade: true,\n});",
438
+ "version": "0"
439
+ }
440
+ },
441
+ "location": {
442
+ "api": {
443
+ "api": "moduleReadme",
444
+ "moduleFqn": "@aws-cdk/aws-neptune-alpha"
445
+ },
446
+ "field": {
447
+ "field": "markdown",
448
+ "line": 129
449
+ }
450
+ },
451
+ "didCompile": true,
452
+ "fqnsReferenced": [
453
+ "@aws-cdk/aws-neptune-alpha.DatabaseCluster",
454
+ "@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
455
+ "@aws-cdk/aws-neptune-alpha.InstanceType",
456
+ "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
457
+ "aws-cdk-lib.aws_ec2.IVpc"
458
+ ],
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}",
460
+ "syntaxKindCounter": {
461
+ "10": 1,
462
+ "75": 8,
463
+ "104": 1,
464
+ "106": 1,
465
+ "193": 1,
466
+ "194": 3,
467
+ "197": 1,
468
+ "226": 1,
469
+ "281": 2,
470
+ "282": 1
471
+ },
472
+ "fqnsFingerprint": "fdc85f4c32cf914e6e209dc05982dcc00ff018477b65711c8ace0251717d52c2"
473
+ },
474
+ "f78c424f88c91892f0ec444a322ad2cd25612bc3111ea4695ee7086cd5e09118": {
475
+ "translations": {
476
+ "python": {
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)",
478
+ "version": "2"
479
+ },
428
480
  "csharp": {
429
481
  "source": "ClusterParameterGroup clusterParams = new ClusterParameterGroup(this, \"ClusterParams\", new ClusterParameterGroupProps {\n Description = \"Cluster parameter group\",\n Parameters = new Dictionary<string, string> {\n { \"neptune_enable_audit_log\", \"1\" }\n }\n});\n\nParameterGroup dbParams = new ParameterGroup(this, \"DbParams\", new ParameterGroupProps {\n Description = \"Db parameter group\",\n Parameters = new Dictionary<string, string> {\n { \"neptune_query_timeout\", \"120000\" }\n }\n});\n\nDatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n ClusterParameterGroup = clusterParams,\n ParameterGroup = dbParams\n});",
430
482
  "version": "1"
@@ -434,7 +486,7 @@
434
486
  "version": "1"
435
487
  },
436
488
  "$": {
437
- "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});",
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});",
438
490
  "version": "0"
439
491
  }
440
492
  },
@@ -461,7 +513,7 @@
461
513
  "@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
462
514
  "aws-cdk-lib.aws_ec2.IVpc"
463
515
  ],
464
- "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}",
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}",
465
517
  "syntaxKindCounter": {
466
518
  "10": 7,
467
519
  "75": 24,
@@ -475,13 +527,13 @@
475
527
  "281": 9,
476
528
  "282": 1
477
529
  },
478
- "fqnsFingerprint": "775ee9de9651838acb7563c4412d61a42ac1ce0c0c291e4fb5b383be25d08764"
530
+ "fqnsFingerprint": "6e1fbdcb5ee686302dcf15d3d47b862050f334d1a1f5183b1d4e3e4e92ae5cb9"
479
531
  },
480
- "4ca592a02fcf3c41d969dfa88a6801e17e3889987c25cd72ba3e27270ca3b044": {
532
+ "4950b4c14374f4e16307567734e58a5da60a016b15d4735158b90b61a361b81d": {
481
533
  "translations": {
482
534
  "python": {
483
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)",
484
- "version": "1"
536
+ "version": "2"
485
537
  },
486
538
  "csharp": {
487
539
  "source": "ClusterParameterGroup clusterParams = new ClusterParameterGroup(this, \"ClusterParams\", new ClusterParameterGroupProps {\n Description = \"Cluster parameter group\",\n Parameters = new Dictionary<string, string> {\n { \"neptune_enable_audit_log\", \"1\" }\n }\n});\n\nParameterGroup dbParams = new ParameterGroup(this, \"DbParams\", new ParameterGroupProps {\n Description = \"Db parameter group\",\n Parameters = new Dictionary<string, string> {\n { \"neptune_query_timeout\", \"120000\" }\n }\n});\n\nDatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n ClusterParameterGroup = clusterParams,\n ParameterGroup = dbParams\n});",
@@ -492,7 +544,7 @@
492
544
  "version": "1"
493
545
  },
494
546
  "$": {
495
- "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});",
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});",
496
548
  "version": "0"
497
549
  }
498
550
  },
@@ -519,7 +571,7 @@
519
571
  "@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
520
572
  "aws-cdk-lib.aws_ec2.IVpc"
521
573
  ],
522
- "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}",
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}",
523
575
  "syntaxKindCounter": {
524
576
  "10": 7,
525
577
  "75": 24,
@@ -533,24 +585,24 @@
533
585
  "281": 9,
534
586
  "282": 1
535
587
  },
536
- "fqnsFingerprint": "775ee9de9651838acb7563c4412d61a42ac1ce0c0c291e4fb5b383be25d08764"
588
+ "fqnsFingerprint": "6e1fbdcb5ee686302dcf15d3d47b862050f334d1a1f5183b1d4e3e4e92ae5cb9"
537
589
  },
538
- "324b2fcb4dffd436afdaff86fffdc9cd3b8822da7035dc88256150bff5b5c8e1": {
590
+ "6366754a6ca65c9b5110d743ceaf8c4c4d56386a2443607afa76c1f4105df151": {
539
591
  "translations": {
540
592
  "python": {
541
- "source": "cluster = neptune.DatabaseCluster(self, \"Cluster\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n iam_authentication=True\n)\nrole = iam.Role(self, \"DBRole\", assumed_by=iam.AccountPrincipal(self.account))\ncluster.grant_connect(role)",
542
- "version": "1"
593
+ "source": "cluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n instances=2\n)",
594
+ "version": "2"
543
595
  },
544
596
  "csharp": {
545
- "source": "DatabaseCluster cluster = new DatabaseCluster(this, \"Cluster\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n IamAuthentication = true\n});\nRole role = new Role(this, \"DBRole\", new RoleProps { AssumedBy = new AccountPrincipal(Account) });\ncluster.GrantConnect(role);",
597
+ "source": "DatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n Instances = 2\n});",
546
598
  "version": "1"
547
599
  },
548
600
  "java": {
549
- "source": "DatabaseCluster cluster = DatabaseCluster.Builder.create(this, \"Cluster\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .iamAuthentication(true)\n .build();\nRole role = Role.Builder.create(this, \"DBRole\").assumedBy(new AccountPrincipal(this.account)).build();\ncluster.grantConnect(role);",
601
+ "source": "DatabaseCluster cluster = DatabaseCluster.Builder.create(this, \"Database\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .instances(2)\n .build();",
550
602
  "version": "1"
551
603
  },
552
604
  "$": {
553
- "source": "const cluster = new neptune.DatabaseCluster(this, 'Cluster', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n iamAuthentication: true, // Optional - will be automatically set if you call grantConnect().\n});\nconst role = new iam.Role(this, 'DBRole', { assumedBy: new iam.AccountPrincipal(this.account) });\ncluster.grantConnect(role); // Grant the role connection access to the DB.",
605
+ "source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2,\n});",
554
606
  "version": "0"
555
607
  }
556
608
  },
@@ -566,42 +618,33 @@
566
618
  "didCompile": true,
567
619
  "fqnsReferenced": [
568
620
  "@aws-cdk/aws-neptune-alpha.DatabaseCluster",
569
- "@aws-cdk/aws-neptune-alpha.DatabaseClusterBase#grantConnect",
570
621
  "@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
571
622
  "@aws-cdk/aws-neptune-alpha.InstanceType",
572
623
  "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
573
- "aws-cdk-lib.Stack#account",
574
- "aws-cdk-lib.aws_ec2.IVpc",
575
- "aws-cdk-lib.aws_iam.AccountPrincipal",
576
- "aws-cdk-lib.aws_iam.IGrantable",
577
- "aws-cdk-lib.aws_iam.IPrincipal",
578
- "aws-cdk-lib.aws_iam.Role",
579
- "aws-cdk-lib.aws_iam.RoleProps"
624
+ "aws-cdk-lib.aws_ec2.IVpc"
580
625
  ],
581
- "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, 'Cluster', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n iamAuthentication: true, // Optional - will be automatically set if you call grantConnect().\n});\nconst role = new iam.Role(this, 'DBRole', { assumedBy: new iam.AccountPrincipal(this.account) });\ncluster.grantConnect(role);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
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}",
582
627
  "syntaxKindCounter": {
583
- "10": 2,
584
- "75": 19,
585
- "104": 3,
586
- "106": 1,
587
- "193": 2,
588
- "194": 7,
589
- "196": 1,
590
- "197": 3,
591
- "225": 2,
592
- "226": 1,
593
- "242": 2,
594
- "243": 2,
595
- "281": 3,
628
+ "8": 1,
629
+ "10": 1,
630
+ "75": 9,
631
+ "104": 1,
632
+ "193": 1,
633
+ "194": 3,
634
+ "197": 1,
635
+ "225": 1,
636
+ "242": 1,
637
+ "243": 1,
638
+ "281": 2,
596
639
  "282": 1
597
640
  },
598
- "fqnsFingerprint": "16cb690db64909fe5390d54b799fc5a66ccaf4cef33f3f61ed28de8a2780271c"
641
+ "fqnsFingerprint": "fdc85f4c32cf914e6e209dc05982dcc00ff018477b65711c8ace0251717d52c2"
599
642
  },
600
643
  "ca78c2f98112db812559f7f41e5124e808711be8432f88d86a2d59d55da578fd": {
601
644
  "translations": {
602
645
  "python": {
603
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_neptune_alpha as neptune_alpha\nfrom aws_cdk import aws_ec2 as ec2\n\n# security_group is of type SecurityGroup\n\ndatabase_cluster_attributes = neptune_alpha.DatabaseClusterAttributes(\n cluster_endpoint_address=\"clusterEndpointAddress\",\n cluster_identifier=\"clusterIdentifier\",\n cluster_resource_identifier=\"clusterResourceIdentifier\",\n port=123,\n reader_endpoint_address=\"readerEndpointAddress\",\n security_group=security_group\n)",
604
- "version": "1"
646
+ "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_neptune_alpha as neptune_alpha\nfrom aws_cdk import aws_ec2 as ec2\n\n# security_group: ec2.SecurityGroup\n\ndatabase_cluster_attributes = neptune_alpha.DatabaseClusterAttributes(\n cluster_endpoint_address=\"clusterEndpointAddress\",\n cluster_identifier=\"clusterIdentifier\",\n cluster_resource_identifier=\"clusterResourceIdentifier\",\n port=123,\n reader_endpoint_address=\"readerEndpointAddress\",\n security_group=security_group\n)",
647
+ "version": "2"
605
648
  },
606
649
  "csharp": {
607
650
  "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Neptune.Alpha;\nusing Amazon.CDK.AWS.EC2;\n\nSecurityGroup securityGroup;\n\nDatabaseClusterAttributes databaseClusterAttributes = new DatabaseClusterAttributes {\n ClusterEndpointAddress = \"clusterEndpointAddress\",\n ClusterIdentifier = \"clusterIdentifier\",\n ClusterResourceIdentifier = \"clusterResourceIdentifier\",\n Port = 123,\n ReaderEndpointAddress = \"readerEndpointAddress\",\n SecurityGroup = securityGroup\n};",
@@ -650,13 +693,13 @@
650
693
  "281": 6,
651
694
  "290": 1
652
695
  },
653
- "fqnsFingerprint": "1cc89c04f3553d1e2e11359de21732f75abc66d2e54be2bc0529d1647eec688b"
696
+ "fqnsFingerprint": "d0833cee84fe9f0cc60581b7d378ae8dfa22acf4a93428f26df3d131c55a7018"
654
697
  },
655
698
  "5feaab84cd035d4d56003d0f61d965d14aea7831538483a609a5337884f0874d": {
656
699
  "translations": {
657
700
  "python": {
658
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_neptune_alpha as neptune_alpha\nfrom aws_cdk import aws_ec2 as ec2\n\n# security_group is of type SecurityGroup\n\ndatabase_cluster_base = neptune_alpha.DatabaseClusterBase.from_database_cluster_attributes(self, \"MyDatabaseClusterBase\",\n cluster_endpoint_address=\"clusterEndpointAddress\",\n cluster_identifier=\"clusterIdentifier\",\n cluster_resource_identifier=\"clusterResourceIdentifier\",\n port=123,\n reader_endpoint_address=\"readerEndpointAddress\",\n security_group=security_group\n)",
659
- "version": "1"
701
+ "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_neptune_alpha as neptune_alpha\nfrom aws_cdk import aws_ec2 as ec2\n\n# security_group: ec2.SecurityGroup\n\ndatabase_cluster_base = neptune_alpha.DatabaseClusterBase.from_database_cluster_attributes(self, \"MyDatabaseClusterBase\",\n cluster_endpoint_address=\"clusterEndpointAddress\",\n cluster_identifier=\"clusterIdentifier\",\n cluster_resource_identifier=\"clusterResourceIdentifier\",\n port=123,\n reader_endpoint_address=\"readerEndpointAddress\",\n security_group=security_group\n)",
702
+ "version": "2"
660
703
  },
661
704
  "csharp": {
662
705
  "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Neptune.Alpha;\nusing Amazon.CDK.AWS.EC2;\n\nSecurityGroup securityGroup;\n\nIDatabaseCluster databaseClusterBase = DatabaseClusterBase.FromDatabaseClusterAttributes(this, \"MyDatabaseClusterBase\", new DatabaseClusterAttributes {\n ClusterEndpointAddress = \"clusterEndpointAddress\",\n ClusterIdentifier = \"clusterIdentifier\",\n ClusterResourceIdentifier = \"clusterResourceIdentifier\",\n Port = 123,\n ReaderEndpointAddress = \"readerEndpointAddress\",\n SecurityGroup = securityGroup\n});",
@@ -711,24 +754,24 @@
711
754
  "281": 6,
712
755
  "290": 1
713
756
  },
714
- "fqnsFingerprint": "872283f8f2b21abf2e08362d922584d853acd47dae4d324615d3b96f7923b02a"
757
+ "fqnsFingerprint": "a204da2d4044d6d478ab5b70f8fa6493f1394a75f3d60f4f5db3f3fda18b64b0"
715
758
  },
716
- "6a28b132c80351cd05dc62a66b5d10b77819516b566bf5f92c639d8d34aac4b3": {
759
+ "38d3526257f4ac9b4843ee18c24d2d0f3b936ef988be53484fcfab45022191d4": {
717
760
  "translations": {
718
761
  "python": {
719
- "source": "cluster = neptune.DatabaseCluster(self, \"Cluster\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n iam_authentication=True\n)\nrole = iam.Role(self, \"DBRole\", assumed_by=iam.AccountPrincipal(self.account))\ncluster.grant_connect(role)",
720
- "version": "1"
762
+ "source": "cluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n instances=2\n)",
763
+ "version": "2"
721
764
  },
722
765
  "csharp": {
723
- "source": "DatabaseCluster cluster = new DatabaseCluster(this, \"Cluster\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n IamAuthentication = true\n});\nRole role = new Role(this, \"DBRole\", new RoleProps { AssumedBy = new AccountPrincipal(Account) });\ncluster.GrantConnect(role);",
766
+ "source": "DatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n Instances = 2\n});",
724
767
  "version": "1"
725
768
  },
726
769
  "java": {
727
- "source": "DatabaseCluster cluster = DatabaseCluster.Builder.create(this, \"Cluster\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .iamAuthentication(true)\n .build();\nRole role = Role.Builder.create(this, \"DBRole\").assumedBy(new AccountPrincipal(this.account)).build();\ncluster.grantConnect(role);",
770
+ "source": "DatabaseCluster cluster = DatabaseCluster.Builder.create(this, \"Database\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .instances(2)\n .build();",
728
771
  "version": "1"
729
772
  },
730
773
  "$": {
731
- "source": "const cluster = new neptune.DatabaseCluster(this, 'Cluster', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n iamAuthentication: true, // Optional - will be automatically set if you call grantConnect().\n});\nconst role = new iam.Role(this, 'DBRole', { assumedBy: new iam.AccountPrincipal(this.account) });\ncluster.grantConnect(role); // Grant the role connection access to the DB.",
774
+ "source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2,\n});",
732
775
  "version": "0"
733
776
  }
734
777
  },
@@ -744,42 +787,33 @@
744
787
  "didCompile": true,
745
788
  "fqnsReferenced": [
746
789
  "@aws-cdk/aws-neptune-alpha.DatabaseCluster",
747
- "@aws-cdk/aws-neptune-alpha.DatabaseClusterBase#grantConnect",
748
790
  "@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
749
791
  "@aws-cdk/aws-neptune-alpha.InstanceType",
750
792
  "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
751
- "aws-cdk-lib.Stack#account",
752
- "aws-cdk-lib.aws_ec2.IVpc",
753
- "aws-cdk-lib.aws_iam.AccountPrincipal",
754
- "aws-cdk-lib.aws_iam.IGrantable",
755
- "aws-cdk-lib.aws_iam.IPrincipal",
756
- "aws-cdk-lib.aws_iam.Role",
757
- "aws-cdk-lib.aws_iam.RoleProps"
793
+ "aws-cdk-lib.aws_ec2.IVpc"
758
794
  ],
759
- "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, 'Cluster', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n iamAuthentication: true, // Optional - will be automatically set if you call grantConnect().\n});\nconst role = new iam.Role(this, 'DBRole', { assumedBy: new iam.AccountPrincipal(this.account) });\ncluster.grantConnect(role);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
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}",
760
796
  "syntaxKindCounter": {
761
- "10": 2,
762
- "75": 19,
763
- "104": 3,
764
- "106": 1,
765
- "193": 2,
766
- "194": 7,
767
- "196": 1,
768
- "197": 3,
769
- "225": 2,
770
- "226": 1,
771
- "242": 2,
772
- "243": 2,
773
- "281": 3,
797
+ "8": 1,
798
+ "10": 1,
799
+ "75": 9,
800
+ "104": 1,
801
+ "193": 1,
802
+ "194": 3,
803
+ "197": 1,
804
+ "225": 1,
805
+ "242": 1,
806
+ "243": 1,
807
+ "281": 2,
774
808
  "282": 1
775
809
  },
776
- "fqnsFingerprint": "16cb690db64909fe5390d54b799fc5a66ccaf4cef33f3f61ed28de8a2780271c"
810
+ "fqnsFingerprint": "fdc85f4c32cf914e6e209dc05982dcc00ff018477b65711c8ace0251717d52c2"
777
811
  },
778
- "1bd4ac7b526f949e626d819fa63c83ffa10c281e103f667782ea8b4558db9e50": {
812
+ "35dbc0c48fa4c8aae20324c1e723eb7567c8ce3d8843eb66260af324baba7f0d": {
779
813
  "translations": {
780
814
  "python": {
781
815
  "source": "replica1 = neptune.DatabaseInstance(self, \"Instance\",\n cluster=cluster,\n instance_type=neptune.InstanceType.R5_LARGE\n)",
782
- "version": "1"
816
+ "version": "2"
783
817
  },
784
818
  "csharp": {
785
819
  "source": "DatabaseInstance replica1 = new DatabaseInstance(this, \"Instance\", new DatabaseInstanceProps {\n Cluster = cluster,\n InstanceType = InstanceType.R5_LARGE\n});",
@@ -790,7 +824,7 @@
790
824
  "version": "1"
791
825
  },
792
826
  "$": {
793
- "source": "const replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE\n});",
827
+ "source": "const replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE,\n});",
794
828
  "version": "0"
795
829
  }
796
830
  },
@@ -812,7 +846,7 @@
812
846
  "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
813
847
  "aws-cdk-lib.aws_ec2.IVpc"
814
848
  ],
815
- "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}",
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}",
816
850
  "syntaxKindCounter": {
817
851
  "10": 1,
818
852
  "75": 8,
@@ -826,13 +860,13 @@
826
860
  "281": 1,
827
861
  "282": 1
828
862
  },
829
- "fqnsFingerprint": "77014da569a0a0eecdc7b3018bb433888009da9550d4db9359e6ea33857b7488"
863
+ "fqnsFingerprint": "b36f1ccc27f889b11f11491b825fc91ab9559db1c23faa40a25fb2d73de2bd85"
830
864
  },
831
865
  "1c29ef9ee276ff0244af33921a49b62fe7a65603798209a19f034543b43dc146": {
832
866
  "translations": {
833
867
  "python": {
834
868
  "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_neptune_alpha as neptune_alpha\n\ndatabase_instance_attributes = neptune_alpha.DatabaseInstanceAttributes(\n instance_endpoint_address=\"instanceEndpointAddress\",\n instance_identifier=\"instanceIdentifier\",\n port=123\n)",
835
- "version": "1"
869
+ "version": "2"
836
870
  },
837
871
  "csharp": {
838
872
  "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Neptune.Alpha;\n\nDatabaseInstanceAttributes databaseInstanceAttributes = new DatabaseInstanceAttributes {\n InstanceEndpointAddress = \"instanceEndpointAddress\",\n InstanceIdentifier = \"instanceIdentifier\",\n Port = 123\n};",
@@ -879,11 +913,11 @@
879
913
  },
880
914
  "fqnsFingerprint": "da6cd33720a7e8d05e7de1c5737ca36c6dc3ef838b16fcc67cb052d391af10b3"
881
915
  },
882
- "39dd628eb7c84a3aedbf3faafb0e7aed93f70b38c60a51d3defbb03f76e25978": {
916
+ "71645f4aebe9cf8219e83a3b5efeea3ee4375cff7ba91e3a91788398f194609e": {
883
917
  "translations": {
884
918
  "python": {
885
919
  "source": "replica1 = neptune.DatabaseInstance(self, \"Instance\",\n cluster=cluster,\n instance_type=neptune.InstanceType.R5_LARGE\n)",
886
- "version": "1"
920
+ "version": "2"
887
921
  },
888
922
  "csharp": {
889
923
  "source": "DatabaseInstance replica1 = new DatabaseInstance(this, \"Instance\", new DatabaseInstanceProps {\n Cluster = cluster,\n InstanceType = InstanceType.R5_LARGE\n});",
@@ -894,7 +928,7 @@
894
928
  "version": "1"
895
929
  },
896
930
  "$": {
897
- "source": "const replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE\n});",
931
+ "source": "const replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE,\n});",
898
932
  "version": "0"
899
933
  }
900
934
  },
@@ -916,7 +950,7 @@
916
950
  "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
917
951
  "aws-cdk-lib.aws_ec2.IVpc"
918
952
  ],
919
- "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}",
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}",
920
954
  "syntaxKindCounter": {
921
955
  "10": 1,
922
956
  "75": 8,
@@ -930,13 +964,13 @@
930
964
  "281": 1,
931
965
  "282": 1
932
966
  },
933
- "fqnsFingerprint": "77014da569a0a0eecdc7b3018bb433888009da9550d4db9359e6ea33857b7488"
967
+ "fqnsFingerprint": "b36f1ccc27f889b11f11491b825fc91ab9559db1c23faa40a25fb2d73de2bd85"
934
968
  },
935
969
  "de16aca82c633caedaf5c5814e46eec3e18bdb3f103ae63e3a7493c2e0aabc11": {
936
970
  "translations": {
937
971
  "python": {
938
972
  "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_neptune_alpha as neptune_alpha\n\nendpoint = neptune_alpha.Endpoint(\"address\", 123)",
939
- "version": "1"
973
+ "version": "2"
940
974
  },
941
975
  "csharp": {
942
976
  "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Neptune.Alpha;\n\nEndpoint endpoint = new Endpoint(\"address\", 123);",
@@ -985,7 +1019,7 @@
985
1019
  "translations": {
986
1020
  "python": {
987
1021
  "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_neptune_alpha as neptune_alpha\n\nengine_version = neptune_alpha.EngineVersion.V1_0_1_0",
988
- "version": "1"
1022
+ "version": "2"
989
1023
  },
990
1024
  "csharp": {
991
1025
  "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Neptune.Alpha;\n\nEngineVersion engineVersion = EngineVersion.V1_0_1_0;",
@@ -1029,11 +1063,11 @@
1029
1063
  },
1030
1064
  "fqnsFingerprint": "c6e6cf7bc71d2f928da49d88c5ecd92e0068fe2cf1d832efa86183a70b7654de"
1031
1065
  },
1032
- "be333fe44c720a1a7fc3c94af158ec813983c866eb2c55d0aead6ab38462d566": {
1066
+ "6e7def9cf6034490263320f1ff12c44f5d398fd9bcb8f7b297c2eb7367f88558": {
1033
1067
  "translations": {
1034
1068
  "python": {
1035
1069
  "source": "cluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n instances=2\n)",
1036
- "version": "1"
1070
+ "version": "2"
1037
1071
  },
1038
1072
  "csharp": {
1039
1073
  "source": "DatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n Instances = 2\n});",
@@ -1044,7 +1078,7 @@
1044
1078
  "version": "1"
1045
1079
  },
1046
1080
  "$": {
1047
- "source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2\n});",
1081
+ "source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2,\n});",
1048
1082
  "version": "0"
1049
1083
  }
1050
1084
  },
@@ -1065,7 +1099,7 @@
1065
1099
  "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
1066
1100
  "aws-cdk-lib.aws_ec2.IVpc"
1067
1101
  ],
1068
- "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}",
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}",
1069
1103
  "syntaxKindCounter": {
1070
1104
  "8": 1,
1071
1105
  "10": 1,
@@ -1080,13 +1114,13 @@
1080
1114
  "281": 2,
1081
1115
  "282": 1
1082
1116
  },
1083
- "fqnsFingerprint": "2985154c56e07fa633845a65eb9f7caeb5dd27ddba3bb31c3f56d7e63eefbc4b"
1117
+ "fqnsFingerprint": "fdc85f4c32cf914e6e209dc05982dcc00ff018477b65711c8ace0251717d52c2"
1084
1118
  },
1085
- "5c776cd031378ab0fb6c770f04df1d9ee61fb3b337084d899326158b5319f76f": {
1119
+ "f9296902595600ec2944094f8ea1fc6179f727622ae489fefc90d0e34953b835": {
1086
1120
  "translations": {
1087
1121
  "python": {
1088
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)",
1089
- "version": "1"
1123
+ "version": "2"
1090
1124
  },
1091
1125
  "csharp": {
1092
1126
  "source": "ClusterParameterGroup clusterParams = new ClusterParameterGroup(this, \"ClusterParams\", new ClusterParameterGroupProps {\n Description = \"Cluster parameter group\",\n Parameters = new Dictionary<string, string> {\n { \"neptune_enable_audit_log\", \"1\" }\n }\n});\n\nParameterGroup dbParams = new ParameterGroup(this, \"DbParams\", new ParameterGroupProps {\n Description = \"Db parameter group\",\n Parameters = new Dictionary<string, string> {\n { \"neptune_query_timeout\", \"120000\" }\n }\n});\n\nDatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n ClusterParameterGroup = clusterParams,\n ParameterGroup = dbParams\n});",
@@ -1097,7 +1131,7 @@
1097
1131
  "version": "1"
1098
1132
  },
1099
1133
  "$": {
1100
- "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});",
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});",
1101
1135
  "version": "0"
1102
1136
  }
1103
1137
  },
@@ -1124,7 +1158,7 @@
1124
1158
  "@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
1125
1159
  "aws-cdk-lib.aws_ec2.IVpc"
1126
1160
  ],
1127
- "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}",
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}",
1128
1162
  "syntaxKindCounter": {
1129
1163
  "10": 7,
1130
1164
  "75": 24,
@@ -1138,13 +1172,13 @@
1138
1172
  "281": 9,
1139
1173
  "282": 1
1140
1174
  },
1141
- "fqnsFingerprint": "775ee9de9651838acb7563c4412d61a42ac1ce0c0c291e4fb5b383be25d08764"
1175
+ "fqnsFingerprint": "6e1fbdcb5ee686302dcf15d3d47b862050f334d1a1f5183b1d4e3e4e92ae5cb9"
1142
1176
  },
1143
- "78c0fe1a549c3d56be1e3337bee688b9acde52c92c3b499d058f819c6b6eda0e": {
1177
+ "b3321b21b55d357012d80dd629d7b798472053fa4bc2d315972f695682d16f95": {
1144
1178
  "translations": {
1145
1179
  "python": {
1146
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)",
1147
- "version": "1"
1181
+ "version": "2"
1148
1182
  },
1149
1183
  "csharp": {
1150
1184
  "source": "ClusterParameterGroup clusterParams = new ClusterParameterGroup(this, \"ClusterParams\", new ClusterParameterGroupProps {\n Description = \"Cluster parameter group\",\n Parameters = new Dictionary<string, string> {\n { \"neptune_enable_audit_log\", \"1\" }\n }\n});\n\nParameterGroup dbParams = new ParameterGroup(this, \"DbParams\", new ParameterGroupProps {\n Description = \"Db parameter group\",\n Parameters = new Dictionary<string, string> {\n { \"neptune_query_timeout\", \"120000\" }\n }\n});\n\nDatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n ClusterParameterGroup = clusterParams,\n ParameterGroup = dbParams\n});",
@@ -1155,7 +1189,7 @@
1155
1189
  "version": "1"
1156
1190
  },
1157
1191
  "$": {
1158
- "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});",
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});",
1159
1193
  "version": "0"
1160
1194
  }
1161
1195
  },
@@ -1182,7 +1216,7 @@
1182
1216
  "@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
1183
1217
  "aws-cdk-lib.aws_ec2.IVpc"
1184
1218
  ],
1185
- "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}",
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}",
1186
1220
  "syntaxKindCounter": {
1187
1221
  "10": 7,
1188
1222
  "75": 24,
@@ -1196,13 +1230,13 @@
1196
1230
  "281": 9,
1197
1231
  "282": 1
1198
1232
  },
1199
- "fqnsFingerprint": "775ee9de9651838acb7563c4412d61a42ac1ce0c0c291e4fb5b383be25d08764"
1233
+ "fqnsFingerprint": "6e1fbdcb5ee686302dcf15d3d47b862050f334d1a1f5183b1d4e3e4e92ae5cb9"
1200
1234
  },
1201
1235
  "1b234381e7b7a935aaf7b780eff4d51fdbf11037524c62776b1d861c51e87077": {
1202
1236
  "translations": {
1203
1237
  "python": {
1204
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_neptune_alpha as neptune_alpha\nimport aws_cdk as cdk\nfrom aws_cdk import aws_ec2 as ec2\n\n# subnet is of type Subnet\n# subnet_filter is of type SubnetFilter\n# vpc is of type Vpc\n\nsubnet_group = neptune_alpha.SubnetGroup(self, \"MySubnetGroup\",\n vpc=vpc,\n\n # the properties below are optional\n description=\"description\",\n removal_policy=cdk.RemovalPolicy.DESTROY,\n subnet_group_name=\"subnetGroupName\",\n vpc_subnets=ec2.SubnetSelection(\n availability_zones=[\"availabilityZones\"],\n one_per_az=False,\n subnet_filters=[subnet_filter],\n subnet_group_name=\"subnetGroupName\",\n subnets=[subnet],\n subnet_type=ec2.SubnetType.PRIVATE_ISOLATED\n )\n)",
1205
- "version": "1"
1238
+ "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_neptune_alpha as neptune_alpha\nimport aws_cdk as cdk\nfrom aws_cdk import aws_ec2 as ec2\n\n# subnet: ec2.Subnet\n# subnet_filter: ec2.SubnetFilter\n# vpc: ec2.Vpc\n\nsubnet_group = neptune_alpha.SubnetGroup(self, \"MySubnetGroup\",\n vpc=vpc,\n\n # the properties below are optional\n description=\"description\",\n removal_policy=cdk.RemovalPolicy.DESTROY,\n subnet_group_name=\"subnetGroupName\",\n vpc_subnets=ec2.SubnetSelection(\n availability_zones=[\"availabilityZones\"],\n one_per_az=False,\n subnet_filters=[subnet_filter],\n subnet_group_name=\"subnetGroupName\",\n subnets=[subnet],\n subnet_type=ec2.SubnetType.PRIVATE_ISOLATED\n )\n)",
1239
+ "version": "2"
1206
1240
  },
1207
1241
  "csharp": {
1208
1242
  "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Neptune.Alpha;\nusing Amazon.CDK;\nusing Amazon.CDK.AWS.EC2;\n\nSubnet subnet;\nSubnetFilter subnetFilter;\nVpc vpc;\n\nSubnetGroup subnetGroup = new SubnetGroup(this, \"MySubnetGroup\", new SubnetGroupProps {\n Vpc = vpc,\n\n // the properties below are optional\n Description = \"description\",\n RemovalPolicy = RemovalPolicy.DESTROY,\n SubnetGroupName = \"subnetGroupName\",\n VpcSubnets = new SubnetSelection {\n AvailabilityZones = new [] { \"availabilityZones\" },\n OnePerAz = false,\n SubnetFilters = new [] { subnetFilter },\n SubnetGroupName = \"subnetGroupName\",\n Subnets = new [] { subnet },\n SubnetType = SubnetType.PRIVATE_ISOLATED\n }\n});",
@@ -1261,13 +1295,13 @@
1261
1295
  "281": 11,
1262
1296
  "290": 1
1263
1297
  },
1264
- "fqnsFingerprint": "e9a0a6cf1e82be2b6d99f607a907b5e6aa58b2b49463cc40e25f78dd60424fd9"
1298
+ "fqnsFingerprint": "40cf679fa8d157d64da8811d5db768932f0eb00fe47c69ee743cbd343caf31a5"
1265
1299
  },
1266
1300
  "66acd64033a59a14c547f8f7b169f31adbac7d4ff584afa3879fbf141004a793": {
1267
1301
  "translations": {
1268
1302
  "python": {
1269
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_neptune_alpha as neptune_alpha\nimport aws_cdk as cdk\nfrom aws_cdk import aws_ec2 as ec2\n\n# subnet is of type Subnet\n# subnet_filter is of type SubnetFilter\n# vpc is of type Vpc\n\nsubnet_group_props = neptune_alpha.SubnetGroupProps(\n vpc=vpc,\n\n # the properties below are optional\n description=\"description\",\n removal_policy=cdk.RemovalPolicy.DESTROY,\n subnet_group_name=\"subnetGroupName\",\n vpc_subnets=ec2.SubnetSelection(\n availability_zones=[\"availabilityZones\"],\n one_per_az=False,\n subnet_filters=[subnet_filter],\n subnet_group_name=\"subnetGroupName\",\n subnets=[subnet],\n subnet_type=ec2.SubnetType.PRIVATE_ISOLATED\n )\n)",
1270
- "version": "1"
1303
+ "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_neptune_alpha as neptune_alpha\nimport aws_cdk as cdk\nfrom aws_cdk import aws_ec2 as ec2\n\n# subnet: ec2.Subnet\n# subnet_filter: ec2.SubnetFilter\n# vpc: ec2.Vpc\n\nsubnet_group_props = neptune_alpha.SubnetGroupProps(\n vpc=vpc,\n\n # the properties below are optional\n description=\"description\",\n removal_policy=cdk.RemovalPolicy.DESTROY,\n subnet_group_name=\"subnetGroupName\",\n vpc_subnets=ec2.SubnetSelection(\n availability_zones=[\"availabilityZones\"],\n one_per_az=False,\n subnet_filters=[subnet_filter],\n subnet_group_name=\"subnetGroupName\",\n subnets=[subnet],\n subnet_type=ec2.SubnetType.PRIVATE_ISOLATED\n )\n)",
1304
+ "version": "2"
1271
1305
  },
1272
1306
  "csharp": {
1273
1307
  "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Neptune.Alpha;\nusing Amazon.CDK;\nusing Amazon.CDK.AWS.EC2;\n\nSubnet subnet;\nSubnetFilter subnetFilter;\nVpc vpc;\n\nSubnetGroupProps subnetGroupProps = new SubnetGroupProps {\n Vpc = vpc,\n\n // the properties below are optional\n Description = \"description\",\n RemovalPolicy = RemovalPolicy.DESTROY,\n SubnetGroupName = \"subnetGroupName\",\n VpcSubnets = new SubnetSelection {\n AvailabilityZones = new [] { \"availabilityZones\" },\n OnePerAz = false,\n SubnetFilters = new [] { subnetFilter },\n SubnetGroupName = \"subnetGroupName\",\n Subnets = new [] { subnet },\n SubnetType = SubnetType.PRIVATE_ISOLATED\n }\n};",
@@ -1323,7 +1357,7 @@
1323
1357
  "281": 11,
1324
1358
  "290": 1
1325
1359
  },
1326
- "fqnsFingerprint": "648b227a8f39c34560eab53e84dc2dfbad4a343ffd7678cca85f946942e77699"
1360
+ "fqnsFingerprint": "6ebd2efa3bfb6a4f7b87ef31a25c1f7f0245172836d2bd3847bf27584c71c8fc"
1327
1361
  }
1328
1362
  }
1329
1363
  }