@aws-cdk/aws-glue-alpha 2.0.0-rc.23 → 2.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2415 @@
1
+ {
2
+ "version": "2",
3
+ "toolVersion": "1.47.0",
4
+ "snippets": {
5
+ "acfd3bedd5746453e0a0519458aded634bdec6a9a0d56e4659cec69a921925a6": {
6
+ "translations": {
7
+ "python": {
8
+ "source": "# bucket is of type Bucket\n\nglue.Job(self, \"ScalaSparkEtlJob\",\n executable=glue.JobExecutable.scala_etl(\n glue_version=glue.GlueVersion.V2_0,\n script=glue.Code.from_bucket(bucket, \"src/com/example/HelloWorld.scala\"),\n class_name=\"com.example.HelloWorld\",\n extra_jars=[glue.Code.from_bucket(bucket, \"jars/HelloWorld.jar\")]\n ),\n description=\"an example Scala ETL job\"\n)",
9
+ "version": "1"
10
+ },
11
+ "csharp": {
12
+ "source": "Bucket bucket;\n\nnew Job(this, \"ScalaSparkEtlJob\", new JobProps {\n Executable = JobExecutable.ScalaEtl(new ScalaJobExecutableProps {\n GlueVersion = GlueVersion.V2_0,\n Script = Code.FromBucket(bucket, \"src/com/example/HelloWorld.scala\"),\n ClassName = \"com.example.HelloWorld\",\n ExtraJars = new [] { Code.FromBucket(bucket, \"jars/HelloWorld.jar\") }\n }),\n Description = \"an example Scala ETL job\"\n});",
13
+ "version": "1"
14
+ },
15
+ "java": {
16
+ "source": "Bucket bucket;\n\nJob.Builder.create(this, \"ScalaSparkEtlJob\")\n .executable(JobExecutable.scalaEtl(ScalaJobExecutableProps.builder()\n .glueVersion(GlueVersion.V2_0)\n .script(Code.fromBucket(bucket, \"src/com/example/HelloWorld.scala\"))\n .className(\"com.example.HelloWorld\")\n .extraJars(List.of(Code.fromBucket(bucket, \"jars/HelloWorld.jar\")))\n .build()))\n .description(\"an example Scala ETL job\")\n .build();",
17
+ "version": "1"
18
+ },
19
+ "$": {
20
+ "source": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'ScalaSparkEtlJob', {\n executable: glue.JobExecutable.scalaEtl({\n glueVersion: glue.GlueVersion.V2_0,\n script: glue.Code.fromBucket(bucket, 'src/com/example/HelloWorld.scala'),\n className: 'com.example.HelloWorld',\n extraJars: [glue.Code.fromBucket(bucket, 'jars/HelloWorld.jar')],\n }),\n description: 'an example Scala ETL job',\n});",
21
+ "version": "0"
22
+ }
23
+ },
24
+ "location": {
25
+ "api": {
26
+ "api": "moduleReadme",
27
+ "moduleFqn": "@aws-cdk/aws-glue-alpha"
28
+ },
29
+ "field": {
30
+ "field": "markdown",
31
+ "line": 38
32
+ }
33
+ },
34
+ "didCompile": true,
35
+ "fqnsReferenced": [
36
+ "@aws-cdk/aws-glue-alpha.Code",
37
+ "@aws-cdk/aws-glue-alpha.Code#fromBucket",
38
+ "@aws-cdk/aws-glue-alpha.GlueVersion",
39
+ "@aws-cdk/aws-glue-alpha.GlueVersion#V2_0",
40
+ "@aws-cdk/aws-glue-alpha.Job",
41
+ "@aws-cdk/aws-glue-alpha.JobExecutable",
42
+ "@aws-cdk/aws-glue-alpha.JobExecutable#scalaEtl",
43
+ "@aws-cdk/aws-glue-alpha.JobProps",
44
+ "@aws-cdk/aws-glue-alpha.ScalaJobExecutableProps",
45
+ "aws-cdk-lib.aws_s3.IBucket"
46
+ ],
47
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Job(this, 'ScalaSparkEtlJob', {\n executable: glue.JobExecutable.scalaEtl({\n glueVersion: glue.GlueVersion.V2_0,\n script: glue.Code.fromBucket(bucket, 'src/com/example/HelloWorld.scala'),\n className: 'com.example.HelloWorld',\n extraJars: [glue.Code.fromBucket(bucket, 'jars/HelloWorld.jar')],\n }),\n description: 'an example Scala ETL job',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
48
+ "syntaxKindCounter": {
49
+ "10": 5,
50
+ "75": 25,
51
+ "104": 1,
52
+ "130": 1,
53
+ "153": 1,
54
+ "169": 1,
55
+ "192": 1,
56
+ "193": 2,
57
+ "194": 9,
58
+ "196": 3,
59
+ "197": 1,
60
+ "225": 1,
61
+ "226": 1,
62
+ "242": 1,
63
+ "243": 1,
64
+ "281": 6,
65
+ "290": 1
66
+ },
67
+ "fqnsFingerprint": "8b58e41804d29f352e98153ed58f213b8842a8b0eadfd99c2decdf9e51971287"
68
+ },
69
+ "52d8f72218212ecafb83bf5adb08b8c7d1c9bac1835e26008f6cd1455bf507c2": {
70
+ "translations": {
71
+ "python": {
72
+ "source": "glue.Job(self, \"PythonSparkStreamingJob\",\n executable=glue.JobExecutable.python_streaming(\n glue_version=glue.GlueVersion.V2_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_asset(path.join(__dirname, \"job-script/hello_world.py\"))\n ),\n description=\"an example Python Streaming job\"\n)",
73
+ "version": "1"
74
+ },
75
+ "csharp": {
76
+ "source": "new Job(this, \"PythonSparkStreamingJob\", new JobProps {\n Executable = JobExecutable.PythonStreaming(new PythonSparkJobExecutableProps {\n GlueVersion = GlueVersion.V2_0,\n PythonVersion = PythonVersion.THREE,\n Script = Code.FromAsset(Join(__dirname, \"job-script/hello_world.py\"))\n }),\n Description = \"an example Python Streaming job\"\n});",
77
+ "version": "1"
78
+ },
79
+ "java": {
80
+ "source": "Job.Builder.create(this, \"PythonSparkStreamingJob\")\n .executable(JobExecutable.pythonStreaming(PythonSparkJobExecutableProps.builder()\n .glueVersion(GlueVersion.V2_0)\n .pythonVersion(PythonVersion.THREE)\n .script(Code.fromAsset(join(__dirname, \"job-script/hello_world.py\")))\n .build()))\n .description(\"an example Python Streaming job\")\n .build();",
81
+ "version": "1"
82
+ },
83
+ "$": {
84
+ "source": "new glue.Job(this, 'PythonSparkStreamingJob', {\n executable: glue.JobExecutable.pythonStreaming({\n glueVersion: glue.GlueVersion.V2_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromAsset(path.join(__dirname, 'job-script/hello_world.py')),\n }),\n description: 'an example Python Streaming job',\n});",
85
+ "version": "0"
86
+ }
87
+ },
88
+ "location": {
89
+ "api": {
90
+ "api": "moduleReadme",
91
+ "moduleFqn": "@aws-cdk/aws-glue-alpha"
92
+ },
93
+ "field": {
94
+ "field": "markdown",
95
+ "line": 55
96
+ }
97
+ },
98
+ "didCompile": true,
99
+ "fqnsReferenced": [
100
+ "@aws-cdk/aws-glue-alpha.Code",
101
+ "@aws-cdk/aws-glue-alpha.Code#fromAsset",
102
+ "@aws-cdk/aws-glue-alpha.GlueVersion",
103
+ "@aws-cdk/aws-glue-alpha.GlueVersion#V2_0",
104
+ "@aws-cdk/aws-glue-alpha.Job",
105
+ "@aws-cdk/aws-glue-alpha.JobExecutable",
106
+ "@aws-cdk/aws-glue-alpha.JobExecutable#pythonStreaming",
107
+ "@aws-cdk/aws-glue-alpha.JobProps",
108
+ "@aws-cdk/aws-glue-alpha.PythonSparkJobExecutableProps",
109
+ "@aws-cdk/aws-glue-alpha.PythonVersion",
110
+ "@aws-cdk/aws-glue-alpha.PythonVersion#THREE"
111
+ ],
112
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew glue.Job(this, 'PythonSparkStreamingJob', {\n executable: glue.JobExecutable.pythonStreaming({\n glueVersion: glue.GlueVersion.V2_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromAsset(path.join(__dirname, 'job-script/hello_world.py')),\n }),\n description: 'an example Python Streaming job',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
113
+ "syntaxKindCounter": {
114
+ "10": 3,
115
+ "75": 22,
116
+ "104": 1,
117
+ "193": 2,
118
+ "194": 10,
119
+ "196": 3,
120
+ "197": 1,
121
+ "226": 1,
122
+ "281": 5
123
+ },
124
+ "fqnsFingerprint": "a6b5edfe0f1f9dac1e1558758201f97990929a1ea48e98d25f4234de83de5211"
125
+ },
126
+ "315ff1895769be8ecf1e09dcf4f53d5678c1277852bfc3d17dd878119198744a": {
127
+ "translations": {
128
+ "python": {
129
+ "source": "# bucket is of type Bucket\n\nglue.Job(self, \"PythonShellJob\",\n executable=glue.JobExecutable.python_shell(\n glue_version=glue.GlueVersion.V1_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_bucket(bucket, \"script.py\")\n ),\n description=\"an example Python Shell job\"\n)",
130
+ "version": "1"
131
+ },
132
+ "csharp": {
133
+ "source": "Bucket bucket;\n\nnew Job(this, \"PythonShellJob\", new JobProps {\n Executable = JobExecutable.PythonShell(new PythonShellExecutableProps {\n GlueVersion = GlueVersion.V1_0,\n PythonVersion = PythonVersion.THREE,\n Script = Code.FromBucket(bucket, \"script.py\")\n }),\n Description = \"an example Python Shell job\"\n});",
134
+ "version": "1"
135
+ },
136
+ "java": {
137
+ "source": "Bucket bucket;\n\nJob.Builder.create(this, \"PythonShellJob\")\n .executable(JobExecutable.pythonShell(PythonShellExecutableProps.builder()\n .glueVersion(GlueVersion.V1_0)\n .pythonVersion(PythonVersion.THREE)\n .script(Code.fromBucket(bucket, \"script.py\"))\n .build()))\n .description(\"an example Python Shell job\")\n .build();",
138
+ "version": "1"
139
+ },
140
+ "$": {
141
+ "source": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});",
142
+ "version": "0"
143
+ }
144
+ },
145
+ "location": {
146
+ "api": {
147
+ "api": "moduleReadme",
148
+ "moduleFqn": "@aws-cdk/aws-glue-alpha"
149
+ },
150
+ "field": {
151
+ "field": "markdown",
152
+ "line": 71
153
+ }
154
+ },
155
+ "didCompile": true,
156
+ "fqnsReferenced": [
157
+ "@aws-cdk/aws-glue-alpha.Code",
158
+ "@aws-cdk/aws-glue-alpha.Code#fromBucket",
159
+ "@aws-cdk/aws-glue-alpha.GlueVersion",
160
+ "@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
161
+ "@aws-cdk/aws-glue-alpha.Job",
162
+ "@aws-cdk/aws-glue-alpha.JobExecutable",
163
+ "@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
164
+ "@aws-cdk/aws-glue-alpha.JobProps",
165
+ "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
166
+ "@aws-cdk/aws-glue-alpha.PythonVersion",
167
+ "@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
168
+ "aws-cdk-lib.aws_s3.IBucket"
169
+ ],
170
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
171
+ "syntaxKindCounter": {
172
+ "10": 3,
173
+ "75": 23,
174
+ "104": 1,
175
+ "130": 1,
176
+ "153": 1,
177
+ "169": 1,
178
+ "193": 2,
179
+ "194": 9,
180
+ "196": 2,
181
+ "197": 1,
182
+ "225": 1,
183
+ "226": 1,
184
+ "242": 1,
185
+ "243": 1,
186
+ "281": 5,
187
+ "290": 1
188
+ },
189
+ "fqnsFingerprint": "9a1b1d44b31e71d0ffe6a4531db95e61d3fe992f1ddccaf856e307eae1724da9"
190
+ },
191
+ "c1935880a967906ea9c12cbe71c18267c58f458c685361b267c6c1a1b80044ec": {
192
+ "translations": {
193
+ "python": {
194
+ "source": "# security_group is of type SecurityGroup\n# subnet is of type Subnet\n\nglue.Connection(self, \"MyConnection\",\n type=glue.ConnectionType.NETWORK,\n # The security groups granting AWS Glue inbound access to the data source within the VPC\n security_groups=[security_group],\n # The VPC subnet which contains the data source\n subnet=subnet\n)",
195
+ "version": "1"
196
+ },
197
+ "csharp": {
198
+ "source": "SecurityGroup securityGroup;\nSubnet subnet;\n\nnew Connection(this, \"MyConnection\", new ConnectionProps {\n Type = ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n SecurityGroups = new [] { securityGroup },\n // The VPC subnet which contains the data source\n Subnet = subnet\n});",
199
+ "version": "1"
200
+ },
201
+ "java": {
202
+ "source": "SecurityGroup securityGroup;\nSubnet subnet;\n\nConnection.Builder.create(this, \"MyConnection\")\n .type(ConnectionType.NETWORK)\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n .securityGroups(List.of(securityGroup))\n // The VPC subnet which contains the data source\n .subnet(subnet)\n .build();",
203
+ "version": "1"
204
+ },
205
+ "$": {
206
+ "source": "declare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\nnew glue.Connection(this, 'MyConnection', {\n type: glue.ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n securityGroups: [securityGroup],\n // The VPC subnet which contains the data source\n subnet,\n});",
207
+ "version": "0"
208
+ }
209
+ },
210
+ "location": {
211
+ "api": {
212
+ "api": "moduleReadme",
213
+ "moduleFqn": "@aws-cdk/aws-glue-alpha"
214
+ },
215
+ "field": {
216
+ "field": "markdown",
217
+ "line": 89
218
+ }
219
+ },
220
+ "didCompile": true,
221
+ "fqnsReferenced": [
222
+ "@aws-cdk/aws-glue-alpha.Connection",
223
+ "@aws-cdk/aws-glue-alpha.ConnectionProps",
224
+ "@aws-cdk/aws-glue-alpha.ConnectionType",
225
+ "@aws-cdk/aws-glue-alpha.ConnectionType#NETWORK",
226
+ "aws-cdk-lib.aws_ec2.ISubnet"
227
+ ],
228
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Connection(this, 'MyConnection', {\n type: glue.ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n securityGroups: [securityGroup],\n // The VPC subnet which contains the data source\n subnet,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
229
+ "syntaxKindCounter": {
230
+ "10": 1,
231
+ "75": 15,
232
+ "104": 1,
233
+ "130": 2,
234
+ "153": 2,
235
+ "169": 2,
236
+ "192": 1,
237
+ "193": 1,
238
+ "194": 3,
239
+ "197": 1,
240
+ "225": 2,
241
+ "226": 1,
242
+ "242": 2,
243
+ "243": 2,
244
+ "281": 2,
245
+ "282": 1,
246
+ "290": 1
247
+ },
248
+ "fqnsFingerprint": "95c40e5a9c7c89f83f6ecadfa6ae5b7681b06a1d015b36d6ab054157daa9d55d"
249
+ },
250
+ "ef204a1a1235566e396f1ffea0a46b1117af25a01acabd8c7c67f292fa61abc0": {
251
+ "translations": {
252
+ "python": {
253
+ "source": "glue.SecurityConfiguration(self, \"MySecurityConfiguration\",\n security_configuration_name=\"name\",\n cloud_watch_encryption=glue.CloudWatchEncryption(\n mode=glue.CloudWatchEncryptionMode.KMS\n ),\n job_bookmarks_encryption=glue.JobBookmarksEncryption(\n mode=glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n ),\n s3_encryption=glue.S3Encryption(\n mode=glue.S3EncryptionMode.KMS\n )\n)",
254
+ "version": "1"
255
+ },
256
+ "csharp": {
257
+ "source": "new SecurityConfiguration(this, \"MySecurityConfiguration\", new SecurityConfigurationProps {\n SecurityConfigurationName = \"name\",\n CloudWatchEncryption = new CloudWatchEncryption {\n Mode = CloudWatchEncryptionMode.KMS\n },\n JobBookmarksEncryption = new JobBookmarksEncryption {\n Mode = JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n },\n S3Encryption = new S3Encryption {\n Mode = S3EncryptionMode.KMS\n }\n});",
258
+ "version": "1"
259
+ },
260
+ "java": {
261
+ "source": "SecurityConfiguration.Builder.create(this, \"MySecurityConfiguration\")\n .securityConfigurationName(\"name\")\n .cloudWatchEncryption(CloudWatchEncryption.builder()\n .mode(CloudWatchEncryptionMode.KMS)\n .build())\n .jobBookmarksEncryption(JobBookmarksEncryption.builder()\n .mode(JobBookmarksEncryptionMode.CLIENT_SIDE_KMS)\n .build())\n .s3Encryption(S3Encryption.builder()\n .mode(S3EncryptionMode.KMS)\n .build())\n .build();",
262
+ "version": "1"
263
+ },
264
+ "$": {
265
+ "source": "new glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});",
266
+ "version": "0"
267
+ }
268
+ },
269
+ "location": {
270
+ "api": {
271
+ "api": "moduleReadme",
272
+ "moduleFqn": "@aws-cdk/aws-glue-alpha"
273
+ },
274
+ "field": {
275
+ "field": "markdown",
276
+ "line": 109
277
+ }
278
+ },
279
+ "didCompile": true,
280
+ "fqnsReferenced": [
281
+ "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
282
+ "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
283
+ "@aws-cdk/aws-glue-alpha.S3Encryption",
284
+ "@aws-cdk/aws-glue-alpha.S3EncryptionMode",
285
+ "@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
286
+ "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
287
+ "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
288
+ ],
289
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
290
+ "syntaxKindCounter": {
291
+ "10": 2,
292
+ "75": 18,
293
+ "104": 1,
294
+ "193": 4,
295
+ "194": 7,
296
+ "197": 1,
297
+ "226": 1,
298
+ "281": 7
299
+ },
300
+ "fqnsFingerprint": "9c0c3117462f9b3c5075650f29c501fec11f1451c16c9ffad27014f5f911e22f"
301
+ },
302
+ "c3d64416750a52a9c314ca2dbd149c74e2b09e589effebe8e40bb0c1f6345ecc": {
303
+ "translations": {
304
+ "python": {
305
+ "source": "# key is of type Key\n\nglue.SecurityConfiguration(self, \"MySecurityConfiguration\",\n security_configuration_name=\"name\",\n cloud_watch_encryption=glue.CloudWatchEncryption(\n mode=glue.CloudWatchEncryptionMode.KMS,\n kms_key=key\n )\n)",
306
+ "version": "1"
307
+ },
308
+ "csharp": {
309
+ "source": "Key key;\n\nnew SecurityConfiguration(this, \"MySecurityConfiguration\", new SecurityConfigurationProps {\n SecurityConfigurationName = \"name\",\n CloudWatchEncryption = new CloudWatchEncryption {\n Mode = CloudWatchEncryptionMode.KMS,\n KmsKey = key\n }\n});",
310
+ "version": "1"
311
+ },
312
+ "java": {
313
+ "source": "Key key;\n\nSecurityConfiguration.Builder.create(this, \"MySecurityConfiguration\")\n .securityConfigurationName(\"name\")\n .cloudWatchEncryption(CloudWatchEncryption.builder()\n .mode(CloudWatchEncryptionMode.KMS)\n .kmsKey(key)\n .build())\n .build();",
314
+ "version": "1"
315
+ },
316
+ "$": {
317
+ "source": "declare const key: kms.Key;\nnew glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n kmsKey: key,\n },\n});",
318
+ "version": "0"
319
+ }
320
+ },
321
+ "location": {
322
+ "api": {
323
+ "api": "moduleReadme",
324
+ "moduleFqn": "@aws-cdk/aws-glue-alpha"
325
+ },
326
+ "field": {
327
+ "field": "markdown",
328
+ "line": 126
329
+ }
330
+ },
331
+ "didCompile": true,
332
+ "fqnsReferenced": [
333
+ "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
334
+ "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
335
+ "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps",
336
+ "aws-cdk-lib.aws_kms.IKey"
337
+ ],
338
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const key: kms.Key;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n kmsKey: key,\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
339
+ "syntaxKindCounter": {
340
+ "10": 2,
341
+ "75": 13,
342
+ "104": 1,
343
+ "130": 1,
344
+ "153": 1,
345
+ "169": 1,
346
+ "193": 2,
347
+ "194": 3,
348
+ "197": 1,
349
+ "225": 1,
350
+ "226": 1,
351
+ "242": 1,
352
+ "243": 1,
353
+ "281": 4,
354
+ "290": 1
355
+ },
356
+ "fqnsFingerprint": "b15398737b9b7895e2ccd7fad11894c6f48538fb94de148e2c09d2c0c898da0a"
357
+ },
358
+ "8bef7e198448a674159b525da392ac9b84bc32cc34cc06373fc37dc3312efaf5": {
359
+ "translations": {
360
+ "python": {
361
+ "source": "glue.Database(self, \"MyDatabase\",\n database_name=\"my_database\"\n)",
362
+ "version": "1"
363
+ },
364
+ "csharp": {
365
+ "source": "new Database(this, \"MyDatabase\", new DatabaseProps {\n DatabaseName = \"my_database\"\n});",
366
+ "version": "1"
367
+ },
368
+ "java": {
369
+ "source": "Database.Builder.create(this, \"MyDatabase\")\n .databaseName(\"my_database\")\n .build();",
370
+ "version": "1"
371
+ },
372
+ "$": {
373
+ "source": "new glue.Database(this, 'MyDatabase', {\n databaseName: 'my_database',\n});",
374
+ "version": "0"
375
+ }
376
+ },
377
+ "location": {
378
+ "api": {
379
+ "api": "moduleReadme",
380
+ "moduleFqn": "@aws-cdk/aws-glue-alpha"
381
+ },
382
+ "field": {
383
+ "field": "markdown",
384
+ "line": 143
385
+ }
386
+ },
387
+ "didCompile": true,
388
+ "fqnsReferenced": [
389
+ "@aws-cdk/aws-glue-alpha.Database",
390
+ "@aws-cdk/aws-glue-alpha.DatabaseProps"
391
+ ],
392
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew glue.Database(this, 'MyDatabase', {\n databaseName: 'my_database',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
393
+ "syntaxKindCounter": {
394
+ "10": 2,
395
+ "75": 3,
396
+ "104": 1,
397
+ "193": 1,
398
+ "194": 1,
399
+ "197": 1,
400
+ "226": 1,
401
+ "281": 1
402
+ },
403
+ "fqnsFingerprint": "5ab92b5572e04586e93c77a2acc177c232ecc9fb5638687f96d3f3c04d76bf72"
404
+ },
405
+ "29dce1a9c819135fecb5e9e6bb2e360c6e5c9e3c2d41e640a7c0581bbb1d3017": {
406
+ "translations": {
407
+ "python": {
408
+ "source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n ), glue.Column(\n name=\"col2\",\n type=glue.Schema.array(glue.Schema.STRING),\n comment=\"col2 is an array of strings\"\n )],\n data_format=glue.DataFormat.JSON\n)",
409
+ "version": "1"
410
+ },
411
+ "csharp": {
412
+ "source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n }, new Column {\n Name = \"col2\",\n Type = Schema.Array(Schema.STRING),\n Comment = \"col2 is an array of strings\"\n } },\n DataFormat = DataFormat.JSON\n});",
413
+ "version": "1"
414
+ },
415
+ "java": {
416
+ "source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build(), Column.builder()\n .name(\"col2\")\n .type(Schema.array(Schema.STRING))\n .comment(\"col2 is an array of strings\")\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
417
+ "version": "1"
418
+ },
419
+ "$": {
420
+ "source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }, {\n name: 'col2',\n type: glue.Schema.array(glue.Schema.STRING),\n comment: 'col2 is an array of strings' // comment is optional\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
421
+ "version": "0"
422
+ }
423
+ },
424
+ "location": {
425
+ "api": {
426
+ "api": "moduleReadme",
427
+ "moduleFqn": "@aws-cdk/aws-glue-alpha"
428
+ },
429
+ "field": {
430
+ "field": "markdown",
431
+ "line": 153
432
+ }
433
+ },
434
+ "didCompile": true,
435
+ "fqnsReferenced": [
436
+ "@aws-cdk/aws-glue-alpha.DataFormat",
437
+ "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
438
+ "@aws-cdk/aws-glue-alpha.IDatabase",
439
+ "@aws-cdk/aws-glue-alpha.Schema",
440
+ "@aws-cdk/aws-glue-alpha.Schema#STRING",
441
+ "@aws-cdk/aws-glue-alpha.Schema#array",
442
+ "@aws-cdk/aws-glue-alpha.Table",
443
+ "@aws-cdk/aws-glue-alpha.TableProps",
444
+ "@aws-cdk/aws-glue-alpha.Type"
445
+ ],
446
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }, {\n name: 'col2',\n type: glue.Schema.array(glue.Schema.STRING),\n comment: 'col2 is an array of strings' // comment is optional\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
447
+ "syntaxKindCounter": {
448
+ "10": 5,
449
+ "75": 27,
450
+ "104": 1,
451
+ "130": 1,
452
+ "153": 1,
453
+ "169": 1,
454
+ "192": 1,
455
+ "193": 3,
456
+ "194": 9,
457
+ "196": 1,
458
+ "197": 1,
459
+ "225": 1,
460
+ "226": 1,
461
+ "242": 1,
462
+ "243": 1,
463
+ "281": 9,
464
+ "290": 1
465
+ },
466
+ "fqnsFingerprint": "add73ed01dfc6f487483e2917582e0a0c68c9c215ef6e332e5ae04637ed0a46a"
467
+ },
468
+ "48dbd3d1c174f209d2eeaf76fc65341fe9063494d3ecbf5d345f547ee1b64502": {
469
+ "translations": {
470
+ "python": {
471
+ "source": "# my_bucket is of type Bucket\n# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n bucket=my_bucket,\n s3_prefix=\"my-table/\",\n # ...\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n data_format=glue.DataFormat.JSON\n)",
472
+ "version": "1"
473
+ },
474
+ "csharp": {
475
+ "source": "Bucket myBucket;\nDatabase myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Bucket = myBucket,\n S3Prefix = \"my-table/\",\n // ...\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n DataFormat = DataFormat.JSON\n});",
476
+ "version": "1"
477
+ },
478
+ "java": {
479
+ "source": "Bucket myBucket;\nDatabase myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .bucket(myBucket)\n .s3Prefix(\"my-table/\")\n // ...\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
480
+ "version": "1"
481
+ },
482
+ "$": {
483
+ "source": "declare const myBucket: s3.Bucket;\ndeclare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n bucket: myBucket,\n s3Prefix: 'my-table/',\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
484
+ "version": "0"
485
+ }
486
+ },
487
+ "location": {
488
+ "api": {
489
+ "api": "moduleReadme",
490
+ "moduleFqn": "@aws-cdk/aws-glue-alpha"
491
+ },
492
+ "field": {
493
+ "field": "markdown",
494
+ "line": 172
495
+ }
496
+ },
497
+ "didCompile": true,
498
+ "fqnsReferenced": [
499
+ "@aws-cdk/aws-glue-alpha.DataFormat",
500
+ "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
501
+ "@aws-cdk/aws-glue-alpha.IDatabase",
502
+ "@aws-cdk/aws-glue-alpha.Schema",
503
+ "@aws-cdk/aws-glue-alpha.Schema#STRING",
504
+ "@aws-cdk/aws-glue-alpha.Table",
505
+ "@aws-cdk/aws-glue-alpha.TableProps",
506
+ "@aws-cdk/aws-glue-alpha.Type",
507
+ "aws-cdk-lib.aws_s3.IBucket"
508
+ ],
509
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myBucket: s3.Bucket;\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n bucket: myBucket,\n s3Prefix: 'my-table/',\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
510
+ "syntaxKindCounter": {
511
+ "10": 4,
512
+ "75": 24,
513
+ "104": 1,
514
+ "130": 2,
515
+ "153": 2,
516
+ "169": 2,
517
+ "192": 1,
518
+ "193": 2,
519
+ "194": 5,
520
+ "197": 1,
521
+ "225": 2,
522
+ "226": 1,
523
+ "242": 2,
524
+ "243": 2,
525
+ "281": 8,
526
+ "290": 1
527
+ },
528
+ "fqnsFingerprint": "f8d4a61eb5728121d0cb31f39a1298552b1c4a843e82dd32126ce918e6645508"
529
+ },
530
+ "6f8305c4eac5dd7922f1d9957ed53b6029647282e7acc253a6a045a8d4c4a202": {
531
+ "translations": {
532
+ "python": {
533
+ "source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON\n)",
534
+ "version": "1"
535
+ },
536
+ "csharp": {
537
+ "source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n PartitionKeys = new [] { new Column {\n Name = \"year\",\n Type = Schema.SMALL_INT\n }, new Column {\n Name = \"month\",\n Type = Schema.SMALL_INT\n } },\n DataFormat = DataFormat.JSON\n});",
538
+ "version": "1"
539
+ },
540
+ "java": {
541
+ "source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .partitionKeys(List.of(Column.builder()\n .name(\"year\")\n .type(Schema.SMALL_INT)\n .build(), Column.builder()\n .name(\"month\")\n .type(Schema.SMALL_INT)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
542
+ "version": "1"
543
+ },
544
+ "$": {
545
+ "source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
546
+ "version": "0"
547
+ }
548
+ },
549
+ "location": {
550
+ "api": {
551
+ "api": "moduleReadme",
552
+ "moduleFqn": "@aws-cdk/aws-glue-alpha"
553
+ },
554
+ "field": {
555
+ "field": "markdown",
556
+ "line": 195
557
+ }
558
+ },
559
+ "didCompile": true,
560
+ "fqnsReferenced": [
561
+ "@aws-cdk/aws-glue-alpha.DataFormat",
562
+ "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
563
+ "@aws-cdk/aws-glue-alpha.IDatabase",
564
+ "@aws-cdk/aws-glue-alpha.Schema",
565
+ "@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
566
+ "@aws-cdk/aws-glue-alpha.Schema#STRING",
567
+ "@aws-cdk/aws-glue-alpha.Table",
568
+ "@aws-cdk/aws-glue-alpha.TableProps",
569
+ "@aws-cdk/aws-glue-alpha.Type"
570
+ ],
571
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
572
+ "syntaxKindCounter": {
573
+ "10": 5,
574
+ "75": 29,
575
+ "104": 1,
576
+ "130": 1,
577
+ "153": 1,
578
+ "169": 1,
579
+ "192": 2,
580
+ "193": 4,
581
+ "194": 9,
582
+ "197": 1,
583
+ "225": 1,
584
+ "226": 1,
585
+ "242": 1,
586
+ "243": 1,
587
+ "281": 11,
588
+ "290": 1
589
+ },
590
+ "fqnsFingerprint": "046f69b994328e7c88bad23ae71581b4ec0a6f35ffb528ec2ff85ad7a017af98"
591
+ },
592
+ "1bf74f01c28cd1c12bfe4e509c382e9a91c8a523c72ddd76f2beb7a886917767": {
593
+ "translations": {
594
+ "python": {
595
+ "source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n encryption=glue.TableEncryption.S3_MANAGED,\n # ...\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n data_format=glue.DataFormat.JSON\n)",
596
+ "version": "1"
597
+ },
598
+ "csharp": {
599
+ "source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Encryption = TableEncryption.S3_MANAGED,\n // ...\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n DataFormat = DataFormat.JSON\n});",
600
+ "version": "1"
601
+ },
602
+ "java": {
603
+ "source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .encryption(TableEncryption.S3_MANAGED)\n // ...\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
604
+ "version": "1"
605
+ },
606
+ "$": {
607
+ "source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.S3_MANAGED,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
608
+ "version": "0"
609
+ }
610
+ },
611
+ "location": {
612
+ "api": {
613
+ "api": "moduleReadme",
614
+ "moduleFqn": "@aws-cdk/aws-glue-alpha"
615
+ },
616
+ "field": {
617
+ "field": "markdown",
618
+ "line": 222
619
+ }
620
+ },
621
+ "didCompile": true,
622
+ "fqnsReferenced": [
623
+ "@aws-cdk/aws-glue-alpha.DataFormat",
624
+ "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
625
+ "@aws-cdk/aws-glue-alpha.IDatabase",
626
+ "@aws-cdk/aws-glue-alpha.Schema",
627
+ "@aws-cdk/aws-glue-alpha.Schema#STRING",
628
+ "@aws-cdk/aws-glue-alpha.Table",
629
+ "@aws-cdk/aws-glue-alpha.TableEncryption",
630
+ "@aws-cdk/aws-glue-alpha.TableEncryption#S3_MANAGED",
631
+ "@aws-cdk/aws-glue-alpha.TableProps",
632
+ "@aws-cdk/aws-glue-alpha.Type"
633
+ ],
634
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.S3_MANAGED,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
635
+ "syntaxKindCounter": {
636
+ "10": 3,
637
+ "75": 22,
638
+ "104": 1,
639
+ "130": 1,
640
+ "153": 1,
641
+ "169": 1,
642
+ "192": 1,
643
+ "193": 2,
644
+ "194": 7,
645
+ "197": 1,
646
+ "225": 1,
647
+ "226": 1,
648
+ "242": 1,
649
+ "243": 1,
650
+ "281": 7,
651
+ "290": 1
652
+ },
653
+ "fqnsFingerprint": "fc5b3afccac185d3cee68f5c5f0dbe2e144beaf261f6cdba6e38b30ab4620f45"
654
+ },
655
+ "55f3bda73e5d126d6982c01fe60e24b137f62f7503c71a26b574f77af03154da": {
656
+ "translations": {
657
+ "python": {
658
+ "source": "# my_database is of type Database\n\n# KMS key is created automatically\nglue.Table(self, \"MyTable\",\n encryption=glue.TableEncryption.KMS,\n # ...\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n data_format=glue.DataFormat.JSON\n)\n\n# with an explicit KMS key\nglue.Table(self, \"MyTable\",\n encryption=glue.TableEncryption.KMS,\n encryption_key=kms.Key(self, \"MyKey\"),\n # ...\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n data_format=glue.DataFormat.JSON\n)",
659
+ "version": "1"
660
+ },
661
+ "csharp": {
662
+ "source": "Database myDatabase;\n\n// KMS key is created automatically\n// KMS key is created automatically\nnew Table(this, \"MyTable\", new TableProps {\n Encryption = TableEncryption.KMS,\n // ...\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n DataFormat = DataFormat.JSON\n});\n\n// with an explicit KMS key\n// with an explicit KMS key\nnew Table(this, \"MyTable\", new TableProps {\n Encryption = TableEncryption.KMS,\n EncryptionKey = new Key(this, \"MyKey\"),\n // ...\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n DataFormat = DataFormat.JSON\n});",
663
+ "version": "1"
664
+ },
665
+ "java": {
666
+ "source": "Database myDatabase;\n\n// KMS key is created automatically\n// KMS key is created automatically\nTable.Builder.create(this, \"MyTable\")\n .encryption(TableEncryption.KMS)\n // ...\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();\n\n// with an explicit KMS key\n// with an explicit KMS key\nTable.Builder.create(this, \"MyTable\")\n .encryption(TableEncryption.KMS)\n .encryptionKey(new Key(this, \"MyKey\"))\n // ...\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
667
+ "version": "1"
668
+ },
669
+ "$": {
670
+ "source": "declare const myDatabase: glue.Database;\n// KMS key is created automatically\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.KMS,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n\n// with an explicit KMS key\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.KMS,\n encryptionKey: new kms.Key(this, 'MyKey'),\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
671
+ "version": "0"
672
+ }
673
+ },
674
+ "location": {
675
+ "api": {
676
+ "api": "moduleReadme",
677
+ "moduleFqn": "@aws-cdk/aws-glue-alpha"
678
+ },
679
+ "field": {
680
+ "field": "markdown",
681
+ "line": 239
682
+ }
683
+ },
684
+ "didCompile": true,
685
+ "fqnsReferenced": [
686
+ "@aws-cdk/aws-glue-alpha.DataFormat",
687
+ "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
688
+ "@aws-cdk/aws-glue-alpha.IDatabase",
689
+ "@aws-cdk/aws-glue-alpha.Schema",
690
+ "@aws-cdk/aws-glue-alpha.Schema#STRING",
691
+ "@aws-cdk/aws-glue-alpha.Table",
692
+ "@aws-cdk/aws-glue-alpha.TableEncryption",
693
+ "@aws-cdk/aws-glue-alpha.TableEncryption#KMS",
694
+ "@aws-cdk/aws-glue-alpha.TableProps",
695
+ "@aws-cdk/aws-glue-alpha.Type",
696
+ "aws-cdk-lib.aws_kms.IKey",
697
+ "aws-cdk-lib.aws_kms.Key"
698
+ ],
699
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n// KMS key is created automatically\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.KMS,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n\n// with an explicit KMS key\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.KMS,\n encryptionKey: new kms.Key(this, 'MyKey'),\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
700
+ "syntaxKindCounter": {
701
+ "10": 7,
702
+ "75": 44,
703
+ "104": 3,
704
+ "130": 1,
705
+ "153": 1,
706
+ "169": 1,
707
+ "192": 2,
708
+ "193": 4,
709
+ "194": 15,
710
+ "197": 3,
711
+ "225": 1,
712
+ "226": 2,
713
+ "242": 1,
714
+ "243": 1,
715
+ "281": 15,
716
+ "290": 1
717
+ },
718
+ "fqnsFingerprint": "9a692bd64eaf182710931db9b13068d129ef5e71e10ca7c487596f04745b2c91"
719
+ },
720
+ "947cf227f2fe24990b73fa480fc791123e6d55a26e62236512474a508394481e": {
721
+ "translations": {
722
+ "python": {
723
+ "source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n encryption=glue.TableEncryption.KMS_MANAGED,\n # ...\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n data_format=glue.DataFormat.JSON\n)",
724
+ "version": "1"
725
+ },
726
+ "csharp": {
727
+ "source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Encryption = TableEncryption.KMS_MANAGED,\n // ...\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n DataFormat = DataFormat.JSON\n});",
728
+ "version": "1"
729
+ },
730
+ "java": {
731
+ "source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .encryption(TableEncryption.KMS_MANAGED)\n // ...\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
732
+ "version": "1"
733
+ },
734
+ "$": {
735
+ "source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.KMS_MANAGED,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
736
+ "version": "0"
737
+ }
738
+ },
739
+ "location": {
740
+ "api": {
741
+ "api": "moduleReadme",
742
+ "moduleFqn": "@aws-cdk/aws-glue-alpha"
743
+ },
744
+ "field": {
745
+ "field": "markdown",
746
+ "line": 271
747
+ }
748
+ },
749
+ "didCompile": true,
750
+ "fqnsReferenced": [
751
+ "@aws-cdk/aws-glue-alpha.DataFormat",
752
+ "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
753
+ "@aws-cdk/aws-glue-alpha.IDatabase",
754
+ "@aws-cdk/aws-glue-alpha.Schema",
755
+ "@aws-cdk/aws-glue-alpha.Schema#STRING",
756
+ "@aws-cdk/aws-glue-alpha.Table",
757
+ "@aws-cdk/aws-glue-alpha.TableEncryption",
758
+ "@aws-cdk/aws-glue-alpha.TableEncryption#KMS_MANAGED",
759
+ "@aws-cdk/aws-glue-alpha.TableProps",
760
+ "@aws-cdk/aws-glue-alpha.Type"
761
+ ],
762
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.KMS_MANAGED,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
763
+ "syntaxKindCounter": {
764
+ "10": 3,
765
+ "75": 22,
766
+ "104": 1,
767
+ "130": 1,
768
+ "153": 1,
769
+ "169": 1,
770
+ "192": 1,
771
+ "193": 2,
772
+ "194": 7,
773
+ "197": 1,
774
+ "225": 1,
775
+ "226": 1,
776
+ "242": 1,
777
+ "243": 1,
778
+ "281": 7,
779
+ "290": 1
780
+ },
781
+ "fqnsFingerprint": "d2f566c7a15101f922ab79dad599d2e52f47e541974273cbaf57581590b9adec"
782
+ },
783
+ "cafa3c798318567d0667513b707a7d24a2d9a7d6b6904a908056835d3471d193": {
784
+ "translations": {
785
+ "python": {
786
+ "source": "# my_database is of type Database\n\n# KMS key is created automatically\nglue.Table(self, \"MyTable\",\n encryption=glue.TableEncryption.CLIENT_SIDE_KMS,\n # ...\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n data_format=glue.DataFormat.JSON\n)\n\n# with an explicit KMS key\nglue.Table(self, \"MyTable\",\n encryption=glue.TableEncryption.CLIENT_SIDE_KMS,\n encryption_key=kms.Key(self, \"MyKey\"),\n # ...\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n data_format=glue.DataFormat.JSON\n)",
787
+ "version": "1"
788
+ },
789
+ "csharp": {
790
+ "source": "Database myDatabase;\n\n// KMS key is created automatically\n// KMS key is created automatically\nnew Table(this, \"MyTable\", new TableProps {\n Encryption = TableEncryption.CLIENT_SIDE_KMS,\n // ...\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n DataFormat = DataFormat.JSON\n});\n\n// with an explicit KMS key\n// with an explicit KMS key\nnew Table(this, \"MyTable\", new TableProps {\n Encryption = TableEncryption.CLIENT_SIDE_KMS,\n EncryptionKey = new Key(this, \"MyKey\"),\n // ...\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n DataFormat = DataFormat.JSON\n});",
791
+ "version": "1"
792
+ },
793
+ "java": {
794
+ "source": "Database myDatabase;\n\n// KMS key is created automatically\n// KMS key is created automatically\nTable.Builder.create(this, \"MyTable\")\n .encryption(TableEncryption.CLIENT_SIDE_KMS)\n // ...\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();\n\n// with an explicit KMS key\n// with an explicit KMS key\nTable.Builder.create(this, \"MyTable\")\n .encryption(TableEncryption.CLIENT_SIDE_KMS)\n .encryptionKey(new Key(this, \"MyKey\"))\n // ...\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
795
+ "version": "1"
796
+ },
797
+ "$": {
798
+ "source": "declare const myDatabase: glue.Database;\n// KMS key is created automatically\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.CLIENT_SIDE_KMS,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n\n// with an explicit KMS key\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.CLIENT_SIDE_KMS,\n encryptionKey: new kms.Key(this, 'MyKey'),\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
799
+ "version": "0"
800
+ }
801
+ },
802
+ "location": {
803
+ "api": {
804
+ "api": "moduleReadme",
805
+ "moduleFqn": "@aws-cdk/aws-glue-alpha"
806
+ },
807
+ "field": {
808
+ "field": "markdown",
809
+ "line": 288
810
+ }
811
+ },
812
+ "didCompile": true,
813
+ "fqnsReferenced": [
814
+ "@aws-cdk/aws-glue-alpha.DataFormat",
815
+ "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
816
+ "@aws-cdk/aws-glue-alpha.IDatabase",
817
+ "@aws-cdk/aws-glue-alpha.Schema",
818
+ "@aws-cdk/aws-glue-alpha.Schema#STRING",
819
+ "@aws-cdk/aws-glue-alpha.Table",
820
+ "@aws-cdk/aws-glue-alpha.TableEncryption",
821
+ "@aws-cdk/aws-glue-alpha.TableEncryption#CLIENT_SIDE_KMS",
822
+ "@aws-cdk/aws-glue-alpha.TableProps",
823
+ "@aws-cdk/aws-glue-alpha.Type",
824
+ "aws-cdk-lib.aws_kms.IKey",
825
+ "aws-cdk-lib.aws_kms.Key"
826
+ ],
827
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n// KMS key is created automatically\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.CLIENT_SIDE_KMS,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n\n// with an explicit KMS key\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.CLIENT_SIDE_KMS,\n encryptionKey: new kms.Key(this, 'MyKey'),\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
828
+ "syntaxKindCounter": {
829
+ "10": 7,
830
+ "75": 44,
831
+ "104": 3,
832
+ "130": 1,
833
+ "153": 1,
834
+ "169": 1,
835
+ "192": 2,
836
+ "193": 4,
837
+ "194": 15,
838
+ "197": 3,
839
+ "225": 1,
840
+ "226": 2,
841
+ "242": 1,
842
+ "243": 1,
843
+ "281": 15,
844
+ "290": 1
845
+ },
846
+ "fqnsFingerprint": "531ee276ab405fcf0fb98fbe5edd754285f1a51da86ffc8bfa051d00a9318909"
847
+ },
848
+ "f3bfc13f54c3ca5976a421d26282d95b14f4d31af0a1271ad09fcbd84418d7ab": {
849
+ "translations": {
850
+ "python": {
851
+ "source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n columns=[glue.Column(\n name=\"primitive_column\",\n type=glue.Schema.STRING\n ), glue.Column(\n name=\"array_column\",\n type=glue.Schema.array(glue.Schema.INTEGER),\n comment=\"array<integer>\"\n ), glue.Column(\n name=\"map_column\",\n type=glue.Schema.map(glue.Schema.STRING, glue.Schema.TIMESTAMP),\n comment=\"map<string,string>\"\n ), glue.Column(\n name=\"struct_column\",\n type=glue.Schema.struct([\n name=\"nested_column\",\n type=glue.Schema.DATE,\n comment=\"nested comment\"\n ]),\n comment=\"struct<nested_column:date COMMENT 'nested comment'>\"\n )],\n # ...\n database=my_database,\n table_name=\"my_table\",\n data_format=glue.DataFormat.JSON\n)",
852
+ "version": "1"
853
+ },
854
+ "csharp": {
855
+ "source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Columns = new [] { new Column {\n Name = \"primitive_column\",\n Type = Schema.STRING\n }, new Column {\n Name = \"array_column\",\n Type = Schema.Array(Schema.INTEGER),\n Comment = \"array<integer>\"\n }, new Column {\n Name = \"map_column\",\n Type = Schema.Map(Schema.STRING, Schema.TIMESTAMP),\n Comment = \"map<string,string>\"\n }, new Column {\n Name = \"struct_column\",\n Type = Schema.Struct(new [] { new Column {\n Name = \"nested_column\",\n Type = Schema.DATE,\n Comment = \"nested comment\"\n } }),\n Comment = \"struct<nested_column:date COMMENT 'nested comment'>\"\n } },\n // ...\n Database = myDatabase,\n TableName = \"my_table\",\n DataFormat = DataFormat.JSON\n});",
856
+ "version": "1"
857
+ },
858
+ "java": {
859
+ "source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .columns(List.of(Column.builder()\n .name(\"primitive_column\")\n .type(Schema.STRING)\n .build(), Column.builder()\n .name(\"array_column\")\n .type(Schema.array(Schema.INTEGER))\n .comment(\"array<integer>\")\n .build(), Column.builder()\n .name(\"map_column\")\n .type(Schema.map(Schema.STRING, Schema.TIMESTAMP))\n .comment(\"map<string,string>\")\n .build(), Column.builder()\n .name(\"struct_column\")\n .type(Schema.struct(List.of(Column.builder()\n .name(\"nested_column\")\n .type(Schema.DATE)\n .comment(\"nested comment\")\n .build())))\n .comment(\"struct<nested_column:date COMMENT 'nested comment'>\")\n .build()))\n // ...\n .database(myDatabase)\n .tableName(\"my_table\")\n .dataFormat(DataFormat.JSON)\n .build();",
860
+ "version": "1"
861
+ },
862
+ "$": {
863
+ "source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n columns: [{\n name: 'primitive_column',\n type: glue.Schema.STRING,\n }, {\n name: 'array_column',\n type: glue.Schema.array(glue.Schema.INTEGER),\n comment: 'array<integer>',\n }, {\n name: 'map_column',\n type: glue.Schema.map(\n glue.Schema.STRING,\n glue.Schema.TIMESTAMP),\n comment: 'map<string,string>',\n }, {\n name: 'struct_column',\n type: glue.Schema.struct([{\n name: 'nested_column',\n type: glue.Schema.DATE,\n comment: 'nested comment',\n }]),\n comment: \"struct<nested_column:date COMMENT 'nested comment'>\",\n }],\n // ...\n database: myDatabase,\n tableName: 'my_table',\n dataFormat: glue.DataFormat.JSON,\n});",
864
+ "version": "0"
865
+ }
866
+ },
867
+ "location": {
868
+ "api": {
869
+ "api": "moduleReadme",
870
+ "moduleFqn": "@aws-cdk/aws-glue-alpha"
871
+ },
872
+ "field": {
873
+ "field": "markdown",
874
+ "line": 324
875
+ }
876
+ },
877
+ "didCompile": true,
878
+ "fqnsReferenced": [
879
+ "@aws-cdk/aws-glue-alpha.DataFormat",
880
+ "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
881
+ "@aws-cdk/aws-glue-alpha.IDatabase",
882
+ "@aws-cdk/aws-glue-alpha.Schema",
883
+ "@aws-cdk/aws-glue-alpha.Schema#DATE",
884
+ "@aws-cdk/aws-glue-alpha.Schema#INTEGER",
885
+ "@aws-cdk/aws-glue-alpha.Schema#STRING",
886
+ "@aws-cdk/aws-glue-alpha.Schema#TIMESTAMP",
887
+ "@aws-cdk/aws-glue-alpha.Schema#array",
888
+ "@aws-cdk/aws-glue-alpha.Schema#map",
889
+ "@aws-cdk/aws-glue-alpha.Schema#struct",
890
+ "@aws-cdk/aws-glue-alpha.Table",
891
+ "@aws-cdk/aws-glue-alpha.TableProps",
892
+ "@aws-cdk/aws-glue-alpha.Type"
893
+ ],
894
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n columns: [{\n name: 'primitive_column',\n type: glue.Schema.STRING,\n }, {\n name: 'array_column',\n type: glue.Schema.array(glue.Schema.INTEGER),\n comment: 'array<integer>',\n }, {\n name: 'map_column',\n type: glue.Schema.map(\n glue.Schema.STRING,\n glue.Schema.TIMESTAMP),\n comment: 'map<string,string>',\n }, {\n name: 'struct_column',\n type: glue.Schema.struct([{\n name: 'nested_column',\n type: glue.Schema.DATE,\n comment: 'nested comment',\n }]),\n comment: \"struct<nested_column:date COMMENT 'nested comment'>\",\n }],\n // ...\n database: myDatabase,\n tableName: 'my_table',\n dataFormat: glue.DataFormat.JSON,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
895
+ "syntaxKindCounter": {
896
+ "10": 11,
897
+ "75": 51,
898
+ "104": 1,
899
+ "130": 1,
900
+ "153": 1,
901
+ "169": 1,
902
+ "192": 2,
903
+ "193": 6,
904
+ "194": 19,
905
+ "196": 3,
906
+ "197": 1,
907
+ "225": 1,
908
+ "226": 1,
909
+ "242": 1,
910
+ "243": 1,
911
+ "281": 18,
912
+ "290": 1
913
+ },
914
+ "fqnsFingerprint": "6395589db96d2c871f712fbaa193f9f9c9c29f4b73eb5b3a62df21ed23a83d2a"
915
+ },
916
+ "78bb119e084ea7e52e5c81eae41038a47dd81d5eef83b3fa2473aa4164e4abbc": {
917
+ "translations": {
918
+ "python": {
919
+ "source": "glue.SecurityConfiguration(self, \"MySecurityConfiguration\",\n security_configuration_name=\"name\",\n cloud_watch_encryption=glue.CloudWatchEncryption(\n mode=glue.CloudWatchEncryptionMode.KMS\n ),\n job_bookmarks_encryption=glue.JobBookmarksEncryption(\n mode=glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n ),\n s3_encryption=glue.S3Encryption(\n mode=glue.S3EncryptionMode.KMS\n )\n)",
920
+ "version": "1"
921
+ },
922
+ "csharp": {
923
+ "source": "new SecurityConfiguration(this, \"MySecurityConfiguration\", new SecurityConfigurationProps {\n SecurityConfigurationName = \"name\",\n CloudWatchEncryption = new CloudWatchEncryption {\n Mode = CloudWatchEncryptionMode.KMS\n },\n JobBookmarksEncryption = new JobBookmarksEncryption {\n Mode = JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n },\n S3Encryption = new S3Encryption {\n Mode = S3EncryptionMode.KMS\n }\n});",
924
+ "version": "1"
925
+ },
926
+ "java": {
927
+ "source": "SecurityConfiguration.Builder.create(this, \"MySecurityConfiguration\")\n .securityConfigurationName(\"name\")\n .cloudWatchEncryption(CloudWatchEncryption.builder()\n .mode(CloudWatchEncryptionMode.KMS)\n .build())\n .jobBookmarksEncryption(JobBookmarksEncryption.builder()\n .mode(JobBookmarksEncryptionMode.CLIENT_SIDE_KMS)\n .build())\n .s3Encryption(S3Encryption.builder()\n .mode(S3EncryptionMode.KMS)\n .build())\n .build();",
928
+ "version": "1"
929
+ },
930
+ "$": {
931
+ "source": "new glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});",
932
+ "version": "0"
933
+ }
934
+ },
935
+ "location": {
936
+ "api": {
937
+ "api": "type",
938
+ "fqn": "@aws-cdk/aws-glue-alpha.CloudWatchEncryption"
939
+ },
940
+ "field": {
941
+ "field": "example"
942
+ }
943
+ },
944
+ "didCompile": true,
945
+ "fqnsReferenced": [
946
+ "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
947
+ "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
948
+ "@aws-cdk/aws-glue-alpha.S3Encryption",
949
+ "@aws-cdk/aws-glue-alpha.S3EncryptionMode",
950
+ "@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
951
+ "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
952
+ "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
953
+ ],
954
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
955
+ "syntaxKindCounter": {
956
+ "10": 2,
957
+ "75": 18,
958
+ "104": 1,
959
+ "193": 4,
960
+ "194": 7,
961
+ "197": 1,
962
+ "226": 1,
963
+ "281": 7
964
+ },
965
+ "fqnsFingerprint": "9c0c3117462f9b3c5075650f29c501fec11f1451c16c9ffad27014f5f911e22f"
966
+ },
967
+ "c8bdb8eb83b09b07d8f4825a7f34b32030d3c0ef3927f5278545ea1dd08a499e": {
968
+ "translations": {
969
+ "python": {
970
+ "source": "# bucket is of type Bucket\n\nglue.Job(self, \"PythonShellJob\",\n executable=glue.JobExecutable.python_shell(\n glue_version=glue.GlueVersion.V1_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_bucket(bucket, \"script.py\")\n ),\n description=\"an example Python Shell job\"\n)",
971
+ "version": "1"
972
+ },
973
+ "csharp": {
974
+ "source": "Bucket bucket;\n\nnew Job(this, \"PythonShellJob\", new JobProps {\n Executable = JobExecutable.PythonShell(new PythonShellExecutableProps {\n GlueVersion = GlueVersion.V1_0,\n PythonVersion = PythonVersion.THREE,\n Script = Code.FromBucket(bucket, \"script.py\")\n }),\n Description = \"an example Python Shell job\"\n});",
975
+ "version": "1"
976
+ },
977
+ "java": {
978
+ "source": "Bucket bucket;\n\nJob.Builder.create(this, \"PythonShellJob\")\n .executable(JobExecutable.pythonShell(PythonShellExecutableProps.builder()\n .glueVersion(GlueVersion.V1_0)\n .pythonVersion(PythonVersion.THREE)\n .script(Code.fromBucket(bucket, \"script.py\"))\n .build()))\n .description(\"an example Python Shell job\")\n .build();",
979
+ "version": "1"
980
+ },
981
+ "$": {
982
+ "source": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});",
983
+ "version": "0"
984
+ }
985
+ },
986
+ "location": {
987
+ "api": {
988
+ "api": "type",
989
+ "fqn": "@aws-cdk/aws-glue-alpha.Code"
990
+ },
991
+ "field": {
992
+ "field": "example"
993
+ }
994
+ },
995
+ "didCompile": true,
996
+ "fqnsReferenced": [
997
+ "@aws-cdk/aws-glue-alpha.Code",
998
+ "@aws-cdk/aws-glue-alpha.Code#fromBucket",
999
+ "@aws-cdk/aws-glue-alpha.GlueVersion",
1000
+ "@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
1001
+ "@aws-cdk/aws-glue-alpha.Job",
1002
+ "@aws-cdk/aws-glue-alpha.JobExecutable",
1003
+ "@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
1004
+ "@aws-cdk/aws-glue-alpha.JobProps",
1005
+ "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
1006
+ "@aws-cdk/aws-glue-alpha.PythonVersion",
1007
+ "@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
1008
+ "aws-cdk-lib.aws_s3.IBucket"
1009
+ ],
1010
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1011
+ "syntaxKindCounter": {
1012
+ "10": 3,
1013
+ "75": 23,
1014
+ "104": 1,
1015
+ "130": 1,
1016
+ "153": 1,
1017
+ "169": 1,
1018
+ "193": 2,
1019
+ "194": 9,
1020
+ "196": 2,
1021
+ "197": 1,
1022
+ "225": 1,
1023
+ "226": 1,
1024
+ "242": 1,
1025
+ "243": 1,
1026
+ "281": 5,
1027
+ "290": 1
1028
+ },
1029
+ "fqnsFingerprint": "9a1b1d44b31e71d0ffe6a4531db95e61d3fe992f1ddccaf856e307eae1724da9"
1030
+ },
1031
+ "88b2f36f893a07c9b42fc87d210948cb7348a751d289b2eabbcc8d4c4d466391": {
1032
+ "translations": {
1033
+ "python": {
1034
+ "source": "# security_group is of type SecurityGroup\n# subnet is of type Subnet\n\nglue.Connection(self, \"MyConnection\",\n type=glue.ConnectionType.NETWORK,\n # The security groups granting AWS Glue inbound access to the data source within the VPC\n security_groups=[security_group],\n # The VPC subnet which contains the data source\n subnet=subnet\n)",
1035
+ "version": "1"
1036
+ },
1037
+ "csharp": {
1038
+ "source": "SecurityGroup securityGroup;\nSubnet subnet;\n\nnew Connection(this, \"MyConnection\", new ConnectionProps {\n Type = ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n SecurityGroups = new [] { securityGroup },\n // The VPC subnet which contains the data source\n Subnet = subnet\n});",
1039
+ "version": "1"
1040
+ },
1041
+ "java": {
1042
+ "source": "SecurityGroup securityGroup;\nSubnet subnet;\n\nConnection.Builder.create(this, \"MyConnection\")\n .type(ConnectionType.NETWORK)\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n .securityGroups(List.of(securityGroup))\n // The VPC subnet which contains the data source\n .subnet(subnet)\n .build();",
1043
+ "version": "1"
1044
+ },
1045
+ "$": {
1046
+ "source": "declare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\nnew glue.Connection(this, 'MyConnection', {\n type: glue.ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n securityGroups: [securityGroup],\n // The VPC subnet which contains the data source\n subnet,\n});",
1047
+ "version": "0"
1048
+ }
1049
+ },
1050
+ "location": {
1051
+ "api": {
1052
+ "api": "type",
1053
+ "fqn": "@aws-cdk/aws-glue-alpha.Connection"
1054
+ },
1055
+ "field": {
1056
+ "field": "example"
1057
+ }
1058
+ },
1059
+ "didCompile": true,
1060
+ "fqnsReferenced": [
1061
+ "@aws-cdk/aws-glue-alpha.Connection",
1062
+ "@aws-cdk/aws-glue-alpha.ConnectionProps",
1063
+ "@aws-cdk/aws-glue-alpha.ConnectionType",
1064
+ "@aws-cdk/aws-glue-alpha.ConnectionType#NETWORK",
1065
+ "aws-cdk-lib.aws_ec2.ISubnet"
1066
+ ],
1067
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Connection(this, 'MyConnection', {\n type: glue.ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n securityGroups: [securityGroup],\n // The VPC subnet which contains the data source\n subnet,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1068
+ "syntaxKindCounter": {
1069
+ "10": 1,
1070
+ "75": 15,
1071
+ "104": 1,
1072
+ "130": 2,
1073
+ "153": 2,
1074
+ "169": 2,
1075
+ "192": 1,
1076
+ "193": 1,
1077
+ "194": 3,
1078
+ "197": 1,
1079
+ "225": 2,
1080
+ "226": 1,
1081
+ "242": 2,
1082
+ "243": 2,
1083
+ "281": 2,
1084
+ "282": 1,
1085
+ "290": 1
1086
+ },
1087
+ "fqnsFingerprint": "95c40e5a9c7c89f83f6ecadfa6ae5b7681b06a1d015b36d6ab054157daa9d55d"
1088
+ },
1089
+ "e1211ab39ed6fec79bd323ca5274000fcabdc176129cb4f9779ce2ff3b43ae51": {
1090
+ "translations": {
1091
+ "python": {
1092
+ "source": "# security_group is of type SecurityGroup\n# subnet is of type Subnet\n\nglue.Connection(self, \"MyConnection\",\n type=glue.ConnectionType.NETWORK,\n # The security groups granting AWS Glue inbound access to the data source within the VPC\n security_groups=[security_group],\n # The VPC subnet which contains the data source\n subnet=subnet\n)",
1093
+ "version": "1"
1094
+ },
1095
+ "csharp": {
1096
+ "source": "SecurityGroup securityGroup;\nSubnet subnet;\n\nnew Connection(this, \"MyConnection\", new ConnectionProps {\n Type = ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n SecurityGroups = new [] { securityGroup },\n // The VPC subnet which contains the data source\n Subnet = subnet\n});",
1097
+ "version": "1"
1098
+ },
1099
+ "java": {
1100
+ "source": "SecurityGroup securityGroup;\nSubnet subnet;\n\nConnection.Builder.create(this, \"MyConnection\")\n .type(ConnectionType.NETWORK)\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n .securityGroups(List.of(securityGroup))\n // The VPC subnet which contains the data source\n .subnet(subnet)\n .build();",
1101
+ "version": "1"
1102
+ },
1103
+ "$": {
1104
+ "source": "declare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\nnew glue.Connection(this, 'MyConnection', {\n type: glue.ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n securityGroups: [securityGroup],\n // The VPC subnet which contains the data source\n subnet,\n});",
1105
+ "version": "0"
1106
+ }
1107
+ },
1108
+ "location": {
1109
+ "api": {
1110
+ "api": "type",
1111
+ "fqn": "@aws-cdk/aws-glue-alpha.ConnectionProps"
1112
+ },
1113
+ "field": {
1114
+ "field": "example"
1115
+ }
1116
+ },
1117
+ "didCompile": true,
1118
+ "fqnsReferenced": [
1119
+ "@aws-cdk/aws-glue-alpha.Connection",
1120
+ "@aws-cdk/aws-glue-alpha.ConnectionProps",
1121
+ "@aws-cdk/aws-glue-alpha.ConnectionType",
1122
+ "@aws-cdk/aws-glue-alpha.ConnectionType#NETWORK",
1123
+ "aws-cdk-lib.aws_ec2.ISubnet"
1124
+ ],
1125
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Connection(this, 'MyConnection', {\n type: glue.ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n securityGroups: [securityGroup],\n // The VPC subnet which contains the data source\n subnet,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1126
+ "syntaxKindCounter": {
1127
+ "10": 1,
1128
+ "75": 15,
1129
+ "104": 1,
1130
+ "130": 2,
1131
+ "153": 2,
1132
+ "169": 2,
1133
+ "192": 1,
1134
+ "193": 1,
1135
+ "194": 3,
1136
+ "197": 1,
1137
+ "225": 2,
1138
+ "226": 1,
1139
+ "242": 2,
1140
+ "243": 2,
1141
+ "281": 2,
1142
+ "282": 1,
1143
+ "290": 1
1144
+ },
1145
+ "fqnsFingerprint": "95c40e5a9c7c89f83f6ecadfa6ae5b7681b06a1d015b36d6ab054157daa9d55d"
1146
+ },
1147
+ "c3acda6afb130f5dc8c4d42c2078db37e2f2bc178bbe7ae224f1f3fac68bb300": {
1148
+ "translations": {
1149
+ "python": {
1150
+ "source": "# security_group is of type SecurityGroup\n# subnet is of type Subnet\n\nglue.Connection(self, \"MyConnection\",\n type=glue.ConnectionType.NETWORK,\n # The security groups granting AWS Glue inbound access to the data source within the VPC\n security_groups=[security_group],\n # The VPC subnet which contains the data source\n subnet=subnet\n)",
1151
+ "version": "1"
1152
+ },
1153
+ "csharp": {
1154
+ "source": "SecurityGroup securityGroup;\nSubnet subnet;\n\nnew Connection(this, \"MyConnection\", new ConnectionProps {\n Type = ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n SecurityGroups = new [] { securityGroup },\n // The VPC subnet which contains the data source\n Subnet = subnet\n});",
1155
+ "version": "1"
1156
+ },
1157
+ "java": {
1158
+ "source": "SecurityGroup securityGroup;\nSubnet subnet;\n\nConnection.Builder.create(this, \"MyConnection\")\n .type(ConnectionType.NETWORK)\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n .securityGroups(List.of(securityGroup))\n // The VPC subnet which contains the data source\n .subnet(subnet)\n .build();",
1159
+ "version": "1"
1160
+ },
1161
+ "$": {
1162
+ "source": "declare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\nnew glue.Connection(this, 'MyConnection', {\n type: glue.ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n securityGroups: [securityGroup],\n // The VPC subnet which contains the data source\n subnet,\n});",
1163
+ "version": "0"
1164
+ }
1165
+ },
1166
+ "location": {
1167
+ "api": {
1168
+ "api": "type",
1169
+ "fqn": "@aws-cdk/aws-glue-alpha.ConnectionType"
1170
+ },
1171
+ "field": {
1172
+ "field": "example"
1173
+ }
1174
+ },
1175
+ "didCompile": true,
1176
+ "fqnsReferenced": [
1177
+ "@aws-cdk/aws-glue-alpha.Connection",
1178
+ "@aws-cdk/aws-glue-alpha.ConnectionProps",
1179
+ "@aws-cdk/aws-glue-alpha.ConnectionType",
1180
+ "@aws-cdk/aws-glue-alpha.ConnectionType#NETWORK",
1181
+ "aws-cdk-lib.aws_ec2.ISubnet"
1182
+ ],
1183
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Connection(this, 'MyConnection', {\n type: glue.ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n securityGroups: [securityGroup],\n // The VPC subnet which contains the data source\n subnet,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1184
+ "syntaxKindCounter": {
1185
+ "10": 1,
1186
+ "75": 15,
1187
+ "104": 1,
1188
+ "130": 2,
1189
+ "153": 2,
1190
+ "169": 2,
1191
+ "192": 1,
1192
+ "193": 1,
1193
+ "194": 3,
1194
+ "197": 1,
1195
+ "225": 2,
1196
+ "226": 1,
1197
+ "242": 2,
1198
+ "243": 2,
1199
+ "281": 2,
1200
+ "282": 1,
1201
+ "290": 1
1202
+ },
1203
+ "fqnsFingerprint": "95c40e5a9c7c89f83f6ecadfa6ae5b7681b06a1d015b36d6ab054157daa9d55d"
1204
+ },
1205
+ "b1363786d1e5971b3c780a09dd8b8d3b0e0be07472c6a3d61f9f442e09d29b16": {
1206
+ "translations": {
1207
+ "python": {
1208
+ "source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON\n)",
1209
+ "version": "1"
1210
+ },
1211
+ "csharp": {
1212
+ "source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n PartitionKeys = new [] { new Column {\n Name = \"year\",\n Type = Schema.SMALL_INT\n }, new Column {\n Name = \"month\",\n Type = Schema.SMALL_INT\n } },\n DataFormat = DataFormat.JSON\n});",
1213
+ "version": "1"
1214
+ },
1215
+ "java": {
1216
+ "source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .partitionKeys(List.of(Column.builder()\n .name(\"year\")\n .type(Schema.SMALL_INT)\n .build(), Column.builder()\n .name(\"month\")\n .type(Schema.SMALL_INT)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
1217
+ "version": "1"
1218
+ },
1219
+ "$": {
1220
+ "source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
1221
+ "version": "0"
1222
+ }
1223
+ },
1224
+ "location": {
1225
+ "api": {
1226
+ "api": "type",
1227
+ "fqn": "@aws-cdk/aws-glue-alpha.DataFormat"
1228
+ },
1229
+ "field": {
1230
+ "field": "example"
1231
+ }
1232
+ },
1233
+ "didCompile": true,
1234
+ "fqnsReferenced": [
1235
+ "@aws-cdk/aws-glue-alpha.DataFormat",
1236
+ "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
1237
+ "@aws-cdk/aws-glue-alpha.IDatabase",
1238
+ "@aws-cdk/aws-glue-alpha.Schema",
1239
+ "@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
1240
+ "@aws-cdk/aws-glue-alpha.Schema#STRING",
1241
+ "@aws-cdk/aws-glue-alpha.Table",
1242
+ "@aws-cdk/aws-glue-alpha.TableProps",
1243
+ "@aws-cdk/aws-glue-alpha.Type"
1244
+ ],
1245
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1246
+ "syntaxKindCounter": {
1247
+ "10": 5,
1248
+ "75": 29,
1249
+ "104": 1,
1250
+ "130": 1,
1251
+ "153": 1,
1252
+ "169": 1,
1253
+ "192": 2,
1254
+ "193": 4,
1255
+ "194": 9,
1256
+ "197": 1,
1257
+ "225": 1,
1258
+ "226": 1,
1259
+ "242": 1,
1260
+ "243": 1,
1261
+ "281": 11,
1262
+ "290": 1
1263
+ },
1264
+ "fqnsFingerprint": "046f69b994328e7c88bad23ae71581b4ec0a6f35ffb528ec2ff85ad7a017af98"
1265
+ },
1266
+ "7a03ebf936c887caa8daa01417d58af81ba37664c29ca53dc0b5ad3c7dfe2fb6": {
1267
+ "translations": {
1268
+ "python": {
1269
+ "source": "glue.Database(self, \"MyDatabase\",\n database_name=\"my_database\"\n)",
1270
+ "version": "1"
1271
+ },
1272
+ "csharp": {
1273
+ "source": "new Database(this, \"MyDatabase\", new DatabaseProps {\n DatabaseName = \"my_database\"\n});",
1274
+ "version": "1"
1275
+ },
1276
+ "java": {
1277
+ "source": "Database.Builder.create(this, \"MyDatabase\")\n .databaseName(\"my_database\")\n .build();",
1278
+ "version": "1"
1279
+ },
1280
+ "$": {
1281
+ "source": "new glue.Database(this, 'MyDatabase', {\n databaseName: 'my_database',\n});",
1282
+ "version": "0"
1283
+ }
1284
+ },
1285
+ "location": {
1286
+ "api": {
1287
+ "api": "type",
1288
+ "fqn": "@aws-cdk/aws-glue-alpha.Database"
1289
+ },
1290
+ "field": {
1291
+ "field": "example"
1292
+ }
1293
+ },
1294
+ "didCompile": true,
1295
+ "fqnsReferenced": [
1296
+ "@aws-cdk/aws-glue-alpha.Database",
1297
+ "@aws-cdk/aws-glue-alpha.DatabaseProps"
1298
+ ],
1299
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew glue.Database(this, 'MyDatabase', {\n databaseName: 'my_database',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1300
+ "syntaxKindCounter": {
1301
+ "10": 2,
1302
+ "75": 3,
1303
+ "104": 1,
1304
+ "193": 1,
1305
+ "194": 1,
1306
+ "197": 1,
1307
+ "226": 1,
1308
+ "281": 1
1309
+ },
1310
+ "fqnsFingerprint": "5ab92b5572e04586e93c77a2acc177c232ecc9fb5638687f96d3f3c04d76bf72"
1311
+ },
1312
+ "1ba7c08ac10b41363cebc03f9869769b46bd5c67723a1ee827653dd6379bd184": {
1313
+ "translations": {
1314
+ "python": {
1315
+ "source": "glue.Database(self, \"MyDatabase\",\n database_name=\"my_database\"\n)",
1316
+ "version": "1"
1317
+ },
1318
+ "csharp": {
1319
+ "source": "new Database(this, \"MyDatabase\", new DatabaseProps {\n DatabaseName = \"my_database\"\n});",
1320
+ "version": "1"
1321
+ },
1322
+ "java": {
1323
+ "source": "Database.Builder.create(this, \"MyDatabase\")\n .databaseName(\"my_database\")\n .build();",
1324
+ "version": "1"
1325
+ },
1326
+ "$": {
1327
+ "source": "new glue.Database(this, 'MyDatabase', {\n databaseName: 'my_database',\n});",
1328
+ "version": "0"
1329
+ }
1330
+ },
1331
+ "location": {
1332
+ "api": {
1333
+ "api": "type",
1334
+ "fqn": "@aws-cdk/aws-glue-alpha.DatabaseProps"
1335
+ },
1336
+ "field": {
1337
+ "field": "example"
1338
+ }
1339
+ },
1340
+ "didCompile": true,
1341
+ "fqnsReferenced": [
1342
+ "@aws-cdk/aws-glue-alpha.Database",
1343
+ "@aws-cdk/aws-glue-alpha.DatabaseProps"
1344
+ ],
1345
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew glue.Database(this, 'MyDatabase', {\n databaseName: 'my_database',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1346
+ "syntaxKindCounter": {
1347
+ "10": 2,
1348
+ "75": 3,
1349
+ "104": 1,
1350
+ "193": 1,
1351
+ "194": 1,
1352
+ "197": 1,
1353
+ "226": 1,
1354
+ "281": 1
1355
+ },
1356
+ "fqnsFingerprint": "5ab92b5572e04586e93c77a2acc177c232ecc9fb5638687f96d3f3c04d76bf72"
1357
+ },
1358
+ "b9880ea645259a0b8762db76f4e76476a52a26e82ea25ca7fe18fa9fc3f58edf": {
1359
+ "translations": {
1360
+ "python": {
1361
+ "source": "# bucket is of type Bucket\n\nglue.Job(self, \"PythonShellJob\",\n executable=glue.JobExecutable.python_shell(\n glue_version=glue.GlueVersion.V1_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_bucket(bucket, \"script.py\")\n ),\n description=\"an example Python Shell job\"\n)",
1362
+ "version": "1"
1363
+ },
1364
+ "csharp": {
1365
+ "source": "Bucket bucket;\n\nnew Job(this, \"PythonShellJob\", new JobProps {\n Executable = JobExecutable.PythonShell(new PythonShellExecutableProps {\n GlueVersion = GlueVersion.V1_0,\n PythonVersion = PythonVersion.THREE,\n Script = Code.FromBucket(bucket, \"script.py\")\n }),\n Description = \"an example Python Shell job\"\n});",
1366
+ "version": "1"
1367
+ },
1368
+ "java": {
1369
+ "source": "Bucket bucket;\n\nJob.Builder.create(this, \"PythonShellJob\")\n .executable(JobExecutable.pythonShell(PythonShellExecutableProps.builder()\n .glueVersion(GlueVersion.V1_0)\n .pythonVersion(PythonVersion.THREE)\n .script(Code.fromBucket(bucket, \"script.py\"))\n .build()))\n .description(\"an example Python Shell job\")\n .build();",
1370
+ "version": "1"
1371
+ },
1372
+ "$": {
1373
+ "source": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});",
1374
+ "version": "0"
1375
+ }
1376
+ },
1377
+ "location": {
1378
+ "api": {
1379
+ "api": "type",
1380
+ "fqn": "@aws-cdk/aws-glue-alpha.GlueVersion"
1381
+ },
1382
+ "field": {
1383
+ "field": "example"
1384
+ }
1385
+ },
1386
+ "didCompile": true,
1387
+ "fqnsReferenced": [
1388
+ "@aws-cdk/aws-glue-alpha.Code",
1389
+ "@aws-cdk/aws-glue-alpha.Code#fromBucket",
1390
+ "@aws-cdk/aws-glue-alpha.GlueVersion",
1391
+ "@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
1392
+ "@aws-cdk/aws-glue-alpha.Job",
1393
+ "@aws-cdk/aws-glue-alpha.JobExecutable",
1394
+ "@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
1395
+ "@aws-cdk/aws-glue-alpha.JobProps",
1396
+ "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
1397
+ "@aws-cdk/aws-glue-alpha.PythonVersion",
1398
+ "@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
1399
+ "aws-cdk-lib.aws_s3.IBucket"
1400
+ ],
1401
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1402
+ "syntaxKindCounter": {
1403
+ "10": 3,
1404
+ "75": 23,
1405
+ "104": 1,
1406
+ "130": 1,
1407
+ "153": 1,
1408
+ "169": 1,
1409
+ "193": 2,
1410
+ "194": 9,
1411
+ "196": 2,
1412
+ "197": 1,
1413
+ "225": 1,
1414
+ "226": 1,
1415
+ "242": 1,
1416
+ "243": 1,
1417
+ "281": 5,
1418
+ "290": 1
1419
+ },
1420
+ "fqnsFingerprint": "9a1b1d44b31e71d0ffe6a4531db95e61d3fe992f1ddccaf856e307eae1724da9"
1421
+ },
1422
+ "874d27adcf7eda76cb6349757fa242e0ef835f26a4b8d7b3bcb32954b292739c": {
1423
+ "translations": {
1424
+ "python": {
1425
+ "source": "# bucket is of type Bucket\n\nglue.Job(self, \"PythonShellJob\",\n executable=glue.JobExecutable.python_shell(\n glue_version=glue.GlueVersion.V1_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_bucket(bucket, \"script.py\")\n ),\n description=\"an example Python Shell job\"\n)",
1426
+ "version": "1"
1427
+ },
1428
+ "csharp": {
1429
+ "source": "Bucket bucket;\n\nnew Job(this, \"PythonShellJob\", new JobProps {\n Executable = JobExecutable.PythonShell(new PythonShellExecutableProps {\n GlueVersion = GlueVersion.V1_0,\n PythonVersion = PythonVersion.THREE,\n Script = Code.FromBucket(bucket, \"script.py\")\n }),\n Description = \"an example Python Shell job\"\n});",
1430
+ "version": "1"
1431
+ },
1432
+ "java": {
1433
+ "source": "Bucket bucket;\n\nJob.Builder.create(this, \"PythonShellJob\")\n .executable(JobExecutable.pythonShell(PythonShellExecutableProps.builder()\n .glueVersion(GlueVersion.V1_0)\n .pythonVersion(PythonVersion.THREE)\n .script(Code.fromBucket(bucket, \"script.py\"))\n .build()))\n .description(\"an example Python Shell job\")\n .build();",
1434
+ "version": "1"
1435
+ },
1436
+ "$": {
1437
+ "source": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});",
1438
+ "version": "0"
1439
+ }
1440
+ },
1441
+ "location": {
1442
+ "api": {
1443
+ "api": "type",
1444
+ "fqn": "@aws-cdk/aws-glue-alpha.Job"
1445
+ },
1446
+ "field": {
1447
+ "field": "example"
1448
+ }
1449
+ },
1450
+ "didCompile": true,
1451
+ "fqnsReferenced": [
1452
+ "@aws-cdk/aws-glue-alpha.Code",
1453
+ "@aws-cdk/aws-glue-alpha.Code#fromBucket",
1454
+ "@aws-cdk/aws-glue-alpha.GlueVersion",
1455
+ "@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
1456
+ "@aws-cdk/aws-glue-alpha.Job",
1457
+ "@aws-cdk/aws-glue-alpha.JobExecutable",
1458
+ "@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
1459
+ "@aws-cdk/aws-glue-alpha.JobProps",
1460
+ "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
1461
+ "@aws-cdk/aws-glue-alpha.PythonVersion",
1462
+ "@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
1463
+ "aws-cdk-lib.aws_s3.IBucket"
1464
+ ],
1465
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1466
+ "syntaxKindCounter": {
1467
+ "10": 3,
1468
+ "75": 23,
1469
+ "104": 1,
1470
+ "130": 1,
1471
+ "153": 1,
1472
+ "169": 1,
1473
+ "193": 2,
1474
+ "194": 9,
1475
+ "196": 2,
1476
+ "197": 1,
1477
+ "225": 1,
1478
+ "226": 1,
1479
+ "242": 1,
1480
+ "243": 1,
1481
+ "281": 5,
1482
+ "290": 1
1483
+ },
1484
+ "fqnsFingerprint": "9a1b1d44b31e71d0ffe6a4531db95e61d3fe992f1ddccaf856e307eae1724da9"
1485
+ },
1486
+ "338946c760eb62657369459eaa0f29d4f879aa5304e3065d7090a9429c66ef9a": {
1487
+ "translations": {
1488
+ "python": {
1489
+ "source": "glue.SecurityConfiguration(self, \"MySecurityConfiguration\",\n security_configuration_name=\"name\",\n cloud_watch_encryption=glue.CloudWatchEncryption(\n mode=glue.CloudWatchEncryptionMode.KMS\n ),\n job_bookmarks_encryption=glue.JobBookmarksEncryption(\n mode=glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n ),\n s3_encryption=glue.S3Encryption(\n mode=glue.S3EncryptionMode.KMS\n )\n)",
1490
+ "version": "1"
1491
+ },
1492
+ "csharp": {
1493
+ "source": "new SecurityConfiguration(this, \"MySecurityConfiguration\", new SecurityConfigurationProps {\n SecurityConfigurationName = \"name\",\n CloudWatchEncryption = new CloudWatchEncryption {\n Mode = CloudWatchEncryptionMode.KMS\n },\n JobBookmarksEncryption = new JobBookmarksEncryption {\n Mode = JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n },\n S3Encryption = new S3Encryption {\n Mode = S3EncryptionMode.KMS\n }\n});",
1494
+ "version": "1"
1495
+ },
1496
+ "java": {
1497
+ "source": "SecurityConfiguration.Builder.create(this, \"MySecurityConfiguration\")\n .securityConfigurationName(\"name\")\n .cloudWatchEncryption(CloudWatchEncryption.builder()\n .mode(CloudWatchEncryptionMode.KMS)\n .build())\n .jobBookmarksEncryption(JobBookmarksEncryption.builder()\n .mode(JobBookmarksEncryptionMode.CLIENT_SIDE_KMS)\n .build())\n .s3Encryption(S3Encryption.builder()\n .mode(S3EncryptionMode.KMS)\n .build())\n .build();",
1498
+ "version": "1"
1499
+ },
1500
+ "$": {
1501
+ "source": "new glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});",
1502
+ "version": "0"
1503
+ }
1504
+ },
1505
+ "location": {
1506
+ "api": {
1507
+ "api": "type",
1508
+ "fqn": "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption"
1509
+ },
1510
+ "field": {
1511
+ "field": "example"
1512
+ }
1513
+ },
1514
+ "didCompile": true,
1515
+ "fqnsReferenced": [
1516
+ "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
1517
+ "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
1518
+ "@aws-cdk/aws-glue-alpha.S3Encryption",
1519
+ "@aws-cdk/aws-glue-alpha.S3EncryptionMode",
1520
+ "@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
1521
+ "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
1522
+ "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
1523
+ ],
1524
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1525
+ "syntaxKindCounter": {
1526
+ "10": 2,
1527
+ "75": 18,
1528
+ "104": 1,
1529
+ "193": 4,
1530
+ "194": 7,
1531
+ "197": 1,
1532
+ "226": 1,
1533
+ "281": 7
1534
+ },
1535
+ "fqnsFingerprint": "9c0c3117462f9b3c5075650f29c501fec11f1451c16c9ffad27014f5f911e22f"
1536
+ },
1537
+ "6832b355847510af07ad3f1845210e75c148b4eb51beb4ba37bb5ff3578132ba": {
1538
+ "translations": {
1539
+ "python": {
1540
+ "source": "# bucket is of type Bucket\n\nglue.Job(self, \"PythonShellJob\",\n executable=glue.JobExecutable.python_shell(\n glue_version=glue.GlueVersion.V1_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_bucket(bucket, \"script.py\")\n ),\n description=\"an example Python Shell job\"\n)",
1541
+ "version": "1"
1542
+ },
1543
+ "csharp": {
1544
+ "source": "Bucket bucket;\n\nnew Job(this, \"PythonShellJob\", new JobProps {\n Executable = JobExecutable.PythonShell(new PythonShellExecutableProps {\n GlueVersion = GlueVersion.V1_0,\n PythonVersion = PythonVersion.THREE,\n Script = Code.FromBucket(bucket, \"script.py\")\n }),\n Description = \"an example Python Shell job\"\n});",
1545
+ "version": "1"
1546
+ },
1547
+ "java": {
1548
+ "source": "Bucket bucket;\n\nJob.Builder.create(this, \"PythonShellJob\")\n .executable(JobExecutable.pythonShell(PythonShellExecutableProps.builder()\n .glueVersion(GlueVersion.V1_0)\n .pythonVersion(PythonVersion.THREE)\n .script(Code.fromBucket(bucket, \"script.py\"))\n .build()))\n .description(\"an example Python Shell job\")\n .build();",
1549
+ "version": "1"
1550
+ },
1551
+ "$": {
1552
+ "source": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});",
1553
+ "version": "0"
1554
+ }
1555
+ },
1556
+ "location": {
1557
+ "api": {
1558
+ "api": "type",
1559
+ "fqn": "@aws-cdk/aws-glue-alpha.JobExecutable"
1560
+ },
1561
+ "field": {
1562
+ "field": "example"
1563
+ }
1564
+ },
1565
+ "didCompile": true,
1566
+ "fqnsReferenced": [
1567
+ "@aws-cdk/aws-glue-alpha.Code",
1568
+ "@aws-cdk/aws-glue-alpha.Code#fromBucket",
1569
+ "@aws-cdk/aws-glue-alpha.GlueVersion",
1570
+ "@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
1571
+ "@aws-cdk/aws-glue-alpha.Job",
1572
+ "@aws-cdk/aws-glue-alpha.JobExecutable",
1573
+ "@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
1574
+ "@aws-cdk/aws-glue-alpha.JobProps",
1575
+ "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
1576
+ "@aws-cdk/aws-glue-alpha.PythonVersion",
1577
+ "@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
1578
+ "aws-cdk-lib.aws_s3.IBucket"
1579
+ ],
1580
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1581
+ "syntaxKindCounter": {
1582
+ "10": 3,
1583
+ "75": 23,
1584
+ "104": 1,
1585
+ "130": 1,
1586
+ "153": 1,
1587
+ "169": 1,
1588
+ "193": 2,
1589
+ "194": 9,
1590
+ "196": 2,
1591
+ "197": 1,
1592
+ "225": 1,
1593
+ "226": 1,
1594
+ "242": 1,
1595
+ "243": 1,
1596
+ "281": 5,
1597
+ "290": 1
1598
+ },
1599
+ "fqnsFingerprint": "9a1b1d44b31e71d0ffe6a4531db95e61d3fe992f1ddccaf856e307eae1724da9"
1600
+ },
1601
+ "943463d1930ad3031acad3870f483fe9fb5232ac43304a1f3b310599d039b503": {
1602
+ "translations": {
1603
+ "python": {
1604
+ "source": "# bucket is of type Bucket\n\nglue.Job(self, \"PythonShellJob\",\n executable=glue.JobExecutable.python_shell(\n glue_version=glue.GlueVersion.V1_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_bucket(bucket, \"script.py\")\n ),\n description=\"an example Python Shell job\"\n)",
1605
+ "version": "1"
1606
+ },
1607
+ "csharp": {
1608
+ "source": "Bucket bucket;\n\nnew Job(this, \"PythonShellJob\", new JobProps {\n Executable = JobExecutable.PythonShell(new PythonShellExecutableProps {\n GlueVersion = GlueVersion.V1_0,\n PythonVersion = PythonVersion.THREE,\n Script = Code.FromBucket(bucket, \"script.py\")\n }),\n Description = \"an example Python Shell job\"\n});",
1609
+ "version": "1"
1610
+ },
1611
+ "java": {
1612
+ "source": "Bucket bucket;\n\nJob.Builder.create(this, \"PythonShellJob\")\n .executable(JobExecutable.pythonShell(PythonShellExecutableProps.builder()\n .glueVersion(GlueVersion.V1_0)\n .pythonVersion(PythonVersion.THREE)\n .script(Code.fromBucket(bucket, \"script.py\"))\n .build()))\n .description(\"an example Python Shell job\")\n .build();",
1613
+ "version": "1"
1614
+ },
1615
+ "$": {
1616
+ "source": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});",
1617
+ "version": "0"
1618
+ }
1619
+ },
1620
+ "location": {
1621
+ "api": {
1622
+ "api": "type",
1623
+ "fqn": "@aws-cdk/aws-glue-alpha.JobProps"
1624
+ },
1625
+ "field": {
1626
+ "field": "example"
1627
+ }
1628
+ },
1629
+ "didCompile": true,
1630
+ "fqnsReferenced": [
1631
+ "@aws-cdk/aws-glue-alpha.Code",
1632
+ "@aws-cdk/aws-glue-alpha.Code#fromBucket",
1633
+ "@aws-cdk/aws-glue-alpha.GlueVersion",
1634
+ "@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
1635
+ "@aws-cdk/aws-glue-alpha.Job",
1636
+ "@aws-cdk/aws-glue-alpha.JobExecutable",
1637
+ "@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
1638
+ "@aws-cdk/aws-glue-alpha.JobProps",
1639
+ "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
1640
+ "@aws-cdk/aws-glue-alpha.PythonVersion",
1641
+ "@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
1642
+ "aws-cdk-lib.aws_s3.IBucket"
1643
+ ],
1644
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1645
+ "syntaxKindCounter": {
1646
+ "10": 3,
1647
+ "75": 23,
1648
+ "104": 1,
1649
+ "130": 1,
1650
+ "153": 1,
1651
+ "169": 1,
1652
+ "193": 2,
1653
+ "194": 9,
1654
+ "196": 2,
1655
+ "197": 1,
1656
+ "225": 1,
1657
+ "226": 1,
1658
+ "242": 1,
1659
+ "243": 1,
1660
+ "281": 5,
1661
+ "290": 1
1662
+ },
1663
+ "fqnsFingerprint": "9a1b1d44b31e71d0ffe6a4531db95e61d3fe992f1ddccaf856e307eae1724da9"
1664
+ },
1665
+ "f4512a1be0b132776e7633fc5cf1ecf099b4f827429cfd51dde780fbd65859ea": {
1666
+ "translations": {
1667
+ "python": {
1668
+ "source": "# bucket is of type Bucket\n\nglue.Job(self, \"PythonShellJob\",\n executable=glue.JobExecutable.python_shell(\n glue_version=glue.GlueVersion.V1_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_bucket(bucket, \"script.py\")\n ),\n description=\"an example Python Shell job\"\n)",
1669
+ "version": "1"
1670
+ },
1671
+ "csharp": {
1672
+ "source": "Bucket bucket;\n\nnew Job(this, \"PythonShellJob\", new JobProps {\n Executable = JobExecutable.PythonShell(new PythonShellExecutableProps {\n GlueVersion = GlueVersion.V1_0,\n PythonVersion = PythonVersion.THREE,\n Script = Code.FromBucket(bucket, \"script.py\")\n }),\n Description = \"an example Python Shell job\"\n});",
1673
+ "version": "1"
1674
+ },
1675
+ "java": {
1676
+ "source": "Bucket bucket;\n\nJob.Builder.create(this, \"PythonShellJob\")\n .executable(JobExecutable.pythonShell(PythonShellExecutableProps.builder()\n .glueVersion(GlueVersion.V1_0)\n .pythonVersion(PythonVersion.THREE)\n .script(Code.fromBucket(bucket, \"script.py\"))\n .build()))\n .description(\"an example Python Shell job\")\n .build();",
1677
+ "version": "1"
1678
+ },
1679
+ "$": {
1680
+ "source": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});",
1681
+ "version": "0"
1682
+ }
1683
+ },
1684
+ "location": {
1685
+ "api": {
1686
+ "api": "type",
1687
+ "fqn": "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps"
1688
+ },
1689
+ "field": {
1690
+ "field": "example"
1691
+ }
1692
+ },
1693
+ "didCompile": true,
1694
+ "fqnsReferenced": [
1695
+ "@aws-cdk/aws-glue-alpha.Code",
1696
+ "@aws-cdk/aws-glue-alpha.Code#fromBucket",
1697
+ "@aws-cdk/aws-glue-alpha.GlueVersion",
1698
+ "@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
1699
+ "@aws-cdk/aws-glue-alpha.Job",
1700
+ "@aws-cdk/aws-glue-alpha.JobExecutable",
1701
+ "@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
1702
+ "@aws-cdk/aws-glue-alpha.JobProps",
1703
+ "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
1704
+ "@aws-cdk/aws-glue-alpha.PythonVersion",
1705
+ "@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
1706
+ "aws-cdk-lib.aws_s3.IBucket"
1707
+ ],
1708
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1709
+ "syntaxKindCounter": {
1710
+ "10": 3,
1711
+ "75": 23,
1712
+ "104": 1,
1713
+ "130": 1,
1714
+ "153": 1,
1715
+ "169": 1,
1716
+ "193": 2,
1717
+ "194": 9,
1718
+ "196": 2,
1719
+ "197": 1,
1720
+ "225": 1,
1721
+ "226": 1,
1722
+ "242": 1,
1723
+ "243": 1,
1724
+ "281": 5,
1725
+ "290": 1
1726
+ },
1727
+ "fqnsFingerprint": "9a1b1d44b31e71d0ffe6a4531db95e61d3fe992f1ddccaf856e307eae1724da9"
1728
+ },
1729
+ "3be182023e6e4eac096f34fd1d4375b6e09ac0423e9f05c6fae7f9088e084aef": {
1730
+ "translations": {
1731
+ "python": {
1732
+ "source": "glue.Job(self, \"PythonSparkStreamingJob\",\n executable=glue.JobExecutable.python_streaming(\n glue_version=glue.GlueVersion.V2_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_asset(path.join(__dirname, \"job-script/hello_world.py\"))\n ),\n description=\"an example Python Streaming job\"\n)",
1733
+ "version": "1"
1734
+ },
1735
+ "csharp": {
1736
+ "source": "new Job(this, \"PythonSparkStreamingJob\", new JobProps {\n Executable = JobExecutable.PythonStreaming(new PythonSparkJobExecutableProps {\n GlueVersion = GlueVersion.V2_0,\n PythonVersion = PythonVersion.THREE,\n Script = Code.FromAsset(Join(__dirname, \"job-script/hello_world.py\"))\n }),\n Description = \"an example Python Streaming job\"\n});",
1737
+ "version": "1"
1738
+ },
1739
+ "java": {
1740
+ "source": "Job.Builder.create(this, \"PythonSparkStreamingJob\")\n .executable(JobExecutable.pythonStreaming(PythonSparkJobExecutableProps.builder()\n .glueVersion(GlueVersion.V2_0)\n .pythonVersion(PythonVersion.THREE)\n .script(Code.fromAsset(join(__dirname, \"job-script/hello_world.py\")))\n .build()))\n .description(\"an example Python Streaming job\")\n .build();",
1741
+ "version": "1"
1742
+ },
1743
+ "$": {
1744
+ "source": "new glue.Job(this, 'PythonSparkStreamingJob', {\n executable: glue.JobExecutable.pythonStreaming({\n glueVersion: glue.GlueVersion.V2_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromAsset(path.join(__dirname, 'job-script/hello_world.py')),\n }),\n description: 'an example Python Streaming job',\n});",
1745
+ "version": "0"
1746
+ }
1747
+ },
1748
+ "location": {
1749
+ "api": {
1750
+ "api": "type",
1751
+ "fqn": "@aws-cdk/aws-glue-alpha.PythonSparkJobExecutableProps"
1752
+ },
1753
+ "field": {
1754
+ "field": "example"
1755
+ }
1756
+ },
1757
+ "didCompile": true,
1758
+ "fqnsReferenced": [
1759
+ "@aws-cdk/aws-glue-alpha.Code",
1760
+ "@aws-cdk/aws-glue-alpha.Code#fromAsset",
1761
+ "@aws-cdk/aws-glue-alpha.GlueVersion",
1762
+ "@aws-cdk/aws-glue-alpha.GlueVersion#V2_0",
1763
+ "@aws-cdk/aws-glue-alpha.Job",
1764
+ "@aws-cdk/aws-glue-alpha.JobExecutable",
1765
+ "@aws-cdk/aws-glue-alpha.JobExecutable#pythonStreaming",
1766
+ "@aws-cdk/aws-glue-alpha.JobProps",
1767
+ "@aws-cdk/aws-glue-alpha.PythonSparkJobExecutableProps",
1768
+ "@aws-cdk/aws-glue-alpha.PythonVersion",
1769
+ "@aws-cdk/aws-glue-alpha.PythonVersion#THREE"
1770
+ ],
1771
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew glue.Job(this, 'PythonSparkStreamingJob', {\n executable: glue.JobExecutable.pythonStreaming({\n glueVersion: glue.GlueVersion.V2_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromAsset(path.join(__dirname, 'job-script/hello_world.py')),\n }),\n description: 'an example Python Streaming job',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1772
+ "syntaxKindCounter": {
1773
+ "10": 3,
1774
+ "75": 22,
1775
+ "104": 1,
1776
+ "193": 2,
1777
+ "194": 10,
1778
+ "196": 3,
1779
+ "197": 1,
1780
+ "226": 1,
1781
+ "281": 5
1782
+ },
1783
+ "fqnsFingerprint": "a6b5edfe0f1f9dac1e1558758201f97990929a1ea48e98d25f4234de83de5211"
1784
+ },
1785
+ "2aa0e7e658c46bf934e9cfb49322411d28556e8b0c32a79ffc6e8fd3311b0898": {
1786
+ "translations": {
1787
+ "python": {
1788
+ "source": "glue.Job(self, \"PythonSparkStreamingJob\",\n executable=glue.JobExecutable.python_streaming(\n glue_version=glue.GlueVersion.V2_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_asset(path.join(__dirname, \"job-script/hello_world.py\"))\n ),\n description=\"an example Python Streaming job\"\n)",
1789
+ "version": "1"
1790
+ },
1791
+ "csharp": {
1792
+ "source": "new Job(this, \"PythonSparkStreamingJob\", new JobProps {\n Executable = JobExecutable.PythonStreaming(new PythonSparkJobExecutableProps {\n GlueVersion = GlueVersion.V2_0,\n PythonVersion = PythonVersion.THREE,\n Script = Code.FromAsset(Join(__dirname, \"job-script/hello_world.py\"))\n }),\n Description = \"an example Python Streaming job\"\n});",
1793
+ "version": "1"
1794
+ },
1795
+ "java": {
1796
+ "source": "Job.Builder.create(this, \"PythonSparkStreamingJob\")\n .executable(JobExecutable.pythonStreaming(PythonSparkJobExecutableProps.builder()\n .glueVersion(GlueVersion.V2_0)\n .pythonVersion(PythonVersion.THREE)\n .script(Code.fromAsset(join(__dirname, \"job-script/hello_world.py\")))\n .build()))\n .description(\"an example Python Streaming job\")\n .build();",
1797
+ "version": "1"
1798
+ },
1799
+ "$": {
1800
+ "source": "new glue.Job(this, 'PythonSparkStreamingJob', {\n executable: glue.JobExecutable.pythonStreaming({\n glueVersion: glue.GlueVersion.V2_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromAsset(path.join(__dirname, 'job-script/hello_world.py')),\n }),\n description: 'an example Python Streaming job',\n});",
1801
+ "version": "0"
1802
+ }
1803
+ },
1804
+ "location": {
1805
+ "api": {
1806
+ "api": "type",
1807
+ "fqn": "@aws-cdk/aws-glue-alpha.PythonVersion"
1808
+ },
1809
+ "field": {
1810
+ "field": "example"
1811
+ }
1812
+ },
1813
+ "didCompile": true,
1814
+ "fqnsReferenced": [
1815
+ "@aws-cdk/aws-glue-alpha.Code",
1816
+ "@aws-cdk/aws-glue-alpha.Code#fromAsset",
1817
+ "@aws-cdk/aws-glue-alpha.GlueVersion",
1818
+ "@aws-cdk/aws-glue-alpha.GlueVersion#V2_0",
1819
+ "@aws-cdk/aws-glue-alpha.Job",
1820
+ "@aws-cdk/aws-glue-alpha.JobExecutable",
1821
+ "@aws-cdk/aws-glue-alpha.JobExecutable#pythonStreaming",
1822
+ "@aws-cdk/aws-glue-alpha.JobProps",
1823
+ "@aws-cdk/aws-glue-alpha.PythonSparkJobExecutableProps",
1824
+ "@aws-cdk/aws-glue-alpha.PythonVersion",
1825
+ "@aws-cdk/aws-glue-alpha.PythonVersion#THREE"
1826
+ ],
1827
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew glue.Job(this, 'PythonSparkStreamingJob', {\n executable: glue.JobExecutable.pythonStreaming({\n glueVersion: glue.GlueVersion.V2_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromAsset(path.join(__dirname, 'job-script/hello_world.py')),\n }),\n description: 'an example Python Streaming job',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1828
+ "syntaxKindCounter": {
1829
+ "10": 3,
1830
+ "75": 22,
1831
+ "104": 1,
1832
+ "193": 2,
1833
+ "194": 10,
1834
+ "196": 3,
1835
+ "197": 1,
1836
+ "226": 1,
1837
+ "281": 5
1838
+ },
1839
+ "fqnsFingerprint": "a6b5edfe0f1f9dac1e1558758201f97990929a1ea48e98d25f4234de83de5211"
1840
+ },
1841
+ "00be0efff95e388412faa8e5147a7bebabf4b65b92504a92e02ddad9be5d97ab": {
1842
+ "translations": {
1843
+ "python": {
1844
+ "source": "glue.SecurityConfiguration(self, \"MySecurityConfiguration\",\n security_configuration_name=\"name\",\n cloud_watch_encryption=glue.CloudWatchEncryption(\n mode=glue.CloudWatchEncryptionMode.KMS\n ),\n job_bookmarks_encryption=glue.JobBookmarksEncryption(\n mode=glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n ),\n s3_encryption=glue.S3Encryption(\n mode=glue.S3EncryptionMode.KMS\n )\n)",
1845
+ "version": "1"
1846
+ },
1847
+ "csharp": {
1848
+ "source": "new SecurityConfiguration(this, \"MySecurityConfiguration\", new SecurityConfigurationProps {\n SecurityConfigurationName = \"name\",\n CloudWatchEncryption = new CloudWatchEncryption {\n Mode = CloudWatchEncryptionMode.KMS\n },\n JobBookmarksEncryption = new JobBookmarksEncryption {\n Mode = JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n },\n S3Encryption = new S3Encryption {\n Mode = S3EncryptionMode.KMS\n }\n});",
1849
+ "version": "1"
1850
+ },
1851
+ "java": {
1852
+ "source": "SecurityConfiguration.Builder.create(this, \"MySecurityConfiguration\")\n .securityConfigurationName(\"name\")\n .cloudWatchEncryption(CloudWatchEncryption.builder()\n .mode(CloudWatchEncryptionMode.KMS)\n .build())\n .jobBookmarksEncryption(JobBookmarksEncryption.builder()\n .mode(JobBookmarksEncryptionMode.CLIENT_SIDE_KMS)\n .build())\n .s3Encryption(S3Encryption.builder()\n .mode(S3EncryptionMode.KMS)\n .build())\n .build();",
1853
+ "version": "1"
1854
+ },
1855
+ "$": {
1856
+ "source": "new glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});",
1857
+ "version": "0"
1858
+ }
1859
+ },
1860
+ "location": {
1861
+ "api": {
1862
+ "api": "type",
1863
+ "fqn": "@aws-cdk/aws-glue-alpha.S3Encryption"
1864
+ },
1865
+ "field": {
1866
+ "field": "example"
1867
+ }
1868
+ },
1869
+ "didCompile": true,
1870
+ "fqnsReferenced": [
1871
+ "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
1872
+ "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
1873
+ "@aws-cdk/aws-glue-alpha.S3Encryption",
1874
+ "@aws-cdk/aws-glue-alpha.S3EncryptionMode",
1875
+ "@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
1876
+ "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
1877
+ "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
1878
+ ],
1879
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1880
+ "syntaxKindCounter": {
1881
+ "10": 2,
1882
+ "75": 18,
1883
+ "104": 1,
1884
+ "193": 4,
1885
+ "194": 7,
1886
+ "197": 1,
1887
+ "226": 1,
1888
+ "281": 7
1889
+ },
1890
+ "fqnsFingerprint": "9c0c3117462f9b3c5075650f29c501fec11f1451c16c9ffad27014f5f911e22f"
1891
+ },
1892
+ "207060b9df0bab24f1ba53598d44db9992e43f4124049cc5bba22f4593b34b76": {
1893
+ "translations": {
1894
+ "python": {
1895
+ "source": "glue.SecurityConfiguration(self, \"MySecurityConfiguration\",\n security_configuration_name=\"name\",\n cloud_watch_encryption=glue.CloudWatchEncryption(\n mode=glue.CloudWatchEncryptionMode.KMS\n ),\n job_bookmarks_encryption=glue.JobBookmarksEncryption(\n mode=glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n ),\n s3_encryption=glue.S3Encryption(\n mode=glue.S3EncryptionMode.KMS\n )\n)",
1896
+ "version": "1"
1897
+ },
1898
+ "csharp": {
1899
+ "source": "new SecurityConfiguration(this, \"MySecurityConfiguration\", new SecurityConfigurationProps {\n SecurityConfigurationName = \"name\",\n CloudWatchEncryption = new CloudWatchEncryption {\n Mode = CloudWatchEncryptionMode.KMS\n },\n JobBookmarksEncryption = new JobBookmarksEncryption {\n Mode = JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n },\n S3Encryption = new S3Encryption {\n Mode = S3EncryptionMode.KMS\n }\n});",
1900
+ "version": "1"
1901
+ },
1902
+ "java": {
1903
+ "source": "SecurityConfiguration.Builder.create(this, \"MySecurityConfiguration\")\n .securityConfigurationName(\"name\")\n .cloudWatchEncryption(CloudWatchEncryption.builder()\n .mode(CloudWatchEncryptionMode.KMS)\n .build())\n .jobBookmarksEncryption(JobBookmarksEncryption.builder()\n .mode(JobBookmarksEncryptionMode.CLIENT_SIDE_KMS)\n .build())\n .s3Encryption(S3Encryption.builder()\n .mode(S3EncryptionMode.KMS)\n .build())\n .build();",
1904
+ "version": "1"
1905
+ },
1906
+ "$": {
1907
+ "source": "new glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});",
1908
+ "version": "0"
1909
+ }
1910
+ },
1911
+ "location": {
1912
+ "api": {
1913
+ "api": "type",
1914
+ "fqn": "@aws-cdk/aws-glue-alpha.S3EncryptionMode"
1915
+ },
1916
+ "field": {
1917
+ "field": "example"
1918
+ }
1919
+ },
1920
+ "didCompile": true,
1921
+ "fqnsReferenced": [
1922
+ "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
1923
+ "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
1924
+ "@aws-cdk/aws-glue-alpha.S3Encryption",
1925
+ "@aws-cdk/aws-glue-alpha.S3EncryptionMode",
1926
+ "@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
1927
+ "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
1928
+ "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
1929
+ ],
1930
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1931
+ "syntaxKindCounter": {
1932
+ "10": 2,
1933
+ "75": 18,
1934
+ "104": 1,
1935
+ "193": 4,
1936
+ "194": 7,
1937
+ "197": 1,
1938
+ "226": 1,
1939
+ "281": 7
1940
+ },
1941
+ "fqnsFingerprint": "9c0c3117462f9b3c5075650f29c501fec11f1451c16c9ffad27014f5f911e22f"
1942
+ },
1943
+ "4afd85d48ffa59c03eae18de7fb3e0694706561b0bf4d7ed87252515b562dfc8": {
1944
+ "translations": {
1945
+ "python": {
1946
+ "source": "# bucket is of type Bucket\n\nglue.Job(self, \"ScalaSparkEtlJob\",\n executable=glue.JobExecutable.scala_etl(\n glue_version=glue.GlueVersion.V2_0,\n script=glue.Code.from_bucket(bucket, \"src/com/example/HelloWorld.scala\"),\n class_name=\"com.example.HelloWorld\",\n extra_jars=[glue.Code.from_bucket(bucket, \"jars/HelloWorld.jar\")]\n ),\n description=\"an example Scala ETL job\"\n)",
1947
+ "version": "1"
1948
+ },
1949
+ "csharp": {
1950
+ "source": "Bucket bucket;\n\nnew Job(this, \"ScalaSparkEtlJob\", new JobProps {\n Executable = JobExecutable.ScalaEtl(new ScalaJobExecutableProps {\n GlueVersion = GlueVersion.V2_0,\n Script = Code.FromBucket(bucket, \"src/com/example/HelloWorld.scala\"),\n ClassName = \"com.example.HelloWorld\",\n ExtraJars = new [] { Code.FromBucket(bucket, \"jars/HelloWorld.jar\") }\n }),\n Description = \"an example Scala ETL job\"\n});",
1951
+ "version": "1"
1952
+ },
1953
+ "java": {
1954
+ "source": "Bucket bucket;\n\nJob.Builder.create(this, \"ScalaSparkEtlJob\")\n .executable(JobExecutable.scalaEtl(ScalaJobExecutableProps.builder()\n .glueVersion(GlueVersion.V2_0)\n .script(Code.fromBucket(bucket, \"src/com/example/HelloWorld.scala\"))\n .className(\"com.example.HelloWorld\")\n .extraJars(List.of(Code.fromBucket(bucket, \"jars/HelloWorld.jar\")))\n .build()))\n .description(\"an example Scala ETL job\")\n .build();",
1955
+ "version": "1"
1956
+ },
1957
+ "$": {
1958
+ "source": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'ScalaSparkEtlJob', {\n executable: glue.JobExecutable.scalaEtl({\n glueVersion: glue.GlueVersion.V2_0,\n script: glue.Code.fromBucket(bucket, 'src/com/example/HelloWorld.scala'),\n className: 'com.example.HelloWorld',\n extraJars: [glue.Code.fromBucket(bucket, 'jars/HelloWorld.jar')],\n }),\n description: 'an example Scala ETL job',\n});",
1959
+ "version": "0"
1960
+ }
1961
+ },
1962
+ "location": {
1963
+ "api": {
1964
+ "api": "type",
1965
+ "fqn": "@aws-cdk/aws-glue-alpha.ScalaJobExecutableProps"
1966
+ },
1967
+ "field": {
1968
+ "field": "example"
1969
+ }
1970
+ },
1971
+ "didCompile": true,
1972
+ "fqnsReferenced": [
1973
+ "@aws-cdk/aws-glue-alpha.Code",
1974
+ "@aws-cdk/aws-glue-alpha.Code#fromBucket",
1975
+ "@aws-cdk/aws-glue-alpha.GlueVersion",
1976
+ "@aws-cdk/aws-glue-alpha.GlueVersion#V2_0",
1977
+ "@aws-cdk/aws-glue-alpha.Job",
1978
+ "@aws-cdk/aws-glue-alpha.JobExecutable",
1979
+ "@aws-cdk/aws-glue-alpha.JobExecutable#scalaEtl",
1980
+ "@aws-cdk/aws-glue-alpha.JobProps",
1981
+ "@aws-cdk/aws-glue-alpha.ScalaJobExecutableProps",
1982
+ "aws-cdk-lib.aws_s3.IBucket"
1983
+ ],
1984
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Job(this, 'ScalaSparkEtlJob', {\n executable: glue.JobExecutable.scalaEtl({\n glueVersion: glue.GlueVersion.V2_0,\n script: glue.Code.fromBucket(bucket, 'src/com/example/HelloWorld.scala'),\n className: 'com.example.HelloWorld',\n extraJars: [glue.Code.fromBucket(bucket, 'jars/HelloWorld.jar')],\n }),\n description: 'an example Scala ETL job',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1985
+ "syntaxKindCounter": {
1986
+ "10": 5,
1987
+ "75": 25,
1988
+ "104": 1,
1989
+ "130": 1,
1990
+ "153": 1,
1991
+ "169": 1,
1992
+ "192": 1,
1993
+ "193": 2,
1994
+ "194": 9,
1995
+ "196": 3,
1996
+ "197": 1,
1997
+ "225": 1,
1998
+ "226": 1,
1999
+ "242": 1,
2000
+ "243": 1,
2001
+ "281": 6,
2002
+ "290": 1
2003
+ },
2004
+ "fqnsFingerprint": "8b58e41804d29f352e98153ed58f213b8842a8b0eadfd99c2decdf9e51971287"
2005
+ },
2006
+ "2b5c0fb05ef9fbdf3aab1c20e751d5e8016a472be78e3c58a1d99bcc139a2733": {
2007
+ "translations": {
2008
+ "python": {
2009
+ "source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON\n)",
2010
+ "version": "1"
2011
+ },
2012
+ "csharp": {
2013
+ "source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n PartitionKeys = new [] { new Column {\n Name = \"year\",\n Type = Schema.SMALL_INT\n }, new Column {\n Name = \"month\",\n Type = Schema.SMALL_INT\n } },\n DataFormat = DataFormat.JSON\n});",
2014
+ "version": "1"
2015
+ },
2016
+ "java": {
2017
+ "source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .partitionKeys(List.of(Column.builder()\n .name(\"year\")\n .type(Schema.SMALL_INT)\n .build(), Column.builder()\n .name(\"month\")\n .type(Schema.SMALL_INT)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
2018
+ "version": "1"
2019
+ },
2020
+ "$": {
2021
+ "source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
2022
+ "version": "0"
2023
+ }
2024
+ },
2025
+ "location": {
2026
+ "api": {
2027
+ "api": "type",
2028
+ "fqn": "@aws-cdk/aws-glue-alpha.Schema"
2029
+ },
2030
+ "field": {
2031
+ "field": "example"
2032
+ }
2033
+ },
2034
+ "didCompile": true,
2035
+ "fqnsReferenced": [
2036
+ "@aws-cdk/aws-glue-alpha.DataFormat",
2037
+ "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
2038
+ "@aws-cdk/aws-glue-alpha.IDatabase",
2039
+ "@aws-cdk/aws-glue-alpha.Schema",
2040
+ "@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
2041
+ "@aws-cdk/aws-glue-alpha.Schema#STRING",
2042
+ "@aws-cdk/aws-glue-alpha.Table",
2043
+ "@aws-cdk/aws-glue-alpha.TableProps",
2044
+ "@aws-cdk/aws-glue-alpha.Type"
2045
+ ],
2046
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2047
+ "syntaxKindCounter": {
2048
+ "10": 5,
2049
+ "75": 29,
2050
+ "104": 1,
2051
+ "130": 1,
2052
+ "153": 1,
2053
+ "169": 1,
2054
+ "192": 2,
2055
+ "193": 4,
2056
+ "194": 9,
2057
+ "197": 1,
2058
+ "225": 1,
2059
+ "226": 1,
2060
+ "242": 1,
2061
+ "243": 1,
2062
+ "281": 11,
2063
+ "290": 1
2064
+ },
2065
+ "fqnsFingerprint": "046f69b994328e7c88bad23ae71581b4ec0a6f35ffb528ec2ff85ad7a017af98"
2066
+ },
2067
+ "e55a210f3c876a6be2519f598eef94230e766515aae98637ef80ba802dd919f6": {
2068
+ "translations": {
2069
+ "python": {
2070
+ "source": "glue.SecurityConfiguration(self, \"MySecurityConfiguration\",\n security_configuration_name=\"name\",\n cloud_watch_encryption=glue.CloudWatchEncryption(\n mode=glue.CloudWatchEncryptionMode.KMS\n ),\n job_bookmarks_encryption=glue.JobBookmarksEncryption(\n mode=glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n ),\n s3_encryption=glue.S3Encryption(\n mode=glue.S3EncryptionMode.KMS\n )\n)",
2071
+ "version": "1"
2072
+ },
2073
+ "csharp": {
2074
+ "source": "new SecurityConfiguration(this, \"MySecurityConfiguration\", new SecurityConfigurationProps {\n SecurityConfigurationName = \"name\",\n CloudWatchEncryption = new CloudWatchEncryption {\n Mode = CloudWatchEncryptionMode.KMS\n },\n JobBookmarksEncryption = new JobBookmarksEncryption {\n Mode = JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n },\n S3Encryption = new S3Encryption {\n Mode = S3EncryptionMode.KMS\n }\n});",
2075
+ "version": "1"
2076
+ },
2077
+ "java": {
2078
+ "source": "SecurityConfiguration.Builder.create(this, \"MySecurityConfiguration\")\n .securityConfigurationName(\"name\")\n .cloudWatchEncryption(CloudWatchEncryption.builder()\n .mode(CloudWatchEncryptionMode.KMS)\n .build())\n .jobBookmarksEncryption(JobBookmarksEncryption.builder()\n .mode(JobBookmarksEncryptionMode.CLIENT_SIDE_KMS)\n .build())\n .s3Encryption(S3Encryption.builder()\n .mode(S3EncryptionMode.KMS)\n .build())\n .build();",
2079
+ "version": "1"
2080
+ },
2081
+ "$": {
2082
+ "source": "new glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});",
2083
+ "version": "0"
2084
+ }
2085
+ },
2086
+ "location": {
2087
+ "api": {
2088
+ "api": "type",
2089
+ "fqn": "@aws-cdk/aws-glue-alpha.SecurityConfiguration"
2090
+ },
2091
+ "field": {
2092
+ "field": "example"
2093
+ }
2094
+ },
2095
+ "didCompile": true,
2096
+ "fqnsReferenced": [
2097
+ "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
2098
+ "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
2099
+ "@aws-cdk/aws-glue-alpha.S3Encryption",
2100
+ "@aws-cdk/aws-glue-alpha.S3EncryptionMode",
2101
+ "@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
2102
+ "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
2103
+ "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
2104
+ ],
2105
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2106
+ "syntaxKindCounter": {
2107
+ "10": 2,
2108
+ "75": 18,
2109
+ "104": 1,
2110
+ "193": 4,
2111
+ "194": 7,
2112
+ "197": 1,
2113
+ "226": 1,
2114
+ "281": 7
2115
+ },
2116
+ "fqnsFingerprint": "9c0c3117462f9b3c5075650f29c501fec11f1451c16c9ffad27014f5f911e22f"
2117
+ },
2118
+ "9eb2dfc2ebe1d9d6f7994bd72a9643bbd3c9d5cae9f78341051820b35bfec9b2": {
2119
+ "translations": {
2120
+ "python": {
2121
+ "source": "glue.SecurityConfiguration(self, \"MySecurityConfiguration\",\n security_configuration_name=\"name\",\n cloud_watch_encryption=glue.CloudWatchEncryption(\n mode=glue.CloudWatchEncryptionMode.KMS\n ),\n job_bookmarks_encryption=glue.JobBookmarksEncryption(\n mode=glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n ),\n s3_encryption=glue.S3Encryption(\n mode=glue.S3EncryptionMode.KMS\n )\n)",
2122
+ "version": "1"
2123
+ },
2124
+ "csharp": {
2125
+ "source": "new SecurityConfiguration(this, \"MySecurityConfiguration\", new SecurityConfigurationProps {\n SecurityConfigurationName = \"name\",\n CloudWatchEncryption = new CloudWatchEncryption {\n Mode = CloudWatchEncryptionMode.KMS\n },\n JobBookmarksEncryption = new JobBookmarksEncryption {\n Mode = JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n },\n S3Encryption = new S3Encryption {\n Mode = S3EncryptionMode.KMS\n }\n});",
2126
+ "version": "1"
2127
+ },
2128
+ "java": {
2129
+ "source": "SecurityConfiguration.Builder.create(this, \"MySecurityConfiguration\")\n .securityConfigurationName(\"name\")\n .cloudWatchEncryption(CloudWatchEncryption.builder()\n .mode(CloudWatchEncryptionMode.KMS)\n .build())\n .jobBookmarksEncryption(JobBookmarksEncryption.builder()\n .mode(JobBookmarksEncryptionMode.CLIENT_SIDE_KMS)\n .build())\n .s3Encryption(S3Encryption.builder()\n .mode(S3EncryptionMode.KMS)\n .build())\n .build();",
2130
+ "version": "1"
2131
+ },
2132
+ "$": {
2133
+ "source": "new glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});",
2134
+ "version": "0"
2135
+ }
2136
+ },
2137
+ "location": {
2138
+ "api": {
2139
+ "api": "type",
2140
+ "fqn": "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
2141
+ },
2142
+ "field": {
2143
+ "field": "example"
2144
+ }
2145
+ },
2146
+ "didCompile": true,
2147
+ "fqnsReferenced": [
2148
+ "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
2149
+ "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
2150
+ "@aws-cdk/aws-glue-alpha.S3Encryption",
2151
+ "@aws-cdk/aws-glue-alpha.S3EncryptionMode",
2152
+ "@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
2153
+ "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
2154
+ "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
2155
+ ],
2156
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2157
+ "syntaxKindCounter": {
2158
+ "10": 2,
2159
+ "75": 18,
2160
+ "104": 1,
2161
+ "193": 4,
2162
+ "194": 7,
2163
+ "197": 1,
2164
+ "226": 1,
2165
+ "281": 7
2166
+ },
2167
+ "fqnsFingerprint": "9c0c3117462f9b3c5075650f29c501fec11f1451c16c9ffad27014f5f911e22f"
2168
+ },
2169
+ "cf61707cac187a62000b2ae7c5cb85617064e1adaacc066d590a4b36ce79523e": {
2170
+ "translations": {
2171
+ "python": {
2172
+ "source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON\n)",
2173
+ "version": "1"
2174
+ },
2175
+ "csharp": {
2176
+ "source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n PartitionKeys = new [] { new Column {\n Name = \"year\",\n Type = Schema.SMALL_INT\n }, new Column {\n Name = \"month\",\n Type = Schema.SMALL_INT\n } },\n DataFormat = DataFormat.JSON\n});",
2177
+ "version": "1"
2178
+ },
2179
+ "java": {
2180
+ "source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .partitionKeys(List.of(Column.builder()\n .name(\"year\")\n .type(Schema.SMALL_INT)\n .build(), Column.builder()\n .name(\"month\")\n .type(Schema.SMALL_INT)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
2181
+ "version": "1"
2182
+ },
2183
+ "$": {
2184
+ "source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
2185
+ "version": "0"
2186
+ }
2187
+ },
2188
+ "location": {
2189
+ "api": {
2190
+ "api": "type",
2191
+ "fqn": "@aws-cdk/aws-glue-alpha.Table"
2192
+ },
2193
+ "field": {
2194
+ "field": "example"
2195
+ }
2196
+ },
2197
+ "didCompile": true,
2198
+ "fqnsReferenced": [
2199
+ "@aws-cdk/aws-glue-alpha.DataFormat",
2200
+ "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
2201
+ "@aws-cdk/aws-glue-alpha.IDatabase",
2202
+ "@aws-cdk/aws-glue-alpha.Schema",
2203
+ "@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
2204
+ "@aws-cdk/aws-glue-alpha.Schema#STRING",
2205
+ "@aws-cdk/aws-glue-alpha.Table",
2206
+ "@aws-cdk/aws-glue-alpha.TableProps",
2207
+ "@aws-cdk/aws-glue-alpha.Type"
2208
+ ],
2209
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2210
+ "syntaxKindCounter": {
2211
+ "10": 5,
2212
+ "75": 29,
2213
+ "104": 1,
2214
+ "130": 1,
2215
+ "153": 1,
2216
+ "169": 1,
2217
+ "192": 2,
2218
+ "193": 4,
2219
+ "194": 9,
2220
+ "197": 1,
2221
+ "225": 1,
2222
+ "226": 1,
2223
+ "242": 1,
2224
+ "243": 1,
2225
+ "281": 11,
2226
+ "290": 1
2227
+ },
2228
+ "fqnsFingerprint": "046f69b994328e7c88bad23ae71581b4ec0a6f35ffb528ec2ff85ad7a017af98"
2229
+ },
2230
+ "e68db48645e9f627f294d5e39a11522a3764ad23da131dbcf715bdffc322a031": {
2231
+ "translations": {
2232
+ "python": {
2233
+ "source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n encryption=glue.TableEncryption.S3_MANAGED,\n # ...\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n data_format=glue.DataFormat.JSON\n)",
2234
+ "version": "1"
2235
+ },
2236
+ "csharp": {
2237
+ "source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Encryption = TableEncryption.S3_MANAGED,\n // ...\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n DataFormat = DataFormat.JSON\n});",
2238
+ "version": "1"
2239
+ },
2240
+ "java": {
2241
+ "source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .encryption(TableEncryption.S3_MANAGED)\n // ...\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
2242
+ "version": "1"
2243
+ },
2244
+ "$": {
2245
+ "source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.S3_MANAGED,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
2246
+ "version": "0"
2247
+ }
2248
+ },
2249
+ "location": {
2250
+ "api": {
2251
+ "api": "type",
2252
+ "fqn": "@aws-cdk/aws-glue-alpha.TableEncryption"
2253
+ },
2254
+ "field": {
2255
+ "field": "example"
2256
+ }
2257
+ },
2258
+ "didCompile": true,
2259
+ "fqnsReferenced": [
2260
+ "@aws-cdk/aws-glue-alpha.DataFormat",
2261
+ "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
2262
+ "@aws-cdk/aws-glue-alpha.IDatabase",
2263
+ "@aws-cdk/aws-glue-alpha.Schema",
2264
+ "@aws-cdk/aws-glue-alpha.Schema#STRING",
2265
+ "@aws-cdk/aws-glue-alpha.Table",
2266
+ "@aws-cdk/aws-glue-alpha.TableEncryption",
2267
+ "@aws-cdk/aws-glue-alpha.TableEncryption#S3_MANAGED",
2268
+ "@aws-cdk/aws-glue-alpha.TableProps",
2269
+ "@aws-cdk/aws-glue-alpha.Type"
2270
+ ],
2271
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.S3_MANAGED,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2272
+ "syntaxKindCounter": {
2273
+ "10": 3,
2274
+ "75": 22,
2275
+ "104": 1,
2276
+ "130": 1,
2277
+ "153": 1,
2278
+ "169": 1,
2279
+ "192": 1,
2280
+ "193": 2,
2281
+ "194": 7,
2282
+ "197": 1,
2283
+ "225": 1,
2284
+ "226": 1,
2285
+ "242": 1,
2286
+ "243": 1,
2287
+ "281": 7,
2288
+ "290": 1
2289
+ },
2290
+ "fqnsFingerprint": "fc5b3afccac185d3cee68f5c5f0dbe2e144beaf261f6cdba6e38b30ab4620f45"
2291
+ },
2292
+ "8d581ea5b2a1baf343e340eb91b3b2d0d33c893f077cc7babf9df084e123a8dc": {
2293
+ "translations": {
2294
+ "python": {
2295
+ "source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON\n)",
2296
+ "version": "1"
2297
+ },
2298
+ "csharp": {
2299
+ "source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n PartitionKeys = new [] { new Column {\n Name = \"year\",\n Type = Schema.SMALL_INT\n }, new Column {\n Name = \"month\",\n Type = Schema.SMALL_INT\n } },\n DataFormat = DataFormat.JSON\n});",
2300
+ "version": "1"
2301
+ },
2302
+ "java": {
2303
+ "source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .partitionKeys(List.of(Column.builder()\n .name(\"year\")\n .type(Schema.SMALL_INT)\n .build(), Column.builder()\n .name(\"month\")\n .type(Schema.SMALL_INT)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
2304
+ "version": "1"
2305
+ },
2306
+ "$": {
2307
+ "source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
2308
+ "version": "0"
2309
+ }
2310
+ },
2311
+ "location": {
2312
+ "api": {
2313
+ "api": "type",
2314
+ "fqn": "@aws-cdk/aws-glue-alpha.TableProps"
2315
+ },
2316
+ "field": {
2317
+ "field": "example"
2318
+ }
2319
+ },
2320
+ "didCompile": true,
2321
+ "fqnsReferenced": [
2322
+ "@aws-cdk/aws-glue-alpha.DataFormat",
2323
+ "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
2324
+ "@aws-cdk/aws-glue-alpha.IDatabase",
2325
+ "@aws-cdk/aws-glue-alpha.Schema",
2326
+ "@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
2327
+ "@aws-cdk/aws-glue-alpha.Schema#STRING",
2328
+ "@aws-cdk/aws-glue-alpha.Table",
2329
+ "@aws-cdk/aws-glue-alpha.TableProps",
2330
+ "@aws-cdk/aws-glue-alpha.Type"
2331
+ ],
2332
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2333
+ "syntaxKindCounter": {
2334
+ "10": 5,
2335
+ "75": 29,
2336
+ "104": 1,
2337
+ "130": 1,
2338
+ "153": 1,
2339
+ "169": 1,
2340
+ "192": 2,
2341
+ "193": 4,
2342
+ "194": 9,
2343
+ "197": 1,
2344
+ "225": 1,
2345
+ "226": 1,
2346
+ "242": 1,
2347
+ "243": 1,
2348
+ "281": 11,
2349
+ "290": 1
2350
+ },
2351
+ "fqnsFingerprint": "046f69b994328e7c88bad23ae71581b4ec0a6f35ffb528ec2ff85ad7a017af98"
2352
+ },
2353
+ "f373a88e102923527138f1af071ad5855fc71b2389cf0256ac5ac2cc908759ea": {
2354
+ "translations": {
2355
+ "python": {
2356
+ "source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON\n)",
2357
+ "version": "1"
2358
+ },
2359
+ "csharp": {
2360
+ "source": "Database myDatabase;\n\nnew Table(this, \"MyTable\", new TableProps {\n Database = myDatabase,\n TableName = \"my_table\",\n Columns = new [] { new Column {\n Name = \"col1\",\n Type = Schema.STRING\n } },\n PartitionKeys = new [] { new Column {\n Name = \"year\",\n Type = Schema.SMALL_INT\n }, new Column {\n Name = \"month\",\n Type = Schema.SMALL_INT\n } },\n DataFormat = DataFormat.JSON\n});",
2361
+ "version": "1"
2362
+ },
2363
+ "java": {
2364
+ "source": "Database myDatabase;\n\nTable.Builder.create(this, \"MyTable\")\n .database(myDatabase)\n .tableName(\"my_table\")\n .columns(List.of(Column.builder()\n .name(\"col1\")\n .type(Schema.STRING)\n .build()))\n .partitionKeys(List.of(Column.builder()\n .name(\"year\")\n .type(Schema.SMALL_INT)\n .build(), Column.builder()\n .name(\"month\")\n .type(Schema.SMALL_INT)\n .build()))\n .dataFormat(DataFormat.JSON)\n .build();",
2365
+ "version": "1"
2366
+ },
2367
+ "$": {
2368
+ "source": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
2369
+ "version": "0"
2370
+ }
2371
+ },
2372
+ "location": {
2373
+ "api": {
2374
+ "api": "type",
2375
+ "fqn": "@aws-cdk/aws-glue-alpha.Type"
2376
+ },
2377
+ "field": {
2378
+ "field": "example"
2379
+ }
2380
+ },
2381
+ "didCompile": true,
2382
+ "fqnsReferenced": [
2383
+ "@aws-cdk/aws-glue-alpha.DataFormat",
2384
+ "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
2385
+ "@aws-cdk/aws-glue-alpha.IDatabase",
2386
+ "@aws-cdk/aws-glue-alpha.Schema",
2387
+ "@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
2388
+ "@aws-cdk/aws-glue-alpha.Schema#STRING",
2389
+ "@aws-cdk/aws-glue-alpha.Table",
2390
+ "@aws-cdk/aws-glue-alpha.TableProps",
2391
+ "@aws-cdk/aws-glue-alpha.Type"
2392
+ ],
2393
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myDatabase: glue.Database;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2394
+ "syntaxKindCounter": {
2395
+ "10": 5,
2396
+ "75": 29,
2397
+ "104": 1,
2398
+ "130": 1,
2399
+ "153": 1,
2400
+ "169": 1,
2401
+ "192": 2,
2402
+ "193": 4,
2403
+ "194": 9,
2404
+ "197": 1,
2405
+ "225": 1,
2406
+ "226": 1,
2407
+ "242": 1,
2408
+ "243": 1,
2409
+ "281": 11,
2410
+ "290": 1
2411
+ },
2412
+ "fqnsFingerprint": "046f69b994328e7c88bad23ae71581b4ec0a6f35ffb528ec2ff85ad7a017af98"
2413
+ }
2414
+ }
2415
+ }