@aws-cdk/aws-neptune-alpha 2.40.0-alpha.0 → 2.41.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 +3 -3
- package/.jsii.tabl.json.gz +0 -0
- package/lib/cluster.js +5 -5
- package/lib/endpoint.js +1 -1
- package/lib/instance.js +2 -2
- package/lib/parameter-group.js +2 -2
- package/lib/subnet-group.js +3 -3
- package/package.json +7 -7
- package/.jsii.tabl.json +0 -1480
package/.jsii.tabl.json
DELETED
|
@@ -1,1480 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "2",
|
|
3
|
-
"toolVersion": "1.66.0",
|
|
4
|
-
"snippets": {
|
|
5
|
-
"bcadbe51a636bac40037d281e236cbbf751bc8d72ff900918130bb2b818247bb": {
|
|
6
|
-
"translations": {
|
|
7
|
-
"python": {
|
|
8
|
-
"source": "import aws_cdk.aws_neptune_alpha as neptune",
|
|
9
|
-
"version": "2"
|
|
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
|
-
"go": {
|
|
20
|
-
"source": "import neptune \"github.com/aws/aws-cdk-go/awscdkneptunealpha\"",
|
|
21
|
-
"version": "1"
|
|
22
|
-
},
|
|
23
|
-
"$": {
|
|
24
|
-
"source": "import * as neptune from '@aws-cdk/aws-neptune-alpha';",
|
|
25
|
-
"version": "0"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"location": {
|
|
29
|
-
"api": {
|
|
30
|
-
"api": "moduleReadme",
|
|
31
|
-
"moduleFqn": "@aws-cdk/aws-neptune-alpha"
|
|
32
|
-
},
|
|
33
|
-
"field": {
|
|
34
|
-
"field": "markdown",
|
|
35
|
-
"line": 22
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"didCompile": true,
|
|
39
|
-
"fqnsReferenced": [],
|
|
40
|
-
"fullSource": "import * as neptune from '@aws-cdk/aws-neptune-alpha';",
|
|
41
|
-
"syntaxKindCounter": {
|
|
42
|
-
"10": 1,
|
|
43
|
-
"75": 1,
|
|
44
|
-
"254": 1,
|
|
45
|
-
"255": 1,
|
|
46
|
-
"256": 1,
|
|
47
|
-
"290": 1
|
|
48
|
-
},
|
|
49
|
-
"fqnsFingerprint": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
50
|
-
},
|
|
51
|
-
"b006c22643f156885e37c0070450c8e5b44306426338197f78f053d085612d9b": {
|
|
52
|
-
"translations": {
|
|
53
|
-
"python": {
|
|
54
|
-
"source": "cluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE\n)",
|
|
55
|
-
"version": "2"
|
|
56
|
-
},
|
|
57
|
-
"csharp": {
|
|
58
|
-
"source": "DatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE\n});",
|
|
59
|
-
"version": "1"
|
|
60
|
-
},
|
|
61
|
-
"java": {
|
|
62
|
-
"source": "DatabaseCluster cluster = DatabaseCluster.Builder.create(this, \"Database\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .build();",
|
|
63
|
-
"version": "1"
|
|
64
|
-
},
|
|
65
|
-
"go": {
|
|
66
|
-
"source": "cluster := neptune.NewDatabaseCluster(this, jsii.String(\"Database\"), &databaseClusterProps{\n\tvpc: vpc,\n\tinstanceType: neptune.instanceType_R5_LARGE(),\n})",
|
|
67
|
-
"version": "1"
|
|
68
|
-
},
|
|
69
|
-
"$": {
|
|
70
|
-
"source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n});",
|
|
71
|
-
"version": "0"
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"location": {
|
|
75
|
-
"api": {
|
|
76
|
-
"api": "moduleReadme",
|
|
77
|
-
"moduleFqn": "@aws-cdk/aws-neptune-alpha"
|
|
78
|
-
},
|
|
79
|
-
"field": {
|
|
80
|
-
"field": "markdown",
|
|
81
|
-
"line": 30
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"didCompile": true,
|
|
85
|
-
"fqnsReferenced": [
|
|
86
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseCluster",
|
|
87
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
|
|
88
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
89
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
90
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
91
|
-
"constructs.Construct"
|
|
92
|
-
],
|
|
93
|
-
"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}",
|
|
94
|
-
"syntaxKindCounter": {
|
|
95
|
-
"10": 1,
|
|
96
|
-
"75": 8,
|
|
97
|
-
"104": 1,
|
|
98
|
-
"193": 1,
|
|
99
|
-
"194": 3,
|
|
100
|
-
"197": 1,
|
|
101
|
-
"225": 1,
|
|
102
|
-
"242": 1,
|
|
103
|
-
"243": 1,
|
|
104
|
-
"281": 1,
|
|
105
|
-
"282": 1
|
|
106
|
-
},
|
|
107
|
-
"fqnsFingerprint": "d29b85bb0605a819ade30b790f3c88b991dedfed2a449e584adfb5871dcf76b7"
|
|
108
|
-
},
|
|
109
|
-
"953c2428df37057ec1a6bd84519912404177f69e256af1b480542f211c7de999": {
|
|
110
|
-
"translations": {
|
|
111
|
-
"python": {
|
|
112
|
-
"source": "cluster.connections.allow_default_port_from_any_ipv4(\"Open to the world\")",
|
|
113
|
-
"version": "2"
|
|
114
|
-
},
|
|
115
|
-
"csharp": {
|
|
116
|
-
"source": "cluster.Connections.AllowDefaultPortFromAnyIpv4(\"Open to the world\");",
|
|
117
|
-
"version": "1"
|
|
118
|
-
},
|
|
119
|
-
"java": {
|
|
120
|
-
"source": "cluster.connections.allowDefaultPortFromAnyIpv4(\"Open to the world\");",
|
|
121
|
-
"version": "1"
|
|
122
|
-
},
|
|
123
|
-
"go": {
|
|
124
|
-
"source": "cluster.connections.allowDefaultPortFromAnyIpv4(jsii.String(\"Open to the world\"))",
|
|
125
|
-
"version": "1"
|
|
126
|
-
},
|
|
127
|
-
"$": {
|
|
128
|
-
"source": "cluster.connections.allowDefaultPortFromAnyIpv4('Open to the world');",
|
|
129
|
-
"version": "0"
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
"location": {
|
|
133
|
-
"api": {
|
|
134
|
-
"api": "moduleReadme",
|
|
135
|
-
"moduleFqn": "@aws-cdk/aws-neptune-alpha"
|
|
136
|
-
},
|
|
137
|
-
"field": {
|
|
138
|
-
"field": "markdown",
|
|
139
|
-
"line": 44
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
"didCompile": true,
|
|
143
|
-
"fqnsReferenced": [
|
|
144
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseCluster#connections",
|
|
145
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
146
|
-
"aws-cdk-lib.aws_ec2.Connections#allowDefaultPortFromAnyIpv4",
|
|
147
|
-
"aws-cdk-lib.aws_ec2.IVpc"
|
|
148
|
-
],
|
|
149
|
-
"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}",
|
|
150
|
-
"syntaxKindCounter": {
|
|
151
|
-
"10": 1,
|
|
152
|
-
"75": 3,
|
|
153
|
-
"194": 2,
|
|
154
|
-
"196": 1,
|
|
155
|
-
"226": 1
|
|
156
|
-
},
|
|
157
|
-
"fqnsFingerprint": "e605686449ee9221c7e36e2320d95f6f8156d4a18e0b821456794c035c4945cf"
|
|
158
|
-
},
|
|
159
|
-
"ed8c6b463c666c0bbf894f52002ec2d77ba24c864bccf03a81468b3fae25f833": {
|
|
160
|
-
"translations": {
|
|
161
|
-
"python": {
|
|
162
|
-
"source": "write_address = cluster.cluster_endpoint.socket_address",
|
|
163
|
-
"version": "2"
|
|
164
|
-
},
|
|
165
|
-
"csharp": {
|
|
166
|
-
"source": "string writeAddress = cluster.ClusterEndpoint.SocketAddress;",
|
|
167
|
-
"version": "1"
|
|
168
|
-
},
|
|
169
|
-
"java": {
|
|
170
|
-
"source": "String writeAddress = cluster.getClusterEndpoint().getSocketAddress();",
|
|
171
|
-
"version": "1"
|
|
172
|
-
},
|
|
173
|
-
"go": {
|
|
174
|
-
"source": "writeAddress := cluster.clusterEndpoint.socketAddress",
|
|
175
|
-
"version": "1"
|
|
176
|
-
},
|
|
177
|
-
"$": {
|
|
178
|
-
"source": "const writeAddress = cluster.clusterEndpoint.socketAddress; // \"HOSTNAME:PORT\"",
|
|
179
|
-
"version": "0"
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
"location": {
|
|
183
|
-
"api": {
|
|
184
|
-
"api": "moduleReadme",
|
|
185
|
-
"moduleFqn": "@aws-cdk/aws-neptune-alpha"
|
|
186
|
-
},
|
|
187
|
-
"field": {
|
|
188
|
-
"field": "markdown",
|
|
189
|
-
"line": 51
|
|
190
|
-
}
|
|
191
|
-
},
|
|
192
|
-
"didCompile": true,
|
|
193
|
-
"fqnsReferenced": [
|
|
194
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseCluster#clusterEndpoint",
|
|
195
|
-
"@aws-cdk/aws-neptune-alpha.Endpoint#socketAddress",
|
|
196
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
197
|
-
"aws-cdk-lib.aws_ec2.IVpc"
|
|
198
|
-
],
|
|
199
|
-
"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}",
|
|
200
|
-
"syntaxKindCounter": {
|
|
201
|
-
"75": 4,
|
|
202
|
-
"194": 2,
|
|
203
|
-
"225": 1,
|
|
204
|
-
"242": 1,
|
|
205
|
-
"243": 1
|
|
206
|
-
},
|
|
207
|
-
"fqnsFingerprint": "b4ac53f301820a3b30f789bb97d93f36e7ea387edefd2afcb239501e63524354"
|
|
208
|
-
},
|
|
209
|
-
"82b04fa3008df9bacd25bb31d6ff6ef55b796c541f1def3827e6016c267bd0a5": {
|
|
210
|
-
"translations": {
|
|
211
|
-
"python": {
|
|
212
|
-
"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)",
|
|
213
|
-
"version": "2"
|
|
214
|
-
},
|
|
215
|
-
"csharp": {
|
|
216
|
-
"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);",
|
|
217
|
-
"version": "1"
|
|
218
|
-
},
|
|
219
|
-
"java": {
|
|
220
|
-
"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);",
|
|
221
|
-
"version": "1"
|
|
222
|
-
},
|
|
223
|
-
"go": {
|
|
224
|
-
"source": "cluster := neptune.NewDatabaseCluster(this, jsii.String(\"Cluster\"), &databaseClusterProps{\n\tvpc: vpc,\n\tinstanceType: neptune.instanceType_R5_LARGE(),\n\tiamAuthentication: jsii.Boolean(true),\n})\nrole := iam.NewRole(this, jsii.String(\"DBRole\"), &roleProps{\n\tassumedBy: iam.NewAccountPrincipal(this.account),\n})\ncluster.grantConnect(role)",
|
|
225
|
-
"version": "1"
|
|
226
|
-
},
|
|
227
|
-
"$": {
|
|
228
|
-
"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.",
|
|
229
|
-
"version": "0"
|
|
230
|
-
}
|
|
231
|
-
},
|
|
232
|
-
"location": {
|
|
233
|
-
"api": {
|
|
234
|
-
"api": "moduleReadme",
|
|
235
|
-
"moduleFqn": "@aws-cdk/aws-neptune-alpha"
|
|
236
|
-
},
|
|
237
|
-
"field": {
|
|
238
|
-
"field": "markdown",
|
|
239
|
-
"line": 63
|
|
240
|
-
}
|
|
241
|
-
},
|
|
242
|
-
"didCompile": true,
|
|
243
|
-
"fqnsReferenced": [
|
|
244
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseCluster",
|
|
245
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseClusterBase#grantConnect",
|
|
246
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
|
|
247
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
248
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
249
|
-
"aws-cdk-lib.Stack#account",
|
|
250
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
251
|
-
"aws-cdk-lib.aws_iam.AccountPrincipal",
|
|
252
|
-
"aws-cdk-lib.aws_iam.IGrantable",
|
|
253
|
-
"aws-cdk-lib.aws_iam.IPrincipal",
|
|
254
|
-
"aws-cdk-lib.aws_iam.Role",
|
|
255
|
-
"aws-cdk-lib.aws_iam.RoleProps",
|
|
256
|
-
"constructs.Construct"
|
|
257
|
-
],
|
|
258
|
-
"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}",
|
|
259
|
-
"syntaxKindCounter": {
|
|
260
|
-
"10": 2,
|
|
261
|
-
"75": 19,
|
|
262
|
-
"104": 3,
|
|
263
|
-
"106": 1,
|
|
264
|
-
"193": 2,
|
|
265
|
-
"194": 7,
|
|
266
|
-
"196": 1,
|
|
267
|
-
"197": 3,
|
|
268
|
-
"225": 2,
|
|
269
|
-
"226": 1,
|
|
270
|
-
"242": 2,
|
|
271
|
-
"243": 2,
|
|
272
|
-
"281": 3,
|
|
273
|
-
"282": 1
|
|
274
|
-
},
|
|
275
|
-
"fqnsFingerprint": "207b6d5403db709ba122448b5b79d11876aa8902143b49063e1a1fa893be1885"
|
|
276
|
-
},
|
|
277
|
-
"c278fa65a86418d593bc6762349137a33d48f05bfaa7f21164d550693a8ddc21": {
|
|
278
|
-
"translations": {
|
|
279
|
-
"python": {
|
|
280
|
-
"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)",
|
|
281
|
-
"version": "2"
|
|
282
|
-
},
|
|
283
|
-
"csharp": {
|
|
284
|
-
"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});",
|
|
285
|
-
"version": "1"
|
|
286
|
-
},
|
|
287
|
-
"java": {
|
|
288
|
-
"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();",
|
|
289
|
-
"version": "1"
|
|
290
|
-
},
|
|
291
|
-
"go": {
|
|
292
|
-
"source": "clusterParams := neptune.NewClusterParameterGroup(this, jsii.String(\"ClusterParams\"), &clusterParameterGroupProps{\n\tdescription: jsii.String(\"Cluster parameter group\"),\n\tparameters: map[string]*string{\n\t\t\"neptune_enable_audit_log\": jsii.String(\"1\"),\n\t},\n})\n\ndbParams := neptune.NewParameterGroup(this, jsii.String(\"DbParams\"), ¶meterGroupProps{\n\tdescription: jsii.String(\"Db parameter group\"),\n\tparameters: map[string]*string{\n\t\t\"neptune_query_timeout\": jsii.String(\"120000\"),\n\t},\n})\n\ncluster := neptune.NewDatabaseCluster(this, jsii.String(\"Database\"), &databaseClusterProps{\n\tvpc: vpc,\n\tinstanceType: neptune.instanceType_R5_LARGE(),\n\tclusterParameterGroup: clusterParams,\n\tparameterGroup: dbParams,\n})",
|
|
293
|
-
"version": "1"
|
|
294
|
-
},
|
|
295
|
-
"$": {
|
|
296
|
-
"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});",
|
|
297
|
-
"version": "0"
|
|
298
|
-
}
|
|
299
|
-
},
|
|
300
|
-
"location": {
|
|
301
|
-
"api": {
|
|
302
|
-
"api": "moduleReadme",
|
|
303
|
-
"moduleFqn": "@aws-cdk/aws-neptune-alpha"
|
|
304
|
-
},
|
|
305
|
-
"field": {
|
|
306
|
-
"field": "markdown",
|
|
307
|
-
"line": 78
|
|
308
|
-
}
|
|
309
|
-
},
|
|
310
|
-
"didCompile": true,
|
|
311
|
-
"fqnsReferenced": [
|
|
312
|
-
"@aws-cdk/aws-neptune-alpha.ClusterParameterGroup",
|
|
313
|
-
"@aws-cdk/aws-neptune-alpha.ClusterParameterGroupProps",
|
|
314
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseCluster",
|
|
315
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
|
|
316
|
-
"@aws-cdk/aws-neptune-alpha.IClusterParameterGroup",
|
|
317
|
-
"@aws-cdk/aws-neptune-alpha.IParameterGroup",
|
|
318
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
319
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
320
|
-
"@aws-cdk/aws-neptune-alpha.ParameterGroup",
|
|
321
|
-
"@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
|
|
322
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
323
|
-
"constructs.Construct"
|
|
324
|
-
],
|
|
325
|
-
"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}",
|
|
326
|
-
"syntaxKindCounter": {
|
|
327
|
-
"10": 7,
|
|
328
|
-
"75": 24,
|
|
329
|
-
"104": 3,
|
|
330
|
-
"193": 5,
|
|
331
|
-
"194": 5,
|
|
332
|
-
"197": 3,
|
|
333
|
-
"225": 3,
|
|
334
|
-
"242": 3,
|
|
335
|
-
"243": 3,
|
|
336
|
-
"281": 9,
|
|
337
|
-
"282": 1
|
|
338
|
-
},
|
|
339
|
-
"fqnsFingerprint": "169c97456920826340e04e728b98b31e9b0501d124de4ede0cdf9a0c048f6f4c"
|
|
340
|
-
},
|
|
341
|
-
"804ce366d9b9581aad1975c9d303485d3cf6677c65296e2242c6f941a1b338cb": {
|
|
342
|
-
"translations": {
|
|
343
|
-
"python": {
|
|
344
|
-
"source": "cluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n instances=2\n)",
|
|
345
|
-
"version": "2"
|
|
346
|
-
},
|
|
347
|
-
"csharp": {
|
|
348
|
-
"source": "DatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n Instances = 2\n});",
|
|
349
|
-
"version": "1"
|
|
350
|
-
},
|
|
351
|
-
"java": {
|
|
352
|
-
"source": "DatabaseCluster cluster = DatabaseCluster.Builder.create(this, \"Database\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .instances(2)\n .build();",
|
|
353
|
-
"version": "1"
|
|
354
|
-
},
|
|
355
|
-
"go": {
|
|
356
|
-
"source": "cluster := neptune.NewDatabaseCluster(this, jsii.String(\"Database\"), &databaseClusterProps{\n\tvpc: vpc,\n\tinstanceType: neptune.instanceType_R5_LARGE(),\n\tinstances: jsii.Number(2),\n})",
|
|
357
|
-
"version": "1"
|
|
358
|
-
},
|
|
359
|
-
"$": {
|
|
360
|
-
"source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2,\n});",
|
|
361
|
-
"version": "0"
|
|
362
|
-
}
|
|
363
|
-
},
|
|
364
|
-
"location": {
|
|
365
|
-
"api": {
|
|
366
|
-
"api": "moduleReadme",
|
|
367
|
-
"moduleFqn": "@aws-cdk/aws-neptune-alpha"
|
|
368
|
-
},
|
|
369
|
-
"field": {
|
|
370
|
-
"field": "markdown",
|
|
371
|
-
"line": 106
|
|
372
|
-
}
|
|
373
|
-
},
|
|
374
|
-
"didCompile": true,
|
|
375
|
-
"fqnsReferenced": [
|
|
376
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseCluster",
|
|
377
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
|
|
378
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
379
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
380
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
381
|
-
"constructs.Construct"
|
|
382
|
-
],
|
|
383
|
-
"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}",
|
|
384
|
-
"syntaxKindCounter": {
|
|
385
|
-
"8": 1,
|
|
386
|
-
"10": 1,
|
|
387
|
-
"75": 9,
|
|
388
|
-
"104": 1,
|
|
389
|
-
"193": 1,
|
|
390
|
-
"194": 3,
|
|
391
|
-
"197": 1,
|
|
392
|
-
"225": 1,
|
|
393
|
-
"242": 1,
|
|
394
|
-
"243": 1,
|
|
395
|
-
"281": 2,
|
|
396
|
-
"282": 1
|
|
397
|
-
},
|
|
398
|
-
"fqnsFingerprint": "d29b85bb0605a819ade30b790f3c88b991dedfed2a449e584adfb5871dcf76b7"
|
|
399
|
-
},
|
|
400
|
-
"dd40a1a706f517f5cc18e1b3f51f65e30dc52dd088d96d4e24285e9963cdc5b1": {
|
|
401
|
-
"translations": {
|
|
402
|
-
"python": {
|
|
403
|
-
"source": "replica1 = neptune.DatabaseInstance(self, \"Instance\",\n cluster=cluster,\n instance_type=neptune.InstanceType.R5_LARGE\n)",
|
|
404
|
-
"version": "2"
|
|
405
|
-
},
|
|
406
|
-
"csharp": {
|
|
407
|
-
"source": "DatabaseInstance replica1 = new DatabaseInstance(this, \"Instance\", new DatabaseInstanceProps {\n Cluster = cluster,\n InstanceType = InstanceType.R5_LARGE\n});",
|
|
408
|
-
"version": "1"
|
|
409
|
-
},
|
|
410
|
-
"java": {
|
|
411
|
-
"source": "DatabaseInstance replica1 = DatabaseInstance.Builder.create(this, \"Instance\")\n .cluster(cluster)\n .instanceType(InstanceType.R5_LARGE)\n .build();",
|
|
412
|
-
"version": "1"
|
|
413
|
-
},
|
|
414
|
-
"go": {
|
|
415
|
-
"source": "replica1 := neptune.NewDatabaseInstance(this, jsii.String(\"Instance\"), &databaseInstanceProps{\n\tcluster: cluster,\n\tinstanceType: neptune.*instanceType_R5_LARGE(),\n})",
|
|
416
|
-
"version": "1"
|
|
417
|
-
},
|
|
418
|
-
"$": {
|
|
419
|
-
"source": "const replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE,\n});",
|
|
420
|
-
"version": "0"
|
|
421
|
-
}
|
|
422
|
-
},
|
|
423
|
-
"location": {
|
|
424
|
-
"api": {
|
|
425
|
-
"api": "moduleReadme",
|
|
426
|
-
"moduleFqn": "@aws-cdk/aws-neptune-alpha"
|
|
427
|
-
},
|
|
428
|
-
"field": {
|
|
429
|
-
"field": "markdown",
|
|
430
|
-
"line": 116
|
|
431
|
-
}
|
|
432
|
-
},
|
|
433
|
-
"didCompile": true,
|
|
434
|
-
"fqnsReferenced": [
|
|
435
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseInstance",
|
|
436
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseInstanceProps",
|
|
437
|
-
"@aws-cdk/aws-neptune-alpha.IDatabaseCluster",
|
|
438
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
439
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
440
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
441
|
-
"constructs.Construct"
|
|
442
|
-
],
|
|
443
|
-
"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}",
|
|
444
|
-
"syntaxKindCounter": {
|
|
445
|
-
"10": 1,
|
|
446
|
-
"75": 8,
|
|
447
|
-
"104": 1,
|
|
448
|
-
"193": 1,
|
|
449
|
-
"194": 3,
|
|
450
|
-
"197": 1,
|
|
451
|
-
"225": 1,
|
|
452
|
-
"242": 1,
|
|
453
|
-
"243": 1,
|
|
454
|
-
"281": 1,
|
|
455
|
-
"282": 1
|
|
456
|
-
},
|
|
457
|
-
"fqnsFingerprint": "e974d489fdb43dc13569744ea78d5dfee210179481e6454fd4ee544837984976"
|
|
458
|
-
},
|
|
459
|
-
"754885205096a886b22934ccd9e8aa7f6a0445d5f89fab015da6d691d224c4c7": {
|
|
460
|
-
"translations": {
|
|
461
|
-
"python": {
|
|
462
|
-
"source": "neptune.DatabaseCluster(self, \"Cluster\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n auto_minor_version_upgrade=True\n)",
|
|
463
|
-
"version": "2"
|
|
464
|
-
},
|
|
465
|
-
"csharp": {
|
|
466
|
-
"source": "new DatabaseCluster(this, \"Cluster\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n AutoMinorVersionUpgrade = true\n});",
|
|
467
|
-
"version": "1"
|
|
468
|
-
},
|
|
469
|
-
"java": {
|
|
470
|
-
"source": "DatabaseCluster.Builder.create(this, \"Cluster\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .autoMinorVersionUpgrade(true)\n .build();",
|
|
471
|
-
"version": "1"
|
|
472
|
-
},
|
|
473
|
-
"go": {
|
|
474
|
-
"source": "neptune.NewDatabaseCluster(this, jsii.String(\"Cluster\"), &databaseClusterProps{\n\tvpc: vpc,\n\tinstanceType: neptune.instanceType_R5_LARGE(),\n\tautoMinorVersionUpgrade: jsii.Boolean(true),\n})",
|
|
475
|
-
"version": "1"
|
|
476
|
-
},
|
|
477
|
-
"$": {
|
|
478
|
-
"source": "new neptune.DatabaseCluster(this, 'Cluster', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n autoMinorVersionUpgrade: true,\n});",
|
|
479
|
-
"version": "0"
|
|
480
|
-
}
|
|
481
|
-
},
|
|
482
|
-
"location": {
|
|
483
|
-
"api": {
|
|
484
|
-
"api": "moduleReadme",
|
|
485
|
-
"moduleFqn": "@aws-cdk/aws-neptune-alpha"
|
|
486
|
-
},
|
|
487
|
-
"field": {
|
|
488
|
-
"field": "markdown",
|
|
489
|
-
"line": 129
|
|
490
|
-
}
|
|
491
|
-
},
|
|
492
|
-
"didCompile": true,
|
|
493
|
-
"fqnsReferenced": [
|
|
494
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseCluster",
|
|
495
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
|
|
496
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
497
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
498
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
499
|
-
"constructs.Construct"
|
|
500
|
-
],
|
|
501
|
-
"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}",
|
|
502
|
-
"syntaxKindCounter": {
|
|
503
|
-
"10": 1,
|
|
504
|
-
"75": 8,
|
|
505
|
-
"104": 1,
|
|
506
|
-
"106": 1,
|
|
507
|
-
"193": 1,
|
|
508
|
-
"194": 3,
|
|
509
|
-
"197": 1,
|
|
510
|
-
"226": 1,
|
|
511
|
-
"281": 2,
|
|
512
|
-
"282": 1
|
|
513
|
-
},
|
|
514
|
-
"fqnsFingerprint": "d29b85bb0605a819ade30b790f3c88b991dedfed2a449e584adfb5871dcf76b7"
|
|
515
|
-
},
|
|
516
|
-
"f78c424f88c91892f0ec444a322ad2cd25612bc3111ea4695ee7086cd5e09118": {
|
|
517
|
-
"translations": {
|
|
518
|
-
"python": {
|
|
519
|
-
"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)",
|
|
520
|
-
"version": "2"
|
|
521
|
-
},
|
|
522
|
-
"csharp": {
|
|
523
|
-
"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});",
|
|
524
|
-
"version": "1"
|
|
525
|
-
},
|
|
526
|
-
"java": {
|
|
527
|
-
"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();",
|
|
528
|
-
"version": "1"
|
|
529
|
-
},
|
|
530
|
-
"go": {
|
|
531
|
-
"source": "clusterParams := neptune.NewClusterParameterGroup(this, jsii.String(\"ClusterParams\"), &clusterParameterGroupProps{\n\tdescription: jsii.String(\"Cluster parameter group\"),\n\tparameters: map[string]*string{\n\t\t\"neptune_enable_audit_log\": jsii.String(\"1\"),\n\t},\n})\n\ndbParams := neptune.NewParameterGroup(this, jsii.String(\"DbParams\"), ¶meterGroupProps{\n\tdescription: jsii.String(\"Db parameter group\"),\n\tparameters: map[string]*string{\n\t\t\"neptune_query_timeout\": jsii.String(\"120000\"),\n\t},\n})\n\ncluster := neptune.NewDatabaseCluster(this, jsii.String(\"Database\"), &databaseClusterProps{\n\tvpc: vpc,\n\tinstanceType: neptune.instanceType_R5_LARGE(),\n\tclusterParameterGroup: clusterParams,\n\tparameterGroup: dbParams,\n})",
|
|
532
|
-
"version": "1"
|
|
533
|
-
},
|
|
534
|
-
"$": {
|
|
535
|
-
"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});",
|
|
536
|
-
"version": "0"
|
|
537
|
-
}
|
|
538
|
-
},
|
|
539
|
-
"location": {
|
|
540
|
-
"api": {
|
|
541
|
-
"api": "type",
|
|
542
|
-
"fqn": "@aws-cdk/aws-neptune-alpha.ClusterParameterGroup"
|
|
543
|
-
},
|
|
544
|
-
"field": {
|
|
545
|
-
"field": "example"
|
|
546
|
-
}
|
|
547
|
-
},
|
|
548
|
-
"didCompile": true,
|
|
549
|
-
"fqnsReferenced": [
|
|
550
|
-
"@aws-cdk/aws-neptune-alpha.ClusterParameterGroup",
|
|
551
|
-
"@aws-cdk/aws-neptune-alpha.ClusterParameterGroupProps",
|
|
552
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseCluster",
|
|
553
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
|
|
554
|
-
"@aws-cdk/aws-neptune-alpha.IClusterParameterGroup",
|
|
555
|
-
"@aws-cdk/aws-neptune-alpha.IParameterGroup",
|
|
556
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
557
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
558
|
-
"@aws-cdk/aws-neptune-alpha.ParameterGroup",
|
|
559
|
-
"@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
|
|
560
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
561
|
-
"constructs.Construct"
|
|
562
|
-
],
|
|
563
|
-
"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}",
|
|
564
|
-
"syntaxKindCounter": {
|
|
565
|
-
"10": 7,
|
|
566
|
-
"75": 24,
|
|
567
|
-
"104": 3,
|
|
568
|
-
"193": 5,
|
|
569
|
-
"194": 5,
|
|
570
|
-
"197": 3,
|
|
571
|
-
"225": 3,
|
|
572
|
-
"242": 3,
|
|
573
|
-
"243": 3,
|
|
574
|
-
"281": 9,
|
|
575
|
-
"282": 1
|
|
576
|
-
},
|
|
577
|
-
"fqnsFingerprint": "169c97456920826340e04e728b98b31e9b0501d124de4ede0cdf9a0c048f6f4c"
|
|
578
|
-
},
|
|
579
|
-
"4950b4c14374f4e16307567734e58a5da60a016b15d4735158b90b61a361b81d": {
|
|
580
|
-
"translations": {
|
|
581
|
-
"python": {
|
|
582
|
-
"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)",
|
|
583
|
-
"version": "2"
|
|
584
|
-
},
|
|
585
|
-
"csharp": {
|
|
586
|
-
"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});",
|
|
587
|
-
"version": "1"
|
|
588
|
-
},
|
|
589
|
-
"java": {
|
|
590
|
-
"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();",
|
|
591
|
-
"version": "1"
|
|
592
|
-
},
|
|
593
|
-
"go": {
|
|
594
|
-
"source": "clusterParams := neptune.NewClusterParameterGroup(this, jsii.String(\"ClusterParams\"), &clusterParameterGroupProps{\n\tdescription: jsii.String(\"Cluster parameter group\"),\n\tparameters: map[string]*string{\n\t\t\"neptune_enable_audit_log\": jsii.String(\"1\"),\n\t},\n})\n\ndbParams := neptune.NewParameterGroup(this, jsii.String(\"DbParams\"), ¶meterGroupProps{\n\tdescription: jsii.String(\"Db parameter group\"),\n\tparameters: map[string]*string{\n\t\t\"neptune_query_timeout\": jsii.String(\"120000\"),\n\t},\n})\n\ncluster := neptune.NewDatabaseCluster(this, jsii.String(\"Database\"), &databaseClusterProps{\n\tvpc: vpc,\n\tinstanceType: neptune.instanceType_R5_LARGE(),\n\tclusterParameterGroup: clusterParams,\n\tparameterGroup: dbParams,\n})",
|
|
595
|
-
"version": "1"
|
|
596
|
-
},
|
|
597
|
-
"$": {
|
|
598
|
-
"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});",
|
|
599
|
-
"version": "0"
|
|
600
|
-
}
|
|
601
|
-
},
|
|
602
|
-
"location": {
|
|
603
|
-
"api": {
|
|
604
|
-
"api": "type",
|
|
605
|
-
"fqn": "@aws-cdk/aws-neptune-alpha.ClusterParameterGroupProps"
|
|
606
|
-
},
|
|
607
|
-
"field": {
|
|
608
|
-
"field": "example"
|
|
609
|
-
}
|
|
610
|
-
},
|
|
611
|
-
"didCompile": true,
|
|
612
|
-
"fqnsReferenced": [
|
|
613
|
-
"@aws-cdk/aws-neptune-alpha.ClusterParameterGroup",
|
|
614
|
-
"@aws-cdk/aws-neptune-alpha.ClusterParameterGroupProps",
|
|
615
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseCluster",
|
|
616
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
|
|
617
|
-
"@aws-cdk/aws-neptune-alpha.IClusterParameterGroup",
|
|
618
|
-
"@aws-cdk/aws-neptune-alpha.IParameterGroup",
|
|
619
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
620
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
621
|
-
"@aws-cdk/aws-neptune-alpha.ParameterGroup",
|
|
622
|
-
"@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
|
|
623
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
624
|
-
"constructs.Construct"
|
|
625
|
-
],
|
|
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 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}",
|
|
627
|
-
"syntaxKindCounter": {
|
|
628
|
-
"10": 7,
|
|
629
|
-
"75": 24,
|
|
630
|
-
"104": 3,
|
|
631
|
-
"193": 5,
|
|
632
|
-
"194": 5,
|
|
633
|
-
"197": 3,
|
|
634
|
-
"225": 3,
|
|
635
|
-
"242": 3,
|
|
636
|
-
"243": 3,
|
|
637
|
-
"281": 9,
|
|
638
|
-
"282": 1
|
|
639
|
-
},
|
|
640
|
-
"fqnsFingerprint": "169c97456920826340e04e728b98b31e9b0501d124de4ede0cdf9a0c048f6f4c"
|
|
641
|
-
},
|
|
642
|
-
"6366754a6ca65c9b5110d743ceaf8c4c4d56386a2443607afa76c1f4105df151": {
|
|
643
|
-
"translations": {
|
|
644
|
-
"python": {
|
|
645
|
-
"source": "cluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n instances=2\n)",
|
|
646
|
-
"version": "2"
|
|
647
|
-
},
|
|
648
|
-
"csharp": {
|
|
649
|
-
"source": "DatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n Instances = 2\n});",
|
|
650
|
-
"version": "1"
|
|
651
|
-
},
|
|
652
|
-
"java": {
|
|
653
|
-
"source": "DatabaseCluster cluster = DatabaseCluster.Builder.create(this, \"Database\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .instances(2)\n .build();",
|
|
654
|
-
"version": "1"
|
|
655
|
-
},
|
|
656
|
-
"go": {
|
|
657
|
-
"source": "cluster := neptune.NewDatabaseCluster(this, jsii.String(\"Database\"), &databaseClusterProps{\n\tvpc: vpc,\n\tinstanceType: neptune.instanceType_R5_LARGE(),\n\tinstances: jsii.Number(2),\n})",
|
|
658
|
-
"version": "1"
|
|
659
|
-
},
|
|
660
|
-
"$": {
|
|
661
|
-
"source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2,\n});",
|
|
662
|
-
"version": "0"
|
|
663
|
-
}
|
|
664
|
-
},
|
|
665
|
-
"location": {
|
|
666
|
-
"api": {
|
|
667
|
-
"api": "type",
|
|
668
|
-
"fqn": "@aws-cdk/aws-neptune-alpha.DatabaseCluster"
|
|
669
|
-
},
|
|
670
|
-
"field": {
|
|
671
|
-
"field": "example"
|
|
672
|
-
}
|
|
673
|
-
},
|
|
674
|
-
"didCompile": true,
|
|
675
|
-
"fqnsReferenced": [
|
|
676
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseCluster",
|
|
677
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
|
|
678
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
679
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
680
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
681
|
-
"constructs.Construct"
|
|
682
|
-
],
|
|
683
|
-
"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}",
|
|
684
|
-
"syntaxKindCounter": {
|
|
685
|
-
"8": 1,
|
|
686
|
-
"10": 1,
|
|
687
|
-
"75": 9,
|
|
688
|
-
"104": 1,
|
|
689
|
-
"193": 1,
|
|
690
|
-
"194": 3,
|
|
691
|
-
"197": 1,
|
|
692
|
-
"225": 1,
|
|
693
|
-
"242": 1,
|
|
694
|
-
"243": 1,
|
|
695
|
-
"281": 2,
|
|
696
|
-
"282": 1
|
|
697
|
-
},
|
|
698
|
-
"fqnsFingerprint": "d29b85bb0605a819ade30b790f3c88b991dedfed2a449e584adfb5871dcf76b7"
|
|
699
|
-
},
|
|
700
|
-
"ca78c2f98112db812559f7f41e5124e808711be8432f88d86a2d59d55da578fd": {
|
|
701
|
-
"translations": {
|
|
702
|
-
"python": {
|
|
703
|
-
"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)",
|
|
704
|
-
"version": "2"
|
|
705
|
-
},
|
|
706
|
-
"csharp": {
|
|
707
|
-
"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};",
|
|
708
|
-
"version": "1"
|
|
709
|
-
},
|
|
710
|
-
"java": {
|
|
711
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.neptune.alpha.*;\nimport software.amazon.awscdk.services.ec2.*;\n\nSecurityGroup securityGroup;\n\nDatabaseClusterAttributes databaseClusterAttributes = DatabaseClusterAttributes.builder()\n .clusterEndpointAddress(\"clusterEndpointAddress\")\n .clusterIdentifier(\"clusterIdentifier\")\n .clusterResourceIdentifier(\"clusterResourceIdentifier\")\n .port(123)\n .readerEndpointAddress(\"readerEndpointAddress\")\n .securityGroup(securityGroup)\n .build();",
|
|
712
|
-
"version": "1"
|
|
713
|
-
},
|
|
714
|
-
"go": {
|
|
715
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport neptune_alpha \"github.com/aws/aws-cdk-go/awscdkneptunealpha\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar securityGroup securityGroup\n\ndatabaseClusterAttributes := &databaseClusterAttributes{\n\tclusterEndpointAddress: jsii.String(\"clusterEndpointAddress\"),\n\tclusterIdentifier: jsii.String(\"clusterIdentifier\"),\n\tclusterResourceIdentifier: jsii.String(\"clusterResourceIdentifier\"),\n\tport: jsii.Number(123),\n\treaderEndpointAddress: jsii.String(\"readerEndpointAddress\"),\n\tsecurityGroup: securityGroup,\n}",
|
|
716
|
-
"version": "1"
|
|
717
|
-
},
|
|
718
|
-
"$": {
|
|
719
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as neptune_alpha from '@aws-cdk/aws-neptune-alpha';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const securityGroup: ec2.SecurityGroup;\nconst databaseClusterAttributes: neptune_alpha.DatabaseClusterAttributes = {\n clusterEndpointAddress: 'clusterEndpointAddress',\n clusterIdentifier: 'clusterIdentifier',\n clusterResourceIdentifier: 'clusterResourceIdentifier',\n port: 123,\n readerEndpointAddress: 'readerEndpointAddress',\n securityGroup: securityGroup,\n};",
|
|
720
|
-
"version": "0"
|
|
721
|
-
}
|
|
722
|
-
},
|
|
723
|
-
"location": {
|
|
724
|
-
"api": {
|
|
725
|
-
"api": "type",
|
|
726
|
-
"fqn": "@aws-cdk/aws-neptune-alpha.DatabaseClusterAttributes"
|
|
727
|
-
},
|
|
728
|
-
"field": {
|
|
729
|
-
"field": "example"
|
|
730
|
-
}
|
|
731
|
-
},
|
|
732
|
-
"didCompile": true,
|
|
733
|
-
"fqnsReferenced": [
|
|
734
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseClusterAttributes",
|
|
735
|
-
"aws-cdk-lib.aws_ec2.ISecurityGroup"
|
|
736
|
-
],
|
|
737
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as neptune_alpha from '@aws-cdk/aws-neptune-alpha';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const securityGroup: ec2.SecurityGroup;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst databaseClusterAttributes: neptune_alpha.DatabaseClusterAttributes = {\n clusterEndpointAddress: 'clusterEndpointAddress',\n clusterIdentifier: 'clusterIdentifier',\n clusterResourceIdentifier: 'clusterResourceIdentifier',\n port: 123,\n readerEndpointAddress: 'readerEndpointAddress',\n securityGroup: securityGroup,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
738
|
-
"syntaxKindCounter": {
|
|
739
|
-
"8": 1,
|
|
740
|
-
"10": 6,
|
|
741
|
-
"75": 16,
|
|
742
|
-
"130": 1,
|
|
743
|
-
"153": 2,
|
|
744
|
-
"169": 2,
|
|
745
|
-
"193": 1,
|
|
746
|
-
"225": 2,
|
|
747
|
-
"242": 2,
|
|
748
|
-
"243": 2,
|
|
749
|
-
"254": 2,
|
|
750
|
-
"255": 2,
|
|
751
|
-
"256": 1,
|
|
752
|
-
"257": 1,
|
|
753
|
-
"258": 1,
|
|
754
|
-
"281": 6,
|
|
755
|
-
"290": 1
|
|
756
|
-
},
|
|
757
|
-
"fqnsFingerprint": "5f12496a63fe9343c2d65dfb82e29d36e0474d39c578e9b9d5ca889f9f8538e7"
|
|
758
|
-
},
|
|
759
|
-
"5feaab84cd035d4d56003d0f61d965d14aea7831538483a609a5337884f0874d": {
|
|
760
|
-
"translations": {
|
|
761
|
-
"python": {
|
|
762
|
-
"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)",
|
|
763
|
-
"version": "2"
|
|
764
|
-
},
|
|
765
|
-
"csharp": {
|
|
766
|
-
"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});",
|
|
767
|
-
"version": "1"
|
|
768
|
-
},
|
|
769
|
-
"java": {
|
|
770
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.neptune.alpha.*;\nimport software.amazon.awscdk.services.ec2.*;\n\nSecurityGroup securityGroup;\n\nIDatabaseCluster databaseClusterBase = DatabaseClusterBase.fromDatabaseClusterAttributes(this, \"MyDatabaseClusterBase\", DatabaseClusterAttributes.builder()\n .clusterEndpointAddress(\"clusterEndpointAddress\")\n .clusterIdentifier(\"clusterIdentifier\")\n .clusterResourceIdentifier(\"clusterResourceIdentifier\")\n .port(123)\n .readerEndpointAddress(\"readerEndpointAddress\")\n .securityGroup(securityGroup)\n .build());",
|
|
771
|
-
"version": "1"
|
|
772
|
-
},
|
|
773
|
-
"go": {
|
|
774
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport neptune_alpha \"github.com/aws/aws-cdk-go/awscdkneptunealpha\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar securityGroup securityGroup\n\ndatabaseClusterBase := neptune_alpha.databaseClusterBase.fromDatabaseClusterAttributes(this, jsii.String(\"MyDatabaseClusterBase\"), &databaseClusterAttributes{\n\tclusterEndpointAddress: jsii.String(\"clusterEndpointAddress\"),\n\tclusterIdentifier: jsii.String(\"clusterIdentifier\"),\n\tclusterResourceIdentifier: jsii.String(\"clusterResourceIdentifier\"),\n\tport: jsii.Number(123),\n\treaderEndpointAddress: jsii.String(\"readerEndpointAddress\"),\n\tsecurityGroup: securityGroup,\n})",
|
|
775
|
-
"version": "1"
|
|
776
|
-
},
|
|
777
|
-
"$": {
|
|
778
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as neptune_alpha from '@aws-cdk/aws-neptune-alpha';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const securityGroup: ec2.SecurityGroup;\nconst databaseClusterBase = neptune_alpha.DatabaseClusterBase.fromDatabaseClusterAttributes(this, 'MyDatabaseClusterBase', {\n clusterEndpointAddress: 'clusterEndpointAddress',\n clusterIdentifier: 'clusterIdentifier',\n clusterResourceIdentifier: 'clusterResourceIdentifier',\n port: 123,\n readerEndpointAddress: 'readerEndpointAddress',\n securityGroup: securityGroup,\n});",
|
|
779
|
-
"version": "0"
|
|
780
|
-
}
|
|
781
|
-
},
|
|
782
|
-
"location": {
|
|
783
|
-
"api": {
|
|
784
|
-
"api": "type",
|
|
785
|
-
"fqn": "@aws-cdk/aws-neptune-alpha.DatabaseClusterBase"
|
|
786
|
-
},
|
|
787
|
-
"field": {
|
|
788
|
-
"field": "example"
|
|
789
|
-
}
|
|
790
|
-
},
|
|
791
|
-
"didCompile": true,
|
|
792
|
-
"fqnsReferenced": [
|
|
793
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseClusterAttributes",
|
|
794
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseClusterBase",
|
|
795
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseClusterBase#fromDatabaseClusterAttributes",
|
|
796
|
-
"@aws-cdk/aws-neptune-alpha.IDatabaseCluster",
|
|
797
|
-
"aws-cdk-lib.aws_ec2.ISecurityGroup",
|
|
798
|
-
"constructs.Construct"
|
|
799
|
-
],
|
|
800
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as neptune_alpha from '@aws-cdk/aws-neptune-alpha';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const securityGroup: ec2.SecurityGroup;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst databaseClusterBase = neptune_alpha.DatabaseClusterBase.fromDatabaseClusterAttributes(this, 'MyDatabaseClusterBase', {\n clusterEndpointAddress: 'clusterEndpointAddress',\n clusterIdentifier: 'clusterIdentifier',\n clusterResourceIdentifier: 'clusterResourceIdentifier',\n port: 123,\n readerEndpointAddress: 'readerEndpointAddress',\n securityGroup: securityGroup,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
801
|
-
"syntaxKindCounter": {
|
|
802
|
-
"8": 1,
|
|
803
|
-
"10": 7,
|
|
804
|
-
"75": 17,
|
|
805
|
-
"104": 1,
|
|
806
|
-
"130": 1,
|
|
807
|
-
"153": 1,
|
|
808
|
-
"169": 1,
|
|
809
|
-
"193": 1,
|
|
810
|
-
"194": 2,
|
|
811
|
-
"196": 1,
|
|
812
|
-
"225": 2,
|
|
813
|
-
"242": 2,
|
|
814
|
-
"243": 2,
|
|
815
|
-
"254": 2,
|
|
816
|
-
"255": 2,
|
|
817
|
-
"256": 1,
|
|
818
|
-
"257": 1,
|
|
819
|
-
"258": 1,
|
|
820
|
-
"281": 6,
|
|
821
|
-
"290": 1
|
|
822
|
-
},
|
|
823
|
-
"fqnsFingerprint": "356c445b98013a299604b35d15307650b36776d3852a0085d4b110d8d9d38146"
|
|
824
|
-
},
|
|
825
|
-
"38d3526257f4ac9b4843ee18c24d2d0f3b936ef988be53484fcfab45022191d4": {
|
|
826
|
-
"translations": {
|
|
827
|
-
"python": {
|
|
828
|
-
"source": "cluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n instances=2\n)",
|
|
829
|
-
"version": "2"
|
|
830
|
-
},
|
|
831
|
-
"csharp": {
|
|
832
|
-
"source": "DatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n Instances = 2\n});",
|
|
833
|
-
"version": "1"
|
|
834
|
-
},
|
|
835
|
-
"java": {
|
|
836
|
-
"source": "DatabaseCluster cluster = DatabaseCluster.Builder.create(this, \"Database\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .instances(2)\n .build();",
|
|
837
|
-
"version": "1"
|
|
838
|
-
},
|
|
839
|
-
"go": {
|
|
840
|
-
"source": "cluster := neptune.NewDatabaseCluster(this, jsii.String(\"Database\"), &databaseClusterProps{\n\tvpc: vpc,\n\tinstanceType: neptune.instanceType_R5_LARGE(),\n\tinstances: jsii.Number(2),\n})",
|
|
841
|
-
"version": "1"
|
|
842
|
-
},
|
|
843
|
-
"$": {
|
|
844
|
-
"source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2,\n});",
|
|
845
|
-
"version": "0"
|
|
846
|
-
}
|
|
847
|
-
},
|
|
848
|
-
"location": {
|
|
849
|
-
"api": {
|
|
850
|
-
"api": "type",
|
|
851
|
-
"fqn": "@aws-cdk/aws-neptune-alpha.DatabaseClusterProps"
|
|
852
|
-
},
|
|
853
|
-
"field": {
|
|
854
|
-
"field": "example"
|
|
855
|
-
}
|
|
856
|
-
},
|
|
857
|
-
"didCompile": true,
|
|
858
|
-
"fqnsReferenced": [
|
|
859
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseCluster",
|
|
860
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
|
|
861
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
862
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
863
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
864
|
-
"constructs.Construct"
|
|
865
|
-
],
|
|
866
|
-
"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}",
|
|
867
|
-
"syntaxKindCounter": {
|
|
868
|
-
"8": 1,
|
|
869
|
-
"10": 1,
|
|
870
|
-
"75": 9,
|
|
871
|
-
"104": 1,
|
|
872
|
-
"193": 1,
|
|
873
|
-
"194": 3,
|
|
874
|
-
"197": 1,
|
|
875
|
-
"225": 1,
|
|
876
|
-
"242": 1,
|
|
877
|
-
"243": 1,
|
|
878
|
-
"281": 2,
|
|
879
|
-
"282": 1
|
|
880
|
-
},
|
|
881
|
-
"fqnsFingerprint": "d29b85bb0605a819ade30b790f3c88b991dedfed2a449e584adfb5871dcf76b7"
|
|
882
|
-
},
|
|
883
|
-
"35dbc0c48fa4c8aae20324c1e723eb7567c8ce3d8843eb66260af324baba7f0d": {
|
|
884
|
-
"translations": {
|
|
885
|
-
"python": {
|
|
886
|
-
"source": "replica1 = neptune.DatabaseInstance(self, \"Instance\",\n cluster=cluster,\n instance_type=neptune.InstanceType.R5_LARGE\n)",
|
|
887
|
-
"version": "2"
|
|
888
|
-
},
|
|
889
|
-
"csharp": {
|
|
890
|
-
"source": "DatabaseInstance replica1 = new DatabaseInstance(this, \"Instance\", new DatabaseInstanceProps {\n Cluster = cluster,\n InstanceType = InstanceType.R5_LARGE\n});",
|
|
891
|
-
"version": "1"
|
|
892
|
-
},
|
|
893
|
-
"java": {
|
|
894
|
-
"source": "DatabaseInstance replica1 = DatabaseInstance.Builder.create(this, \"Instance\")\n .cluster(cluster)\n .instanceType(InstanceType.R5_LARGE)\n .build();",
|
|
895
|
-
"version": "1"
|
|
896
|
-
},
|
|
897
|
-
"go": {
|
|
898
|
-
"source": "replica1 := neptune.NewDatabaseInstance(this, jsii.String(\"Instance\"), &databaseInstanceProps{\n\tcluster: cluster,\n\tinstanceType: neptune.*instanceType_R5_LARGE(),\n})",
|
|
899
|
-
"version": "1"
|
|
900
|
-
},
|
|
901
|
-
"$": {
|
|
902
|
-
"source": "const replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE,\n});",
|
|
903
|
-
"version": "0"
|
|
904
|
-
}
|
|
905
|
-
},
|
|
906
|
-
"location": {
|
|
907
|
-
"api": {
|
|
908
|
-
"api": "type",
|
|
909
|
-
"fqn": "@aws-cdk/aws-neptune-alpha.DatabaseInstance"
|
|
910
|
-
},
|
|
911
|
-
"field": {
|
|
912
|
-
"field": "example"
|
|
913
|
-
}
|
|
914
|
-
},
|
|
915
|
-
"didCompile": true,
|
|
916
|
-
"fqnsReferenced": [
|
|
917
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseInstance",
|
|
918
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseInstanceProps",
|
|
919
|
-
"@aws-cdk/aws-neptune-alpha.IDatabaseCluster",
|
|
920
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
921
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
922
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
923
|
-
"constructs.Construct"
|
|
924
|
-
],
|
|
925
|
-
"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}",
|
|
926
|
-
"syntaxKindCounter": {
|
|
927
|
-
"10": 1,
|
|
928
|
-
"75": 8,
|
|
929
|
-
"104": 1,
|
|
930
|
-
"193": 1,
|
|
931
|
-
"194": 3,
|
|
932
|
-
"197": 1,
|
|
933
|
-
"225": 1,
|
|
934
|
-
"242": 1,
|
|
935
|
-
"243": 1,
|
|
936
|
-
"281": 1,
|
|
937
|
-
"282": 1
|
|
938
|
-
},
|
|
939
|
-
"fqnsFingerprint": "e974d489fdb43dc13569744ea78d5dfee210179481e6454fd4ee544837984976"
|
|
940
|
-
},
|
|
941
|
-
"1c29ef9ee276ff0244af33921a49b62fe7a65603798209a19f034543b43dc146": {
|
|
942
|
-
"translations": {
|
|
943
|
-
"python": {
|
|
944
|
-
"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)",
|
|
945
|
-
"version": "2"
|
|
946
|
-
},
|
|
947
|
-
"csharp": {
|
|
948
|
-
"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};",
|
|
949
|
-
"version": "1"
|
|
950
|
-
},
|
|
951
|
-
"java": {
|
|
952
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.neptune.alpha.*;\n\nDatabaseInstanceAttributes databaseInstanceAttributes = DatabaseInstanceAttributes.builder()\n .instanceEndpointAddress(\"instanceEndpointAddress\")\n .instanceIdentifier(\"instanceIdentifier\")\n .port(123)\n .build();",
|
|
953
|
-
"version": "1"
|
|
954
|
-
},
|
|
955
|
-
"go": {
|
|
956
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport neptune_alpha \"github.com/aws/aws-cdk-go/awscdkneptunealpha\"\n\ndatabaseInstanceAttributes := &databaseInstanceAttributes{\n\tinstanceEndpointAddress: jsii.String(\"instanceEndpointAddress\"),\n\tinstanceIdentifier: jsii.String(\"instanceIdentifier\"),\n\tport: jsii.Number(123),\n}",
|
|
957
|
-
"version": "1"
|
|
958
|
-
},
|
|
959
|
-
"$": {
|
|
960
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as neptune_alpha from '@aws-cdk/aws-neptune-alpha';\nconst databaseInstanceAttributes: neptune_alpha.DatabaseInstanceAttributes = {\n instanceEndpointAddress: 'instanceEndpointAddress',\n instanceIdentifier: 'instanceIdentifier',\n port: 123,\n};",
|
|
961
|
-
"version": "0"
|
|
962
|
-
}
|
|
963
|
-
},
|
|
964
|
-
"location": {
|
|
965
|
-
"api": {
|
|
966
|
-
"api": "type",
|
|
967
|
-
"fqn": "@aws-cdk/aws-neptune-alpha.DatabaseInstanceAttributes"
|
|
968
|
-
},
|
|
969
|
-
"field": {
|
|
970
|
-
"field": "example"
|
|
971
|
-
}
|
|
972
|
-
},
|
|
973
|
-
"didCompile": true,
|
|
974
|
-
"fqnsReferenced": [
|
|
975
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseInstanceAttributes"
|
|
976
|
-
],
|
|
977
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as neptune_alpha from '@aws-cdk/aws-neptune-alpha';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst databaseInstanceAttributes: neptune_alpha.DatabaseInstanceAttributes = {\n instanceEndpointAddress: 'instanceEndpointAddress',\n instanceIdentifier: 'instanceIdentifier',\n port: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
978
|
-
"syntaxKindCounter": {
|
|
979
|
-
"8": 1,
|
|
980
|
-
"10": 3,
|
|
981
|
-
"75": 7,
|
|
982
|
-
"153": 1,
|
|
983
|
-
"169": 1,
|
|
984
|
-
"193": 1,
|
|
985
|
-
"225": 1,
|
|
986
|
-
"242": 1,
|
|
987
|
-
"243": 1,
|
|
988
|
-
"254": 1,
|
|
989
|
-
"255": 1,
|
|
990
|
-
"256": 1,
|
|
991
|
-
"281": 3,
|
|
992
|
-
"290": 1
|
|
993
|
-
},
|
|
994
|
-
"fqnsFingerprint": "da6cd33720a7e8d05e7de1c5737ca36c6dc3ef838b16fcc67cb052d391af10b3"
|
|
995
|
-
},
|
|
996
|
-
"71645f4aebe9cf8219e83a3b5efeea3ee4375cff7ba91e3a91788398f194609e": {
|
|
997
|
-
"translations": {
|
|
998
|
-
"python": {
|
|
999
|
-
"source": "replica1 = neptune.DatabaseInstance(self, \"Instance\",\n cluster=cluster,\n instance_type=neptune.InstanceType.R5_LARGE\n)",
|
|
1000
|
-
"version": "2"
|
|
1001
|
-
},
|
|
1002
|
-
"csharp": {
|
|
1003
|
-
"source": "DatabaseInstance replica1 = new DatabaseInstance(this, \"Instance\", new DatabaseInstanceProps {\n Cluster = cluster,\n InstanceType = InstanceType.R5_LARGE\n});",
|
|
1004
|
-
"version": "1"
|
|
1005
|
-
},
|
|
1006
|
-
"java": {
|
|
1007
|
-
"source": "DatabaseInstance replica1 = DatabaseInstance.Builder.create(this, \"Instance\")\n .cluster(cluster)\n .instanceType(InstanceType.R5_LARGE)\n .build();",
|
|
1008
|
-
"version": "1"
|
|
1009
|
-
},
|
|
1010
|
-
"go": {
|
|
1011
|
-
"source": "replica1 := neptune.NewDatabaseInstance(this, jsii.String(\"Instance\"), &databaseInstanceProps{\n\tcluster: cluster,\n\tinstanceType: neptune.*instanceType_R5_LARGE(),\n})",
|
|
1012
|
-
"version": "1"
|
|
1013
|
-
},
|
|
1014
|
-
"$": {
|
|
1015
|
-
"source": "const replica1 = new neptune.DatabaseInstance(this, 'Instance', {\n cluster,\n instanceType: neptune.InstanceType.R5_LARGE,\n});",
|
|
1016
|
-
"version": "0"
|
|
1017
|
-
}
|
|
1018
|
-
},
|
|
1019
|
-
"location": {
|
|
1020
|
-
"api": {
|
|
1021
|
-
"api": "type",
|
|
1022
|
-
"fqn": "@aws-cdk/aws-neptune-alpha.DatabaseInstanceProps"
|
|
1023
|
-
},
|
|
1024
|
-
"field": {
|
|
1025
|
-
"field": "example"
|
|
1026
|
-
}
|
|
1027
|
-
},
|
|
1028
|
-
"didCompile": true,
|
|
1029
|
-
"fqnsReferenced": [
|
|
1030
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseInstance",
|
|
1031
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseInstanceProps",
|
|
1032
|
-
"@aws-cdk/aws-neptune-alpha.IDatabaseCluster",
|
|
1033
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
1034
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
1035
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
1036
|
-
"constructs.Construct"
|
|
1037
|
-
],
|
|
1038
|
-
"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}",
|
|
1039
|
-
"syntaxKindCounter": {
|
|
1040
|
-
"10": 1,
|
|
1041
|
-
"75": 8,
|
|
1042
|
-
"104": 1,
|
|
1043
|
-
"193": 1,
|
|
1044
|
-
"194": 3,
|
|
1045
|
-
"197": 1,
|
|
1046
|
-
"225": 1,
|
|
1047
|
-
"242": 1,
|
|
1048
|
-
"243": 1,
|
|
1049
|
-
"281": 1,
|
|
1050
|
-
"282": 1
|
|
1051
|
-
},
|
|
1052
|
-
"fqnsFingerprint": "e974d489fdb43dc13569744ea78d5dfee210179481e6454fd4ee544837984976"
|
|
1053
|
-
},
|
|
1054
|
-
"de16aca82c633caedaf5c5814e46eec3e18bdb3f103ae63e3a7493c2e0aabc11": {
|
|
1055
|
-
"translations": {
|
|
1056
|
-
"python": {
|
|
1057
|
-
"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)",
|
|
1058
|
-
"version": "2"
|
|
1059
|
-
},
|
|
1060
|
-
"csharp": {
|
|
1061
|
-
"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);",
|
|
1062
|
-
"version": "1"
|
|
1063
|
-
},
|
|
1064
|
-
"java": {
|
|
1065
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.neptune.alpha.*;\n\nEndpoint endpoint = new Endpoint(\"address\", 123);",
|
|
1066
|
-
"version": "1"
|
|
1067
|
-
},
|
|
1068
|
-
"go": {
|
|
1069
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport neptune_alpha \"github.com/aws/aws-cdk-go/awscdkneptunealpha\"\n\nendpoint := neptune_alpha.NewEndpoint(jsii.String(\"address\"), jsii.Number(123))",
|
|
1070
|
-
"version": "1"
|
|
1071
|
-
},
|
|
1072
|
-
"$": {
|
|
1073
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as neptune_alpha from '@aws-cdk/aws-neptune-alpha';\nconst endpoint = new neptune_alpha.Endpoint('address', 123);",
|
|
1074
|
-
"version": "0"
|
|
1075
|
-
}
|
|
1076
|
-
},
|
|
1077
|
-
"location": {
|
|
1078
|
-
"api": {
|
|
1079
|
-
"api": "type",
|
|
1080
|
-
"fqn": "@aws-cdk/aws-neptune-alpha.Endpoint"
|
|
1081
|
-
},
|
|
1082
|
-
"field": {
|
|
1083
|
-
"field": "example"
|
|
1084
|
-
}
|
|
1085
|
-
},
|
|
1086
|
-
"didCompile": true,
|
|
1087
|
-
"fqnsReferenced": [
|
|
1088
|
-
"@aws-cdk/aws-neptune-alpha.Endpoint"
|
|
1089
|
-
],
|
|
1090
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as neptune_alpha from '@aws-cdk/aws-neptune-alpha';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst endpoint = new neptune_alpha.Endpoint('address', 123);\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
1091
|
-
"syntaxKindCounter": {
|
|
1092
|
-
"8": 1,
|
|
1093
|
-
"10": 2,
|
|
1094
|
-
"75": 4,
|
|
1095
|
-
"194": 1,
|
|
1096
|
-
"197": 1,
|
|
1097
|
-
"225": 1,
|
|
1098
|
-
"242": 1,
|
|
1099
|
-
"243": 1,
|
|
1100
|
-
"254": 1,
|
|
1101
|
-
"255": 1,
|
|
1102
|
-
"256": 1,
|
|
1103
|
-
"290": 1
|
|
1104
|
-
},
|
|
1105
|
-
"fqnsFingerprint": "b306cdcadc625e0031d47ec9782e8a996f61411efa4384d86e38a9afe48d760e"
|
|
1106
|
-
},
|
|
1107
|
-
"1730dabcf94114f95136feec749f44b7ad196d57a91c37b814d6cd38a75776ef": {
|
|
1108
|
-
"translations": {
|
|
1109
|
-
"python": {
|
|
1110
|
-
"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",
|
|
1111
|
-
"version": "2"
|
|
1112
|
-
},
|
|
1113
|
-
"csharp": {
|
|
1114
|
-
"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;",
|
|
1115
|
-
"version": "1"
|
|
1116
|
-
},
|
|
1117
|
-
"java": {
|
|
1118
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.neptune.alpha.*;\n\nEngineVersion engineVersion = EngineVersion.V1_0_1_0;",
|
|
1119
|
-
"version": "1"
|
|
1120
|
-
},
|
|
1121
|
-
"go": {
|
|
1122
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport neptune_alpha \"github.com/aws/aws-cdk-go/awscdkneptunealpha\"\n\nengineVersion := neptune_alpha.engineVersion_V1_0_1_0()",
|
|
1123
|
-
"version": "1"
|
|
1124
|
-
},
|
|
1125
|
-
"$": {
|
|
1126
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as neptune_alpha from '@aws-cdk/aws-neptune-alpha';\nconst engineVersion = neptune_alpha.EngineVersion.V1_0_1_0;",
|
|
1127
|
-
"version": "0"
|
|
1128
|
-
}
|
|
1129
|
-
},
|
|
1130
|
-
"location": {
|
|
1131
|
-
"api": {
|
|
1132
|
-
"api": "type",
|
|
1133
|
-
"fqn": "@aws-cdk/aws-neptune-alpha.EngineVersion"
|
|
1134
|
-
},
|
|
1135
|
-
"field": {
|
|
1136
|
-
"field": "example"
|
|
1137
|
-
}
|
|
1138
|
-
},
|
|
1139
|
-
"didCompile": true,
|
|
1140
|
-
"fqnsReferenced": [
|
|
1141
|
-
"@aws-cdk/aws-neptune-alpha.EngineVersion",
|
|
1142
|
-
"@aws-cdk/aws-neptune-alpha.EngineVersion#V1_0_1_0"
|
|
1143
|
-
],
|
|
1144
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as neptune_alpha from '@aws-cdk/aws-neptune-alpha';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst engineVersion = neptune_alpha.EngineVersion.V1_0_1_0;\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
1145
|
-
"syntaxKindCounter": {
|
|
1146
|
-
"10": 1,
|
|
1147
|
-
"75": 5,
|
|
1148
|
-
"194": 2,
|
|
1149
|
-
"225": 1,
|
|
1150
|
-
"242": 1,
|
|
1151
|
-
"243": 1,
|
|
1152
|
-
"254": 1,
|
|
1153
|
-
"255": 1,
|
|
1154
|
-
"256": 1,
|
|
1155
|
-
"290": 1
|
|
1156
|
-
},
|
|
1157
|
-
"fqnsFingerprint": "c15416aacc076f0f2d83e8e66684fc2ad7fa0a641617fae0cd15827bbb652b85"
|
|
1158
|
-
},
|
|
1159
|
-
"6e7def9cf6034490263320f1ff12c44f5d398fd9bcb8f7b297c2eb7367f88558": {
|
|
1160
|
-
"translations": {
|
|
1161
|
-
"python": {
|
|
1162
|
-
"source": "cluster = neptune.DatabaseCluster(self, \"Database\",\n vpc=vpc,\n instance_type=neptune.InstanceType.R5_LARGE,\n instances=2\n)",
|
|
1163
|
-
"version": "2"
|
|
1164
|
-
},
|
|
1165
|
-
"csharp": {
|
|
1166
|
-
"source": "DatabaseCluster cluster = new DatabaseCluster(this, \"Database\", new DatabaseClusterProps {\n Vpc = vpc,\n InstanceType = InstanceType.R5_LARGE,\n Instances = 2\n});",
|
|
1167
|
-
"version": "1"
|
|
1168
|
-
},
|
|
1169
|
-
"java": {
|
|
1170
|
-
"source": "DatabaseCluster cluster = DatabaseCluster.Builder.create(this, \"Database\")\n .vpc(vpc)\n .instanceType(InstanceType.R5_LARGE)\n .instances(2)\n .build();",
|
|
1171
|
-
"version": "1"
|
|
1172
|
-
},
|
|
1173
|
-
"go": {
|
|
1174
|
-
"source": "cluster := neptune.NewDatabaseCluster(this, jsii.String(\"Database\"), &databaseClusterProps{\n\tvpc: vpc,\n\tinstanceType: neptune.instanceType_R5_LARGE(),\n\tinstances: jsii.Number(2),\n})",
|
|
1175
|
-
"version": "1"
|
|
1176
|
-
},
|
|
1177
|
-
"$": {
|
|
1178
|
-
"source": "const cluster = new neptune.DatabaseCluster(this, 'Database', {\n vpc,\n instanceType: neptune.InstanceType.R5_LARGE,\n instances: 2,\n});",
|
|
1179
|
-
"version": "0"
|
|
1180
|
-
}
|
|
1181
|
-
},
|
|
1182
|
-
"location": {
|
|
1183
|
-
"api": {
|
|
1184
|
-
"api": "type",
|
|
1185
|
-
"fqn": "@aws-cdk/aws-neptune-alpha.InstanceType"
|
|
1186
|
-
},
|
|
1187
|
-
"field": {
|
|
1188
|
-
"field": "example"
|
|
1189
|
-
}
|
|
1190
|
-
},
|
|
1191
|
-
"didCompile": true,
|
|
1192
|
-
"fqnsReferenced": [
|
|
1193
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseCluster",
|
|
1194
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
|
|
1195
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
1196
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
1197
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
1198
|
-
"constructs.Construct"
|
|
1199
|
-
],
|
|
1200
|
-
"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}",
|
|
1201
|
-
"syntaxKindCounter": {
|
|
1202
|
-
"8": 1,
|
|
1203
|
-
"10": 1,
|
|
1204
|
-
"75": 9,
|
|
1205
|
-
"104": 1,
|
|
1206
|
-
"193": 1,
|
|
1207
|
-
"194": 3,
|
|
1208
|
-
"197": 1,
|
|
1209
|
-
"225": 1,
|
|
1210
|
-
"242": 1,
|
|
1211
|
-
"243": 1,
|
|
1212
|
-
"281": 2,
|
|
1213
|
-
"282": 1
|
|
1214
|
-
},
|
|
1215
|
-
"fqnsFingerprint": "d29b85bb0605a819ade30b790f3c88b991dedfed2a449e584adfb5871dcf76b7"
|
|
1216
|
-
},
|
|
1217
|
-
"f9296902595600ec2944094f8ea1fc6179f727622ae489fefc90d0e34953b835": {
|
|
1218
|
-
"translations": {
|
|
1219
|
-
"python": {
|
|
1220
|
-
"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)",
|
|
1221
|
-
"version": "2"
|
|
1222
|
-
},
|
|
1223
|
-
"csharp": {
|
|
1224
|
-
"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});",
|
|
1225
|
-
"version": "1"
|
|
1226
|
-
},
|
|
1227
|
-
"java": {
|
|
1228
|
-
"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();",
|
|
1229
|
-
"version": "1"
|
|
1230
|
-
},
|
|
1231
|
-
"go": {
|
|
1232
|
-
"source": "clusterParams := neptune.NewClusterParameterGroup(this, jsii.String(\"ClusterParams\"), &clusterParameterGroupProps{\n\tdescription: jsii.String(\"Cluster parameter group\"),\n\tparameters: map[string]*string{\n\t\t\"neptune_enable_audit_log\": jsii.String(\"1\"),\n\t},\n})\n\ndbParams := neptune.NewParameterGroup(this, jsii.String(\"DbParams\"), ¶meterGroupProps{\n\tdescription: jsii.String(\"Db parameter group\"),\n\tparameters: map[string]*string{\n\t\t\"neptune_query_timeout\": jsii.String(\"120000\"),\n\t},\n})\n\ncluster := neptune.NewDatabaseCluster(this, jsii.String(\"Database\"), &databaseClusterProps{\n\tvpc: vpc,\n\tinstanceType: neptune.instanceType_R5_LARGE(),\n\tclusterParameterGroup: clusterParams,\n\tparameterGroup: dbParams,\n})",
|
|
1233
|
-
"version": "1"
|
|
1234
|
-
},
|
|
1235
|
-
"$": {
|
|
1236
|
-
"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});",
|
|
1237
|
-
"version": "0"
|
|
1238
|
-
}
|
|
1239
|
-
},
|
|
1240
|
-
"location": {
|
|
1241
|
-
"api": {
|
|
1242
|
-
"api": "type",
|
|
1243
|
-
"fqn": "@aws-cdk/aws-neptune-alpha.ParameterGroup"
|
|
1244
|
-
},
|
|
1245
|
-
"field": {
|
|
1246
|
-
"field": "example"
|
|
1247
|
-
}
|
|
1248
|
-
},
|
|
1249
|
-
"didCompile": true,
|
|
1250
|
-
"fqnsReferenced": [
|
|
1251
|
-
"@aws-cdk/aws-neptune-alpha.ClusterParameterGroup",
|
|
1252
|
-
"@aws-cdk/aws-neptune-alpha.ClusterParameterGroupProps",
|
|
1253
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseCluster",
|
|
1254
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
|
|
1255
|
-
"@aws-cdk/aws-neptune-alpha.IClusterParameterGroup",
|
|
1256
|
-
"@aws-cdk/aws-neptune-alpha.IParameterGroup",
|
|
1257
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
1258
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
1259
|
-
"@aws-cdk/aws-neptune-alpha.ParameterGroup",
|
|
1260
|
-
"@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
|
|
1261
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
1262
|
-
"constructs.Construct"
|
|
1263
|
-
],
|
|
1264
|
-
"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}",
|
|
1265
|
-
"syntaxKindCounter": {
|
|
1266
|
-
"10": 7,
|
|
1267
|
-
"75": 24,
|
|
1268
|
-
"104": 3,
|
|
1269
|
-
"193": 5,
|
|
1270
|
-
"194": 5,
|
|
1271
|
-
"197": 3,
|
|
1272
|
-
"225": 3,
|
|
1273
|
-
"242": 3,
|
|
1274
|
-
"243": 3,
|
|
1275
|
-
"281": 9,
|
|
1276
|
-
"282": 1
|
|
1277
|
-
},
|
|
1278
|
-
"fqnsFingerprint": "169c97456920826340e04e728b98b31e9b0501d124de4ede0cdf9a0c048f6f4c"
|
|
1279
|
-
},
|
|
1280
|
-
"b3321b21b55d357012d80dd629d7b798472053fa4bc2d315972f695682d16f95": {
|
|
1281
|
-
"translations": {
|
|
1282
|
-
"python": {
|
|
1283
|
-
"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)",
|
|
1284
|
-
"version": "2"
|
|
1285
|
-
},
|
|
1286
|
-
"csharp": {
|
|
1287
|
-
"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});",
|
|
1288
|
-
"version": "1"
|
|
1289
|
-
},
|
|
1290
|
-
"java": {
|
|
1291
|
-
"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();",
|
|
1292
|
-
"version": "1"
|
|
1293
|
-
},
|
|
1294
|
-
"go": {
|
|
1295
|
-
"source": "clusterParams := neptune.NewClusterParameterGroup(this, jsii.String(\"ClusterParams\"), &clusterParameterGroupProps{\n\tdescription: jsii.String(\"Cluster parameter group\"),\n\tparameters: map[string]*string{\n\t\t\"neptune_enable_audit_log\": jsii.String(\"1\"),\n\t},\n})\n\ndbParams := neptune.NewParameterGroup(this, jsii.String(\"DbParams\"), ¶meterGroupProps{\n\tdescription: jsii.String(\"Db parameter group\"),\n\tparameters: map[string]*string{\n\t\t\"neptune_query_timeout\": jsii.String(\"120000\"),\n\t},\n})\n\ncluster := neptune.NewDatabaseCluster(this, jsii.String(\"Database\"), &databaseClusterProps{\n\tvpc: vpc,\n\tinstanceType: neptune.instanceType_R5_LARGE(),\n\tclusterParameterGroup: clusterParams,\n\tparameterGroup: dbParams,\n})",
|
|
1296
|
-
"version": "1"
|
|
1297
|
-
},
|
|
1298
|
-
"$": {
|
|
1299
|
-
"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});",
|
|
1300
|
-
"version": "0"
|
|
1301
|
-
}
|
|
1302
|
-
},
|
|
1303
|
-
"location": {
|
|
1304
|
-
"api": {
|
|
1305
|
-
"api": "type",
|
|
1306
|
-
"fqn": "@aws-cdk/aws-neptune-alpha.ParameterGroupProps"
|
|
1307
|
-
},
|
|
1308
|
-
"field": {
|
|
1309
|
-
"field": "example"
|
|
1310
|
-
}
|
|
1311
|
-
},
|
|
1312
|
-
"didCompile": true,
|
|
1313
|
-
"fqnsReferenced": [
|
|
1314
|
-
"@aws-cdk/aws-neptune-alpha.ClusterParameterGroup",
|
|
1315
|
-
"@aws-cdk/aws-neptune-alpha.ClusterParameterGroupProps",
|
|
1316
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseCluster",
|
|
1317
|
-
"@aws-cdk/aws-neptune-alpha.DatabaseClusterProps",
|
|
1318
|
-
"@aws-cdk/aws-neptune-alpha.IClusterParameterGroup",
|
|
1319
|
-
"@aws-cdk/aws-neptune-alpha.IParameterGroup",
|
|
1320
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType",
|
|
1321
|
-
"@aws-cdk/aws-neptune-alpha.InstanceType#R5_LARGE",
|
|
1322
|
-
"@aws-cdk/aws-neptune-alpha.ParameterGroup",
|
|
1323
|
-
"@aws-cdk/aws-neptune-alpha.ParameterGroupProps",
|
|
1324
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
1325
|
-
"constructs.Construct"
|
|
1326
|
-
],
|
|
1327
|
-
"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}",
|
|
1328
|
-
"syntaxKindCounter": {
|
|
1329
|
-
"10": 7,
|
|
1330
|
-
"75": 24,
|
|
1331
|
-
"104": 3,
|
|
1332
|
-
"193": 5,
|
|
1333
|
-
"194": 5,
|
|
1334
|
-
"197": 3,
|
|
1335
|
-
"225": 3,
|
|
1336
|
-
"242": 3,
|
|
1337
|
-
"243": 3,
|
|
1338
|
-
"281": 9,
|
|
1339
|
-
"282": 1
|
|
1340
|
-
},
|
|
1341
|
-
"fqnsFingerprint": "169c97456920826340e04e728b98b31e9b0501d124de4ede0cdf9a0c048f6f4c"
|
|
1342
|
-
},
|
|
1343
|
-
"1b234381e7b7a935aaf7b780eff4d51fdbf11037524c62776b1d861c51e87077": {
|
|
1344
|
-
"translations": {
|
|
1345
|
-
"python": {
|
|
1346
|
-
"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)",
|
|
1347
|
-
"version": "2"
|
|
1348
|
-
},
|
|
1349
|
-
"csharp": {
|
|
1350
|
-
"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});",
|
|
1351
|
-
"version": "1"
|
|
1352
|
-
},
|
|
1353
|
-
"java": {
|
|
1354
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.neptune.alpha.*;\nimport software.amazon.awscdk.*;\nimport software.amazon.awscdk.services.ec2.*;\n\nSubnet subnet;\nSubnetFilter subnetFilter;\nVpc vpc;\n\nSubnetGroup subnetGroup = SubnetGroup.Builder.create(this, \"MySubnetGroup\")\n .vpc(vpc)\n\n // the properties below are optional\n .description(\"description\")\n .removalPolicy(RemovalPolicy.DESTROY)\n .subnetGroupName(\"subnetGroupName\")\n .vpcSubnets(SubnetSelection.builder()\n .availabilityZones(List.of(\"availabilityZones\"))\n .onePerAz(false)\n .subnetFilters(List.of(subnetFilter))\n .subnetGroupName(\"subnetGroupName\")\n .subnets(List.of(subnet))\n .subnetType(SubnetType.PRIVATE_ISOLATED)\n .build())\n .build();",
|
|
1355
|
-
"version": "1"
|
|
1356
|
-
},
|
|
1357
|
-
"go": {
|
|
1358
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport neptune_alpha \"github.com/aws/aws-cdk-go/awscdkneptunealpha\"\nimport cdk \"github.com/aws/aws-cdk-go/awscdk\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar subnet subnet\nvar subnetFilter subnetFilter\nvar vpc vpc\n\nsubnetGroup := neptune_alpha.NewSubnetGroup(this, jsii.String(\"MySubnetGroup\"), &subnetGroupProps{\n\tvpc: vpc,\n\n\t// the properties below are optional\n\tdescription: jsii.String(\"description\"),\n\tremovalPolicy: cdk.removalPolicy_DESTROY,\n\tsubnetGroupName: jsii.String(\"subnetGroupName\"),\n\tvpcSubnets: &subnetSelection{\n\t\tavailabilityZones: []*string{\n\t\t\tjsii.String(\"availabilityZones\"),\n\t\t},\n\t\tonePerAz: jsii.Boolean(false),\n\t\tsubnetFilters: []*subnetFilter{\n\t\t\tsubnetFilter,\n\t\t},\n\t\tsubnetGroupName: jsii.String(\"subnetGroupName\"),\n\t\tsubnets: []iSubnet{\n\t\t\tsubnet,\n\t\t},\n\t\tsubnetType: awscdk.Aws_ec2.subnetType_PRIVATE_ISOLATED,\n\t},\n})",
|
|
1359
|
-
"version": "1"
|
|
1360
|
-
},
|
|
1361
|
-
"$": {
|
|
1362
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as neptune_alpha from '@aws-cdk/aws-neptune-alpha';\nimport * as cdk from 'aws-cdk-lib';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const subnet: ec2.Subnet;\ndeclare const subnetFilter: ec2.SubnetFilter;\ndeclare const vpc: ec2.Vpc;\nconst subnetGroup = new neptune_alpha.SubnetGroup(this, 'MySubnetGroup', {\n vpc: vpc,\n\n // the properties below are optional\n description: 'description',\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n subnetGroupName: 'subnetGroupName',\n vpcSubnets: {\n availabilityZones: ['availabilityZones'],\n onePerAz: false,\n subnetFilters: [subnetFilter],\n subnetGroupName: 'subnetGroupName',\n subnets: [subnet],\n subnetType: ec2.SubnetType.PRIVATE_ISOLATED,\n },\n});",
|
|
1363
|
-
"version": "0"
|
|
1364
|
-
}
|
|
1365
|
-
},
|
|
1366
|
-
"location": {
|
|
1367
|
-
"api": {
|
|
1368
|
-
"api": "type",
|
|
1369
|
-
"fqn": "@aws-cdk/aws-neptune-alpha.SubnetGroup"
|
|
1370
|
-
},
|
|
1371
|
-
"field": {
|
|
1372
|
-
"field": "example"
|
|
1373
|
-
}
|
|
1374
|
-
},
|
|
1375
|
-
"didCompile": true,
|
|
1376
|
-
"fqnsReferenced": [
|
|
1377
|
-
"@aws-cdk/aws-neptune-alpha.SubnetGroup",
|
|
1378
|
-
"@aws-cdk/aws-neptune-alpha.SubnetGroupProps",
|
|
1379
|
-
"aws-cdk-lib.RemovalPolicy",
|
|
1380
|
-
"aws-cdk-lib.RemovalPolicy#DESTROY",
|
|
1381
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
1382
|
-
"aws-cdk-lib.aws_ec2.SubnetSelection",
|
|
1383
|
-
"aws-cdk-lib.aws_ec2.SubnetType",
|
|
1384
|
-
"aws-cdk-lib.aws_ec2.SubnetType#PRIVATE_ISOLATED",
|
|
1385
|
-
"constructs.Construct"
|
|
1386
|
-
],
|
|
1387
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as neptune_alpha from '@aws-cdk/aws-neptune-alpha';\nimport * as cdk from 'aws-cdk-lib';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const subnet: ec2.Subnet;\ndeclare const subnetFilter: ec2.SubnetFilter;\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst subnetGroup = new neptune_alpha.SubnetGroup(this, 'MySubnetGroup', {\n vpc: vpc,\n\n // the properties below are optional\n description: 'description',\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n subnetGroupName: 'subnetGroupName',\n vpcSubnets: {\n availabilityZones: ['availabilityZones'],\n onePerAz: false,\n subnetFilters: [subnetFilter],\n subnetGroupName: 'subnetGroupName',\n subnets: [subnet],\n subnetType: ec2.SubnetType.PRIVATE_ISOLATED,\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
1388
|
-
"syntaxKindCounter": {
|
|
1389
|
-
"10": 8,
|
|
1390
|
-
"75": 36,
|
|
1391
|
-
"91": 1,
|
|
1392
|
-
"104": 1,
|
|
1393
|
-
"130": 3,
|
|
1394
|
-
"153": 3,
|
|
1395
|
-
"169": 3,
|
|
1396
|
-
"192": 3,
|
|
1397
|
-
"193": 2,
|
|
1398
|
-
"194": 5,
|
|
1399
|
-
"197": 1,
|
|
1400
|
-
"225": 4,
|
|
1401
|
-
"242": 4,
|
|
1402
|
-
"243": 4,
|
|
1403
|
-
"254": 3,
|
|
1404
|
-
"255": 3,
|
|
1405
|
-
"256": 2,
|
|
1406
|
-
"257": 1,
|
|
1407
|
-
"258": 1,
|
|
1408
|
-
"281": 11,
|
|
1409
|
-
"290": 1
|
|
1410
|
-
},
|
|
1411
|
-
"fqnsFingerprint": "4f783175bdc112307d9a0e9c7a4c7d016209faa468279caa018eff218ab211d0"
|
|
1412
|
-
},
|
|
1413
|
-
"66acd64033a59a14c547f8f7b169f31adbac7d4ff584afa3879fbf141004a793": {
|
|
1414
|
-
"translations": {
|
|
1415
|
-
"python": {
|
|
1416
|
-
"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)",
|
|
1417
|
-
"version": "2"
|
|
1418
|
-
},
|
|
1419
|
-
"csharp": {
|
|
1420
|
-
"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};",
|
|
1421
|
-
"version": "1"
|
|
1422
|
-
},
|
|
1423
|
-
"java": {
|
|
1424
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.neptune.alpha.*;\nimport software.amazon.awscdk.*;\nimport software.amazon.awscdk.services.ec2.*;\n\nSubnet subnet;\nSubnetFilter subnetFilter;\nVpc vpc;\n\nSubnetGroupProps subnetGroupProps = SubnetGroupProps.builder()\n .vpc(vpc)\n\n // the properties below are optional\n .description(\"description\")\n .removalPolicy(RemovalPolicy.DESTROY)\n .subnetGroupName(\"subnetGroupName\")\n .vpcSubnets(SubnetSelection.builder()\n .availabilityZones(List.of(\"availabilityZones\"))\n .onePerAz(false)\n .subnetFilters(List.of(subnetFilter))\n .subnetGroupName(\"subnetGroupName\")\n .subnets(List.of(subnet))\n .subnetType(SubnetType.PRIVATE_ISOLATED)\n .build())\n .build();",
|
|
1425
|
-
"version": "1"
|
|
1426
|
-
},
|
|
1427
|
-
"go": {
|
|
1428
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport neptune_alpha \"github.com/aws/aws-cdk-go/awscdkneptunealpha\"\nimport cdk \"github.com/aws/aws-cdk-go/awscdk\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar subnet subnet\nvar subnetFilter subnetFilter\nvar vpc vpc\n\nsubnetGroupProps := &subnetGroupProps{\n\tvpc: vpc,\n\n\t// the properties below are optional\n\tdescription: jsii.String(\"description\"),\n\tremovalPolicy: cdk.removalPolicy_DESTROY,\n\tsubnetGroupName: jsii.String(\"subnetGroupName\"),\n\tvpcSubnets: &subnetSelection{\n\t\tavailabilityZones: []*string{\n\t\t\tjsii.String(\"availabilityZones\"),\n\t\t},\n\t\tonePerAz: jsii.Boolean(false),\n\t\tsubnetFilters: []*subnetFilter{\n\t\t\tsubnetFilter,\n\t\t},\n\t\tsubnetGroupName: jsii.String(\"subnetGroupName\"),\n\t\tsubnets: []iSubnet{\n\t\t\tsubnet,\n\t\t},\n\t\tsubnetType: awscdk.Aws_ec2.subnetType_PRIVATE_ISOLATED,\n\t},\n}",
|
|
1429
|
-
"version": "1"
|
|
1430
|
-
},
|
|
1431
|
-
"$": {
|
|
1432
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as neptune_alpha from '@aws-cdk/aws-neptune-alpha';\nimport * as cdk from 'aws-cdk-lib';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const subnet: ec2.Subnet;\ndeclare const subnetFilter: ec2.SubnetFilter;\ndeclare const vpc: ec2.Vpc;\nconst subnetGroupProps: neptune_alpha.SubnetGroupProps = {\n vpc: vpc,\n\n // the properties below are optional\n description: 'description',\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n subnetGroupName: 'subnetGroupName',\n vpcSubnets: {\n availabilityZones: ['availabilityZones'],\n onePerAz: false,\n subnetFilters: [subnetFilter],\n subnetGroupName: 'subnetGroupName',\n subnets: [subnet],\n subnetType: ec2.SubnetType.PRIVATE_ISOLATED,\n },\n};",
|
|
1433
|
-
"version": "0"
|
|
1434
|
-
}
|
|
1435
|
-
},
|
|
1436
|
-
"location": {
|
|
1437
|
-
"api": {
|
|
1438
|
-
"api": "type",
|
|
1439
|
-
"fqn": "@aws-cdk/aws-neptune-alpha.SubnetGroupProps"
|
|
1440
|
-
},
|
|
1441
|
-
"field": {
|
|
1442
|
-
"field": "example"
|
|
1443
|
-
}
|
|
1444
|
-
},
|
|
1445
|
-
"didCompile": true,
|
|
1446
|
-
"fqnsReferenced": [
|
|
1447
|
-
"@aws-cdk/aws-neptune-alpha.SubnetGroupProps",
|
|
1448
|
-
"aws-cdk-lib.RemovalPolicy",
|
|
1449
|
-
"aws-cdk-lib.RemovalPolicy#DESTROY",
|
|
1450
|
-
"aws-cdk-lib.aws_ec2.IVpc",
|
|
1451
|
-
"aws-cdk-lib.aws_ec2.SubnetSelection",
|
|
1452
|
-
"aws-cdk-lib.aws_ec2.SubnetType",
|
|
1453
|
-
"aws-cdk-lib.aws_ec2.SubnetType#PRIVATE_ISOLATED"
|
|
1454
|
-
],
|
|
1455
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as neptune_alpha from '@aws-cdk/aws-neptune-alpha';\nimport * as cdk from 'aws-cdk-lib';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const subnet: ec2.Subnet;\ndeclare const subnetFilter: ec2.SubnetFilter;\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst subnetGroupProps: neptune_alpha.SubnetGroupProps = {\n vpc: vpc,\n\n // the properties below are optional\n description: 'description',\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n subnetGroupName: 'subnetGroupName',\n vpcSubnets: {\n availabilityZones: ['availabilityZones'],\n onePerAz: false,\n subnetFilters: [subnetFilter],\n subnetGroupName: 'subnetGroupName',\n subnets: [subnet],\n subnetType: ec2.SubnetType.PRIVATE_ISOLATED,\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
1456
|
-
"syntaxKindCounter": {
|
|
1457
|
-
"10": 7,
|
|
1458
|
-
"75": 36,
|
|
1459
|
-
"91": 1,
|
|
1460
|
-
"130": 3,
|
|
1461
|
-
"153": 4,
|
|
1462
|
-
"169": 4,
|
|
1463
|
-
"192": 3,
|
|
1464
|
-
"193": 2,
|
|
1465
|
-
"194": 4,
|
|
1466
|
-
"225": 4,
|
|
1467
|
-
"242": 4,
|
|
1468
|
-
"243": 4,
|
|
1469
|
-
"254": 3,
|
|
1470
|
-
"255": 3,
|
|
1471
|
-
"256": 2,
|
|
1472
|
-
"257": 1,
|
|
1473
|
-
"258": 1,
|
|
1474
|
-
"281": 11,
|
|
1475
|
-
"290": 1
|
|
1476
|
-
},
|
|
1477
|
-
"fqnsFingerprint": "57447417665c06c33d3ea2e767a000dbdcab12e511a2ab7e5584a2af82caf25d"
|
|
1478
|
-
}
|
|
1479
|
-
}
|
|
1480
|
-
}
|