@aws-cdk/aws-neptune-alpha 2.1.0-alpha.0 → 2.2.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.
@@ -0,0 +1,938 @@
1
+ {
2
+ "version": "2",
3
+ "toolVersion": "1.47.0",
4
+ "snippets": {
5
+ "bcadbe51a636bac40037d281e236cbbf751bc8d72ff900918130bb2b818247bb": {
6
+ "translations": {
7
+ "python": {
8
+ "source": "import aws_cdk.aws_neptune_alpha as neptune",
9
+ "version": "1"
10
+ },
11
+ "csharp": {
12
+ "source": "using Amazon.CDK.AWS.Neptune.Alpha;",
13
+ "version": "1"
14
+ },
15
+ "java": {
16
+ "source": "import software.amazon.awscdk.services.neptune.alpha.*;",
17
+ "version": "1"
18
+ },
19
+ "$": {
20
+ "source": "import * as neptune from '@aws-cdk/aws-neptune-alpha';",
21
+ "version": "0"
22
+ }
23
+ },
24
+ "location": {
25
+ "api": {
26
+ "api": "moduleReadme",
27
+ "moduleFqn": "@aws-cdk/aws-neptune-alpha"
28
+ },
29
+ "field": {
30
+ "field": "markdown",
31
+ "line": 22
32
+ }
33
+ },
34
+ "didCompile": true,
35
+ "fqnsReferenced": [],
36
+ "fullSource": "import * as neptune from '@aws-cdk/aws-neptune-alpha';",
37
+ "syntaxKindCounter": {
38
+ "10": 1,
39
+ "75": 1,
40
+ "254": 1,
41
+ "255": 1,
42
+ "256": 1,
43
+ "290": 1
44
+ },
45
+ "fqnsFingerprint": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
46
+ },
47
+ "67f3522d343cbef9bc95a97ce0748293834b3fdce75124a9f746c1946736ed8b": {
48
+ "translations": {
49
+ "python": {
50
+ "source": "cluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE\n)",
51
+ "version": "1"
52
+ },
53
+ "csharp": {
54
+ "source": "DatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE\n});",
55
+ "version": "1"
56
+ },
57
+ "java": {
58
+ "source": "DatabaseCluster cluster = DatabaseCluster.Builder.create(this, \"Database\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .build();",
59
+ "version": "1"
60
+ },
61
+ "$": {
62
+ "source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE\n});",
63
+ "version": "0"
64
+ }
65
+ },
66
+ "location": {
67
+ "api": {
68
+ "api": "moduleReadme",
69
+ "moduleFqn": "@aws-cdk/aws-neptune-alpha"
70
+ },
71
+ "field": {
72
+ "field": "markdown",
73
+ "line": 30
74
+ }
75
+ },
76
+ "didCompile": true,
77
+ "fqnsReferenced": [
78
+ "@aws-cdk/aws-neptune-alpha.DatabaseCluster",
79
+ "@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
80
+ "@aws-cdk/aws-neptune-alpha.InstanceType",
81
+ "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
82
+ "aws-cdk-lib.aws_ec2.IVpc"
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}",
85
+ "syntaxKindCounter": {
86
+ "10": 1,
87
+ "75": 8,
88
+ "104": 1,
89
+ "193": 1,
90
+ "194": 3,
91
+ "197": 1,
92
+ "225": 1,
93
+ "242": 1,
94
+ "243": 1,
95
+ "281": 1,
96
+ "282": 1
97
+ },
98
+ "fqnsFingerprint": "e7fd0e691b0d0c1e7e22c63b5146652be9bdc7078c74c71062d8f424e29e170a"
99
+ },
100
+ "953c2428df37057ec1a6bd84519912404177f69e256af1b480542f211c7de999": {
101
+ "translations": {
102
+ "python": {
103
+ "source": "cluster.connections.allow_default_port_from_any_ipv4(\"Open to the world\")",
104
+ "version": "1"
105
+ },
106
+ "csharp": {
107
+ "source": "cluster.Connections.AllowDefaultPortFromAnyIpv4(\"Open to the world\");",
108
+ "version": "1"
109
+ },
110
+ "java": {
111
+ "source": "cluster.connections.allowDefaultPortFromAnyIpv4(\"Open to the world\");",
112
+ "version": "1"
113
+ },
114
+ "$": {
115
+ "source": "cluster.connections.allowDefaultPortFromAnyIpv4('Open to the world');",
116
+ "version": "0"
117
+ }
118
+ },
119
+ "location": {
120
+ "api": {
121
+ "api": "moduleReadme",
122
+ "moduleFqn": "@aws-cdk/aws-neptune-alpha"
123
+ },
124
+ "field": {
125
+ "field": "markdown",
126
+ "line": 44
127
+ }
128
+ },
129
+ "didCompile": true,
130
+ "fqnsReferenced": [
131
+ "@aws-cdk/aws-neptune-alpha.DatabaseCluster#connections",
132
+ "@aws-cdk/aws-neptune-alpha.InstanceType",
133
+ "aws-cdk-lib.aws_ec2.Connections#allowDefaultPortFromAnyIpv4",
134
+ "aws-cdk-lib.aws_ec2.IVpc"
135
+ ],
136
+ "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\ncluster.connections.allowDefaultPortFromAnyIpv4('Open to the world');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
137
+ "syntaxKindCounter": {
138
+ "10": 1,
139
+ "75": 3,
140
+ "194": 2,
141
+ "196": 1,
142
+ "226": 1
143
+ },
144
+ "fqnsFingerprint": "4f3e32c1a4ecbf1cca3397bd14bb01d9dc92f81d5ffede2d6c4e80138fdb0b3d"
145
+ },
146
+ "ed8c6b463c666c0bbf894f52002ec2d77ba24c864bccf03a81468b3fae25f833": {
147
+ "translations": {
148
+ "python": {
149
+ "source": "write_address = cluster.cluster_endpoint.socket_address",
150
+ "version": "1"
151
+ },
152
+ "csharp": {
153
+ "source": "string writeAddress = cluster.ClusterEndpoint.SocketAddress;",
154
+ "version": "1"
155
+ },
156
+ "java": {
157
+ "source": "String writeAddress = cluster.getClusterEndpoint().getSocketAddress();",
158
+ "version": "1"
159
+ },
160
+ "$": {
161
+ "source": "const writeAddress = cluster.clusterEndpoint.socketAddress; // \"HOSTNAME:PORT\"",
162
+ "version": "0"
163
+ }
164
+ },
165
+ "location": {
166
+ "api": {
167
+ "api": "moduleReadme",
168
+ "moduleFqn": "@aws-cdk/aws-neptune-alpha"
169
+ },
170
+ "field": {
171
+ "field": "markdown",
172
+ "line": 51
173
+ }
174
+ },
175
+ "didCompile": true,
176
+ "fqnsReferenced": [
177
+ "@aws-cdk/aws-neptune-alpha.DatabaseCluster#clusterEndpoint",
178
+ "@aws-cdk/aws-neptune-alpha.Endpoint#socketAddress",
179
+ "@aws-cdk/aws-neptune-alpha.InstanceType",
180
+ "aws-cdk-lib.aws_ec2.IVpc"
181
+ ],
182
+ "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 writeAddress = cluster.clusterEndpoint.socketAddress;\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
183
+ "syntaxKindCounter": {
184
+ "75": 4,
185
+ "194": 2,
186
+ "225": 1,
187
+ "242": 1,
188
+ "243": 1
189
+ },
190
+ "fqnsFingerprint": "206a2ae53027bb06639a67b60c0c25e7d32782a73dc47aedb941944c23c5d477"
191
+ },
192
+ "82b04fa3008df9bacd25bb31d6ff6ef55b796c541f1def3827e6016c267bd0a5": {
193
+ "translations": {
194
+ "python": {
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"
197
+ },
198
+ "csharp": {
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);",
200
+ "version": "1"
201
+ },
202
+ "java": {
203
+ "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);",
204
+ "version": "1"
205
+ },
206
+ "$": {
207
+ "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.",
208
+ "version": "0"
209
+ }
210
+ },
211
+ "location": {
212
+ "api": {
213
+ "api": "moduleReadme",
214
+ "moduleFqn": "@aws-cdk/aws-neptune-alpha"
215
+ },
216
+ "field": {
217
+ "field": "markdown",
218
+ "line": 63
219
+ }
220
+ },
221
+ "didCompile": true,
222
+ "fqnsReferenced": [
223
+ "@aws-cdk/aws-neptune-alpha.DatabaseCluster",
224
+ "@aws-cdk/aws-neptune-alpha.DatabaseClusterBase#grantConnect",
225
+ "@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
226
+ "@aws-cdk/aws-neptune-alpha.InstanceType",
227
+ "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
228
+ "aws-cdk-lib.Stack#account",
229
+ "aws-cdk-lib.aws_ec2.IVpc",
230
+ "aws-cdk-lib.aws_iam.AccountPrincipal",
231
+ "aws-cdk-lib.aws_iam.IGrantable",
232
+ "aws-cdk-lib.aws_iam.IPrincipal",
233
+ "aws-cdk-lib.aws_iam.Role",
234
+ "aws-cdk-lib.aws_iam.RoleProps"
235
+ ],
236
+ "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}",
237
+ "syntaxKindCounter": {
238
+ "10": 2,
239
+ "75": 19,
240
+ "104": 3,
241
+ "106": 1,
242
+ "193": 2,
243
+ "194": 7,
244
+ "196": 1,
245
+ "197": 3,
246
+ "225": 2,
247
+ "226": 1,
248
+ "242": 2,
249
+ "243": 2,
250
+ "281": 3,
251
+ "282": 1
252
+ },
253
+ "fqnsFingerprint": "fac45cc61a6caf0a750e596e24b5693bb1fa52007033a450db0658a1067122c1"
254
+ },
255
+ "8f0c7a464e84fc443c9bd391c10fdd3cc84964c1bb440ddc75d9d6f1744bc99c": {
256
+ "translations": {
257
+ "python": {
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"
260
+ },
261
+ "csharp": {
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});",
263
+ "version": "1"
264
+ },
265
+ "java": {
266
+ "source": "ClusterParameterGroup clusterParams = ClusterParameterGroup.Builder.create(this, \"ClusterParams\")\n .description(\"Cluster parameter group\")\n .parameters(Map.of(\n \"neptune_enable_audit_log\", \"1\"))\n .build();\n\nParameterGroup dbParams = ParameterGroup.Builder.create(this, \"DbParams\")\n .description(\"Db parameter group\")\n .parameters(Map.of(\n \"neptune_query_timeout\", \"120000\"))\n .build();\n\nDatabaseCluster cluster = DatabaseCluster.Builder.create(this, \"Database\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .clusterParameterGroup(clusterParams)\n .parameterGroup(dbParams)\n .build();",
267
+ "version": "1"
268
+ },
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});",
271
+ "version": "0"
272
+ }
273
+ },
274
+ "location": {
275
+ "api": {
276
+ "api": "moduleReadme",
277
+ "moduleFqn": "@aws-cdk/aws-neptune-alpha"
278
+ },
279
+ "field": {
280
+ "field": "markdown",
281
+ "line": 78
282
+ }
283
+ },
284
+ "didCompile": true,
285
+ "fqnsReferenced": [
286
+ "@aws-cdk/aws-neptune-alpha.ClusterParameterGroup",
287
+ "@aws-cdk/aws-neptune-alpha.ClusterParameterGroupProps",
288
+ "@aws-cdk/aws-neptune-alpha.DatabaseCluster",
289
+ "@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
290
+ "@aws-cdk/aws-neptune-alpha.IClusterParameterGroup",
291
+ "@aws-cdk/aws-neptune-alpha.IParameterGroup",
292
+ "@aws-cdk/aws-neptune-alpha.InstanceType",
293
+ "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
294
+ "@aws-cdk/aws-neptune-alpha.ParameterGroup",
295
+ "@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
296
+ "aws-cdk-lib.aws_ec2.IVpc"
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}",
299
+ "syntaxKindCounter": {
300
+ "10": 7,
301
+ "75": 24,
302
+ "104": 3,
303
+ "193": 5,
304
+ "194": 5,
305
+ "197": 3,
306
+ "225": 3,
307
+ "242": 3,
308
+ "243": 3,
309
+ "281": 9,
310
+ "282": 1
311
+ },
312
+ "fqnsFingerprint": "bc19560f3468adf74a4a2be29520e96e15789f4efd5affd04ef06dfbec31e6f6"
313
+ },
314
+ "cbd243747cc4c09ea3a434ee7fead88ec74cb6d39358fb22e5ab0e20118a0d7b": {
315
+ "translations": {
316
+ "python": {
317
+ "source": "cluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n instances=2\n)",
318
+ "version": "1"
319
+ },
320
+ "csharp": {
321
+ "source": "DatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n Instances = 2\n});",
322
+ "version": "1"
323
+ },
324
+ "java": {
325
+ "source": "DatabaseCluster cluster = DatabaseCluster.Builder.create(this, \"Database\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .instances(2)\n .build();",
326
+ "version": "1"
327
+ },
328
+ "$": {
329
+ "source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2\n});",
330
+ "version": "0"
331
+ }
332
+ },
333
+ "location": {
334
+ "api": {
335
+ "api": "moduleReadme",
336
+ "moduleFqn": "@aws-cdk/aws-neptune-alpha"
337
+ },
338
+ "field": {
339
+ "field": "markdown",
340
+ "line": 106
341
+ }
342
+ },
343
+ "didCompile": true,
344
+ "fqnsReferenced": [
345
+ "@aws-cdk/aws-neptune-alpha.DatabaseCluster",
346
+ "@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
347
+ "@aws-cdk/aws-neptune-alpha.InstanceType",
348
+ "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
349
+ "aws-cdk-lib.aws_ec2.IVpc"
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}",
352
+ "syntaxKindCounter": {
353
+ "8": 1,
354
+ "10": 1,
355
+ "75": 9,
356
+ "104": 1,
357
+ "193": 1,
358
+ "194": 3,
359
+ "197": 1,
360
+ "225": 1,
361
+ "242": 1,
362
+ "243": 1,
363
+ "281": 2,
364
+ "282": 1
365
+ },
366
+ "fqnsFingerprint": "e7fd0e691b0d0c1e7e22c63b5146652be9bdc7078c74c71062d8f424e29e170a"
367
+ },
368
+ "baa95a460cd6c6db838ce41a5152b1f88a78f4296c0c9fd7ee97621f9be3df80": {
369
+ "translations": {
370
+ "python": {
371
+ "source": "replica1 = neptune.DatabaseInstance(self, \"Instance\",\n cluster=cluster,\n instance_type=neptune.InstanceType.R5_LARGE\n)",
372
+ "version": "1"
373
+ },
374
+ "csharp": {
375
+ "source": "DatabaseInstance replica1 = new DatabaseInstance(this, \"Instance\", new DatabaseInstanceProps {\n Cluster = cluster,\n InstanceType = InstanceType.R5_LARGE\n});",
376
+ "version": "1"
377
+ },
378
+ "java": {
379
+ "source": "DatabaseInstance replica1 = DatabaseInstance.Builder.create(this, \"Instance\")\n .cluster(cluster)\n .instanceType(InstanceType.R5_LARGE)\n .build();",
380
+ "version": "1"
381
+ },
382
+ "$": {
383
+ "source": "const replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE\n});",
384
+ "version": "0"
385
+ }
386
+ },
387
+ "location": {
388
+ "api": {
389
+ "api": "moduleReadme",
390
+ "moduleFqn": "@aws-cdk/aws-neptune-alpha"
391
+ },
392
+ "field": {
393
+ "field": "markdown",
394
+ "line": 116
395
+ }
396
+ },
397
+ "didCompile": true,
398
+ "fqnsReferenced": [
399
+ "@aws-cdk/aws-neptune-alpha.DatabaseInstance",
400
+ "@aws-cdk/aws-neptune-alpha.DatabaseInstanceProps",
401
+ "@aws-cdk/aws-neptune-alpha.IDatabaseCluster",
402
+ "@aws-cdk/aws-neptune-alpha.InstanceType",
403
+ "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
404
+ "aws-cdk-lib.aws_ec2.IVpc"
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}",
407
+ "syntaxKindCounter": {
408
+ "10": 1,
409
+ "75": 8,
410
+ "104": 1,
411
+ "193": 1,
412
+ "194": 3,
413
+ "197": 1,
414
+ "225": 1,
415
+ "242": 1,
416
+ "243": 1,
417
+ "281": 1,
418
+ "282": 1
419
+ },
420
+ "fqnsFingerprint": "4cc338e613924c939db7a3bd077f0a7ef95e50648230589067585ad7500745a5"
421
+ },
422
+ "d445e02b276ff833deadfee2a2d2cde6050b177c63dea8619191a5ae8cfa217b": {
423
+ "translations": {
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)",
426
+ "version": "1"
427
+ },
428
+ "csharp": {
429
+ "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
+ "version": "1"
431
+ },
432
+ "java": {
433
+ "source": "ClusterParameterGroup clusterParams = ClusterParameterGroup.Builder.create(this, \"ClusterParams\")\n .description(\"Cluster parameter group\")\n .parameters(Map.of(\n \"neptune_enable_audit_log\", \"1\"))\n .build();\n\nParameterGroup dbParams = ParameterGroup.Builder.create(this, \"DbParams\")\n .description(\"Db parameter group\")\n .parameters(Map.of(\n \"neptune_query_timeout\", \"120000\"))\n .build();\n\nDatabaseCluster cluster = DatabaseCluster.Builder.create(this, \"Database\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .clusterParameterGroup(clusterParams)\n .parameterGroup(dbParams)\n .build();",
434
+ "version": "1"
435
+ },
436
+ "$": {
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});",
438
+ "version": "0"
439
+ }
440
+ },
441
+ "location": {
442
+ "api": {
443
+ "api": "type",
444
+ "fqn": "@aws-cdk/aws-neptune-alpha.ClusterParameterGroup"
445
+ },
446
+ "field": {
447
+ "field": "example"
448
+ }
449
+ },
450
+ "didCompile": true,
451
+ "fqnsReferenced": [
452
+ "@aws-cdk/aws-neptune-alpha.ClusterParameterGroup",
453
+ "@aws-cdk/aws-neptune-alpha.ClusterParameterGroupProps",
454
+ "@aws-cdk/aws-neptune-alpha.DatabaseCluster",
455
+ "@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
456
+ "@aws-cdk/aws-neptune-alpha.IClusterParameterGroup",
457
+ "@aws-cdk/aws-neptune-alpha.IParameterGroup",
458
+ "@aws-cdk/aws-neptune-alpha.InstanceType",
459
+ "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
460
+ "@aws-cdk/aws-neptune-alpha.ParameterGroup",
461
+ "@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
462
+ "aws-cdk-lib.aws_ec2.IVpc"
463
+ ],
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}",
465
+ "syntaxKindCounter": {
466
+ "10": 7,
467
+ "75": 24,
468
+ "104": 3,
469
+ "193": 5,
470
+ "194": 5,
471
+ "197": 3,
472
+ "225": 3,
473
+ "242": 3,
474
+ "243": 3,
475
+ "281": 9,
476
+ "282": 1
477
+ },
478
+ "fqnsFingerprint": "bc19560f3468adf74a4a2be29520e96e15789f4efd5affd04ef06dfbec31e6f6"
479
+ },
480
+ "4ca592a02fcf3c41d969dfa88a6801e17e3889987c25cd72ba3e27270ca3b044": {
481
+ "translations": {
482
+ "python": {
483
+ "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"
485
+ },
486
+ "csharp": {
487
+ "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});",
488
+ "version": "1"
489
+ },
490
+ "java": {
491
+ "source": "ClusterParameterGroup clusterParams = ClusterParameterGroup.Builder.create(this, \"ClusterParams\")\n .description(\"Cluster parameter group\")\n .parameters(Map.of(\n \"neptune_enable_audit_log\", \"1\"))\n .build();\n\nParameterGroup dbParams = ParameterGroup.Builder.create(this, \"DbParams\")\n .description(\"Db parameter group\")\n .parameters(Map.of(\n \"neptune_query_timeout\", \"120000\"))\n .build();\n\nDatabaseCluster cluster = DatabaseCluster.Builder.create(this, \"Database\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .clusterParameterGroup(clusterParams)\n .parameterGroup(dbParams)\n .build();",
492
+ "version": "1"
493
+ },
494
+ "$": {
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});",
496
+ "version": "0"
497
+ }
498
+ },
499
+ "location": {
500
+ "api": {
501
+ "api": "type",
502
+ "fqn": "@aws-cdk/aws-neptune-alpha.ClusterParameterGroupProps"
503
+ },
504
+ "field": {
505
+ "field": "example"
506
+ }
507
+ },
508
+ "didCompile": true,
509
+ "fqnsReferenced": [
510
+ "@aws-cdk/aws-neptune-alpha.ClusterParameterGroup",
511
+ "@aws-cdk/aws-neptune-alpha.ClusterParameterGroupProps",
512
+ "@aws-cdk/aws-neptune-alpha.DatabaseCluster",
513
+ "@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
514
+ "@aws-cdk/aws-neptune-alpha.IClusterParameterGroup",
515
+ "@aws-cdk/aws-neptune-alpha.IParameterGroup",
516
+ "@aws-cdk/aws-neptune-alpha.InstanceType",
517
+ "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
518
+ "@aws-cdk/aws-neptune-alpha.ParameterGroup",
519
+ "@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
520
+ "aws-cdk-lib.aws_ec2.IVpc"
521
+ ],
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}",
523
+ "syntaxKindCounter": {
524
+ "10": 7,
525
+ "75": 24,
526
+ "104": 3,
527
+ "193": 5,
528
+ "194": 5,
529
+ "197": 3,
530
+ "225": 3,
531
+ "242": 3,
532
+ "243": 3,
533
+ "281": 9,
534
+ "282": 1
535
+ },
536
+ "fqnsFingerprint": "bc19560f3468adf74a4a2be29520e96e15789f4efd5affd04ef06dfbec31e6f6"
537
+ },
538
+ "324b2fcb4dffd436afdaff86fffdc9cd3b8822da7035dc88256150bff5b5c8e1": {
539
+ "translations": {
540
+ "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"
543
+ },
544
+ "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);",
546
+ "version": "1"
547
+ },
548
+ "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);",
550
+ "version": "1"
551
+ },
552
+ "$": {
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.",
554
+ "version": "0"
555
+ }
556
+ },
557
+ "location": {
558
+ "api": {
559
+ "api": "type",
560
+ "fqn": "@aws-cdk/aws-neptune-alpha.DatabaseCluster"
561
+ },
562
+ "field": {
563
+ "field": "example"
564
+ }
565
+ },
566
+ "didCompile": true,
567
+ "fqnsReferenced": [
568
+ "@aws-cdk/aws-neptune-alpha.DatabaseCluster",
569
+ "@aws-cdk/aws-neptune-alpha.DatabaseClusterBase#grantConnect",
570
+ "@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
571
+ "@aws-cdk/aws-neptune-alpha.InstanceType",
572
+ "@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"
580
+ ],
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}",
582
+ "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,
596
+ "282": 1
597
+ },
598
+ "fqnsFingerprint": "fac45cc61a6caf0a750e596e24b5693bb1fa52007033a450db0658a1067122c1"
599
+ },
600
+ "6a28b132c80351cd05dc62a66b5d10b77819516b566bf5f92c639d8d34aac4b3": {
601
+ "translations": {
602
+ "python": {
603
+ "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)",
604
+ "version": "1"
605
+ },
606
+ "csharp": {
607
+ "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);",
608
+ "version": "1"
609
+ },
610
+ "java": {
611
+ "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);",
612
+ "version": "1"
613
+ },
614
+ "$": {
615
+ "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.",
616
+ "version": "0"
617
+ }
618
+ },
619
+ "location": {
620
+ "api": {
621
+ "api": "type",
622
+ "fqn": "@aws-cdk/aws-neptune-alpha.DatabaseClusterProps"
623
+ },
624
+ "field": {
625
+ "field": "example"
626
+ }
627
+ },
628
+ "didCompile": true,
629
+ "fqnsReferenced": [
630
+ "@aws-cdk/aws-neptune-alpha.DatabaseCluster",
631
+ "@aws-cdk/aws-neptune-alpha.DatabaseClusterBase#grantConnect",
632
+ "@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
633
+ "@aws-cdk/aws-neptune-alpha.InstanceType",
634
+ "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
635
+ "aws-cdk-lib.Stack#account",
636
+ "aws-cdk-lib.aws_ec2.IVpc",
637
+ "aws-cdk-lib.aws_iam.AccountPrincipal",
638
+ "aws-cdk-lib.aws_iam.IGrantable",
639
+ "aws-cdk-lib.aws_iam.IPrincipal",
640
+ "aws-cdk-lib.aws_iam.Role",
641
+ "aws-cdk-lib.aws_iam.RoleProps"
642
+ ],
643
+ "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}",
644
+ "syntaxKindCounter": {
645
+ "10": 2,
646
+ "75": 19,
647
+ "104": 3,
648
+ "106": 1,
649
+ "193": 2,
650
+ "194": 7,
651
+ "196": 1,
652
+ "197": 3,
653
+ "225": 2,
654
+ "226": 1,
655
+ "242": 2,
656
+ "243": 2,
657
+ "281": 3,
658
+ "282": 1
659
+ },
660
+ "fqnsFingerprint": "fac45cc61a6caf0a750e596e24b5693bb1fa52007033a450db0658a1067122c1"
661
+ },
662
+ "1bd4ac7b526f949e626d819fa63c83ffa10c281e103f667782ea8b4558db9e50": {
663
+ "translations": {
664
+ "python": {
665
+ "source": "replica1 = neptune.DatabaseInstance(self, \"Instance\",\n cluster=cluster,\n instance_type=neptune.InstanceType.R5_LARGE\n)",
666
+ "version": "1"
667
+ },
668
+ "csharp": {
669
+ "source": "DatabaseInstance replica1 = new DatabaseInstance(this, \"Instance\", new DatabaseInstanceProps {\n Cluster = cluster,\n InstanceType = InstanceType.R5_LARGE\n});",
670
+ "version": "1"
671
+ },
672
+ "java": {
673
+ "source": "DatabaseInstance replica1 = DatabaseInstance.Builder.create(this, \"Instance\")\n .cluster(cluster)\n .instanceType(InstanceType.R5_LARGE)\n .build();",
674
+ "version": "1"
675
+ },
676
+ "$": {
677
+ "source": "const replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE\n});",
678
+ "version": "0"
679
+ }
680
+ },
681
+ "location": {
682
+ "api": {
683
+ "api": "type",
684
+ "fqn": "@aws-cdk/aws-neptune-alpha.DatabaseInstance"
685
+ },
686
+ "field": {
687
+ "field": "example"
688
+ }
689
+ },
690
+ "didCompile": true,
691
+ "fqnsReferenced": [
692
+ "@aws-cdk/aws-neptune-alpha.DatabaseInstance",
693
+ "@aws-cdk/aws-neptune-alpha.DatabaseInstanceProps",
694
+ "@aws-cdk/aws-neptune-alpha.IDatabaseCluster",
695
+ "@aws-cdk/aws-neptune-alpha.InstanceType",
696
+ "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
697
+ "aws-cdk-lib.aws_ec2.IVpc"
698
+ ],
699
+ "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}",
700
+ "syntaxKindCounter": {
701
+ "10": 1,
702
+ "75": 8,
703
+ "104": 1,
704
+ "193": 1,
705
+ "194": 3,
706
+ "197": 1,
707
+ "225": 1,
708
+ "242": 1,
709
+ "243": 1,
710
+ "281": 1,
711
+ "282": 1
712
+ },
713
+ "fqnsFingerprint": "4cc338e613924c939db7a3bd077f0a7ef95e50648230589067585ad7500745a5"
714
+ },
715
+ "39dd628eb7c84a3aedbf3faafb0e7aed93f70b38c60a51d3defbb03f76e25978": {
716
+ "translations": {
717
+ "python": {
718
+ "source": "replica1 = neptune.DatabaseInstance(self, \"Instance\",\n cluster=cluster,\n instance_type=neptune.InstanceType.R5_LARGE\n)",
719
+ "version": "1"
720
+ },
721
+ "csharp": {
722
+ "source": "DatabaseInstance replica1 = new DatabaseInstance(this, \"Instance\", new DatabaseInstanceProps {\n Cluster = cluster,\n InstanceType = InstanceType.R5_LARGE\n});",
723
+ "version": "1"
724
+ },
725
+ "java": {
726
+ "source": "DatabaseInstance replica1 = DatabaseInstance.Builder.create(this, \"Instance\")\n .cluster(cluster)\n .instanceType(InstanceType.R5_LARGE)\n .build();",
727
+ "version": "1"
728
+ },
729
+ "$": {
730
+ "source": "const replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE\n});",
731
+ "version": "0"
732
+ }
733
+ },
734
+ "location": {
735
+ "api": {
736
+ "api": "type",
737
+ "fqn": "@aws-cdk/aws-neptune-alpha.DatabaseInstanceProps"
738
+ },
739
+ "field": {
740
+ "field": "example"
741
+ }
742
+ },
743
+ "didCompile": true,
744
+ "fqnsReferenced": [
745
+ "@aws-cdk/aws-neptune-alpha.DatabaseInstance",
746
+ "@aws-cdk/aws-neptune-alpha.DatabaseInstanceProps",
747
+ "@aws-cdk/aws-neptune-alpha.IDatabaseCluster",
748
+ "@aws-cdk/aws-neptune-alpha.InstanceType",
749
+ "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
750
+ "aws-cdk-lib.aws_ec2.IVpc"
751
+ ],
752
+ "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}",
753
+ "syntaxKindCounter": {
754
+ "10": 1,
755
+ "75": 8,
756
+ "104": 1,
757
+ "193": 1,
758
+ "194": 3,
759
+ "197": 1,
760
+ "225": 1,
761
+ "242": 1,
762
+ "243": 1,
763
+ "281": 1,
764
+ "282": 1
765
+ },
766
+ "fqnsFingerprint": "4cc338e613924c939db7a3bd077f0a7ef95e50648230589067585ad7500745a5"
767
+ },
768
+ "be333fe44c720a1a7fc3c94af158ec813983c866eb2c55d0aead6ab38462d566": {
769
+ "translations": {
770
+ "python": {
771
+ "source": "cluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n instances=2\n)",
772
+ "version": "1"
773
+ },
774
+ "csharp": {
775
+ "source": "DatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n Instances = 2\n});",
776
+ "version": "1"
777
+ },
778
+ "java": {
779
+ "source": "DatabaseCluster cluster = DatabaseCluster.Builder.create(this, \"Database\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .instances(2)\n .build();",
780
+ "version": "1"
781
+ },
782
+ "$": {
783
+ "source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2\n});",
784
+ "version": "0"
785
+ }
786
+ },
787
+ "location": {
788
+ "api": {
789
+ "api": "type",
790
+ "fqn": "@aws-cdk/aws-neptune-alpha.InstanceType"
791
+ },
792
+ "field": {
793
+ "field": "example"
794
+ }
795
+ },
796
+ "didCompile": true,
797
+ "fqnsReferenced": [
798
+ "@aws-cdk/aws-neptune-alpha.DatabaseCluster",
799
+ "@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
800
+ "@aws-cdk/aws-neptune-alpha.InstanceType",
801
+ "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
802
+ "aws-cdk-lib.aws_ec2.IVpc"
803
+ ],
804
+ "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}",
805
+ "syntaxKindCounter": {
806
+ "8": 1,
807
+ "10": 1,
808
+ "75": 9,
809
+ "104": 1,
810
+ "193": 1,
811
+ "194": 3,
812
+ "197": 1,
813
+ "225": 1,
814
+ "242": 1,
815
+ "243": 1,
816
+ "281": 2,
817
+ "282": 1
818
+ },
819
+ "fqnsFingerprint": "e7fd0e691b0d0c1e7e22c63b5146652be9bdc7078c74c71062d8f424e29e170a"
820
+ },
821
+ "5c776cd031378ab0fb6c770f04df1d9ee61fb3b337084d899326158b5319f76f": {
822
+ "translations": {
823
+ "python": {
824
+ "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)",
825
+ "version": "1"
826
+ },
827
+ "csharp": {
828
+ "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});",
829
+ "version": "1"
830
+ },
831
+ "java": {
832
+ "source": "ClusterParameterGroup clusterParams = ClusterParameterGroup.Builder.create(this, \"ClusterParams\")\n .description(\"Cluster parameter group\")\n .parameters(Map.of(\n \"neptune_enable_audit_log\", \"1\"))\n .build();\n\nParameterGroup dbParams = ParameterGroup.Builder.create(this, \"DbParams\")\n .description(\"Db parameter group\")\n .parameters(Map.of(\n \"neptune_query_timeout\", \"120000\"))\n .build();\n\nDatabaseCluster cluster = DatabaseCluster.Builder.create(this, \"Database\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .clusterParameterGroup(clusterParams)\n .parameterGroup(dbParams)\n .build();",
833
+ "version": "1"
834
+ },
835
+ "$": {
836
+ "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});",
837
+ "version": "0"
838
+ }
839
+ },
840
+ "location": {
841
+ "api": {
842
+ "api": "type",
843
+ "fqn": "@aws-cdk/aws-neptune-alpha.ParameterGroup"
844
+ },
845
+ "field": {
846
+ "field": "example"
847
+ }
848
+ },
849
+ "didCompile": true,
850
+ "fqnsReferenced": [
851
+ "@aws-cdk/aws-neptune-alpha.ClusterParameterGroup",
852
+ "@aws-cdk/aws-neptune-alpha.ClusterParameterGroupProps",
853
+ "@aws-cdk/aws-neptune-alpha.DatabaseCluster",
854
+ "@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
855
+ "@aws-cdk/aws-neptune-alpha.IClusterParameterGroup",
856
+ "@aws-cdk/aws-neptune-alpha.IParameterGroup",
857
+ "@aws-cdk/aws-neptune-alpha.InstanceType",
858
+ "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
859
+ "@aws-cdk/aws-neptune-alpha.ParameterGroup",
860
+ "@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
861
+ "aws-cdk-lib.aws_ec2.IVpc"
862
+ ],
863
+ "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}",
864
+ "syntaxKindCounter": {
865
+ "10": 7,
866
+ "75": 24,
867
+ "104": 3,
868
+ "193": 5,
869
+ "194": 5,
870
+ "197": 3,
871
+ "225": 3,
872
+ "242": 3,
873
+ "243": 3,
874
+ "281": 9,
875
+ "282": 1
876
+ },
877
+ "fqnsFingerprint": "bc19560f3468adf74a4a2be29520e96e15789f4efd5affd04ef06dfbec31e6f6"
878
+ },
879
+ "78c0fe1a549c3d56be1e3337bee688b9acde52c92c3b499d058f819c6b6eda0e": {
880
+ "translations": {
881
+ "python": {
882
+ "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)",
883
+ "version": "1"
884
+ },
885
+ "csharp": {
886
+ "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});",
887
+ "version": "1"
888
+ },
889
+ "java": {
890
+ "source": "ClusterParameterGroup clusterParams = ClusterParameterGroup.Builder.create(this, \"ClusterParams\")\n .description(\"Cluster parameter group\")\n .parameters(Map.of(\n \"neptune_enable_audit_log\", \"1\"))\n .build();\n\nParameterGroup dbParams = ParameterGroup.Builder.create(this, \"DbParams\")\n .description(\"Db parameter group\")\n .parameters(Map.of(\n \"neptune_query_timeout\", \"120000\"))\n .build();\n\nDatabaseCluster cluster = DatabaseCluster.Builder.create(this, \"Database\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .clusterParameterGroup(clusterParams)\n .parameterGroup(dbParams)\n .build();",
891
+ "version": "1"
892
+ },
893
+ "$": {
894
+ "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});",
895
+ "version": "0"
896
+ }
897
+ },
898
+ "location": {
899
+ "api": {
900
+ "api": "type",
901
+ "fqn": "@aws-cdk/aws-neptune-alpha.ParameterGroupProps"
902
+ },
903
+ "field": {
904
+ "field": "example"
905
+ }
906
+ },
907
+ "didCompile": true,
908
+ "fqnsReferenced": [
909
+ "@aws-cdk/aws-neptune-alpha.ClusterParameterGroup",
910
+ "@aws-cdk/aws-neptune-alpha.ClusterParameterGroupProps",
911
+ "@aws-cdk/aws-neptune-alpha.DatabaseCluster",
912
+ "@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
913
+ "@aws-cdk/aws-neptune-alpha.IClusterParameterGroup",
914
+ "@aws-cdk/aws-neptune-alpha.IParameterGroup",
915
+ "@aws-cdk/aws-neptune-alpha.InstanceType",
916
+ "@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
917
+ "@aws-cdk/aws-neptune-alpha.ParameterGroup",
918
+ "@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
919
+ "aws-cdk-lib.aws_ec2.IVpc"
920
+ ],
921
+ "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}",
922
+ "syntaxKindCounter": {
923
+ "10": 7,
924
+ "75": 24,
925
+ "104": 3,
926
+ "193": 5,
927
+ "194": 5,
928
+ "197": 3,
929
+ "225": 3,
930
+ "242": 3,
931
+ "243": 3,
932
+ "281": 9,
933
+ "282": 1
934
+ },
935
+ "fqnsFingerprint": "bc19560f3468adf74a4a2be29520e96e15789f4efd5affd04ef06dfbec31e6f6"
936
+ }
937
+ }
938
+ }