@aws-cdk/aws-glue-alpha 2.40.0-alpha.0 → 2.41.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii.tabl.json DELETED
@@ -1,4051 +0,0 @@
1
- {
2
- "version": "2",
3
- "toolVersion": "1.66.0",
4
- "snippets": {
5
- "acfd3bedd5746453e0a0519458aded634bdec6a9a0d56e4659cec69a921925a6": {
6
- "translations": {
7
- "python": {
8
- "source": "# bucket: s3.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": "2"
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
- "go": {
20
- "source": "var bucket bucket\n\nglue.NewJob(this, jsii.String(\"ScalaSparkEtlJob\"), &jobProps{\n\texecutable: glue.jobExecutable.scalaEtl(&scalaJobExecutableProps{\n\t\tglueVersion: glue.glueVersion_V2_0(),\n\t\tscript: glue.code.fromBucket(bucket, jsii.String(\"src/com/example/HelloWorld.scala\")),\n\t\tclassName: jsii.String(\"com.example.HelloWorld\"),\n\t\textraJars: []*code{\n\t\t\tglue.*code.fromBucket(bucket, jsii.String(\"jars/HelloWorld.jar\")),\n\t\t},\n\t}),\n\tdescription: jsii.String(\"an example Scala ETL job\"),\n})",
21
- "version": "1"
22
- },
23
- "$": {
24
- "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});",
25
- "version": "0"
26
- }
27
- },
28
- "location": {
29
- "api": {
30
- "api": "moduleReadme",
31
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
32
- },
33
- "field": {
34
- "field": "markdown",
35
- "line": 38
36
- }
37
- },
38
- "didCompile": true,
39
- "fqnsReferenced": [
40
- "@aws-cdk/aws-glue-alpha.Code",
41
- "@aws-cdk/aws-glue-alpha.Code#fromBucket",
42
- "@aws-cdk/aws-glue-alpha.GlueVersion",
43
- "@aws-cdk/aws-glue-alpha.GlueVersion#V2_0",
44
- "@aws-cdk/aws-glue-alpha.Job",
45
- "@aws-cdk/aws-glue-alpha.JobExecutable",
46
- "@aws-cdk/aws-glue-alpha.JobExecutable#scalaEtl",
47
- "@aws-cdk/aws-glue-alpha.JobProps",
48
- "@aws-cdk/aws-glue-alpha.ScalaJobExecutableProps",
49
- "aws-cdk-lib.aws_s3.IBucket",
50
- "constructs.Construct"
51
- ],
52
- "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",
53
- "syntaxKindCounter": {
54
- "10": 5,
55
- "75": 25,
56
- "104": 1,
57
- "130": 1,
58
- "153": 1,
59
- "169": 1,
60
- "192": 1,
61
- "193": 2,
62
- "194": 9,
63
- "196": 3,
64
- "197": 1,
65
- "225": 1,
66
- "226": 1,
67
- "242": 1,
68
- "243": 1,
69
- "281": 6,
70
- "290": 1
71
- },
72
- "fqnsFingerprint": "aa32cb159513993a558e683225552a6f21d4435c230c8f154453c280bd20ae67"
73
- },
74
- "52d8f72218212ecafb83bf5adb08b8c7d1c9bac1835e26008f6cd1455bf507c2": {
75
- "translations": {
76
- "python": {
77
- "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)",
78
- "version": "2"
79
- },
80
- "csharp": {
81
- "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});",
82
- "version": "1"
83
- },
84
- "java": {
85
- "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();",
86
- "version": "1"
87
- },
88
- "go": {
89
- "source": "glue.NewJob(this, jsii.String(\"PythonSparkStreamingJob\"), &jobProps{\n\texecutable: glue.jobExecutable.pythonStreaming(&pythonSparkJobExecutableProps{\n\t\tglueVersion: glue.glueVersion_V2_0(),\n\t\tpythonVersion: glue.pythonVersion_THREE,\n\t\tscript: glue.code.fromAsset(path.join(__dirname, jsii.String(\"job-script/hello_world.py\"))),\n\t}),\n\tdescription: jsii.String(\"an example Python Streaming job\"),\n})",
90
- "version": "1"
91
- },
92
- "$": {
93
- "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});",
94
- "version": "0"
95
- }
96
- },
97
- "location": {
98
- "api": {
99
- "api": "moduleReadme",
100
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
101
- },
102
- "field": {
103
- "field": "markdown",
104
- "line": 55
105
- }
106
- },
107
- "didCompile": true,
108
- "fqnsReferenced": [
109
- "@aws-cdk/aws-glue-alpha.Code",
110
- "@aws-cdk/aws-glue-alpha.Code#fromAsset",
111
- "@aws-cdk/aws-glue-alpha.GlueVersion",
112
- "@aws-cdk/aws-glue-alpha.GlueVersion#V2_0",
113
- "@aws-cdk/aws-glue-alpha.Job",
114
- "@aws-cdk/aws-glue-alpha.JobExecutable",
115
- "@aws-cdk/aws-glue-alpha.JobExecutable#pythonStreaming",
116
- "@aws-cdk/aws-glue-alpha.JobProps",
117
- "@aws-cdk/aws-glue-alpha.PythonSparkJobExecutableProps",
118
- "@aws-cdk/aws-glue-alpha.PythonVersion",
119
- "@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
120
- "constructs.Construct"
121
- ],
122
- "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",
123
- "syntaxKindCounter": {
124
- "10": 3,
125
- "75": 22,
126
- "104": 1,
127
- "193": 2,
128
- "194": 10,
129
- "196": 3,
130
- "197": 1,
131
- "226": 1,
132
- "281": 5
133
- },
134
- "fqnsFingerprint": "dce924ef296aae4735611f4957727230f03b58d11e7adc6e8b33cd47ba3040b5"
135
- },
136
- "315ff1895769be8ecf1e09dcf4f53d5678c1277852bfc3d17dd878119198744a": {
137
- "translations": {
138
- "python": {
139
- "source": "# bucket: s3.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)",
140
- "version": "2"
141
- },
142
- "csharp": {
143
- "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});",
144
- "version": "1"
145
- },
146
- "java": {
147
- "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();",
148
- "version": "1"
149
- },
150
- "go": {
151
- "source": "var bucket bucket\n\nglue.NewJob(this, jsii.String(\"PythonShellJob\"), &jobProps{\n\texecutable: glue.jobExecutable.pythonShell(&pythonShellExecutableProps{\n\t\tglueVersion: glue.glueVersion_V1_0(),\n\t\tpythonVersion: glue.pythonVersion_THREE,\n\t\tscript: glue.code.fromBucket(bucket, jsii.String(\"script.py\")),\n\t}),\n\tdescription: jsii.String(\"an example Python Shell job\"),\n})",
152
- "version": "1"
153
- },
154
- "$": {
155
- "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});",
156
- "version": "0"
157
- }
158
- },
159
- "location": {
160
- "api": {
161
- "api": "moduleReadme",
162
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
163
- },
164
- "field": {
165
- "field": "markdown",
166
- "line": 75
167
- }
168
- },
169
- "didCompile": true,
170
- "fqnsReferenced": [
171
- "@aws-cdk/aws-glue-alpha.Code",
172
- "@aws-cdk/aws-glue-alpha.Code#fromBucket",
173
- "@aws-cdk/aws-glue-alpha.GlueVersion",
174
- "@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
175
- "@aws-cdk/aws-glue-alpha.Job",
176
- "@aws-cdk/aws-glue-alpha.JobExecutable",
177
- "@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
178
- "@aws-cdk/aws-glue-alpha.JobProps",
179
- "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
180
- "@aws-cdk/aws-glue-alpha.PythonVersion",
181
- "@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
182
- "aws-cdk-lib.aws_s3.IBucket",
183
- "constructs.Construct"
184
- ],
185
- "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",
186
- "syntaxKindCounter": {
187
- "10": 3,
188
- "75": 23,
189
- "104": 1,
190
- "130": 1,
191
- "153": 1,
192
- "169": 1,
193
- "193": 2,
194
- "194": 9,
195
- "196": 2,
196
- "197": 1,
197
- "225": 1,
198
- "226": 1,
199
- "242": 1,
200
- "243": 1,
201
- "281": 5,
202
- "290": 1
203
- },
204
- "fqnsFingerprint": "2f3cc835b152576344e1d07f8c0c13c95fd214f9e7ad228e3c6719a7c17a5b14"
205
- },
206
- "c1935880a967906ea9c12cbe71c18267c58f458c685361b267c6c1a1b80044ec": {
207
- "translations": {
208
- "python": {
209
- "source": "# security_group: ec2.SecurityGroup\n# subnet: ec2.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)",
210
- "version": "2"
211
- },
212
- "csharp": {
213
- "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});",
214
- "version": "1"
215
- },
216
- "java": {
217
- "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();",
218
- "version": "1"
219
- },
220
- "go": {
221
- "source": "var securityGroup securityGroup\nvar subnet subnet\n\nglue.NewConnection(this, jsii.String(\"MyConnection\"), &connectionProps{\n\ttype: glue.connectionType_NETWORK(),\n\t// The security groups granting AWS Glue inbound access to the data source within the VPC\n\tsecurityGroups: []iSecurityGroup{\n\t\tsecurityGroup,\n\t},\n\t// The VPC subnet which contains the data source\n\tsubnet: subnet,\n})",
222
- "version": "1"
223
- },
224
- "$": {
225
- "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});",
226
- "version": "0"
227
- }
228
- },
229
- "location": {
230
- "api": {
231
- "api": "moduleReadme",
232
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
233
- },
234
- "field": {
235
- "field": "markdown",
236
- "line": 93
237
- }
238
- },
239
- "didCompile": true,
240
- "fqnsReferenced": [
241
- "@aws-cdk/aws-glue-alpha.Connection",
242
- "@aws-cdk/aws-glue-alpha.ConnectionProps",
243
- "@aws-cdk/aws-glue-alpha.ConnectionType",
244
- "@aws-cdk/aws-glue-alpha.ConnectionType#NETWORK",
245
- "aws-cdk-lib.aws_ec2.ISubnet",
246
- "constructs.Construct"
247
- ],
248
- "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",
249
- "syntaxKindCounter": {
250
- "10": 1,
251
- "75": 15,
252
- "104": 1,
253
- "130": 2,
254
- "153": 2,
255
- "169": 2,
256
- "192": 1,
257
- "193": 1,
258
- "194": 3,
259
- "197": 1,
260
- "225": 2,
261
- "226": 1,
262
- "242": 2,
263
- "243": 2,
264
- "281": 2,
265
- "282": 1,
266
- "290": 1
267
- },
268
- "fqnsFingerprint": "492b070969c9338cc04ce7abe2dddb85249c752b9d89588338d178aae2038d7c"
269
- },
270
- "ef204a1a1235566e396f1ffea0a46b1117af25a01acabd8c7c67f292fa61abc0": {
271
- "translations": {
272
- "python": {
273
- "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)",
274
- "version": "2"
275
- },
276
- "csharp": {
277
- "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});",
278
- "version": "1"
279
- },
280
- "java": {
281
- "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();",
282
- "version": "1"
283
- },
284
- "go": {
285
- "source": "glue.NewSecurityConfiguration(this, jsii.String(\"MySecurityConfiguration\"), &securityConfigurationProps{\n\tsecurityConfigurationName: jsii.String(\"name\"),\n\tcloudWatchEncryption: &cloudWatchEncryption{\n\t\tmode: glue.cloudWatchEncryptionMode_KMS,\n\t},\n\tjobBookmarksEncryption: &jobBookmarksEncryption{\n\t\tmode: glue.jobBookmarksEncryptionMode_CLIENT_SIDE_KMS,\n\t},\n\ts3Encryption: &s3Encryption{\n\t\tmode: glue.s3EncryptionMode_KMS,\n\t},\n})",
286
- "version": "1"
287
- },
288
- "$": {
289
- "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});",
290
- "version": "0"
291
- }
292
- },
293
- "location": {
294
- "api": {
295
- "api": "moduleReadme",
296
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
297
- },
298
- "field": {
299
- "field": "markdown",
300
- "line": 113
301
- }
302
- },
303
- "didCompile": true,
304
- "fqnsReferenced": [
305
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
306
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
307
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
308
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
309
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
310
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
311
- "@aws-cdk/aws-glue-alpha.S3Encryption",
312
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode",
313
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
314
- "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
315
- "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps",
316
- "constructs.Construct"
317
- ],
318
- "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",
319
- "syntaxKindCounter": {
320
- "10": 2,
321
- "75": 18,
322
- "104": 1,
323
- "193": 4,
324
- "194": 7,
325
- "197": 1,
326
- "226": 1,
327
- "281": 7
328
- },
329
- "fqnsFingerprint": "884c254bbcd3e4e5da44e4f624c6512cc3926252dbab843a59bead90c6c6aaa5"
330
- },
331
- "c3d64416750a52a9c314ca2dbd149c74e2b09e589effebe8e40bb0c1f6345ecc": {
332
- "translations": {
333
- "python": {
334
- "source": "# key: kms.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)",
335
- "version": "2"
336
- },
337
- "csharp": {
338
- "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});",
339
- "version": "1"
340
- },
341
- "java": {
342
- "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();",
343
- "version": "1"
344
- },
345
- "go": {
346
- "source": "var key key\n\nglue.NewSecurityConfiguration(this, jsii.String(\"MySecurityConfiguration\"), &securityConfigurationProps{\n\tsecurityConfigurationName: jsii.String(\"name\"),\n\tcloudWatchEncryption: &cloudWatchEncryption{\n\t\tmode: glue.cloudWatchEncryptionMode_KMS,\n\t\tkmsKey: key,\n\t},\n})",
347
- "version": "1"
348
- },
349
- "$": {
350
- "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});",
351
- "version": "0"
352
- }
353
- },
354
- "location": {
355
- "api": {
356
- "api": "moduleReadme",
357
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
358
- },
359
- "field": {
360
- "field": "markdown",
361
- "line": 130
362
- }
363
- },
364
- "didCompile": true,
365
- "fqnsReferenced": [
366
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
367
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
368
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
369
- "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
370
- "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps",
371
- "aws-cdk-lib.aws_kms.IKey",
372
- "constructs.Construct"
373
- ],
374
- "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",
375
- "syntaxKindCounter": {
376
- "10": 2,
377
- "75": 13,
378
- "104": 1,
379
- "130": 1,
380
- "153": 1,
381
- "169": 1,
382
- "193": 2,
383
- "194": 3,
384
- "197": 1,
385
- "225": 1,
386
- "226": 1,
387
- "242": 1,
388
- "243": 1,
389
- "281": 4,
390
- "290": 1
391
- },
392
- "fqnsFingerprint": "cba64e72620306e00b83d770c264231ee72140bb8311bfe79fb892a5e1b03c29"
393
- },
394
- "8bef7e198448a674159b525da392ac9b84bc32cc34cc06373fc37dc3312efaf5": {
395
- "translations": {
396
- "python": {
397
- "source": "glue.Database(self, \"MyDatabase\",\n database_name=\"my_database\"\n)",
398
- "version": "2"
399
- },
400
- "csharp": {
401
- "source": "new Database(this, \"MyDatabase\", new DatabaseProps {\n DatabaseName = \"my_database\"\n});",
402
- "version": "1"
403
- },
404
- "java": {
405
- "source": "Database.Builder.create(this, \"MyDatabase\")\n .databaseName(\"my_database\")\n .build();",
406
- "version": "1"
407
- },
408
- "go": {
409
- "source": "glue.NewDatabase(this, jsii.String(\"MyDatabase\"), &databaseProps{\n\tdatabaseName: jsii.String(\"my_database\"),\n})",
410
- "version": "1"
411
- },
412
- "$": {
413
- "source": "new glue.Database(this, 'MyDatabase', {\n databaseName: 'my_database',\n});",
414
- "version": "0"
415
- }
416
- },
417
- "location": {
418
- "api": {
419
- "api": "moduleReadme",
420
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
421
- },
422
- "field": {
423
- "field": "markdown",
424
- "line": 147
425
- }
426
- },
427
- "didCompile": true,
428
- "fqnsReferenced": [
429
- "@aws-cdk/aws-glue-alpha.Database",
430
- "@aws-cdk/aws-glue-alpha.DatabaseProps",
431
- "constructs.Construct"
432
- ],
433
- "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",
434
- "syntaxKindCounter": {
435
- "10": 2,
436
- "75": 3,
437
- "104": 1,
438
- "193": 1,
439
- "194": 1,
440
- "197": 1,
441
- "226": 1,
442
- "281": 1
443
- },
444
- "fqnsFingerprint": "d20415c635b676a96fec66aa721c1c8beb094f532cdda0947d5184bc7e0d8a41"
445
- },
446
- "29dce1a9c819135fecb5e9e6bb2e360c6e5c9e3c2d41e640a7c0581bbb1d3017": {
447
- "translations": {
448
- "python": {
449
- "source": "# my_database: glue.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)",
450
- "version": "2"
451
- },
452
- "csharp": {
453
- "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});",
454
- "version": "1"
455
- },
456
- "java": {
457
- "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();",
458
- "version": "1"
459
- },
460
- "go": {
461
- "source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"col2\"),\n\t\t\ttype: glue.*schema.array(glue.*schema_STRING()),\n\t\t\tcomment: jsii.String(\"col2 is an array of strings\"),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n})",
462
- "version": "1"
463
- },
464
- "$": {
465
- "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});",
466
- "version": "0"
467
- }
468
- },
469
- "location": {
470
- "api": {
471
- "api": "moduleReadme",
472
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
473
- },
474
- "field": {
475
- "field": "markdown",
476
- "line": 157
477
- }
478
- },
479
- "didCompile": true,
480
- "fqnsReferenced": [
481
- "@aws-cdk/aws-glue-alpha.DataFormat",
482
- "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
483
- "@aws-cdk/aws-glue-alpha.IDatabase",
484
- "@aws-cdk/aws-glue-alpha.Schema",
485
- "@aws-cdk/aws-glue-alpha.Schema#STRING",
486
- "@aws-cdk/aws-glue-alpha.Schema#array",
487
- "@aws-cdk/aws-glue-alpha.Table",
488
- "@aws-cdk/aws-glue-alpha.TableProps",
489
- "@aws-cdk/aws-glue-alpha.Type",
490
- "constructs.Construct"
491
- ],
492
- "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",
493
- "syntaxKindCounter": {
494
- "10": 5,
495
- "75": 27,
496
- "104": 1,
497
- "130": 1,
498
- "153": 1,
499
- "169": 1,
500
- "192": 1,
501
- "193": 3,
502
- "194": 9,
503
- "196": 1,
504
- "197": 1,
505
- "225": 1,
506
- "226": 1,
507
- "242": 1,
508
- "243": 1,
509
- "281": 9,
510
- "290": 1
511
- },
512
- "fqnsFingerprint": "c9d12e6c98c439ede95010298492c85d5b8a7ec52a88ca5230868d7378b8dced"
513
- },
514
- "48dbd3d1c174f209d2eeaf76fc65341fe9063494d3ecbf5d345f547ee1b64502": {
515
- "translations": {
516
- "python": {
517
- "source": "# my_bucket: s3.Bucket\n# my_database: glue.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)",
518
- "version": "2"
519
- },
520
- "csharp": {
521
- "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});",
522
- "version": "1"
523
- },
524
- "java": {
525
- "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();",
526
- "version": "1"
527
- },
528
- "go": {
529
- "source": "var myBucket bucket\nvar myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tbucket: myBucket,\n\ts3Prefix: jsii.String(\"my-table/\"),\n\t// ...\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n})",
530
- "version": "1"
531
- },
532
- "$": {
533
- "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});",
534
- "version": "0"
535
- }
536
- },
537
- "location": {
538
- "api": {
539
- "api": "moduleReadme",
540
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
541
- },
542
- "field": {
543
- "field": "markdown",
544
- "line": 176
545
- }
546
- },
547
- "didCompile": true,
548
- "fqnsReferenced": [
549
- "@aws-cdk/aws-glue-alpha.DataFormat",
550
- "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
551
- "@aws-cdk/aws-glue-alpha.IDatabase",
552
- "@aws-cdk/aws-glue-alpha.Schema",
553
- "@aws-cdk/aws-glue-alpha.Schema#STRING",
554
- "@aws-cdk/aws-glue-alpha.Table",
555
- "@aws-cdk/aws-glue-alpha.TableProps",
556
- "@aws-cdk/aws-glue-alpha.Type",
557
- "aws-cdk-lib.aws_s3.IBucket",
558
- "constructs.Construct"
559
- ],
560
- "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",
561
- "syntaxKindCounter": {
562
- "10": 4,
563
- "75": 24,
564
- "104": 1,
565
- "130": 2,
566
- "153": 2,
567
- "169": 2,
568
- "192": 1,
569
- "193": 2,
570
- "194": 5,
571
- "197": 1,
572
- "225": 2,
573
- "226": 1,
574
- "242": 2,
575
- "243": 2,
576
- "281": 8,
577
- "290": 1
578
- },
579
- "fqnsFingerprint": "9564d5c2e8d1394e27ec76a3a39bba18f6a3b4b990925d7a3522fcdbbce9b756"
580
- },
581
- "6f8305c4eac5dd7922f1d9957ed53b6029647282e7acc253a6a045a8d4c4a202": {
582
- "translations": {
583
- "python": {
584
- "source": "# my_database: glue.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)",
585
- "version": "2"
586
- },
587
- "csharp": {
588
- "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});",
589
- "version": "1"
590
- },
591
- "java": {
592
- "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();",
593
- "version": "1"
594
- },
595
- "go": {
596
- "source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n})",
597
- "version": "1"
598
- },
599
- "$": {
600
- "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});",
601
- "version": "0"
602
- }
603
- },
604
- "location": {
605
- "api": {
606
- "api": "moduleReadme",
607
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
608
- },
609
- "field": {
610
- "field": "markdown",
611
- "line": 199
612
- }
613
- },
614
- "didCompile": true,
615
- "fqnsReferenced": [
616
- "@aws-cdk/aws-glue-alpha.DataFormat",
617
- "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
618
- "@aws-cdk/aws-glue-alpha.IDatabase",
619
- "@aws-cdk/aws-glue-alpha.Schema",
620
- "@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
621
- "@aws-cdk/aws-glue-alpha.Schema#STRING",
622
- "@aws-cdk/aws-glue-alpha.Table",
623
- "@aws-cdk/aws-glue-alpha.TableProps",
624
- "@aws-cdk/aws-glue-alpha.Type",
625
- "constructs.Construct"
626
- ],
627
- "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",
628
- "syntaxKindCounter": {
629
- "10": 5,
630
- "75": 29,
631
- "104": 1,
632
- "130": 1,
633
- "153": 1,
634
- "169": 1,
635
- "192": 2,
636
- "193": 4,
637
- "194": 9,
638
- "197": 1,
639
- "225": 1,
640
- "226": 1,
641
- "242": 1,
642
- "243": 1,
643
- "281": 11,
644
- "290": 1
645
- },
646
- "fqnsFingerprint": "78755a5f857810726a2f4e8a72cb2b831a728a9a76a15fd6fbf1ebe932e9d8a2"
647
- },
648
- "0b301a07c6b9b33d8c51f6a28e0f51c77fd8060fb871a0bfc0a7c0c7bacf3c33": {
649
- "translations": {
650
- "python": {
651
- "source": "# my_database: glue.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 partition_indexes=[glue.PartitionIndex(\n index_name=\"my-index\", # optional\n key_names=[\"year\"]\n )], # supply up to 3 indexes\n data_format=glue.DataFormat.JSON\n)",
652
- "version": "2"
653
- },
654
- "csharp": {
655
- "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 PartitionIndexes = new [] { new PartitionIndex {\n IndexName = \"my-index\", // optional\n KeyNames = new [] { \"year\" }\n } }, // supply up to 3 indexes\n DataFormat = DataFormat.JSON\n});",
656
- "version": "1"
657
- },
658
- "java": {
659
- "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 .partitionIndexes(List.of(PartitionIndex.builder()\n .indexName(\"my-index\") // optional\n .keyNames(List.of(\"year\"))\n .build())) // supply up to 3 indexes\n .dataFormat(DataFormat.JSON)\n .build();",
660
- "version": "1"
661
- },
662
- "go": {
663
- "source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tpartitionIndexes: []partitionIndex{\n\t\t&partitionIndex{\n\t\t\tindexName: jsii.String(\"my-index\"),\n\t\t\t // optional\n\t\t\tkeyNames: []*string{\n\t\t\t\tjsii.String(\"year\"),\n\t\t\t},\n\t\t},\n\t},\n\t // supply up to 3 indexes\n\tdataFormat: glue.dataFormat_JSON(),\n})",
664
- "version": "1"
665
- },
666
- "$": {
667
- "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 partitionIndexes: [{\n indexName: 'my-index', // optional\n keyNames: ['year'],\n }], // supply up to 3 indexes\n dataFormat: glue.DataFormat.JSON,\n});",
668
- "version": "0"
669
- }
670
- },
671
- "location": {
672
- "api": {
673
- "api": "moduleReadme",
674
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
675
- },
676
- "field": {
677
- "field": "markdown",
678
- "line": 231
679
- }
680
- },
681
- "didCompile": true,
682
- "fqnsReferenced": [
683
- "@aws-cdk/aws-glue-alpha.DataFormat",
684
- "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
685
- "@aws-cdk/aws-glue-alpha.IDatabase",
686
- "@aws-cdk/aws-glue-alpha.Schema",
687
- "@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
688
- "@aws-cdk/aws-glue-alpha.Schema#STRING",
689
- "@aws-cdk/aws-glue-alpha.Table",
690
- "@aws-cdk/aws-glue-alpha.TableProps",
691
- "@aws-cdk/aws-glue-alpha.Type",
692
- "constructs.Construct"
693
- ],
694
- "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 partitionIndexes: [{\n indexName: 'my-index', // optional\n keyNames: ['year'],\n }], // supply up to 3 indexes\n dataFormat: glue.DataFormat.JSON,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
695
- "syntaxKindCounter": {
696
- "10": 7,
697
- "75": 32,
698
- "104": 1,
699
- "130": 1,
700
- "153": 1,
701
- "169": 1,
702
- "192": 4,
703
- "193": 5,
704
- "194": 9,
705
- "197": 1,
706
- "225": 1,
707
- "226": 1,
708
- "242": 1,
709
- "243": 1,
710
- "281": 14,
711
- "290": 1
712
- },
713
- "fqnsFingerprint": "78755a5f857810726a2f4e8a72cb2b831a728a9a76a15fd6fbf1ebe932e9d8a2"
714
- },
715
- "5793f08903a3c1e754b47f167920b7855031a92ae42242712e58982a10f732f8": {
716
- "translations": {
717
- "python": {
718
- "source": "# my_table: glue.Table\n\nmy_table.add_partition_index(\n index_name=\"my-index\",\n key_names=[\"year\"]\n)",
719
- "version": "2"
720
- },
721
- "csharp": {
722
- "source": "Table myTable;\n\nmyTable.AddPartitionIndex(new PartitionIndex {\n IndexName = \"my-index\",\n KeyNames = new [] { \"year\" }\n});",
723
- "version": "1"
724
- },
725
- "java": {
726
- "source": "Table myTable;\n\nmyTable.addPartitionIndex(PartitionIndex.builder()\n .indexName(\"my-index\")\n .keyNames(List.of(\"year\"))\n .build());",
727
- "version": "1"
728
- },
729
- "go": {
730
- "source": "var myTable table\n\nmyTable.addPartitionIndex(&partitionIndex{\n\tindexName: jsii.String(\"my-index\"),\n\tkeyNames: []*string{\n\t\tjsii.String(\"year\"),\n\t},\n})",
731
- "version": "1"
732
- },
733
- "$": {
734
- "source": "declare const myTable: glue.Table;\nmyTable.addPartitionIndex({\n indexName: 'my-index',\n keyNames: ['year'],\n});",
735
- "version": "0"
736
- }
737
- },
738
- "location": {
739
- "api": {
740
- "api": "moduleReadme",
741
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
742
- },
743
- "field": {
744
- "field": "markdown",
745
- "line": 257
746
- }
747
- },
748
- "didCompile": true,
749
- "fqnsReferenced": [
750
- "@aws-cdk/aws-glue-alpha.PartitionIndex",
751
- "@aws-cdk/aws-glue-alpha.Table#addPartitionIndex"
752
- ],
753
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myTable: glue.Table;\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\nmyTable.addPartitionIndex({\n indexName: 'my-index',\n keyNames: ['year'],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
754
- "syntaxKindCounter": {
755
- "10": 2,
756
- "75": 7,
757
- "130": 1,
758
- "153": 1,
759
- "169": 1,
760
- "192": 1,
761
- "193": 1,
762
- "194": 1,
763
- "196": 1,
764
- "225": 1,
765
- "226": 1,
766
- "242": 1,
767
- "243": 1,
768
- "281": 2,
769
- "290": 1
770
- },
771
- "fqnsFingerprint": "a0d3c72dce39fda589550323b519f24bfde6c55508df37f54038c751c7dc6dad"
772
- },
773
- "af23e00a95c0d120deba7cc23d0bafdfe1d8e0512183f5e80a549cd5c00e0ad3": {
774
- "translations": {
775
- "python": {
776
- "source": "# my_database: glue.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 enable_partition_filtering=True\n)",
777
- "version": "2"
778
- },
779
- "csharp": {
780
- "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 EnablePartitionFiltering = true\n});",
781
- "version": "1"
782
- },
783
- "java": {
784
- "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 .enablePartitionFiltering(true)\n .build();",
785
- "version": "1"
786
- },
787
- "go": {
788
- "source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n\tenablePartitionFiltering: jsii.Boolean(true),\n})",
789
- "version": "1"
790
- },
791
- "$": {
792
- "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 enablePartitionFiltering: true,\n});",
793
- "version": "0"
794
- }
795
- },
796
- "location": {
797
- "api": {
798
- "api": "moduleReadme",
799
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
800
- },
801
- "field": {
802
- "field": "markdown",
803
- "line": 269
804
- }
805
- },
806
- "didCompile": true,
807
- "fqnsReferenced": [
808
- "@aws-cdk/aws-glue-alpha.DataFormat",
809
- "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
810
- "@aws-cdk/aws-glue-alpha.IDatabase",
811
- "@aws-cdk/aws-glue-alpha.Schema",
812
- "@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
813
- "@aws-cdk/aws-glue-alpha.Schema#STRING",
814
- "@aws-cdk/aws-glue-alpha.Table",
815
- "@aws-cdk/aws-glue-alpha.TableProps",
816
- "@aws-cdk/aws-glue-alpha.Type",
817
- "constructs.Construct"
818
- ],
819
- "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 enablePartitionFiltering: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
820
- "syntaxKindCounter": {
821
- "10": 5,
822
- "75": 30,
823
- "104": 1,
824
- "106": 1,
825
- "130": 1,
826
- "153": 1,
827
- "169": 1,
828
- "192": 2,
829
- "193": 4,
830
- "194": 9,
831
- "197": 1,
832
- "225": 1,
833
- "226": 1,
834
- "242": 1,
835
- "243": 1,
836
- "281": 12,
837
- "290": 1
838
- },
839
- "fqnsFingerprint": "78755a5f857810726a2f4e8a72cb2b831a728a9a76a15fd6fbf1ebe932e9d8a2"
840
- },
841
- "1bf74f01c28cd1c12bfe4e509c382e9a91c8a523c72ddd76f2beb7a886917767": {
842
- "translations": {
843
- "python": {
844
- "source": "# my_database: glue.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)",
845
- "version": "2"
846
- },
847
- "csharp": {
848
- "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});",
849
- "version": "1"
850
- },
851
- "java": {
852
- "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();",
853
- "version": "1"
854
- },
855
- "go": {
856
- "source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tencryption: glue.tableEncryption_S3_MANAGED,\n\t// ...\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n})",
857
- "version": "1"
858
- },
859
- "$": {
860
- "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});",
861
- "version": "0"
862
- }
863
- },
864
- "location": {
865
- "api": {
866
- "api": "moduleReadme",
867
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
868
- },
869
- "field": {
870
- "field": "markdown",
871
- "line": 297
872
- }
873
- },
874
- "didCompile": true,
875
- "fqnsReferenced": [
876
- "@aws-cdk/aws-glue-alpha.DataFormat",
877
- "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
878
- "@aws-cdk/aws-glue-alpha.IDatabase",
879
- "@aws-cdk/aws-glue-alpha.Schema",
880
- "@aws-cdk/aws-glue-alpha.Schema#STRING",
881
- "@aws-cdk/aws-glue-alpha.Table",
882
- "@aws-cdk/aws-glue-alpha.TableEncryption",
883
- "@aws-cdk/aws-glue-alpha.TableEncryption#S3_MANAGED",
884
- "@aws-cdk/aws-glue-alpha.TableProps",
885
- "@aws-cdk/aws-glue-alpha.Type",
886
- "constructs.Construct"
887
- ],
888
- "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",
889
- "syntaxKindCounter": {
890
- "10": 3,
891
- "75": 22,
892
- "104": 1,
893
- "130": 1,
894
- "153": 1,
895
- "169": 1,
896
- "192": 1,
897
- "193": 2,
898
- "194": 7,
899
- "197": 1,
900
- "225": 1,
901
- "226": 1,
902
- "242": 1,
903
- "243": 1,
904
- "281": 7,
905
- "290": 1
906
- },
907
- "fqnsFingerprint": "5fb181fdb3494a53fba7252c537c67235f391802acb51bdf7e00cc655a7ba44e"
908
- },
909
- "55f3bda73e5d126d6982c01fe60e24b137f62f7503c71a26b574f77af03154da": {
910
- "translations": {
911
- "python": {
912
- "source": "# my_database: glue.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)",
913
- "version": "2"
914
- },
915
- "csharp": {
916
- "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});",
917
- "version": "1"
918
- },
919
- "java": {
920
- "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();",
921
- "version": "1"
922
- },
923
- "go": {
924
- "source": "var myDatabase database\n\n// KMS key is created automatically\n// KMS key is created automatically\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tencryption: glue.tableEncryption_KMS,\n\t// ...\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n})\n\n// with an explicit KMS key\n// with an explicit KMS key\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tencryption: glue.*tableEncryption_KMS,\n\tencryptionKey: kms.NewKey(this, jsii.String(\"MyKey\")),\n\t// ...\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.*schema_STRING(),\n\t\t},\n\t},\n\tdataFormat: glue.*dataFormat_JSON(),\n})",
925
- "version": "1"
926
- },
927
- "$": {
928
- "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});",
929
- "version": "0"
930
- }
931
- },
932
- "location": {
933
- "api": {
934
- "api": "moduleReadme",
935
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
936
- },
937
- "field": {
938
- "field": "markdown",
939
- "line": 314
940
- }
941
- },
942
- "didCompile": true,
943
- "fqnsReferenced": [
944
- "@aws-cdk/aws-glue-alpha.DataFormat",
945
- "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
946
- "@aws-cdk/aws-glue-alpha.IDatabase",
947
- "@aws-cdk/aws-glue-alpha.Schema",
948
- "@aws-cdk/aws-glue-alpha.Schema#STRING",
949
- "@aws-cdk/aws-glue-alpha.Table",
950
- "@aws-cdk/aws-glue-alpha.TableEncryption",
951
- "@aws-cdk/aws-glue-alpha.TableEncryption#KMS",
952
- "@aws-cdk/aws-glue-alpha.TableProps",
953
- "@aws-cdk/aws-glue-alpha.Type",
954
- "aws-cdk-lib.aws_kms.IKey",
955
- "aws-cdk-lib.aws_kms.Key",
956
- "constructs.Construct"
957
- ],
958
- "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",
959
- "syntaxKindCounter": {
960
- "10": 7,
961
- "75": 44,
962
- "104": 3,
963
- "130": 1,
964
- "153": 1,
965
- "169": 1,
966
- "192": 2,
967
- "193": 4,
968
- "194": 15,
969
- "197": 3,
970
- "225": 1,
971
- "226": 2,
972
- "242": 1,
973
- "243": 1,
974
- "281": 15,
975
- "290": 1
976
- },
977
- "fqnsFingerprint": "0679bcd3895a880a43d6f8a890507134f0cb74c31375b422b2a6020a619096ac"
978
- },
979
- "947cf227f2fe24990b73fa480fc791123e6d55a26e62236512474a508394481e": {
980
- "translations": {
981
- "python": {
982
- "source": "# my_database: glue.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)",
983
- "version": "2"
984
- },
985
- "csharp": {
986
- "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});",
987
- "version": "1"
988
- },
989
- "java": {
990
- "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();",
991
- "version": "1"
992
- },
993
- "go": {
994
- "source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tencryption: glue.tableEncryption_KMS_MANAGED,\n\t// ...\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n})",
995
- "version": "1"
996
- },
997
- "$": {
998
- "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});",
999
- "version": "0"
1000
- }
1001
- },
1002
- "location": {
1003
- "api": {
1004
- "api": "moduleReadme",
1005
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
1006
- },
1007
- "field": {
1008
- "field": "markdown",
1009
- "line": 346
1010
- }
1011
- },
1012
- "didCompile": true,
1013
- "fqnsReferenced": [
1014
- "@aws-cdk/aws-glue-alpha.DataFormat",
1015
- "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
1016
- "@aws-cdk/aws-glue-alpha.IDatabase",
1017
- "@aws-cdk/aws-glue-alpha.Schema",
1018
- "@aws-cdk/aws-glue-alpha.Schema#STRING",
1019
- "@aws-cdk/aws-glue-alpha.Table",
1020
- "@aws-cdk/aws-glue-alpha.TableEncryption",
1021
- "@aws-cdk/aws-glue-alpha.TableEncryption#KMS_MANAGED",
1022
- "@aws-cdk/aws-glue-alpha.TableProps",
1023
- "@aws-cdk/aws-glue-alpha.Type",
1024
- "constructs.Construct"
1025
- ],
1026
- "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",
1027
- "syntaxKindCounter": {
1028
- "10": 3,
1029
- "75": 22,
1030
- "104": 1,
1031
- "130": 1,
1032
- "153": 1,
1033
- "169": 1,
1034
- "192": 1,
1035
- "193": 2,
1036
- "194": 7,
1037
- "197": 1,
1038
- "225": 1,
1039
- "226": 1,
1040
- "242": 1,
1041
- "243": 1,
1042
- "281": 7,
1043
- "290": 1
1044
- },
1045
- "fqnsFingerprint": "d657e1b77956a94d54f2ad62159012af9bbfd9d9cb389af4cade406f5bb79f35"
1046
- },
1047
- "cafa3c798318567d0667513b707a7d24a2d9a7d6b6904a908056835d3471d193": {
1048
- "translations": {
1049
- "python": {
1050
- "source": "# my_database: glue.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)",
1051
- "version": "2"
1052
- },
1053
- "csharp": {
1054
- "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});",
1055
- "version": "1"
1056
- },
1057
- "java": {
1058
- "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();",
1059
- "version": "1"
1060
- },
1061
- "go": {
1062
- "source": "var myDatabase database\n\n// KMS key is created automatically\n// KMS key is created automatically\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tencryption: glue.tableEncryption_CLIENT_SIDE_KMS,\n\t// ...\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n})\n\n// with an explicit KMS key\n// with an explicit KMS key\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tencryption: glue.*tableEncryption_CLIENT_SIDE_KMS,\n\tencryptionKey: kms.NewKey(this, jsii.String(\"MyKey\")),\n\t// ...\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.*schema_STRING(),\n\t\t},\n\t},\n\tdataFormat: glue.*dataFormat_JSON(),\n})",
1063
- "version": "1"
1064
- },
1065
- "$": {
1066
- "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});",
1067
- "version": "0"
1068
- }
1069
- },
1070
- "location": {
1071
- "api": {
1072
- "api": "moduleReadme",
1073
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
1074
- },
1075
- "field": {
1076
- "field": "markdown",
1077
- "line": 363
1078
- }
1079
- },
1080
- "didCompile": true,
1081
- "fqnsReferenced": [
1082
- "@aws-cdk/aws-glue-alpha.DataFormat",
1083
- "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
1084
- "@aws-cdk/aws-glue-alpha.IDatabase",
1085
- "@aws-cdk/aws-glue-alpha.Schema",
1086
- "@aws-cdk/aws-glue-alpha.Schema#STRING",
1087
- "@aws-cdk/aws-glue-alpha.Table",
1088
- "@aws-cdk/aws-glue-alpha.TableEncryption",
1089
- "@aws-cdk/aws-glue-alpha.TableEncryption#CLIENT_SIDE_KMS",
1090
- "@aws-cdk/aws-glue-alpha.TableProps",
1091
- "@aws-cdk/aws-glue-alpha.Type",
1092
- "aws-cdk-lib.aws_kms.IKey",
1093
- "aws-cdk-lib.aws_kms.Key",
1094
- "constructs.Construct"
1095
- ],
1096
- "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",
1097
- "syntaxKindCounter": {
1098
- "10": 7,
1099
- "75": 44,
1100
- "104": 3,
1101
- "130": 1,
1102
- "153": 1,
1103
- "169": 1,
1104
- "192": 2,
1105
- "193": 4,
1106
- "194": 15,
1107
- "197": 3,
1108
- "225": 1,
1109
- "226": 2,
1110
- "242": 1,
1111
- "243": 1,
1112
- "281": 15,
1113
- "290": 1
1114
- },
1115
- "fqnsFingerprint": "ddc551c8df7d78f933d6a7a5a6d6a5e9040e0e5f740b7b8fa91042e0d29da249"
1116
- },
1117
- "f3bfc13f54c3ca5976a421d26282d95b14f4d31af0a1271ad09fcbd84418d7ab": {
1118
- "translations": {
1119
- "python": {
1120
- "source": "# my_database: glue.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)",
1121
- "version": "2"
1122
- },
1123
- "csharp": {
1124
- "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});",
1125
- "version": "1"
1126
- },
1127
- "java": {
1128
- "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();",
1129
- "version": "1"
1130
- },
1131
- "go": {
1132
- "source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"primitive_column\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"array_column\"),\n\t\t\ttype: glue.*schema.array(glue.*schema_INTEGER()),\n\t\t\tcomment: jsii.String(\"array<integer>\"),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"map_column\"),\n\t\t\ttype: glue.*schema.map(glue.*schema_STRING(), glue.*schema_TIMESTAMP()),\n\t\t\tcomment: jsii.String(\"map<string,string>\"),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"struct_column\"),\n\t\t\ttype: glue.*schema.struct_([]*column{\n\t\t\t\t&column{\n\t\t\t\t\tname: jsii.String(\"nested_column\"),\n\t\t\t\t\ttype: glue.*schema_DATE(),\n\t\t\t\t\tcomment: jsii.String(\"nested comment\"),\n\t\t\t\t},\n\t\t\t}),\n\t\t\tcomment: jsii.String(\"struct<nested_column:date COMMENT 'nested comment'>\"),\n\t\t},\n\t},\n\t// ...\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tdataFormat: glue.dataFormat_JSON(),\n})",
1133
- "version": "1"
1134
- },
1135
- "$": {
1136
- "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});",
1137
- "version": "0"
1138
- }
1139
- },
1140
- "location": {
1141
- "api": {
1142
- "api": "moduleReadme",
1143
- "moduleFqn": "@aws-cdk/aws-glue-alpha"
1144
- },
1145
- "field": {
1146
- "field": "markdown",
1147
- "line": 399
1148
- }
1149
- },
1150
- "didCompile": true,
1151
- "fqnsReferenced": [
1152
- "@aws-cdk/aws-glue-alpha.DataFormat",
1153
- "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
1154
- "@aws-cdk/aws-glue-alpha.IDatabase",
1155
- "@aws-cdk/aws-glue-alpha.Schema",
1156
- "@aws-cdk/aws-glue-alpha.Schema#DATE",
1157
- "@aws-cdk/aws-glue-alpha.Schema#INTEGER",
1158
- "@aws-cdk/aws-glue-alpha.Schema#STRING",
1159
- "@aws-cdk/aws-glue-alpha.Schema#TIMESTAMP",
1160
- "@aws-cdk/aws-glue-alpha.Schema#array",
1161
- "@aws-cdk/aws-glue-alpha.Schema#map",
1162
- "@aws-cdk/aws-glue-alpha.Schema#struct",
1163
- "@aws-cdk/aws-glue-alpha.Table",
1164
- "@aws-cdk/aws-glue-alpha.TableProps",
1165
- "@aws-cdk/aws-glue-alpha.Type",
1166
- "constructs.Construct"
1167
- ],
1168
- "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",
1169
- "syntaxKindCounter": {
1170
- "10": 11,
1171
- "75": 51,
1172
- "104": 1,
1173
- "130": 1,
1174
- "153": 1,
1175
- "169": 1,
1176
- "192": 2,
1177
- "193": 6,
1178
- "194": 19,
1179
- "196": 3,
1180
- "197": 1,
1181
- "225": 1,
1182
- "226": 1,
1183
- "242": 1,
1184
- "243": 1,
1185
- "281": 18,
1186
- "290": 1
1187
- },
1188
- "fqnsFingerprint": "81b0ecb9d5d4777ebae63941fde14d20b7f17e7ebe5f6a79492a4ee614013e0e"
1189
- },
1190
- "a4167626a2c3a0fee718aef587ce49166c2622667969a9c215cea5f0ec89cd8d": {
1191
- "translations": {
1192
- "python": {
1193
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\nimport aws_cdk as cdk\nfrom aws_cdk import aws_iam as iam\n\n# docker_image: cdk.DockerImage\n# grantable: iam.IGrantable\n# local_bundling: cdk.ILocalBundling\n\nasset_code = glue_alpha.AssetCode(\"path\",\n asset_hash=\"assetHash\",\n asset_hash_type=cdk.AssetHashType.SOURCE,\n bundling=cdk.BundlingOptions(\n image=docker_image,\n\n # the properties below are optional\n command=[\"command\"],\n entrypoint=[\"entrypoint\"],\n environment={\n \"environment_key\": \"environment\"\n },\n local=local_bundling,\n network=\"network\",\n output_type=cdk.BundlingOutput.ARCHIVED,\n security_opt=\"securityOpt\",\n user=\"user\",\n volumes=[cdk.DockerVolume(\n container_path=\"containerPath\",\n host_path=\"hostPath\",\n\n # the properties below are optional\n consistency=cdk.DockerVolumeConsistency.CONSISTENT\n )],\n working_directory=\"workingDirectory\"\n ),\n exclude=[\"exclude\"],\n follow_symlinks=cdk.SymlinkFollowMode.NEVER,\n ignore_mode=cdk.IgnoreMode.GLOB,\n readers=[grantable]\n)",
1194
- "version": "2"
1195
- },
1196
- "csharp": {
1197
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\nusing Amazon.CDK;\nusing Amazon.CDK.AWS.IAM;\n\nDockerImage dockerImage;\nIGrantable grantable;\nILocalBundling localBundling;\n\nAssetCode assetCode = new AssetCode(\"path\", new AssetOptions {\n AssetHash = \"assetHash\",\n AssetHashType = AssetHashType.SOURCE,\n Bundling = new BundlingOptions {\n Image = dockerImage,\n\n // the properties below are optional\n Command = new [] { \"command\" },\n Entrypoint = new [] { \"entrypoint\" },\n Environment = new Dictionary<string, string> {\n { \"environmentKey\", \"environment\" }\n },\n Local = localBundling,\n Network = \"network\",\n OutputType = BundlingOutput.ARCHIVED,\n SecurityOpt = \"securityOpt\",\n User = \"user\",\n Volumes = new [] { new DockerVolume {\n ContainerPath = \"containerPath\",\n HostPath = \"hostPath\",\n\n // the properties below are optional\n Consistency = DockerVolumeConsistency.CONSISTENT\n } },\n WorkingDirectory = \"workingDirectory\"\n },\n Exclude = new [] { \"exclude\" },\n FollowSymlinks = SymlinkFollowMode.NEVER,\n IgnoreMode = IgnoreMode.GLOB,\n Readers = new [] { grantable }\n});",
1198
- "version": "1"
1199
- },
1200
- "java": {
1201
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\nimport software.amazon.awscdk.*;\nimport software.amazon.awscdk.services.iam.*;\n\nDockerImage dockerImage;\nIGrantable grantable;\nILocalBundling localBundling;\n\nAssetCode assetCode = AssetCode.Builder.create(\"path\")\n .assetHash(\"assetHash\")\n .assetHashType(AssetHashType.SOURCE)\n .bundling(BundlingOptions.builder()\n .image(dockerImage)\n\n // the properties below are optional\n .command(List.of(\"command\"))\n .entrypoint(List.of(\"entrypoint\"))\n .environment(Map.of(\n \"environmentKey\", \"environment\"))\n .local(localBundling)\n .network(\"network\")\n .outputType(BundlingOutput.ARCHIVED)\n .securityOpt(\"securityOpt\")\n .user(\"user\")\n .volumes(List.of(DockerVolume.builder()\n .containerPath(\"containerPath\")\n .hostPath(\"hostPath\")\n\n // the properties below are optional\n .consistency(DockerVolumeConsistency.CONSISTENT)\n .build()))\n .workingDirectory(\"workingDirectory\")\n .build())\n .exclude(List.of(\"exclude\"))\n .followSymlinks(SymlinkFollowMode.NEVER)\n .ignoreMode(IgnoreMode.GLOB)\n .readers(List.of(grantable))\n .build();",
1202
- "version": "1"
1203
- },
1204
- "go": {
1205
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\nimport cdk \"github.com/aws/aws-cdk-go/awscdk\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar dockerImage dockerImage\nvar grantable iGrantable\nvar localBundling iLocalBundling\n\nassetCode := glue_alpha.NewAssetCode(jsii.String(\"path\"), &assetOptions{\n\tassetHash: jsii.String(\"assetHash\"),\n\tassetHashType: cdk.assetHashType_SOURCE,\n\tbundling: &bundlingOptions{\n\t\timage: dockerImage,\n\n\t\t// the properties below are optional\n\t\tcommand: []*string{\n\t\t\tjsii.String(\"command\"),\n\t\t},\n\t\tentrypoint: []*string{\n\t\t\tjsii.String(\"entrypoint\"),\n\t\t},\n\t\tenvironment: map[string]*string{\n\t\t\t\"environmentKey\": jsii.String(\"environment\"),\n\t\t},\n\t\tlocal: localBundling,\n\t\tnetwork: jsii.String(\"network\"),\n\t\toutputType: cdk.bundlingOutput_ARCHIVED,\n\t\tsecurityOpt: jsii.String(\"securityOpt\"),\n\t\tuser: jsii.String(\"user\"),\n\t\tvolumes: []dockerVolume{\n\t\t\t&dockerVolume{\n\t\t\t\tcontainerPath: jsii.String(\"containerPath\"),\n\t\t\t\thostPath: jsii.String(\"hostPath\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tconsistency: cdk.dockerVolumeConsistency_CONSISTENT,\n\t\t\t},\n\t\t},\n\t\tworkingDirectory: jsii.String(\"workingDirectory\"),\n\t},\n\texclude: []*string{\n\t\tjsii.String(\"exclude\"),\n\t},\n\tfollowSymlinks: cdk.symlinkFollowMode_NEVER,\n\tignoreMode: cdk.ignoreMode_GLOB,\n\treaders: []*iGrantable{\n\t\tgrantable,\n\t},\n})",
1206
- "version": "1"
1207
- },
1208
- "$": {
1209
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport * as cdk from 'aws-cdk-lib';\nimport { aws_iam as iam } from 'aws-cdk-lib';\n\ndeclare const dockerImage: cdk.DockerImage;\ndeclare const grantable: iam.IGrantable;\ndeclare const localBundling: cdk.ILocalBundling;\nconst assetCode = new glue_alpha.AssetCode('path', /* all optional props */ {\n assetHash: 'assetHash',\n assetHashType: cdk.AssetHashType.SOURCE,\n bundling: {\n image: dockerImage,\n\n // the properties below are optional\n command: ['command'],\n entrypoint: ['entrypoint'],\n environment: {\n environmentKey: 'environment',\n },\n local: localBundling,\n network: 'network',\n outputType: cdk.BundlingOutput.ARCHIVED,\n securityOpt: 'securityOpt',\n user: 'user',\n volumes: [{\n containerPath: 'containerPath',\n hostPath: 'hostPath',\n\n // the properties below are optional\n consistency: cdk.DockerVolumeConsistency.CONSISTENT,\n }],\n workingDirectory: 'workingDirectory',\n },\n exclude: ['exclude'],\n followSymlinks: cdk.SymlinkFollowMode.NEVER,\n ignoreMode: cdk.IgnoreMode.GLOB,\n readers: [grantable],\n});",
1210
- "version": "0"
1211
- }
1212
- },
1213
- "location": {
1214
- "api": {
1215
- "api": "type",
1216
- "fqn": "@aws-cdk/aws-glue-alpha.AssetCode"
1217
- },
1218
- "field": {
1219
- "field": "example"
1220
- }
1221
- },
1222
- "didCompile": true,
1223
- "fqnsReferenced": [
1224
- "@aws-cdk/aws-glue-alpha.AssetCode",
1225
- "aws-cdk-lib.AssetHashType",
1226
- "aws-cdk-lib.AssetHashType#SOURCE",
1227
- "aws-cdk-lib.BundlingOptions",
1228
- "aws-cdk-lib.BundlingOutput",
1229
- "aws-cdk-lib.BundlingOutput#ARCHIVED",
1230
- "aws-cdk-lib.DockerImage",
1231
- "aws-cdk-lib.DockerVolumeConsistency",
1232
- "aws-cdk-lib.DockerVolumeConsistency#CONSISTENT",
1233
- "aws-cdk-lib.ILocalBundling",
1234
- "aws-cdk-lib.IgnoreMode",
1235
- "aws-cdk-lib.IgnoreMode#GLOB",
1236
- "aws-cdk-lib.SymlinkFollowMode",
1237
- "aws-cdk-lib.SymlinkFollowMode#NEVER",
1238
- "aws-cdk-lib.aws_s3_assets.AssetOptions"
1239
- ],
1240
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport * as cdk from 'aws-cdk-lib';\nimport { aws_iam as iam } from 'aws-cdk-lib';\n\ndeclare const dockerImage: cdk.DockerImage;\ndeclare const grantable: iam.IGrantable;\ndeclare const localBundling: cdk.ILocalBundling;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst assetCode = new glue_alpha.AssetCode('path', /* all optional props */ {\n assetHash: 'assetHash',\n assetHashType: cdk.AssetHashType.SOURCE,\n bundling: {\n image: dockerImage,\n\n // the properties below are optional\n command: ['command'],\n entrypoint: ['entrypoint'],\n environment: {\n environmentKey: 'environment',\n },\n local: localBundling,\n network: 'network',\n outputType: cdk.BundlingOutput.ARCHIVED,\n securityOpt: 'securityOpt',\n user: 'user',\n volumes: [{\n containerPath: 'containerPath',\n hostPath: 'hostPath',\n\n // the properties below are optional\n consistency: cdk.DockerVolumeConsistency.CONSISTENT,\n }],\n workingDirectory: 'workingDirectory',\n },\n exclude: ['exclude'],\n followSymlinks: cdk.SymlinkFollowMode.NEVER,\n ignoreMode: cdk.IgnoreMode.GLOB,\n readers: [grantable],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
1241
- "syntaxKindCounter": {
1242
- "10": 15,
1243
- "75": 56,
1244
- "130": 3,
1245
- "153": 3,
1246
- "169": 3,
1247
- "192": 5,
1248
- "193": 4,
1249
- "194": 11,
1250
- "197": 1,
1251
- "225": 4,
1252
- "242": 4,
1253
- "243": 4,
1254
- "254": 3,
1255
- "255": 3,
1256
- "256": 2,
1257
- "257": 1,
1258
- "258": 1,
1259
- "281": 22,
1260
- "290": 1
1261
- },
1262
- "fqnsFingerprint": "3cbc613aa1b235b8653a07d5d75b624db136af75a75a1744e65dc50af5745af6"
1263
- },
1264
- "85ae39d2cb98561bddb593a9d1f16b2999a884dcb153915b9497d517ff1e1bdd": {
1265
- "translations": {
1266
- "python": {
1267
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\n\nclassification_string = glue_alpha.ClassificationString.AVRO",
1268
- "version": "2"
1269
- },
1270
- "csharp": {
1271
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\n\nClassificationString classificationString = ClassificationString.AVRO;",
1272
- "version": "1"
1273
- },
1274
- "java": {
1275
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\n\nClassificationString classificationString = ClassificationString.AVRO;",
1276
- "version": "1"
1277
- },
1278
- "go": {
1279
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\n\nclassificationString := glue_alpha.classificationString_AVRO()",
1280
- "version": "1"
1281
- },
1282
- "$": {
1283
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst classificationString = glue_alpha.ClassificationString.AVRO;",
1284
- "version": "0"
1285
- }
1286
- },
1287
- "location": {
1288
- "api": {
1289
- "api": "type",
1290
- "fqn": "@aws-cdk/aws-glue-alpha.ClassificationString"
1291
- },
1292
- "field": {
1293
- "field": "example"
1294
- }
1295
- },
1296
- "didCompile": true,
1297
- "fqnsReferenced": [
1298
- "@aws-cdk/aws-glue-alpha.ClassificationString",
1299
- "@aws-cdk/aws-glue-alpha.ClassificationString#AVRO"
1300
- ],
1301
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst classificationString = glue_alpha.ClassificationString.AVRO;\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
1302
- "syntaxKindCounter": {
1303
- "10": 1,
1304
- "75": 5,
1305
- "194": 2,
1306
- "225": 1,
1307
- "242": 1,
1308
- "243": 1,
1309
- "254": 1,
1310
- "255": 1,
1311
- "256": 1,
1312
- "290": 1
1313
- },
1314
- "fqnsFingerprint": "577e6d82523e5cc9135b5378ee446c1f7584d2ccff2a60c140d91cf871a388c3"
1315
- },
1316
- "78bb119e084ea7e52e5c81eae41038a47dd81d5eef83b3fa2473aa4164e4abbc": {
1317
- "translations": {
1318
- "python": {
1319
- "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)",
1320
- "version": "2"
1321
- },
1322
- "csharp": {
1323
- "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});",
1324
- "version": "1"
1325
- },
1326
- "java": {
1327
- "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();",
1328
- "version": "1"
1329
- },
1330
- "go": {
1331
- "source": "glue.NewSecurityConfiguration(this, jsii.String(\"MySecurityConfiguration\"), &securityConfigurationProps{\n\tsecurityConfigurationName: jsii.String(\"name\"),\n\tcloudWatchEncryption: &cloudWatchEncryption{\n\t\tmode: glue.cloudWatchEncryptionMode_KMS,\n\t},\n\tjobBookmarksEncryption: &jobBookmarksEncryption{\n\t\tmode: glue.jobBookmarksEncryptionMode_CLIENT_SIDE_KMS,\n\t},\n\ts3Encryption: &s3Encryption{\n\t\tmode: glue.s3EncryptionMode_KMS,\n\t},\n})",
1332
- "version": "1"
1333
- },
1334
- "$": {
1335
- "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});",
1336
- "version": "0"
1337
- }
1338
- },
1339
- "location": {
1340
- "api": {
1341
- "api": "type",
1342
- "fqn": "@aws-cdk/aws-glue-alpha.CloudWatchEncryption"
1343
- },
1344
- "field": {
1345
- "field": "example"
1346
- }
1347
- },
1348
- "didCompile": true,
1349
- "fqnsReferenced": [
1350
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
1351
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
1352
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
1353
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
1354
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
1355
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
1356
- "@aws-cdk/aws-glue-alpha.S3Encryption",
1357
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode",
1358
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
1359
- "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
1360
- "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps",
1361
- "constructs.Construct"
1362
- ],
1363
- "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",
1364
- "syntaxKindCounter": {
1365
- "10": 2,
1366
- "75": 18,
1367
- "104": 1,
1368
- "193": 4,
1369
- "194": 7,
1370
- "197": 1,
1371
- "226": 1,
1372
- "281": 7
1373
- },
1374
- "fqnsFingerprint": "884c254bbcd3e4e5da44e4f624c6512cc3926252dbab843a59bead90c6c6aaa5"
1375
- },
1376
- "0cad66ee90d643cdd032cf30162c3727eedf459df0159667900ab70fce7bc90f": {
1377
- "translations": {
1378
- "python": {
1379
- "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)",
1380
- "version": "2"
1381
- },
1382
- "csharp": {
1383
- "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});",
1384
- "version": "1"
1385
- },
1386
- "java": {
1387
- "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();",
1388
- "version": "1"
1389
- },
1390
- "go": {
1391
- "source": "glue.NewSecurityConfiguration(this, jsii.String(\"MySecurityConfiguration\"), &securityConfigurationProps{\n\tsecurityConfigurationName: jsii.String(\"name\"),\n\tcloudWatchEncryption: &cloudWatchEncryption{\n\t\tmode: glue.cloudWatchEncryptionMode_KMS,\n\t},\n\tjobBookmarksEncryption: &jobBookmarksEncryption{\n\t\tmode: glue.jobBookmarksEncryptionMode_CLIENT_SIDE_KMS,\n\t},\n\ts3Encryption: &s3Encryption{\n\t\tmode: glue.s3EncryptionMode_KMS,\n\t},\n})",
1392
- "version": "1"
1393
- },
1394
- "$": {
1395
- "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});",
1396
- "version": "0"
1397
- }
1398
- },
1399
- "location": {
1400
- "api": {
1401
- "api": "type",
1402
- "fqn": "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode"
1403
- },
1404
- "field": {
1405
- "field": "example"
1406
- }
1407
- },
1408
- "didCompile": true,
1409
- "fqnsReferenced": [
1410
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
1411
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
1412
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
1413
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
1414
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
1415
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
1416
- "@aws-cdk/aws-glue-alpha.S3Encryption",
1417
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode",
1418
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
1419
- "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
1420
- "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps",
1421
- "constructs.Construct"
1422
- ],
1423
- "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",
1424
- "syntaxKindCounter": {
1425
- "10": 2,
1426
- "75": 18,
1427
- "104": 1,
1428
- "193": 4,
1429
- "194": 7,
1430
- "197": 1,
1431
- "226": 1,
1432
- "281": 7
1433
- },
1434
- "fqnsFingerprint": "884c254bbcd3e4e5da44e4f624c6512cc3926252dbab843a59bead90c6c6aaa5"
1435
- },
1436
- "c8bdb8eb83b09b07d8f4825a7f34b32030d3c0ef3927f5278545ea1dd08a499e": {
1437
- "translations": {
1438
- "python": {
1439
- "source": "# bucket: s3.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)",
1440
- "version": "2"
1441
- },
1442
- "csharp": {
1443
- "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});",
1444
- "version": "1"
1445
- },
1446
- "java": {
1447
- "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();",
1448
- "version": "1"
1449
- },
1450
- "go": {
1451
- "source": "var bucket bucket\n\nglue.NewJob(this, jsii.String(\"PythonShellJob\"), &jobProps{\n\texecutable: glue.jobExecutable.pythonShell(&pythonShellExecutableProps{\n\t\tglueVersion: glue.glueVersion_V1_0(),\n\t\tpythonVersion: glue.pythonVersion_THREE,\n\t\tscript: glue.code.fromBucket(bucket, jsii.String(\"script.py\")),\n\t}),\n\tdescription: jsii.String(\"an example Python Shell job\"),\n})",
1452
- "version": "1"
1453
- },
1454
- "$": {
1455
- "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});",
1456
- "version": "0"
1457
- }
1458
- },
1459
- "location": {
1460
- "api": {
1461
- "api": "type",
1462
- "fqn": "@aws-cdk/aws-glue-alpha.Code"
1463
- },
1464
- "field": {
1465
- "field": "example"
1466
- }
1467
- },
1468
- "didCompile": true,
1469
- "fqnsReferenced": [
1470
- "@aws-cdk/aws-glue-alpha.Code",
1471
- "@aws-cdk/aws-glue-alpha.Code#fromBucket",
1472
- "@aws-cdk/aws-glue-alpha.GlueVersion",
1473
- "@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
1474
- "@aws-cdk/aws-glue-alpha.Job",
1475
- "@aws-cdk/aws-glue-alpha.JobExecutable",
1476
- "@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
1477
- "@aws-cdk/aws-glue-alpha.JobProps",
1478
- "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
1479
- "@aws-cdk/aws-glue-alpha.PythonVersion",
1480
- "@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
1481
- "aws-cdk-lib.aws_s3.IBucket",
1482
- "constructs.Construct"
1483
- ],
1484
- "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",
1485
- "syntaxKindCounter": {
1486
- "10": 3,
1487
- "75": 23,
1488
- "104": 1,
1489
- "130": 1,
1490
- "153": 1,
1491
- "169": 1,
1492
- "193": 2,
1493
- "194": 9,
1494
- "196": 2,
1495
- "197": 1,
1496
- "225": 1,
1497
- "226": 1,
1498
- "242": 1,
1499
- "243": 1,
1500
- "281": 5,
1501
- "290": 1
1502
- },
1503
- "fqnsFingerprint": "2f3cc835b152576344e1d07f8c0c13c95fd214f9e7ad228e3c6719a7c17a5b14"
1504
- },
1505
- "1497b3430cbccaf711f63747a1e5fac29c91af95451ebd10feb036af8382c928": {
1506
- "translations": {
1507
- "python": {
1508
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\n\ncode_config = glue_alpha.CodeConfig(\n s3_location=Location(\n bucket_name=\"bucketName\",\n object_key=\"objectKey\",\n\n # the properties below are optional\n object_version=\"objectVersion\"\n )\n)",
1509
- "version": "2"
1510
- },
1511
- "csharp": {
1512
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\n\nCodeConfig codeConfig = new CodeConfig {\n S3Location = new Location {\n BucketName = \"bucketName\",\n ObjectKey = \"objectKey\",\n\n // the properties below are optional\n ObjectVersion = \"objectVersion\"\n }\n};",
1513
- "version": "1"
1514
- },
1515
- "java": {
1516
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\n\nCodeConfig codeConfig = CodeConfig.builder()\n .s3Location(Location.builder()\n .bucketName(\"bucketName\")\n .objectKey(\"objectKey\")\n\n // the properties below are optional\n .objectVersion(\"objectVersion\")\n .build())\n .build();",
1517
- "version": "1"
1518
- },
1519
- "go": {
1520
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\n\ncodeConfig := &codeConfig{\n\ts3Location: &location{\n\t\tbucketName: jsii.String(\"bucketName\"),\n\t\tobjectKey: jsii.String(\"objectKey\"),\n\n\t\t// the properties below are optional\n\t\tobjectVersion: jsii.String(\"objectVersion\"),\n\t},\n}",
1521
- "version": "1"
1522
- },
1523
- "$": {
1524
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst codeConfig: glue_alpha.CodeConfig = {\n s3Location: {\n bucketName: 'bucketName',\n objectKey: 'objectKey',\n\n // the properties below are optional\n objectVersion: 'objectVersion',\n },\n};",
1525
- "version": "0"
1526
- }
1527
- },
1528
- "location": {
1529
- "api": {
1530
- "api": "type",
1531
- "fqn": "@aws-cdk/aws-glue-alpha.CodeConfig"
1532
- },
1533
- "field": {
1534
- "field": "example"
1535
- }
1536
- },
1537
- "didCompile": true,
1538
- "fqnsReferenced": [
1539
- "@aws-cdk/aws-glue-alpha.CodeConfig",
1540
- "aws-cdk-lib.aws_s3.Location"
1541
- ],
1542
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst codeConfig: glue_alpha.CodeConfig = {\n s3Location: {\n bucketName: 'bucketName',\n objectKey: 'objectKey',\n\n // the properties below are optional\n objectVersion: 'objectVersion',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
1543
- "syntaxKindCounter": {
1544
- "10": 4,
1545
- "75": 8,
1546
- "153": 1,
1547
- "169": 1,
1548
- "193": 2,
1549
- "225": 1,
1550
- "242": 1,
1551
- "243": 1,
1552
- "254": 1,
1553
- "255": 1,
1554
- "256": 1,
1555
- "281": 4,
1556
- "290": 1
1557
- },
1558
- "fqnsFingerprint": "6e0b69df87ba17b6313b7bda751adee3ef89511fd35013b7b12259f7f3a5f364"
1559
- },
1560
- "a614a651b7e8e65ad5aaa85fd61fbe01158af93ded52ccbffa1e93a33ecd6846": {
1561
- "translations": {
1562
- "python": {
1563
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\n\ncolumn = glue_alpha.Column(\n name=\"name\",\n type=glue_alpha.Type(\n input_string=\"inputString\",\n is_primitive=False\n ),\n\n # the properties below are optional\n comment=\"comment\"\n)",
1564
- "version": "2"
1565
- },
1566
- "csharp": {
1567
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\n\nColumn column = new Column {\n Name = \"name\",\n Type = new Type {\n InputString = \"inputString\",\n IsPrimitive = false\n },\n\n // the properties below are optional\n Comment = \"comment\"\n};",
1568
- "version": "1"
1569
- },
1570
- "java": {
1571
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\n\nColumn column = Column.builder()\n .name(\"name\")\n .type(Type.builder()\n .inputString(\"inputString\")\n .isPrimitive(false)\n .build())\n\n // the properties below are optional\n .comment(\"comment\")\n .build();",
1572
- "version": "1"
1573
- },
1574
- "go": {
1575
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\n\ncolumn := &column{\n\tname: jsii.String(\"name\"),\n\ttype: &type{\n\t\tinputString: jsii.String(\"inputString\"),\n\t\tisPrimitive: jsii.Boolean(false),\n\t},\n\n\t// the properties below are optional\n\tcomment: jsii.String(\"comment\"),\n}",
1576
- "version": "1"
1577
- },
1578
- "$": {
1579
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst column: glue_alpha.Column = {\n name: 'name',\n type: {\n inputString: 'inputString',\n isPrimitive: false,\n },\n\n // the properties below are optional\n comment: 'comment',\n};",
1580
- "version": "0"
1581
- }
1582
- },
1583
- "location": {
1584
- "api": {
1585
- "api": "type",
1586
- "fqn": "@aws-cdk/aws-glue-alpha.Column"
1587
- },
1588
- "field": {
1589
- "field": "example"
1590
- }
1591
- },
1592
- "didCompile": true,
1593
- "fqnsReferenced": [
1594
- "@aws-cdk/aws-glue-alpha.Column",
1595
- "@aws-cdk/aws-glue-alpha.Type"
1596
- ],
1597
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst column: glue_alpha.Column = {\n name: 'name',\n type: {\n inputString: 'inputString',\n isPrimitive: false,\n },\n\n // the properties below are optional\n comment: 'comment',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
1598
- "syntaxKindCounter": {
1599
- "10": 4,
1600
- "75": 9,
1601
- "91": 1,
1602
- "153": 1,
1603
- "169": 1,
1604
- "193": 2,
1605
- "225": 1,
1606
- "242": 1,
1607
- "243": 1,
1608
- "254": 1,
1609
- "255": 1,
1610
- "256": 1,
1611
- "281": 5,
1612
- "290": 1
1613
- },
1614
- "fqnsFingerprint": "8d7942cc676e899a6e8e956fde318a7d179e58b14952ae7e3646b549af0b8ff3"
1615
- },
1616
- "88b2f36f893a07c9b42fc87d210948cb7348a751d289b2eabbcc8d4c4d466391": {
1617
- "translations": {
1618
- "python": {
1619
- "source": "# security_group: ec2.SecurityGroup\n# subnet: ec2.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)",
1620
- "version": "2"
1621
- },
1622
- "csharp": {
1623
- "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});",
1624
- "version": "1"
1625
- },
1626
- "java": {
1627
- "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();",
1628
- "version": "1"
1629
- },
1630
- "go": {
1631
- "source": "var securityGroup securityGroup\nvar subnet subnet\n\nglue.NewConnection(this, jsii.String(\"MyConnection\"), &connectionProps{\n\ttype: glue.connectionType_NETWORK(),\n\t// The security groups granting AWS Glue inbound access to the data source within the VPC\n\tsecurityGroups: []iSecurityGroup{\n\t\tsecurityGroup,\n\t},\n\t// The VPC subnet which contains the data source\n\tsubnet: subnet,\n})",
1632
- "version": "1"
1633
- },
1634
- "$": {
1635
- "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});",
1636
- "version": "0"
1637
- }
1638
- },
1639
- "location": {
1640
- "api": {
1641
- "api": "type",
1642
- "fqn": "@aws-cdk/aws-glue-alpha.Connection"
1643
- },
1644
- "field": {
1645
- "field": "example"
1646
- }
1647
- },
1648
- "didCompile": true,
1649
- "fqnsReferenced": [
1650
- "@aws-cdk/aws-glue-alpha.Connection",
1651
- "@aws-cdk/aws-glue-alpha.ConnectionProps",
1652
- "@aws-cdk/aws-glue-alpha.ConnectionType",
1653
- "@aws-cdk/aws-glue-alpha.ConnectionType#NETWORK",
1654
- "aws-cdk-lib.aws_ec2.ISubnet",
1655
- "constructs.Construct"
1656
- ],
1657
- "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",
1658
- "syntaxKindCounter": {
1659
- "10": 1,
1660
- "75": 15,
1661
- "104": 1,
1662
- "130": 2,
1663
- "153": 2,
1664
- "169": 2,
1665
- "192": 1,
1666
- "193": 1,
1667
- "194": 3,
1668
- "197": 1,
1669
- "225": 2,
1670
- "226": 1,
1671
- "242": 2,
1672
- "243": 2,
1673
- "281": 2,
1674
- "282": 1,
1675
- "290": 1
1676
- },
1677
- "fqnsFingerprint": "492b070969c9338cc04ce7abe2dddb85249c752b9d89588338d178aae2038d7c"
1678
- },
1679
- "3fe018930d11961318b2a81c5f1864b3da3f5601c52ecc614371241e861ab42f": {
1680
- "translations": {
1681
- "python": {
1682
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\nfrom aws_cdk import aws_ec2 as ec2\n\n# security_group: ec2.SecurityGroup\n# subnet: ec2.Subnet\n\nconnection_options = glue_alpha.ConnectionOptions(\n connection_name=\"connectionName\",\n description=\"description\",\n match_criteria=[\"matchCriteria\"],\n properties={\n \"properties_key\": \"properties\"\n },\n security_groups=[security_group],\n subnet=subnet\n)",
1683
- "version": "2"
1684
- },
1685
- "csharp": {
1686
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\nusing Amazon.CDK.AWS.EC2;\n\nSecurityGroup securityGroup;\nSubnet subnet;\n\nConnectionOptions connectionOptions = new ConnectionOptions {\n ConnectionName = \"connectionName\",\n Description = \"description\",\n MatchCriteria = new [] { \"matchCriteria\" },\n Properties = new Dictionary<string, string> {\n { \"propertiesKey\", \"properties\" }\n },\n SecurityGroups = new [] { securityGroup },\n Subnet = subnet\n};",
1687
- "version": "1"
1688
- },
1689
- "java": {
1690
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\nimport software.amazon.awscdk.services.ec2.*;\n\nSecurityGroup securityGroup;\nSubnet subnet;\n\nConnectionOptions connectionOptions = ConnectionOptions.builder()\n .connectionName(\"connectionName\")\n .description(\"description\")\n .matchCriteria(List.of(\"matchCriteria\"))\n .properties(Map.of(\n \"propertiesKey\", \"properties\"))\n .securityGroups(List.of(securityGroup))\n .subnet(subnet)\n .build();",
1691
- "version": "1"
1692
- },
1693
- "go": {
1694
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar securityGroup securityGroup\nvar subnet subnet\n\nconnectionOptions := &connectionOptions{\n\tconnectionName: jsii.String(\"connectionName\"),\n\tdescription: jsii.String(\"description\"),\n\tmatchCriteria: []*string{\n\t\tjsii.String(\"matchCriteria\"),\n\t},\n\tproperties: map[string]*string{\n\t\t\"propertiesKey\": jsii.String(\"properties\"),\n\t},\n\tsecurityGroups: []iSecurityGroup{\n\t\tsecurityGroup,\n\t},\n\tsubnet: subnet,\n}",
1695
- "version": "1"
1696
- },
1697
- "$": {
1698
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\nconst connectionOptions: glue_alpha.ConnectionOptions = {\n connectionName: 'connectionName',\n description: 'description',\n matchCriteria: ['matchCriteria'],\n properties: {\n propertiesKey: 'properties',\n },\n securityGroups: [securityGroup],\n subnet: subnet,\n};",
1699
- "version": "0"
1700
- }
1701
- },
1702
- "location": {
1703
- "api": {
1704
- "api": "type",
1705
- "fqn": "@aws-cdk/aws-glue-alpha.ConnectionOptions"
1706
- },
1707
- "field": {
1708
- "field": "example"
1709
- }
1710
- },
1711
- "didCompile": true,
1712
- "fqnsReferenced": [
1713
- "@aws-cdk/aws-glue-alpha.ConnectionOptions",
1714
- "aws-cdk-lib.aws_ec2.ISubnet"
1715
- ],
1716
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst connectionOptions: glue_alpha.ConnectionOptions = {\n connectionName: 'connectionName',\n description: 'description',\n matchCriteria: ['matchCriteria'],\n properties: {\n propertiesKey: 'properties',\n },\n securityGroups: [securityGroup],\n subnet: subnet,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
1717
- "syntaxKindCounter": {
1718
- "10": 6,
1719
- "75": 21,
1720
- "130": 2,
1721
- "153": 3,
1722
- "169": 3,
1723
- "192": 2,
1724
- "193": 2,
1725
- "225": 3,
1726
- "242": 3,
1727
- "243": 3,
1728
- "254": 2,
1729
- "255": 2,
1730
- "256": 1,
1731
- "257": 1,
1732
- "258": 1,
1733
- "281": 7,
1734
- "290": 1
1735
- },
1736
- "fqnsFingerprint": "93e421bcb0a7c9234c9b396ba6aa5189c587da2682f4b67b358646330a5eebee"
1737
- },
1738
- "e1211ab39ed6fec79bd323ca5274000fcabdc176129cb4f9779ce2ff3b43ae51": {
1739
- "translations": {
1740
- "python": {
1741
- "source": "# security_group: ec2.SecurityGroup\n# subnet: ec2.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)",
1742
- "version": "2"
1743
- },
1744
- "csharp": {
1745
- "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});",
1746
- "version": "1"
1747
- },
1748
- "java": {
1749
- "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();",
1750
- "version": "1"
1751
- },
1752
- "go": {
1753
- "source": "var securityGroup securityGroup\nvar subnet subnet\n\nglue.NewConnection(this, jsii.String(\"MyConnection\"), &connectionProps{\n\ttype: glue.connectionType_NETWORK(),\n\t// The security groups granting AWS Glue inbound access to the data source within the VPC\n\tsecurityGroups: []iSecurityGroup{\n\t\tsecurityGroup,\n\t},\n\t// The VPC subnet which contains the data source\n\tsubnet: subnet,\n})",
1754
- "version": "1"
1755
- },
1756
- "$": {
1757
- "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});",
1758
- "version": "0"
1759
- }
1760
- },
1761
- "location": {
1762
- "api": {
1763
- "api": "type",
1764
- "fqn": "@aws-cdk/aws-glue-alpha.ConnectionProps"
1765
- },
1766
- "field": {
1767
- "field": "example"
1768
- }
1769
- },
1770
- "didCompile": true,
1771
- "fqnsReferenced": [
1772
- "@aws-cdk/aws-glue-alpha.Connection",
1773
- "@aws-cdk/aws-glue-alpha.ConnectionProps",
1774
- "@aws-cdk/aws-glue-alpha.ConnectionType",
1775
- "@aws-cdk/aws-glue-alpha.ConnectionType#NETWORK",
1776
- "aws-cdk-lib.aws_ec2.ISubnet",
1777
- "constructs.Construct"
1778
- ],
1779
- "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",
1780
- "syntaxKindCounter": {
1781
- "10": 1,
1782
- "75": 15,
1783
- "104": 1,
1784
- "130": 2,
1785
- "153": 2,
1786
- "169": 2,
1787
- "192": 1,
1788
- "193": 1,
1789
- "194": 3,
1790
- "197": 1,
1791
- "225": 2,
1792
- "226": 1,
1793
- "242": 2,
1794
- "243": 2,
1795
- "281": 2,
1796
- "282": 1,
1797
- "290": 1
1798
- },
1799
- "fqnsFingerprint": "492b070969c9338cc04ce7abe2dddb85249c752b9d89588338d178aae2038d7c"
1800
- },
1801
- "c3acda6afb130f5dc8c4d42c2078db37e2f2bc178bbe7ae224f1f3fac68bb300": {
1802
- "translations": {
1803
- "python": {
1804
- "source": "# security_group: ec2.SecurityGroup\n# subnet: ec2.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)",
1805
- "version": "2"
1806
- },
1807
- "csharp": {
1808
- "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});",
1809
- "version": "1"
1810
- },
1811
- "java": {
1812
- "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();",
1813
- "version": "1"
1814
- },
1815
- "go": {
1816
- "source": "var securityGroup securityGroup\nvar subnet subnet\n\nglue.NewConnection(this, jsii.String(\"MyConnection\"), &connectionProps{\n\ttype: glue.connectionType_NETWORK(),\n\t// The security groups granting AWS Glue inbound access to the data source within the VPC\n\tsecurityGroups: []iSecurityGroup{\n\t\tsecurityGroup,\n\t},\n\t// The VPC subnet which contains the data source\n\tsubnet: subnet,\n})",
1817
- "version": "1"
1818
- },
1819
- "$": {
1820
- "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});",
1821
- "version": "0"
1822
- }
1823
- },
1824
- "location": {
1825
- "api": {
1826
- "api": "type",
1827
- "fqn": "@aws-cdk/aws-glue-alpha.ConnectionType"
1828
- },
1829
- "field": {
1830
- "field": "example"
1831
- }
1832
- },
1833
- "didCompile": true,
1834
- "fqnsReferenced": [
1835
- "@aws-cdk/aws-glue-alpha.Connection",
1836
- "@aws-cdk/aws-glue-alpha.ConnectionProps",
1837
- "@aws-cdk/aws-glue-alpha.ConnectionType",
1838
- "@aws-cdk/aws-glue-alpha.ConnectionType#NETWORK",
1839
- "aws-cdk-lib.aws_ec2.ISubnet",
1840
- "constructs.Construct"
1841
- ],
1842
- "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",
1843
- "syntaxKindCounter": {
1844
- "10": 1,
1845
- "75": 15,
1846
- "104": 1,
1847
- "130": 2,
1848
- "153": 2,
1849
- "169": 2,
1850
- "192": 1,
1851
- "193": 1,
1852
- "194": 3,
1853
- "197": 1,
1854
- "225": 2,
1855
- "226": 1,
1856
- "242": 2,
1857
- "243": 2,
1858
- "281": 2,
1859
- "282": 1,
1860
- "290": 1
1861
- },
1862
- "fqnsFingerprint": "492b070969c9338cc04ce7abe2dddb85249c752b9d89588338d178aae2038d7c"
1863
- },
1864
- "89ab7513aedb510cbf6bdf12d311bf615f341be96883069e9dbf80dab7a71fdf": {
1865
- "translations": {
1866
- "python": {
1867
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\nfrom aws_cdk import aws_logs as logs\n\n# log_group: logs.LogGroup\n\ncontinuous_logging_props = glue_alpha.ContinuousLoggingProps(\n enabled=False,\n\n # the properties below are optional\n conversion_pattern=\"conversionPattern\",\n log_group=log_group,\n log_stream_prefix=\"logStreamPrefix\",\n quiet=False\n)",
1868
- "version": "2"
1869
- },
1870
- "csharp": {
1871
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\nusing Amazon.CDK.AWS.Logs;\n\nLogGroup logGroup;\n\nContinuousLoggingProps continuousLoggingProps = new ContinuousLoggingProps {\n Enabled = false,\n\n // the properties below are optional\n ConversionPattern = \"conversionPattern\",\n LogGroup = logGroup,\n LogStreamPrefix = \"logStreamPrefix\",\n Quiet = false\n};",
1872
- "version": "1"
1873
- },
1874
- "java": {
1875
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\nimport software.amazon.awscdk.services.logs.*;\n\nLogGroup logGroup;\n\nContinuousLoggingProps continuousLoggingProps = ContinuousLoggingProps.builder()\n .enabled(false)\n\n // the properties below are optional\n .conversionPattern(\"conversionPattern\")\n .logGroup(logGroup)\n .logStreamPrefix(\"logStreamPrefix\")\n .quiet(false)\n .build();",
1876
- "version": "1"
1877
- },
1878
- "go": {
1879
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar logGroup logGroup\n\ncontinuousLoggingProps := &continuousLoggingProps{\n\tenabled: jsii.Boolean(false),\n\n\t// the properties below are optional\n\tconversionPattern: jsii.String(\"conversionPattern\"),\n\tlogGroup: logGroup,\n\tlogStreamPrefix: jsii.String(\"logStreamPrefix\"),\n\tquiet: jsii.Boolean(false),\n}",
1880
- "version": "1"
1881
- },
1882
- "$": {
1883
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_logs as logs } from 'aws-cdk-lib';\n\ndeclare const logGroup: logs.LogGroup;\nconst continuousLoggingProps: glue_alpha.ContinuousLoggingProps = {\n enabled: false,\n\n // the properties below are optional\n conversionPattern: 'conversionPattern',\n logGroup: logGroup,\n logStreamPrefix: 'logStreamPrefix',\n quiet: false,\n};",
1884
- "version": "0"
1885
- }
1886
- },
1887
- "location": {
1888
- "api": {
1889
- "api": "type",
1890
- "fqn": "@aws-cdk/aws-glue-alpha.ContinuousLoggingProps"
1891
- },
1892
- "field": {
1893
- "field": "example"
1894
- }
1895
- },
1896
- "didCompile": true,
1897
- "fqnsReferenced": [
1898
- "@aws-cdk/aws-glue-alpha.ContinuousLoggingProps",
1899
- "aws-cdk-lib.aws_logs.ILogGroup"
1900
- ],
1901
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_logs as logs } from 'aws-cdk-lib';\n\ndeclare const logGroup: logs.LogGroup;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst continuousLoggingProps: glue_alpha.ContinuousLoggingProps = {\n enabled: false,\n\n // the properties below are optional\n conversionPattern: 'conversionPattern',\n logGroup: logGroup,\n logStreamPrefix: 'logStreamPrefix',\n quiet: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
1902
- "syntaxKindCounter": {
1903
- "10": 4,
1904
- "75": 15,
1905
- "91": 2,
1906
- "130": 1,
1907
- "153": 2,
1908
- "169": 2,
1909
- "193": 1,
1910
- "225": 2,
1911
- "242": 2,
1912
- "243": 2,
1913
- "254": 2,
1914
- "255": 2,
1915
- "256": 1,
1916
- "257": 1,
1917
- "258": 1,
1918
- "281": 5,
1919
- "290": 1
1920
- },
1921
- "fqnsFingerprint": "7316954f599dfde729ff1cc54a236474d4d62b1e80e863494a07875e1d194897"
1922
- },
1923
- "87f21c3705de41301203595c65107f6fdac7d1c5c39e17fbdef4c2c9765c448f": {
1924
- "translations": {
1925
- "python": {
1926
- "source": "# my_database: glue.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 enable_partition_filtering=True\n)",
1927
- "version": "2"
1928
- },
1929
- "csharp": {
1930
- "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 EnablePartitionFiltering = true\n});",
1931
- "version": "1"
1932
- },
1933
- "java": {
1934
- "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 .enablePartitionFiltering(true)\n .build();",
1935
- "version": "1"
1936
- },
1937
- "go": {
1938
- "source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n\tenablePartitionFiltering: jsii.Boolean(true),\n})",
1939
- "version": "1"
1940
- },
1941
- "$": {
1942
- "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 enablePartitionFiltering: true,\n});",
1943
- "version": "0"
1944
- }
1945
- },
1946
- "location": {
1947
- "api": {
1948
- "api": "type",
1949
- "fqn": "@aws-cdk/aws-glue-alpha.DataFormat"
1950
- },
1951
- "field": {
1952
- "field": "example"
1953
- }
1954
- },
1955
- "didCompile": true,
1956
- "fqnsReferenced": [
1957
- "@aws-cdk/aws-glue-alpha.DataFormat",
1958
- "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
1959
- "@aws-cdk/aws-glue-alpha.IDatabase",
1960
- "@aws-cdk/aws-glue-alpha.Schema",
1961
- "@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
1962
- "@aws-cdk/aws-glue-alpha.Schema#STRING",
1963
- "@aws-cdk/aws-glue-alpha.Table",
1964
- "@aws-cdk/aws-glue-alpha.TableProps",
1965
- "@aws-cdk/aws-glue-alpha.Type",
1966
- "constructs.Construct"
1967
- ],
1968
- "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 enablePartitionFiltering: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1969
- "syntaxKindCounter": {
1970
- "10": 5,
1971
- "75": 30,
1972
- "104": 1,
1973
- "106": 1,
1974
- "130": 1,
1975
- "153": 1,
1976
- "169": 1,
1977
- "192": 2,
1978
- "193": 4,
1979
- "194": 9,
1980
- "197": 1,
1981
- "225": 1,
1982
- "226": 1,
1983
- "242": 1,
1984
- "243": 1,
1985
- "281": 12,
1986
- "290": 1
1987
- },
1988
- "fqnsFingerprint": "78755a5f857810726a2f4e8a72cb2b831a728a9a76a15fd6fbf1ebe932e9d8a2"
1989
- },
1990
- "cbc7bf4c317a8ec8fc5c9256688a20db175d859b28fc3054eba52e51c9876498": {
1991
- "translations": {
1992
- "python": {
1993
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\n\n# classification_string: glue_alpha.ClassificationString\n# input_format: glue_alpha.InputFormat\n# output_format: glue_alpha.OutputFormat\n# serialization_library: glue_alpha.SerializationLibrary\n\ndata_format_props = glue_alpha.DataFormatProps(\n input_format=input_format,\n output_format=output_format,\n serialization_library=serialization_library,\n\n # the properties below are optional\n classification_string=classification_string\n)",
1994
- "version": "2"
1995
- },
1996
- "csharp": {
1997
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\n\nClassificationString classificationString;\nInputFormat inputFormat;\nOutputFormat outputFormat;\nSerializationLibrary serializationLibrary;\n\nDataFormatProps dataFormatProps = new DataFormatProps {\n InputFormat = inputFormat,\n OutputFormat = outputFormat,\n SerializationLibrary = serializationLibrary,\n\n // the properties below are optional\n ClassificationString = classificationString\n};",
1998
- "version": "1"
1999
- },
2000
- "java": {
2001
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\n\nClassificationString classificationString;\nInputFormat inputFormat;\nOutputFormat outputFormat;\nSerializationLibrary serializationLibrary;\n\nDataFormatProps dataFormatProps = DataFormatProps.builder()\n .inputFormat(inputFormat)\n .outputFormat(outputFormat)\n .serializationLibrary(serializationLibrary)\n\n // the properties below are optional\n .classificationString(classificationString)\n .build();",
2002
- "version": "1"
2003
- },
2004
- "go": {
2005
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\n\nvar classificationString classificationString\nvar inputFormat inputFormat\nvar outputFormat outputFormat\nvar serializationLibrary serializationLibrary\n\ndataFormatProps := &dataFormatProps{\n\tinputFormat: inputFormat,\n\toutputFormat: outputFormat,\n\tserializationLibrary: serializationLibrary,\n\n\t// the properties below are optional\n\tclassificationString: classificationString,\n}",
2006
- "version": "1"
2007
- },
2008
- "$": {
2009
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n\ndeclare const classificationString: glue_alpha.ClassificationString;\ndeclare const inputFormat: glue_alpha.InputFormat;\ndeclare const outputFormat: glue_alpha.OutputFormat;\ndeclare const serializationLibrary: glue_alpha.SerializationLibrary;\nconst dataFormatProps: glue_alpha.DataFormatProps = {\n inputFormat: inputFormat,\n outputFormat: outputFormat,\n serializationLibrary: serializationLibrary,\n\n // the properties below are optional\n classificationString: classificationString,\n};",
2010
- "version": "0"
2011
- }
2012
- },
2013
- "location": {
2014
- "api": {
2015
- "api": "type",
2016
- "fqn": "@aws-cdk/aws-glue-alpha.DataFormatProps"
2017
- },
2018
- "field": {
2019
- "field": "example"
2020
- }
2021
- },
2022
- "didCompile": true,
2023
- "fqnsReferenced": [
2024
- "@aws-cdk/aws-glue-alpha.ClassificationString",
2025
- "@aws-cdk/aws-glue-alpha.DataFormatProps",
2026
- "@aws-cdk/aws-glue-alpha.InputFormat",
2027
- "@aws-cdk/aws-glue-alpha.OutputFormat",
2028
- "@aws-cdk/aws-glue-alpha.SerializationLibrary"
2029
- ],
2030
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n\ndeclare const classificationString: glue_alpha.ClassificationString;\ndeclare const inputFormat: glue_alpha.InputFormat;\ndeclare const outputFormat: glue_alpha.OutputFormat;\ndeclare const serializationLibrary: glue_alpha.SerializationLibrary;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst dataFormatProps: glue_alpha.DataFormatProps = {\n inputFormat: inputFormat,\n outputFormat: outputFormat,\n serializationLibrary: serializationLibrary,\n\n // the properties below are optional\n classificationString: classificationString,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
2031
- "syntaxKindCounter": {
2032
- "10": 1,
2033
- "75": 24,
2034
- "130": 4,
2035
- "153": 5,
2036
- "169": 5,
2037
- "193": 1,
2038
- "225": 5,
2039
- "242": 5,
2040
- "243": 5,
2041
- "254": 1,
2042
- "255": 1,
2043
- "256": 1,
2044
- "281": 4,
2045
- "290": 1
2046
- },
2047
- "fqnsFingerprint": "20eda6b5525bd906f36cf657e6fdc2bc31973555af624129c544b4a5942882e8"
2048
- },
2049
- "7a03ebf936c887caa8daa01417d58af81ba37664c29ca53dc0b5ad3c7dfe2fb6": {
2050
- "translations": {
2051
- "python": {
2052
- "source": "glue.Database(self, \"MyDatabase\",\n database_name=\"my_database\"\n)",
2053
- "version": "2"
2054
- },
2055
- "csharp": {
2056
- "source": "new Database(this, \"MyDatabase\", new DatabaseProps {\n DatabaseName = \"my_database\"\n});",
2057
- "version": "1"
2058
- },
2059
- "java": {
2060
- "source": "Database.Builder.create(this, \"MyDatabase\")\n .databaseName(\"my_database\")\n .build();",
2061
- "version": "1"
2062
- },
2063
- "go": {
2064
- "source": "glue.NewDatabase(this, jsii.String(\"MyDatabase\"), &databaseProps{\n\tdatabaseName: jsii.String(\"my_database\"),\n})",
2065
- "version": "1"
2066
- },
2067
- "$": {
2068
- "source": "new glue.Database(this, 'MyDatabase', {\n databaseName: 'my_database',\n});",
2069
- "version": "0"
2070
- }
2071
- },
2072
- "location": {
2073
- "api": {
2074
- "api": "type",
2075
- "fqn": "@aws-cdk/aws-glue-alpha.Database"
2076
- },
2077
- "field": {
2078
- "field": "example"
2079
- }
2080
- },
2081
- "didCompile": true,
2082
- "fqnsReferenced": [
2083
- "@aws-cdk/aws-glue-alpha.Database",
2084
- "@aws-cdk/aws-glue-alpha.DatabaseProps",
2085
- "constructs.Construct"
2086
- ],
2087
- "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",
2088
- "syntaxKindCounter": {
2089
- "10": 2,
2090
- "75": 3,
2091
- "104": 1,
2092
- "193": 1,
2093
- "194": 1,
2094
- "197": 1,
2095
- "226": 1,
2096
- "281": 1
2097
- },
2098
- "fqnsFingerprint": "d20415c635b676a96fec66aa721c1c8beb094f532cdda0947d5184bc7e0d8a41"
2099
- },
2100
- "1ba7c08ac10b41363cebc03f9869769b46bd5c67723a1ee827653dd6379bd184": {
2101
- "translations": {
2102
- "python": {
2103
- "source": "glue.Database(self, \"MyDatabase\",\n database_name=\"my_database\"\n)",
2104
- "version": "2"
2105
- },
2106
- "csharp": {
2107
- "source": "new Database(this, \"MyDatabase\", new DatabaseProps {\n DatabaseName = \"my_database\"\n});",
2108
- "version": "1"
2109
- },
2110
- "java": {
2111
- "source": "Database.Builder.create(this, \"MyDatabase\")\n .databaseName(\"my_database\")\n .build();",
2112
- "version": "1"
2113
- },
2114
- "go": {
2115
- "source": "glue.NewDatabase(this, jsii.String(\"MyDatabase\"), &databaseProps{\n\tdatabaseName: jsii.String(\"my_database\"),\n})",
2116
- "version": "1"
2117
- },
2118
- "$": {
2119
- "source": "new glue.Database(this, 'MyDatabase', {\n databaseName: 'my_database',\n});",
2120
- "version": "0"
2121
- }
2122
- },
2123
- "location": {
2124
- "api": {
2125
- "api": "type",
2126
- "fqn": "@aws-cdk/aws-glue-alpha.DatabaseProps"
2127
- },
2128
- "field": {
2129
- "field": "example"
2130
- }
2131
- },
2132
- "didCompile": true,
2133
- "fqnsReferenced": [
2134
- "@aws-cdk/aws-glue-alpha.Database",
2135
- "@aws-cdk/aws-glue-alpha.DatabaseProps",
2136
- "constructs.Construct"
2137
- ],
2138
- "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",
2139
- "syntaxKindCounter": {
2140
- "10": 2,
2141
- "75": 3,
2142
- "104": 1,
2143
- "193": 1,
2144
- "194": 1,
2145
- "197": 1,
2146
- "226": 1,
2147
- "281": 1
2148
- },
2149
- "fqnsFingerprint": "d20415c635b676a96fec66aa721c1c8beb094f532cdda0947d5184bc7e0d8a41"
2150
- },
2151
- "b9880ea645259a0b8762db76f4e76476a52a26e82ea25ca7fe18fa9fc3f58edf": {
2152
- "translations": {
2153
- "python": {
2154
- "source": "# bucket: s3.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)",
2155
- "version": "2"
2156
- },
2157
- "csharp": {
2158
- "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});",
2159
- "version": "1"
2160
- },
2161
- "java": {
2162
- "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();",
2163
- "version": "1"
2164
- },
2165
- "go": {
2166
- "source": "var bucket bucket\n\nglue.NewJob(this, jsii.String(\"PythonShellJob\"), &jobProps{\n\texecutable: glue.jobExecutable.pythonShell(&pythonShellExecutableProps{\n\t\tglueVersion: glue.glueVersion_V1_0(),\n\t\tpythonVersion: glue.pythonVersion_THREE,\n\t\tscript: glue.code.fromBucket(bucket, jsii.String(\"script.py\")),\n\t}),\n\tdescription: jsii.String(\"an example Python Shell job\"),\n})",
2167
- "version": "1"
2168
- },
2169
- "$": {
2170
- "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});",
2171
- "version": "0"
2172
- }
2173
- },
2174
- "location": {
2175
- "api": {
2176
- "api": "type",
2177
- "fqn": "@aws-cdk/aws-glue-alpha.GlueVersion"
2178
- },
2179
- "field": {
2180
- "field": "example"
2181
- }
2182
- },
2183
- "didCompile": true,
2184
- "fqnsReferenced": [
2185
- "@aws-cdk/aws-glue-alpha.Code",
2186
- "@aws-cdk/aws-glue-alpha.Code#fromBucket",
2187
- "@aws-cdk/aws-glue-alpha.GlueVersion",
2188
- "@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
2189
- "@aws-cdk/aws-glue-alpha.Job",
2190
- "@aws-cdk/aws-glue-alpha.JobExecutable",
2191
- "@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
2192
- "@aws-cdk/aws-glue-alpha.JobProps",
2193
- "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
2194
- "@aws-cdk/aws-glue-alpha.PythonVersion",
2195
- "@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
2196
- "aws-cdk-lib.aws_s3.IBucket",
2197
- "constructs.Construct"
2198
- ],
2199
- "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",
2200
- "syntaxKindCounter": {
2201
- "10": 3,
2202
- "75": 23,
2203
- "104": 1,
2204
- "130": 1,
2205
- "153": 1,
2206
- "169": 1,
2207
- "193": 2,
2208
- "194": 9,
2209
- "196": 2,
2210
- "197": 1,
2211
- "225": 1,
2212
- "226": 1,
2213
- "242": 1,
2214
- "243": 1,
2215
- "281": 5,
2216
- "290": 1
2217
- },
2218
- "fqnsFingerprint": "2f3cc835b152576344e1d07f8c0c13c95fd214f9e7ad228e3c6719a7c17a5b14"
2219
- },
2220
- "a7c86c256f66c4c655908fdb28ac3c0d6b40c223f7cacbb4b19fef9abd9d7243": {
2221
- "translations": {
2222
- "python": {
2223
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\n\ninput_format = glue_alpha.InputFormat.AVRO",
2224
- "version": "2"
2225
- },
2226
- "csharp": {
2227
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\n\nInputFormat inputFormat = InputFormat.AVRO;",
2228
- "version": "1"
2229
- },
2230
- "java": {
2231
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\n\nInputFormat inputFormat = InputFormat.AVRO;",
2232
- "version": "1"
2233
- },
2234
- "go": {
2235
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\n\ninputFormat := glue_alpha.inputFormat_AVRO()",
2236
- "version": "1"
2237
- },
2238
- "$": {
2239
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst inputFormat = glue_alpha.InputFormat.AVRO;",
2240
- "version": "0"
2241
- }
2242
- },
2243
- "location": {
2244
- "api": {
2245
- "api": "type",
2246
- "fqn": "@aws-cdk/aws-glue-alpha.InputFormat"
2247
- },
2248
- "field": {
2249
- "field": "example"
2250
- }
2251
- },
2252
- "didCompile": true,
2253
- "fqnsReferenced": [
2254
- "@aws-cdk/aws-glue-alpha.InputFormat",
2255
- "@aws-cdk/aws-glue-alpha.InputFormat#AVRO"
2256
- ],
2257
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst inputFormat = glue_alpha.InputFormat.AVRO;\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
2258
- "syntaxKindCounter": {
2259
- "10": 1,
2260
- "75": 5,
2261
- "194": 2,
2262
- "225": 1,
2263
- "242": 1,
2264
- "243": 1,
2265
- "254": 1,
2266
- "255": 1,
2267
- "256": 1,
2268
- "290": 1
2269
- },
2270
- "fqnsFingerprint": "706f47df803c141c357c962af9351e7e2bc206e44c30ff4be5ffafd18991abf0"
2271
- },
2272
- "874d27adcf7eda76cb6349757fa242e0ef835f26a4b8d7b3bcb32954b292739c": {
2273
- "translations": {
2274
- "python": {
2275
- "source": "# bucket: s3.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)",
2276
- "version": "2"
2277
- },
2278
- "csharp": {
2279
- "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});",
2280
- "version": "1"
2281
- },
2282
- "java": {
2283
- "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();",
2284
- "version": "1"
2285
- },
2286
- "go": {
2287
- "source": "var bucket bucket\n\nglue.NewJob(this, jsii.String(\"PythonShellJob\"), &jobProps{\n\texecutable: glue.jobExecutable.pythonShell(&pythonShellExecutableProps{\n\t\tglueVersion: glue.glueVersion_V1_0(),\n\t\tpythonVersion: glue.pythonVersion_THREE,\n\t\tscript: glue.code.fromBucket(bucket, jsii.String(\"script.py\")),\n\t}),\n\tdescription: jsii.String(\"an example Python Shell job\"),\n})",
2288
- "version": "1"
2289
- },
2290
- "$": {
2291
- "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});",
2292
- "version": "0"
2293
- }
2294
- },
2295
- "location": {
2296
- "api": {
2297
- "api": "type",
2298
- "fqn": "@aws-cdk/aws-glue-alpha.Job"
2299
- },
2300
- "field": {
2301
- "field": "example"
2302
- }
2303
- },
2304
- "didCompile": true,
2305
- "fqnsReferenced": [
2306
- "@aws-cdk/aws-glue-alpha.Code",
2307
- "@aws-cdk/aws-glue-alpha.Code#fromBucket",
2308
- "@aws-cdk/aws-glue-alpha.GlueVersion",
2309
- "@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
2310
- "@aws-cdk/aws-glue-alpha.Job",
2311
- "@aws-cdk/aws-glue-alpha.JobExecutable",
2312
- "@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
2313
- "@aws-cdk/aws-glue-alpha.JobProps",
2314
- "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
2315
- "@aws-cdk/aws-glue-alpha.PythonVersion",
2316
- "@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
2317
- "aws-cdk-lib.aws_s3.IBucket",
2318
- "constructs.Construct"
2319
- ],
2320
- "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",
2321
- "syntaxKindCounter": {
2322
- "10": 3,
2323
- "75": 23,
2324
- "104": 1,
2325
- "130": 1,
2326
- "153": 1,
2327
- "169": 1,
2328
- "193": 2,
2329
- "194": 9,
2330
- "196": 2,
2331
- "197": 1,
2332
- "225": 1,
2333
- "226": 1,
2334
- "242": 1,
2335
- "243": 1,
2336
- "281": 5,
2337
- "290": 1
2338
- },
2339
- "fqnsFingerprint": "2f3cc835b152576344e1d07f8c0c13c95fd214f9e7ad228e3c6719a7c17a5b14"
2340
- },
2341
- "bc67fe0f869f4ba7f3dbb3668d6aaf5efd6fc0e0eaaa5d8e7f6d9337f596b179": {
2342
- "translations": {
2343
- "python": {
2344
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\nfrom aws_cdk import aws_iam as iam\n\n# role: iam.Role\n\njob_attributes = glue_alpha.JobAttributes(\n job_name=\"jobName\",\n\n # the properties below are optional\n role=role\n)",
2345
- "version": "2"
2346
- },
2347
- "csharp": {
2348
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\nusing Amazon.CDK.AWS.IAM;\n\nRole role;\n\nJobAttributes jobAttributes = new JobAttributes {\n JobName = \"jobName\",\n\n // the properties below are optional\n Role = role\n};",
2349
- "version": "1"
2350
- },
2351
- "java": {
2352
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\nimport software.amazon.awscdk.services.iam.*;\n\nRole role;\n\nJobAttributes jobAttributes = JobAttributes.builder()\n .jobName(\"jobName\")\n\n // the properties below are optional\n .role(role)\n .build();",
2353
- "version": "1"
2354
- },
2355
- "go": {
2356
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar role role\n\njobAttributes := &jobAttributes{\n\tjobName: jsii.String(\"jobName\"),\n\n\t// the properties below are optional\n\trole: role,\n}",
2357
- "version": "1"
2358
- },
2359
- "$": {
2360
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_iam as iam } from 'aws-cdk-lib';\n\ndeclare const role: iam.Role;\nconst jobAttributes: glue_alpha.JobAttributes = {\n jobName: 'jobName',\n\n // the properties below are optional\n role: role,\n};",
2361
- "version": "0"
2362
- }
2363
- },
2364
- "location": {
2365
- "api": {
2366
- "api": "type",
2367
- "fqn": "@aws-cdk/aws-glue-alpha.JobAttributes"
2368
- },
2369
- "field": {
2370
- "field": "example"
2371
- }
2372
- },
2373
- "didCompile": true,
2374
- "fqnsReferenced": [
2375
- "@aws-cdk/aws-glue-alpha.JobAttributes",
2376
- "aws-cdk-lib.aws_iam.IRole"
2377
- ],
2378
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_iam as iam } from 'aws-cdk-lib';\n\ndeclare const role: iam.Role;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst jobAttributes: glue_alpha.JobAttributes = {\n jobName: 'jobName',\n\n // the properties below are optional\n role: role,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
2379
- "syntaxKindCounter": {
2380
- "10": 3,
2381
- "75": 12,
2382
- "130": 1,
2383
- "153": 2,
2384
- "169": 2,
2385
- "193": 1,
2386
- "225": 2,
2387
- "242": 2,
2388
- "243": 2,
2389
- "254": 2,
2390
- "255": 2,
2391
- "256": 1,
2392
- "257": 1,
2393
- "258": 1,
2394
- "281": 2,
2395
- "290": 1
2396
- },
2397
- "fqnsFingerprint": "d4df6f89748e6399024aa453d23f0fb77e935637aee373745e3f9a830ff588fd"
2398
- },
2399
- "338946c760eb62657369459eaa0f29d4f879aa5304e3065d7090a9429c66ef9a": {
2400
- "translations": {
2401
- "python": {
2402
- "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)",
2403
- "version": "2"
2404
- },
2405
- "csharp": {
2406
- "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});",
2407
- "version": "1"
2408
- },
2409
- "java": {
2410
- "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();",
2411
- "version": "1"
2412
- },
2413
- "go": {
2414
- "source": "glue.NewSecurityConfiguration(this, jsii.String(\"MySecurityConfiguration\"), &securityConfigurationProps{\n\tsecurityConfigurationName: jsii.String(\"name\"),\n\tcloudWatchEncryption: &cloudWatchEncryption{\n\t\tmode: glue.cloudWatchEncryptionMode_KMS,\n\t},\n\tjobBookmarksEncryption: &jobBookmarksEncryption{\n\t\tmode: glue.jobBookmarksEncryptionMode_CLIENT_SIDE_KMS,\n\t},\n\ts3Encryption: &s3Encryption{\n\t\tmode: glue.s3EncryptionMode_KMS,\n\t},\n})",
2415
- "version": "1"
2416
- },
2417
- "$": {
2418
- "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});",
2419
- "version": "0"
2420
- }
2421
- },
2422
- "location": {
2423
- "api": {
2424
- "api": "type",
2425
- "fqn": "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption"
2426
- },
2427
- "field": {
2428
- "field": "example"
2429
- }
2430
- },
2431
- "didCompile": true,
2432
- "fqnsReferenced": [
2433
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
2434
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
2435
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
2436
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
2437
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
2438
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
2439
- "@aws-cdk/aws-glue-alpha.S3Encryption",
2440
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode",
2441
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
2442
- "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
2443
- "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps",
2444
- "constructs.Construct"
2445
- ],
2446
- "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",
2447
- "syntaxKindCounter": {
2448
- "10": 2,
2449
- "75": 18,
2450
- "104": 1,
2451
- "193": 4,
2452
- "194": 7,
2453
- "197": 1,
2454
- "226": 1,
2455
- "281": 7
2456
- },
2457
- "fqnsFingerprint": "884c254bbcd3e4e5da44e4f624c6512cc3926252dbab843a59bead90c6c6aaa5"
2458
- },
2459
- "01645930c0f903782be928f0797d165bc9b6456a7557f0ae794f5b8c8be14038": {
2460
- "translations": {
2461
- "python": {
2462
- "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)",
2463
- "version": "2"
2464
- },
2465
- "csharp": {
2466
- "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});",
2467
- "version": "1"
2468
- },
2469
- "java": {
2470
- "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();",
2471
- "version": "1"
2472
- },
2473
- "go": {
2474
- "source": "glue.NewSecurityConfiguration(this, jsii.String(\"MySecurityConfiguration\"), &securityConfigurationProps{\n\tsecurityConfigurationName: jsii.String(\"name\"),\n\tcloudWatchEncryption: &cloudWatchEncryption{\n\t\tmode: glue.cloudWatchEncryptionMode_KMS,\n\t},\n\tjobBookmarksEncryption: &jobBookmarksEncryption{\n\t\tmode: glue.jobBookmarksEncryptionMode_CLIENT_SIDE_KMS,\n\t},\n\ts3Encryption: &s3Encryption{\n\t\tmode: glue.s3EncryptionMode_KMS,\n\t},\n})",
2475
- "version": "1"
2476
- },
2477
- "$": {
2478
- "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});",
2479
- "version": "0"
2480
- }
2481
- },
2482
- "location": {
2483
- "api": {
2484
- "api": "type",
2485
- "fqn": "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode"
2486
- },
2487
- "field": {
2488
- "field": "example"
2489
- }
2490
- },
2491
- "didCompile": true,
2492
- "fqnsReferenced": [
2493
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
2494
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
2495
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
2496
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
2497
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
2498
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
2499
- "@aws-cdk/aws-glue-alpha.S3Encryption",
2500
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode",
2501
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
2502
- "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
2503
- "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps",
2504
- "constructs.Construct"
2505
- ],
2506
- "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",
2507
- "syntaxKindCounter": {
2508
- "10": 2,
2509
- "75": 18,
2510
- "104": 1,
2511
- "193": 4,
2512
- "194": 7,
2513
- "197": 1,
2514
- "226": 1,
2515
- "281": 7
2516
- },
2517
- "fqnsFingerprint": "884c254bbcd3e4e5da44e4f624c6512cc3926252dbab843a59bead90c6c6aaa5"
2518
- },
2519
- "6832b355847510af07ad3f1845210e75c148b4eb51beb4ba37bb5ff3578132ba": {
2520
- "translations": {
2521
- "python": {
2522
- "source": "# bucket: s3.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)",
2523
- "version": "2"
2524
- },
2525
- "csharp": {
2526
- "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});",
2527
- "version": "1"
2528
- },
2529
- "java": {
2530
- "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();",
2531
- "version": "1"
2532
- },
2533
- "go": {
2534
- "source": "var bucket bucket\n\nglue.NewJob(this, jsii.String(\"PythonShellJob\"), &jobProps{\n\texecutable: glue.jobExecutable.pythonShell(&pythonShellExecutableProps{\n\t\tglueVersion: glue.glueVersion_V1_0(),\n\t\tpythonVersion: glue.pythonVersion_THREE,\n\t\tscript: glue.code.fromBucket(bucket, jsii.String(\"script.py\")),\n\t}),\n\tdescription: jsii.String(\"an example Python Shell job\"),\n})",
2535
- "version": "1"
2536
- },
2537
- "$": {
2538
- "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});",
2539
- "version": "0"
2540
- }
2541
- },
2542
- "location": {
2543
- "api": {
2544
- "api": "type",
2545
- "fqn": "@aws-cdk/aws-glue-alpha.JobExecutable"
2546
- },
2547
- "field": {
2548
- "field": "example"
2549
- }
2550
- },
2551
- "didCompile": true,
2552
- "fqnsReferenced": [
2553
- "@aws-cdk/aws-glue-alpha.Code",
2554
- "@aws-cdk/aws-glue-alpha.Code#fromBucket",
2555
- "@aws-cdk/aws-glue-alpha.GlueVersion",
2556
- "@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
2557
- "@aws-cdk/aws-glue-alpha.Job",
2558
- "@aws-cdk/aws-glue-alpha.JobExecutable",
2559
- "@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
2560
- "@aws-cdk/aws-glue-alpha.JobProps",
2561
- "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
2562
- "@aws-cdk/aws-glue-alpha.PythonVersion",
2563
- "@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
2564
- "aws-cdk-lib.aws_s3.IBucket",
2565
- "constructs.Construct"
2566
- ],
2567
- "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",
2568
- "syntaxKindCounter": {
2569
- "10": 3,
2570
- "75": 23,
2571
- "104": 1,
2572
- "130": 1,
2573
- "153": 1,
2574
- "169": 1,
2575
- "193": 2,
2576
- "194": 9,
2577
- "196": 2,
2578
- "197": 1,
2579
- "225": 1,
2580
- "226": 1,
2581
- "242": 1,
2582
- "243": 1,
2583
- "281": 5,
2584
- "290": 1
2585
- },
2586
- "fqnsFingerprint": "2f3cc835b152576344e1d07f8c0c13c95fd214f9e7ad228e3c6719a7c17a5b14"
2587
- },
2588
- "d881c62d75f297064390937ef0d37eeb9086928d357c7a571af334c5b95252c6": {
2589
- "translations": {
2590
- "python": {
2591
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\n\n# code: glue_alpha.Code\n# glue_version: glue_alpha.GlueVersion\n# job_type: glue_alpha.JobType\n\njob_executable_config = glue_alpha.JobExecutableConfig(\n glue_version=glue_version,\n language=glue_alpha.JobLanguage.SCALA,\n script=code,\n type=job_type,\n\n # the properties below are optional\n class_name=\"className\",\n extra_files=[code],\n extra_jars=[code],\n extra_jars_first=False,\n extra_python_files=[code],\n python_version=glue_alpha.PythonVersion.TWO\n)",
2592
- "version": "2"
2593
- },
2594
- "csharp": {
2595
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\n\nCode code;\nGlueVersion glueVersion;\nJobType jobType;\n\nJobExecutableConfig jobExecutableConfig = new JobExecutableConfig {\n GlueVersion = glueVersion,\n Language = JobLanguage.SCALA,\n Script = code,\n Type = jobType,\n\n // the properties below are optional\n ClassName = \"className\",\n ExtraFiles = new [] { code },\n ExtraJars = new [] { code },\n ExtraJarsFirst = false,\n ExtraPythonFiles = new [] { code },\n PythonVersion = PythonVersion.TWO\n};",
2596
- "version": "1"
2597
- },
2598
- "java": {
2599
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\n\nCode code;\nGlueVersion glueVersion;\nJobType jobType;\n\nJobExecutableConfig jobExecutableConfig = JobExecutableConfig.builder()\n .glueVersion(glueVersion)\n .language(JobLanguage.SCALA)\n .script(code)\n .type(jobType)\n\n // the properties below are optional\n .className(\"className\")\n .extraFiles(List.of(code))\n .extraJars(List.of(code))\n .extraJarsFirst(false)\n .extraPythonFiles(List.of(code))\n .pythonVersion(PythonVersion.TWO)\n .build();",
2600
- "version": "1"
2601
- },
2602
- "go": {
2603
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\n\nvar code code\nvar glueVersion glueVersion\nvar jobType jobType\n\njobExecutableConfig := &jobExecutableConfig{\n\tglueVersion: glueVersion,\n\tlanguage: glue_alpha.jobLanguage_SCALA,\n\tscript: code,\n\ttype: jobType,\n\n\t// the properties below are optional\n\tclassName: jsii.String(\"className\"),\n\textraFiles: []*code{\n\t\tcode,\n\t},\n\textraJars: []*code{\n\t\tcode,\n\t},\n\textraJarsFirst: jsii.Boolean(false),\n\textraPythonFiles: []*code{\n\t\tcode,\n\t},\n\tpythonVersion: glue_alpha.pythonVersion_TWO,\n}",
2604
- "version": "1"
2605
- },
2606
- "$": {
2607
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n\ndeclare const code: glue_alpha.Code;\ndeclare const glueVersion: glue_alpha.GlueVersion;\ndeclare const jobType: glue_alpha.JobType;\nconst jobExecutableConfig: glue_alpha.JobExecutableConfig = {\n glueVersion: glueVersion,\n language: glue_alpha.JobLanguage.SCALA,\n script: code,\n type: jobType,\n\n // the properties below are optional\n className: 'className',\n extraFiles: [code],\n extraJars: [code],\n extraJarsFirst: false,\n extraPythonFiles: [code],\n pythonVersion: glue_alpha.PythonVersion.TWO,\n};",
2608
- "version": "0"
2609
- }
2610
- },
2611
- "location": {
2612
- "api": {
2613
- "api": "type",
2614
- "fqn": "@aws-cdk/aws-glue-alpha.JobExecutableConfig"
2615
- },
2616
- "field": {
2617
- "field": "example"
2618
- }
2619
- },
2620
- "didCompile": true,
2621
- "fqnsReferenced": [
2622
- "@aws-cdk/aws-glue-alpha.Code",
2623
- "@aws-cdk/aws-glue-alpha.GlueVersion",
2624
- "@aws-cdk/aws-glue-alpha.JobExecutableConfig",
2625
- "@aws-cdk/aws-glue-alpha.JobLanguage",
2626
- "@aws-cdk/aws-glue-alpha.JobLanguage#SCALA",
2627
- "@aws-cdk/aws-glue-alpha.JobType",
2628
- "@aws-cdk/aws-glue-alpha.PythonVersion",
2629
- "@aws-cdk/aws-glue-alpha.PythonVersion#TWO"
2630
- ],
2631
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n\ndeclare const code: glue_alpha.Code;\ndeclare const glueVersion: glue_alpha.GlueVersion;\ndeclare const jobType: glue_alpha.JobType;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst jobExecutableConfig: glue_alpha.JobExecutableConfig = {\n glueVersion: glueVersion,\n language: glue_alpha.JobLanguage.SCALA,\n script: code,\n type: jobType,\n\n // the properties below are optional\n className: 'className',\n extraFiles: [code],\n extraJars: [code],\n extraJarsFirst: false,\n extraPythonFiles: [code],\n pythonVersion: glue_alpha.PythonVersion.TWO,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
2632
- "syntaxKindCounter": {
2633
- "10": 2,
2634
- "75": 35,
2635
- "91": 1,
2636
- "130": 3,
2637
- "153": 4,
2638
- "169": 4,
2639
- "192": 3,
2640
- "193": 1,
2641
- "194": 4,
2642
- "225": 4,
2643
- "242": 4,
2644
- "243": 4,
2645
- "254": 1,
2646
- "255": 1,
2647
- "256": 1,
2648
- "281": 10,
2649
- "290": 1
2650
- },
2651
- "fqnsFingerprint": "6640c949514b05cdb4dba625853b2043311866e62b4ab621d594049d73d8525c"
2652
- },
2653
- "943463d1930ad3031acad3870f483fe9fb5232ac43304a1f3b310599d039b503": {
2654
- "translations": {
2655
- "python": {
2656
- "source": "# bucket: s3.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)",
2657
- "version": "2"
2658
- },
2659
- "csharp": {
2660
- "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});",
2661
- "version": "1"
2662
- },
2663
- "java": {
2664
- "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();",
2665
- "version": "1"
2666
- },
2667
- "go": {
2668
- "source": "var bucket bucket\n\nglue.NewJob(this, jsii.String(\"PythonShellJob\"), &jobProps{\n\texecutable: glue.jobExecutable.pythonShell(&pythonShellExecutableProps{\n\t\tglueVersion: glue.glueVersion_V1_0(),\n\t\tpythonVersion: glue.pythonVersion_THREE,\n\t\tscript: glue.code.fromBucket(bucket, jsii.String(\"script.py\")),\n\t}),\n\tdescription: jsii.String(\"an example Python Shell job\"),\n})",
2669
- "version": "1"
2670
- },
2671
- "$": {
2672
- "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});",
2673
- "version": "0"
2674
- }
2675
- },
2676
- "location": {
2677
- "api": {
2678
- "api": "type",
2679
- "fqn": "@aws-cdk/aws-glue-alpha.JobProps"
2680
- },
2681
- "field": {
2682
- "field": "example"
2683
- }
2684
- },
2685
- "didCompile": true,
2686
- "fqnsReferenced": [
2687
- "@aws-cdk/aws-glue-alpha.Code",
2688
- "@aws-cdk/aws-glue-alpha.Code#fromBucket",
2689
- "@aws-cdk/aws-glue-alpha.GlueVersion",
2690
- "@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
2691
- "@aws-cdk/aws-glue-alpha.Job",
2692
- "@aws-cdk/aws-glue-alpha.JobExecutable",
2693
- "@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
2694
- "@aws-cdk/aws-glue-alpha.JobProps",
2695
- "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
2696
- "@aws-cdk/aws-glue-alpha.PythonVersion",
2697
- "@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
2698
- "aws-cdk-lib.aws_s3.IBucket",
2699
- "constructs.Construct"
2700
- ],
2701
- "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",
2702
- "syntaxKindCounter": {
2703
- "10": 3,
2704
- "75": 23,
2705
- "104": 1,
2706
- "130": 1,
2707
- "153": 1,
2708
- "169": 1,
2709
- "193": 2,
2710
- "194": 9,
2711
- "196": 2,
2712
- "197": 1,
2713
- "225": 1,
2714
- "226": 1,
2715
- "242": 1,
2716
- "243": 1,
2717
- "281": 5,
2718
- "290": 1
2719
- },
2720
- "fqnsFingerprint": "2f3cc835b152576344e1d07f8c0c13c95fd214f9e7ad228e3c6719a7c17a5b14"
2721
- },
2722
- "20599b2ea9a2f0c3fcc0deefca973f39a6949daf8f1519b3772730814f0bc344": {
2723
- "translations": {
2724
- "python": {
2725
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\n\njob_type = glue_alpha.JobType.ETL",
2726
- "version": "2"
2727
- },
2728
- "csharp": {
2729
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\n\nJobType jobType = JobType.ETL;",
2730
- "version": "1"
2731
- },
2732
- "java": {
2733
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\n\nJobType jobType = JobType.ETL;",
2734
- "version": "1"
2735
- },
2736
- "go": {
2737
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\n\njobType := glue_alpha.jobType_ETL()",
2738
- "version": "1"
2739
- },
2740
- "$": {
2741
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst jobType = glue_alpha.JobType.ETL;",
2742
- "version": "0"
2743
- }
2744
- },
2745
- "location": {
2746
- "api": {
2747
- "api": "type",
2748
- "fqn": "@aws-cdk/aws-glue-alpha.JobType"
2749
- },
2750
- "field": {
2751
- "field": "example"
2752
- }
2753
- },
2754
- "didCompile": true,
2755
- "fqnsReferenced": [
2756
- "@aws-cdk/aws-glue-alpha.JobType",
2757
- "@aws-cdk/aws-glue-alpha.JobType#ETL"
2758
- ],
2759
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst jobType = glue_alpha.JobType.ETL;\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
2760
- "syntaxKindCounter": {
2761
- "10": 1,
2762
- "75": 5,
2763
- "194": 2,
2764
- "225": 1,
2765
- "242": 1,
2766
- "243": 1,
2767
- "254": 1,
2768
- "255": 1,
2769
- "256": 1,
2770
- "290": 1
2771
- },
2772
- "fqnsFingerprint": "632b06cf7932373db03dbd2f1f2efb0020e7f379ac3db1575e8824ca64a1af4a"
2773
- },
2774
- "a5d649886f4267a8ec2b51d23099ef01df1150c2d5571e2d399e4f14000bb6ba": {
2775
- "translations": {
2776
- "python": {
2777
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\n\noutput_format = glue_alpha.OutputFormat(\"className\")",
2778
- "version": "2"
2779
- },
2780
- "csharp": {
2781
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\n\nOutputFormat outputFormat = new OutputFormat(\"className\");",
2782
- "version": "1"
2783
- },
2784
- "java": {
2785
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\n\nOutputFormat outputFormat = new OutputFormat(\"className\");",
2786
- "version": "1"
2787
- },
2788
- "go": {
2789
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\n\noutputFormat := glue_alpha.NewOutputFormat(jsii.String(\"className\"))",
2790
- "version": "1"
2791
- },
2792
- "$": {
2793
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst outputFormat = new glue_alpha.OutputFormat('className');",
2794
- "version": "0"
2795
- }
2796
- },
2797
- "location": {
2798
- "api": {
2799
- "api": "type",
2800
- "fqn": "@aws-cdk/aws-glue-alpha.OutputFormat"
2801
- },
2802
- "field": {
2803
- "field": "example"
2804
- }
2805
- },
2806
- "didCompile": true,
2807
- "fqnsReferenced": [
2808
- "@aws-cdk/aws-glue-alpha.OutputFormat"
2809
- ],
2810
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst outputFormat = new glue_alpha.OutputFormat('className');\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
2811
- "syntaxKindCounter": {
2812
- "10": 2,
2813
- "75": 4,
2814
- "194": 1,
2815
- "197": 1,
2816
- "225": 1,
2817
- "242": 1,
2818
- "243": 1,
2819
- "254": 1,
2820
- "255": 1,
2821
- "256": 1,
2822
- "290": 1
2823
- },
2824
- "fqnsFingerprint": "e9f071bd5f0b3595245cf2ad100fefcfd639c9ee8e1fcb39a85c0a970d5d91cc"
2825
- },
2826
- "e49fc10f4a955a27f84869390faa2ddb0fcf5dd412ce2b84b212dcde50a3d97d": {
2827
- "translations": {
2828
- "python": {
2829
- "source": "# my_table: glue.Table\n\nmy_table.add_partition_index(\n index_name=\"my-index\",\n key_names=[\"year\"]\n)",
2830
- "version": "2"
2831
- },
2832
- "csharp": {
2833
- "source": "Table myTable;\n\nmyTable.AddPartitionIndex(new PartitionIndex {\n IndexName = \"my-index\",\n KeyNames = new [] { \"year\" }\n});",
2834
- "version": "1"
2835
- },
2836
- "java": {
2837
- "source": "Table myTable;\n\nmyTable.addPartitionIndex(PartitionIndex.builder()\n .indexName(\"my-index\")\n .keyNames(List.of(\"year\"))\n .build());",
2838
- "version": "1"
2839
- },
2840
- "go": {
2841
- "source": "var myTable table\n\nmyTable.addPartitionIndex(&partitionIndex{\n\tindexName: jsii.String(\"my-index\"),\n\tkeyNames: []*string{\n\t\tjsii.String(\"year\"),\n\t},\n})",
2842
- "version": "1"
2843
- },
2844
- "$": {
2845
- "source": "declare const myTable: glue.Table;\nmyTable.addPartitionIndex({\n indexName: 'my-index',\n keyNames: ['year'],\n});",
2846
- "version": "0"
2847
- }
2848
- },
2849
- "location": {
2850
- "api": {
2851
- "api": "type",
2852
- "fqn": "@aws-cdk/aws-glue-alpha.PartitionIndex"
2853
- },
2854
- "field": {
2855
- "field": "example"
2856
- }
2857
- },
2858
- "didCompile": true,
2859
- "fqnsReferenced": [
2860
- "@aws-cdk/aws-glue-alpha.PartitionIndex",
2861
- "@aws-cdk/aws-glue-alpha.Table#addPartitionIndex"
2862
- ],
2863
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myTable: glue.Table;\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\nmyTable.addPartitionIndex({\n indexName: 'my-index',\n keyNames: ['year'],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2864
- "syntaxKindCounter": {
2865
- "10": 2,
2866
- "75": 7,
2867
- "130": 1,
2868
- "153": 1,
2869
- "169": 1,
2870
- "192": 1,
2871
- "193": 1,
2872
- "194": 1,
2873
- "196": 1,
2874
- "225": 1,
2875
- "226": 1,
2876
- "242": 1,
2877
- "243": 1,
2878
- "281": 2,
2879
- "290": 1
2880
- },
2881
- "fqnsFingerprint": "a0d3c72dce39fda589550323b519f24bfde6c55508df37f54038c751c7dc6dad"
2882
- },
2883
- "f4512a1be0b132776e7633fc5cf1ecf099b4f827429cfd51dde780fbd65859ea": {
2884
- "translations": {
2885
- "python": {
2886
- "source": "# bucket: s3.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)",
2887
- "version": "2"
2888
- },
2889
- "csharp": {
2890
- "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});",
2891
- "version": "1"
2892
- },
2893
- "java": {
2894
- "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();",
2895
- "version": "1"
2896
- },
2897
- "go": {
2898
- "source": "var bucket bucket\n\nglue.NewJob(this, jsii.String(\"PythonShellJob\"), &jobProps{\n\texecutable: glue.jobExecutable.pythonShell(&pythonShellExecutableProps{\n\t\tglueVersion: glue.glueVersion_V1_0(),\n\t\tpythonVersion: glue.pythonVersion_THREE,\n\t\tscript: glue.code.fromBucket(bucket, jsii.String(\"script.py\")),\n\t}),\n\tdescription: jsii.String(\"an example Python Shell job\"),\n})",
2899
- "version": "1"
2900
- },
2901
- "$": {
2902
- "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});",
2903
- "version": "0"
2904
- }
2905
- },
2906
- "location": {
2907
- "api": {
2908
- "api": "type",
2909
- "fqn": "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps"
2910
- },
2911
- "field": {
2912
- "field": "example"
2913
- }
2914
- },
2915
- "didCompile": true,
2916
- "fqnsReferenced": [
2917
- "@aws-cdk/aws-glue-alpha.Code",
2918
- "@aws-cdk/aws-glue-alpha.Code#fromBucket",
2919
- "@aws-cdk/aws-glue-alpha.GlueVersion",
2920
- "@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
2921
- "@aws-cdk/aws-glue-alpha.Job",
2922
- "@aws-cdk/aws-glue-alpha.JobExecutable",
2923
- "@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
2924
- "@aws-cdk/aws-glue-alpha.JobProps",
2925
- "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
2926
- "@aws-cdk/aws-glue-alpha.PythonVersion",
2927
- "@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
2928
- "aws-cdk-lib.aws_s3.IBucket",
2929
- "constructs.Construct"
2930
- ],
2931
- "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",
2932
- "syntaxKindCounter": {
2933
- "10": 3,
2934
- "75": 23,
2935
- "104": 1,
2936
- "130": 1,
2937
- "153": 1,
2938
- "169": 1,
2939
- "193": 2,
2940
- "194": 9,
2941
- "196": 2,
2942
- "197": 1,
2943
- "225": 1,
2944
- "226": 1,
2945
- "242": 1,
2946
- "243": 1,
2947
- "281": 5,
2948
- "290": 1
2949
- },
2950
- "fqnsFingerprint": "2f3cc835b152576344e1d07f8c0c13c95fd214f9e7ad228e3c6719a7c17a5b14"
2951
- },
2952
- "3be182023e6e4eac096f34fd1d4375b6e09ac0423e9f05c6fae7f9088e084aef": {
2953
- "translations": {
2954
- "python": {
2955
- "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)",
2956
- "version": "2"
2957
- },
2958
- "csharp": {
2959
- "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});",
2960
- "version": "1"
2961
- },
2962
- "java": {
2963
- "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();",
2964
- "version": "1"
2965
- },
2966
- "go": {
2967
- "source": "glue.NewJob(this, jsii.String(\"PythonSparkStreamingJob\"), &jobProps{\n\texecutable: glue.jobExecutable.pythonStreaming(&pythonSparkJobExecutableProps{\n\t\tglueVersion: glue.glueVersion_V2_0(),\n\t\tpythonVersion: glue.pythonVersion_THREE,\n\t\tscript: glue.code.fromAsset(path.join(__dirname, jsii.String(\"job-script/hello_world.py\"))),\n\t}),\n\tdescription: jsii.String(\"an example Python Streaming job\"),\n})",
2968
- "version": "1"
2969
- },
2970
- "$": {
2971
- "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});",
2972
- "version": "0"
2973
- }
2974
- },
2975
- "location": {
2976
- "api": {
2977
- "api": "type",
2978
- "fqn": "@aws-cdk/aws-glue-alpha.PythonSparkJobExecutableProps"
2979
- },
2980
- "field": {
2981
- "field": "example"
2982
- }
2983
- },
2984
- "didCompile": true,
2985
- "fqnsReferenced": [
2986
- "@aws-cdk/aws-glue-alpha.Code",
2987
- "@aws-cdk/aws-glue-alpha.Code#fromAsset",
2988
- "@aws-cdk/aws-glue-alpha.GlueVersion",
2989
- "@aws-cdk/aws-glue-alpha.GlueVersion#V2_0",
2990
- "@aws-cdk/aws-glue-alpha.Job",
2991
- "@aws-cdk/aws-glue-alpha.JobExecutable",
2992
- "@aws-cdk/aws-glue-alpha.JobExecutable#pythonStreaming",
2993
- "@aws-cdk/aws-glue-alpha.JobProps",
2994
- "@aws-cdk/aws-glue-alpha.PythonSparkJobExecutableProps",
2995
- "@aws-cdk/aws-glue-alpha.PythonVersion",
2996
- "@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
2997
- "constructs.Construct"
2998
- ],
2999
- "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",
3000
- "syntaxKindCounter": {
3001
- "10": 3,
3002
- "75": 22,
3003
- "104": 1,
3004
- "193": 2,
3005
- "194": 10,
3006
- "196": 3,
3007
- "197": 1,
3008
- "226": 1,
3009
- "281": 5
3010
- },
3011
- "fqnsFingerprint": "dce924ef296aae4735611f4957727230f03b58d11e7adc6e8b33cd47ba3040b5"
3012
- },
3013
- "2aa0e7e658c46bf934e9cfb49322411d28556e8b0c32a79ffc6e8fd3311b0898": {
3014
- "translations": {
3015
- "python": {
3016
- "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)",
3017
- "version": "2"
3018
- },
3019
- "csharp": {
3020
- "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});",
3021
- "version": "1"
3022
- },
3023
- "java": {
3024
- "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();",
3025
- "version": "1"
3026
- },
3027
- "go": {
3028
- "source": "glue.NewJob(this, jsii.String(\"PythonSparkStreamingJob\"), &jobProps{\n\texecutable: glue.jobExecutable.pythonStreaming(&pythonSparkJobExecutableProps{\n\t\tglueVersion: glue.glueVersion_V2_0(),\n\t\tpythonVersion: glue.pythonVersion_THREE,\n\t\tscript: glue.code.fromAsset(path.join(__dirname, jsii.String(\"job-script/hello_world.py\"))),\n\t}),\n\tdescription: jsii.String(\"an example Python Streaming job\"),\n})",
3029
- "version": "1"
3030
- },
3031
- "$": {
3032
- "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});",
3033
- "version": "0"
3034
- }
3035
- },
3036
- "location": {
3037
- "api": {
3038
- "api": "type",
3039
- "fqn": "@aws-cdk/aws-glue-alpha.PythonVersion"
3040
- },
3041
- "field": {
3042
- "field": "example"
3043
- }
3044
- },
3045
- "didCompile": true,
3046
- "fqnsReferenced": [
3047
- "@aws-cdk/aws-glue-alpha.Code",
3048
- "@aws-cdk/aws-glue-alpha.Code#fromAsset",
3049
- "@aws-cdk/aws-glue-alpha.GlueVersion",
3050
- "@aws-cdk/aws-glue-alpha.GlueVersion#V2_0",
3051
- "@aws-cdk/aws-glue-alpha.Job",
3052
- "@aws-cdk/aws-glue-alpha.JobExecutable",
3053
- "@aws-cdk/aws-glue-alpha.JobExecutable#pythonStreaming",
3054
- "@aws-cdk/aws-glue-alpha.JobProps",
3055
- "@aws-cdk/aws-glue-alpha.PythonSparkJobExecutableProps",
3056
- "@aws-cdk/aws-glue-alpha.PythonVersion",
3057
- "@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
3058
- "constructs.Construct"
3059
- ],
3060
- "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",
3061
- "syntaxKindCounter": {
3062
- "10": 3,
3063
- "75": 22,
3064
- "104": 1,
3065
- "193": 2,
3066
- "194": 10,
3067
- "196": 3,
3068
- "197": 1,
3069
- "226": 1,
3070
- "281": 5
3071
- },
3072
- "fqnsFingerprint": "dce924ef296aae4735611f4957727230f03b58d11e7adc6e8b33cd47ba3040b5"
3073
- },
3074
- "ea036fe4a5d7f8a6a409249fcbf9efe7db7d2bd32119870153e8a62dbb32dc31": {
3075
- "translations": {
3076
- "python": {
3077
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\nfrom aws_cdk import aws_s3 as s3\n\n# bucket: s3.Bucket\n\ns3_code = glue_alpha.S3Code(bucket, \"key\")",
3078
- "version": "2"
3079
- },
3080
- "csharp": {
3081
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\nusing Amazon.CDK.AWS.S3;\n\nBucket bucket;\n\nS3Code s3Code = new S3Code(bucket, \"key\");",
3082
- "version": "1"
3083
- },
3084
- "java": {
3085
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\nimport software.amazon.awscdk.services.s3.*;\n\nBucket bucket;\n\nS3Code s3Code = new S3Code(bucket, \"key\");",
3086
- "version": "1"
3087
- },
3088
- "go": {
3089
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar bucket bucket\n\ns3Code := glue_alpha.NewS3Code(bucket, jsii.String(\"key\"))",
3090
- "version": "1"
3091
- },
3092
- "$": {
3093
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\nconst s3Code = new glue_alpha.S3Code(bucket, 'key');",
3094
- "version": "0"
3095
- }
3096
- },
3097
- "location": {
3098
- "api": {
3099
- "api": "type",
3100
- "fqn": "@aws-cdk/aws-glue-alpha.S3Code"
3101
- },
3102
- "field": {
3103
- "field": "example"
3104
- }
3105
- },
3106
- "didCompile": true,
3107
- "fqnsReferenced": [
3108
- "@aws-cdk/aws-glue-alpha.S3Code",
3109
- "aws-cdk-lib.aws_s3.IBucket"
3110
- ],
3111
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst s3Code = new glue_alpha.S3Code(bucket, 'key');\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3112
- "syntaxKindCounter": {
3113
- "10": 3,
3114
- "75": 10,
3115
- "130": 1,
3116
- "153": 1,
3117
- "169": 1,
3118
- "194": 1,
3119
- "197": 1,
3120
- "225": 2,
3121
- "242": 2,
3122
- "243": 2,
3123
- "254": 2,
3124
- "255": 2,
3125
- "256": 1,
3126
- "257": 1,
3127
- "258": 1,
3128
- "290": 1
3129
- },
3130
- "fqnsFingerprint": "e40673cfd970cd44f4cff2ad078d5c1a0a64b727f304f465db79ea47d2be4ed8"
3131
- },
3132
- "00be0efff95e388412faa8e5147a7bebabf4b65b92504a92e02ddad9be5d97ab": {
3133
- "translations": {
3134
- "python": {
3135
- "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)",
3136
- "version": "2"
3137
- },
3138
- "csharp": {
3139
- "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});",
3140
- "version": "1"
3141
- },
3142
- "java": {
3143
- "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();",
3144
- "version": "1"
3145
- },
3146
- "go": {
3147
- "source": "glue.NewSecurityConfiguration(this, jsii.String(\"MySecurityConfiguration\"), &securityConfigurationProps{\n\tsecurityConfigurationName: jsii.String(\"name\"),\n\tcloudWatchEncryption: &cloudWatchEncryption{\n\t\tmode: glue.cloudWatchEncryptionMode_KMS,\n\t},\n\tjobBookmarksEncryption: &jobBookmarksEncryption{\n\t\tmode: glue.jobBookmarksEncryptionMode_CLIENT_SIDE_KMS,\n\t},\n\ts3Encryption: &s3Encryption{\n\t\tmode: glue.s3EncryptionMode_KMS,\n\t},\n})",
3148
- "version": "1"
3149
- },
3150
- "$": {
3151
- "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});",
3152
- "version": "0"
3153
- }
3154
- },
3155
- "location": {
3156
- "api": {
3157
- "api": "type",
3158
- "fqn": "@aws-cdk/aws-glue-alpha.S3Encryption"
3159
- },
3160
- "field": {
3161
- "field": "example"
3162
- }
3163
- },
3164
- "didCompile": true,
3165
- "fqnsReferenced": [
3166
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
3167
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
3168
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
3169
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
3170
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
3171
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
3172
- "@aws-cdk/aws-glue-alpha.S3Encryption",
3173
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode",
3174
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
3175
- "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
3176
- "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps",
3177
- "constructs.Construct"
3178
- ],
3179
- "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",
3180
- "syntaxKindCounter": {
3181
- "10": 2,
3182
- "75": 18,
3183
- "104": 1,
3184
- "193": 4,
3185
- "194": 7,
3186
- "197": 1,
3187
- "226": 1,
3188
- "281": 7
3189
- },
3190
- "fqnsFingerprint": "884c254bbcd3e4e5da44e4f624c6512cc3926252dbab843a59bead90c6c6aaa5"
3191
- },
3192
- "207060b9df0bab24f1ba53598d44db9992e43f4124049cc5bba22f4593b34b76": {
3193
- "translations": {
3194
- "python": {
3195
- "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)",
3196
- "version": "2"
3197
- },
3198
- "csharp": {
3199
- "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});",
3200
- "version": "1"
3201
- },
3202
- "java": {
3203
- "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();",
3204
- "version": "1"
3205
- },
3206
- "go": {
3207
- "source": "glue.NewSecurityConfiguration(this, jsii.String(\"MySecurityConfiguration\"), &securityConfigurationProps{\n\tsecurityConfigurationName: jsii.String(\"name\"),\n\tcloudWatchEncryption: &cloudWatchEncryption{\n\t\tmode: glue.cloudWatchEncryptionMode_KMS,\n\t},\n\tjobBookmarksEncryption: &jobBookmarksEncryption{\n\t\tmode: glue.jobBookmarksEncryptionMode_CLIENT_SIDE_KMS,\n\t},\n\ts3Encryption: &s3Encryption{\n\t\tmode: glue.s3EncryptionMode_KMS,\n\t},\n})",
3208
- "version": "1"
3209
- },
3210
- "$": {
3211
- "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});",
3212
- "version": "0"
3213
- }
3214
- },
3215
- "location": {
3216
- "api": {
3217
- "api": "type",
3218
- "fqn": "@aws-cdk/aws-glue-alpha.S3EncryptionMode"
3219
- },
3220
- "field": {
3221
- "field": "example"
3222
- }
3223
- },
3224
- "didCompile": true,
3225
- "fqnsReferenced": [
3226
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
3227
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
3228
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
3229
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
3230
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
3231
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
3232
- "@aws-cdk/aws-glue-alpha.S3Encryption",
3233
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode",
3234
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
3235
- "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
3236
- "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps",
3237
- "constructs.Construct"
3238
- ],
3239
- "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",
3240
- "syntaxKindCounter": {
3241
- "10": 2,
3242
- "75": 18,
3243
- "104": 1,
3244
- "193": 4,
3245
- "194": 7,
3246
- "197": 1,
3247
- "226": 1,
3248
- "281": 7
3249
- },
3250
- "fqnsFingerprint": "884c254bbcd3e4e5da44e4f624c6512cc3926252dbab843a59bead90c6c6aaa5"
3251
- },
3252
- "4afd85d48ffa59c03eae18de7fb3e0694706561b0bf4d7ed87252515b562dfc8": {
3253
- "translations": {
3254
- "python": {
3255
- "source": "# bucket: s3.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)",
3256
- "version": "2"
3257
- },
3258
- "csharp": {
3259
- "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});",
3260
- "version": "1"
3261
- },
3262
- "java": {
3263
- "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();",
3264
- "version": "1"
3265
- },
3266
- "go": {
3267
- "source": "var bucket bucket\n\nglue.NewJob(this, jsii.String(\"ScalaSparkEtlJob\"), &jobProps{\n\texecutable: glue.jobExecutable.scalaEtl(&scalaJobExecutableProps{\n\t\tglueVersion: glue.glueVersion_V2_0(),\n\t\tscript: glue.code.fromBucket(bucket, jsii.String(\"src/com/example/HelloWorld.scala\")),\n\t\tclassName: jsii.String(\"com.example.HelloWorld\"),\n\t\textraJars: []*code{\n\t\t\tglue.*code.fromBucket(bucket, jsii.String(\"jars/HelloWorld.jar\")),\n\t\t},\n\t}),\n\tdescription: jsii.String(\"an example Scala ETL job\"),\n})",
3268
- "version": "1"
3269
- },
3270
- "$": {
3271
- "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});",
3272
- "version": "0"
3273
- }
3274
- },
3275
- "location": {
3276
- "api": {
3277
- "api": "type",
3278
- "fqn": "@aws-cdk/aws-glue-alpha.ScalaJobExecutableProps"
3279
- },
3280
- "field": {
3281
- "field": "example"
3282
- }
3283
- },
3284
- "didCompile": true,
3285
- "fqnsReferenced": [
3286
- "@aws-cdk/aws-glue-alpha.Code",
3287
- "@aws-cdk/aws-glue-alpha.Code#fromBucket",
3288
- "@aws-cdk/aws-glue-alpha.GlueVersion",
3289
- "@aws-cdk/aws-glue-alpha.GlueVersion#V2_0",
3290
- "@aws-cdk/aws-glue-alpha.Job",
3291
- "@aws-cdk/aws-glue-alpha.JobExecutable",
3292
- "@aws-cdk/aws-glue-alpha.JobExecutable#scalaEtl",
3293
- "@aws-cdk/aws-glue-alpha.JobProps",
3294
- "@aws-cdk/aws-glue-alpha.ScalaJobExecutableProps",
3295
- "aws-cdk-lib.aws_s3.IBucket",
3296
- "constructs.Construct"
3297
- ],
3298
- "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",
3299
- "syntaxKindCounter": {
3300
- "10": 5,
3301
- "75": 25,
3302
- "104": 1,
3303
- "130": 1,
3304
- "153": 1,
3305
- "169": 1,
3306
- "192": 1,
3307
- "193": 2,
3308
- "194": 9,
3309
- "196": 3,
3310
- "197": 1,
3311
- "225": 1,
3312
- "226": 1,
3313
- "242": 1,
3314
- "243": 1,
3315
- "281": 6,
3316
- "290": 1
3317
- },
3318
- "fqnsFingerprint": "aa32cb159513993a558e683225552a6f21d4435c230c8f154453c280bd20ae67"
3319
- },
3320
- "134183fbaba1dd4a3c2df4f4707bfb90db0016d3c50552f1c5d159f72cf92611": {
3321
- "translations": {
3322
- "python": {
3323
- "source": "# my_database: glue.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 enable_partition_filtering=True\n)",
3324
- "version": "2"
3325
- },
3326
- "csharp": {
3327
- "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 EnablePartitionFiltering = true\n});",
3328
- "version": "1"
3329
- },
3330
- "java": {
3331
- "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 .enablePartitionFiltering(true)\n .build();",
3332
- "version": "1"
3333
- },
3334
- "go": {
3335
- "source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n\tenablePartitionFiltering: jsii.Boolean(true),\n})",
3336
- "version": "1"
3337
- },
3338
- "$": {
3339
- "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 enablePartitionFiltering: true,\n});",
3340
- "version": "0"
3341
- }
3342
- },
3343
- "location": {
3344
- "api": {
3345
- "api": "type",
3346
- "fqn": "@aws-cdk/aws-glue-alpha.Schema"
3347
- },
3348
- "field": {
3349
- "field": "example"
3350
- }
3351
- },
3352
- "didCompile": true,
3353
- "fqnsReferenced": [
3354
- "@aws-cdk/aws-glue-alpha.DataFormat",
3355
- "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
3356
- "@aws-cdk/aws-glue-alpha.IDatabase",
3357
- "@aws-cdk/aws-glue-alpha.Schema",
3358
- "@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
3359
- "@aws-cdk/aws-glue-alpha.Schema#STRING",
3360
- "@aws-cdk/aws-glue-alpha.Table",
3361
- "@aws-cdk/aws-glue-alpha.TableProps",
3362
- "@aws-cdk/aws-glue-alpha.Type",
3363
- "constructs.Construct"
3364
- ],
3365
- "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 enablePartitionFiltering: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
3366
- "syntaxKindCounter": {
3367
- "10": 5,
3368
- "75": 30,
3369
- "104": 1,
3370
- "106": 1,
3371
- "130": 1,
3372
- "153": 1,
3373
- "169": 1,
3374
- "192": 2,
3375
- "193": 4,
3376
- "194": 9,
3377
- "197": 1,
3378
- "225": 1,
3379
- "226": 1,
3380
- "242": 1,
3381
- "243": 1,
3382
- "281": 12,
3383
- "290": 1
3384
- },
3385
- "fqnsFingerprint": "78755a5f857810726a2f4e8a72cb2b831a728a9a76a15fd6fbf1ebe932e9d8a2"
3386
- },
3387
- "e55a210f3c876a6be2519f598eef94230e766515aae98637ef80ba802dd919f6": {
3388
- "translations": {
3389
- "python": {
3390
- "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)",
3391
- "version": "2"
3392
- },
3393
- "csharp": {
3394
- "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});",
3395
- "version": "1"
3396
- },
3397
- "java": {
3398
- "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();",
3399
- "version": "1"
3400
- },
3401
- "go": {
3402
- "source": "glue.NewSecurityConfiguration(this, jsii.String(\"MySecurityConfiguration\"), &securityConfigurationProps{\n\tsecurityConfigurationName: jsii.String(\"name\"),\n\tcloudWatchEncryption: &cloudWatchEncryption{\n\t\tmode: glue.cloudWatchEncryptionMode_KMS,\n\t},\n\tjobBookmarksEncryption: &jobBookmarksEncryption{\n\t\tmode: glue.jobBookmarksEncryptionMode_CLIENT_SIDE_KMS,\n\t},\n\ts3Encryption: &s3Encryption{\n\t\tmode: glue.s3EncryptionMode_KMS,\n\t},\n})",
3403
- "version": "1"
3404
- },
3405
- "$": {
3406
- "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});",
3407
- "version": "0"
3408
- }
3409
- },
3410
- "location": {
3411
- "api": {
3412
- "api": "type",
3413
- "fqn": "@aws-cdk/aws-glue-alpha.SecurityConfiguration"
3414
- },
3415
- "field": {
3416
- "field": "example"
3417
- }
3418
- },
3419
- "didCompile": true,
3420
- "fqnsReferenced": [
3421
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
3422
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
3423
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
3424
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
3425
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
3426
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
3427
- "@aws-cdk/aws-glue-alpha.S3Encryption",
3428
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode",
3429
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
3430
- "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
3431
- "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps",
3432
- "constructs.Construct"
3433
- ],
3434
- "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",
3435
- "syntaxKindCounter": {
3436
- "10": 2,
3437
- "75": 18,
3438
- "104": 1,
3439
- "193": 4,
3440
- "194": 7,
3441
- "197": 1,
3442
- "226": 1,
3443
- "281": 7
3444
- },
3445
- "fqnsFingerprint": "884c254bbcd3e4e5da44e4f624c6512cc3926252dbab843a59bead90c6c6aaa5"
3446
- },
3447
- "9eb2dfc2ebe1d9d6f7994bd72a9643bbd3c9d5cae9f78341051820b35bfec9b2": {
3448
- "translations": {
3449
- "python": {
3450
- "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)",
3451
- "version": "2"
3452
- },
3453
- "csharp": {
3454
- "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});",
3455
- "version": "1"
3456
- },
3457
- "java": {
3458
- "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();",
3459
- "version": "1"
3460
- },
3461
- "go": {
3462
- "source": "glue.NewSecurityConfiguration(this, jsii.String(\"MySecurityConfiguration\"), &securityConfigurationProps{\n\tsecurityConfigurationName: jsii.String(\"name\"),\n\tcloudWatchEncryption: &cloudWatchEncryption{\n\t\tmode: glue.cloudWatchEncryptionMode_KMS,\n\t},\n\tjobBookmarksEncryption: &jobBookmarksEncryption{\n\t\tmode: glue.jobBookmarksEncryptionMode_CLIENT_SIDE_KMS,\n\t},\n\ts3Encryption: &s3Encryption{\n\t\tmode: glue.s3EncryptionMode_KMS,\n\t},\n})",
3463
- "version": "1"
3464
- },
3465
- "$": {
3466
- "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});",
3467
- "version": "0"
3468
- }
3469
- },
3470
- "location": {
3471
- "api": {
3472
- "api": "type",
3473
- "fqn": "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
3474
- },
3475
- "field": {
3476
- "field": "example"
3477
- }
3478
- },
3479
- "didCompile": true,
3480
- "fqnsReferenced": [
3481
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
3482
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
3483
- "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
3484
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
3485
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
3486
- "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
3487
- "@aws-cdk/aws-glue-alpha.S3Encryption",
3488
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode",
3489
- "@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
3490
- "@aws-cdk/aws-glue-alpha.SecurityConfiguration",
3491
- "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps",
3492
- "constructs.Construct"
3493
- ],
3494
- "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",
3495
- "syntaxKindCounter": {
3496
- "10": 2,
3497
- "75": 18,
3498
- "104": 1,
3499
- "193": 4,
3500
- "194": 7,
3501
- "197": 1,
3502
- "226": 1,
3503
- "281": 7
3504
- },
3505
- "fqnsFingerprint": "884c254bbcd3e4e5da44e4f624c6512cc3926252dbab843a59bead90c6c6aaa5"
3506
- },
3507
- "d01b17fd45941078a51bfb4f7c5d48c8520b1befab0e4d4be5f68bfed43672cd": {
3508
- "translations": {
3509
- "python": {
3510
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\n\nserialization_library = glue_alpha.SerializationLibrary.AVRO",
3511
- "version": "2"
3512
- },
3513
- "csharp": {
3514
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\n\nSerializationLibrary serializationLibrary = SerializationLibrary.AVRO;",
3515
- "version": "1"
3516
- },
3517
- "java": {
3518
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\n\nSerializationLibrary serializationLibrary = SerializationLibrary.AVRO;",
3519
- "version": "1"
3520
- },
3521
- "go": {
3522
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\n\nserializationLibrary := glue_alpha.serializationLibrary_AVRO()",
3523
- "version": "1"
3524
- },
3525
- "$": {
3526
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst serializationLibrary = glue_alpha.SerializationLibrary.AVRO;",
3527
- "version": "0"
3528
- }
3529
- },
3530
- "location": {
3531
- "api": {
3532
- "api": "type",
3533
- "fqn": "@aws-cdk/aws-glue-alpha.SerializationLibrary"
3534
- },
3535
- "field": {
3536
- "field": "example"
3537
- }
3538
- },
3539
- "didCompile": true,
3540
- "fqnsReferenced": [
3541
- "@aws-cdk/aws-glue-alpha.SerializationLibrary",
3542
- "@aws-cdk/aws-glue-alpha.SerializationLibrary#AVRO"
3543
- ],
3544
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst serializationLibrary = glue_alpha.SerializationLibrary.AVRO;\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3545
- "syntaxKindCounter": {
3546
- "10": 1,
3547
- "75": 5,
3548
- "194": 2,
3549
- "225": 1,
3550
- "242": 1,
3551
- "243": 1,
3552
- "254": 1,
3553
- "255": 1,
3554
- "256": 1,
3555
- "290": 1
3556
- },
3557
- "fqnsFingerprint": "9546e8ee8aff444ef68563a120cfe9fcf77aa591cae00c379817267721961239"
3558
- },
3559
- "63f4caab33825af55017f8dfa3b699e10508c70e101206355fed82743ece6f79": {
3560
- "translations": {
3561
- "python": {
3562
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\nfrom aws_cdk import aws_s3 as s3\n\n# bucket: s3.Bucket\n\nspark_uILogging_location = glue_alpha.SparkUILoggingLocation(\n bucket=bucket,\n\n # the properties below are optional\n prefix=\"prefix\"\n)",
3563
- "version": "2"
3564
- },
3565
- "csharp": {
3566
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\nusing Amazon.CDK.AWS.S3;\n\nBucket bucket;\n\nSparkUILoggingLocation sparkUILoggingLocation = new SparkUILoggingLocation {\n Bucket = bucket,\n\n // the properties below are optional\n Prefix = \"prefix\"\n};",
3567
- "version": "1"
3568
- },
3569
- "java": {
3570
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\nimport software.amazon.awscdk.services.s3.*;\n\nBucket bucket;\n\nSparkUILoggingLocation sparkUILoggingLocation = SparkUILoggingLocation.builder()\n .bucket(bucket)\n\n // the properties below are optional\n .prefix(\"prefix\")\n .build();",
3571
- "version": "1"
3572
- },
3573
- "go": {
3574
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar bucket bucket\n\nsparkUILoggingLocation := &sparkUILoggingLocation{\n\tbucket: bucket,\n\n\t// the properties below are optional\n\tprefix: jsii.String(\"prefix\"),\n}",
3575
- "version": "1"
3576
- },
3577
- "$": {
3578
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\nconst sparkUILoggingLocation: glue_alpha.SparkUILoggingLocation = {\n bucket: bucket,\n\n // the properties below are optional\n prefix: 'prefix',\n};",
3579
- "version": "0"
3580
- }
3581
- },
3582
- "location": {
3583
- "api": {
3584
- "api": "type",
3585
- "fqn": "@aws-cdk/aws-glue-alpha.SparkUILoggingLocation"
3586
- },
3587
- "field": {
3588
- "field": "example"
3589
- }
3590
- },
3591
- "didCompile": true,
3592
- "fqnsReferenced": [
3593
- "@aws-cdk/aws-glue-alpha.SparkUILoggingLocation",
3594
- "aws-cdk-lib.aws_s3.IBucket"
3595
- ],
3596
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst sparkUILoggingLocation: glue_alpha.SparkUILoggingLocation = {\n bucket: bucket,\n\n // the properties below are optional\n prefix: 'prefix',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3597
- "syntaxKindCounter": {
3598
- "10": 3,
3599
- "75": 12,
3600
- "130": 1,
3601
- "153": 2,
3602
- "169": 2,
3603
- "193": 1,
3604
- "225": 2,
3605
- "242": 2,
3606
- "243": 2,
3607
- "254": 2,
3608
- "255": 2,
3609
- "256": 1,
3610
- "257": 1,
3611
- "258": 1,
3612
- "281": 2,
3613
- "290": 1
3614
- },
3615
- "fqnsFingerprint": "e31df21656f3b28986f149b7b71a6a21db964dfdc7a9498d130e0816235616d9"
3616
- },
3617
- "3ded8120befeed2ee307fc0172bdf07835b46f031b5bde08f429361f47ccb0e1": {
3618
- "translations": {
3619
- "python": {
3620
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\nfrom aws_cdk import aws_s3 as s3\n\n# bucket: s3.Bucket\n\nspark_uIProps = glue_alpha.SparkUIProps(\n enabled=False,\n\n # the properties below are optional\n bucket=bucket,\n prefix=\"prefix\"\n)",
3621
- "version": "2"
3622
- },
3623
- "csharp": {
3624
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\nusing Amazon.CDK.AWS.S3;\n\nBucket bucket;\n\nSparkUIProps sparkUIProps = new SparkUIProps {\n Enabled = false,\n\n // the properties below are optional\n Bucket = bucket,\n Prefix = \"prefix\"\n};",
3625
- "version": "1"
3626
- },
3627
- "java": {
3628
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\nimport software.amazon.awscdk.services.s3.*;\n\nBucket bucket;\n\nSparkUIProps sparkUIProps = SparkUIProps.builder()\n .enabled(false)\n\n // the properties below are optional\n .bucket(bucket)\n .prefix(\"prefix\")\n .build();",
3629
- "version": "1"
3630
- },
3631
- "go": {
3632
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar bucket bucket\n\nsparkUIProps := &sparkUIProps{\n\tenabled: jsii.Boolean(false),\n\n\t// the properties below are optional\n\tbucket: bucket,\n\tprefix: jsii.String(\"prefix\"),\n}",
3633
- "version": "1"
3634
- },
3635
- "$": {
3636
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\nconst sparkUIProps: glue_alpha.SparkUIProps = {\n enabled: false,\n\n // the properties below are optional\n bucket: bucket,\n prefix: 'prefix',\n};",
3637
- "version": "0"
3638
- }
3639
- },
3640
- "location": {
3641
- "api": {
3642
- "api": "type",
3643
- "fqn": "@aws-cdk/aws-glue-alpha.SparkUIProps"
3644
- },
3645
- "field": {
3646
- "field": "example"
3647
- }
3648
- },
3649
- "didCompile": true,
3650
- "fqnsReferenced": [
3651
- "@aws-cdk/aws-glue-alpha.SparkUIProps",
3652
- "aws-cdk-lib.aws_s3.IBucket"
3653
- ],
3654
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst sparkUIProps: glue_alpha.SparkUIProps = {\n enabled: false,\n\n // the properties below are optional\n bucket: bucket,\n prefix: 'prefix',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3655
- "syntaxKindCounter": {
3656
- "10": 3,
3657
- "75": 13,
3658
- "91": 1,
3659
- "130": 1,
3660
- "153": 2,
3661
- "169": 2,
3662
- "193": 1,
3663
- "225": 2,
3664
- "242": 2,
3665
- "243": 2,
3666
- "254": 2,
3667
- "255": 2,
3668
- "256": 1,
3669
- "257": 1,
3670
- "258": 1,
3671
- "281": 3,
3672
- "290": 1
3673
- },
3674
- "fqnsFingerprint": "8a37ce347ad525fbc328d0e47424b89aaca16ce95ad6a123c3864db800349d6b"
3675
- },
3676
- "f95f9b001db1703d2ec31cfcc5e61b67ec204f69f5eb3941e77c0d24c66ce1ea": {
3677
- "translations": {
3678
- "python": {
3679
- "source": "# my_database: glue.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 enable_partition_filtering=True\n)",
3680
- "version": "2"
3681
- },
3682
- "csharp": {
3683
- "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 EnablePartitionFiltering = true\n});",
3684
- "version": "1"
3685
- },
3686
- "java": {
3687
- "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 .enablePartitionFiltering(true)\n .build();",
3688
- "version": "1"
3689
- },
3690
- "go": {
3691
- "source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n\tenablePartitionFiltering: jsii.Boolean(true),\n})",
3692
- "version": "1"
3693
- },
3694
- "$": {
3695
- "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 enablePartitionFiltering: true,\n});",
3696
- "version": "0"
3697
- }
3698
- },
3699
- "location": {
3700
- "api": {
3701
- "api": "type",
3702
- "fqn": "@aws-cdk/aws-glue-alpha.Table"
3703
- },
3704
- "field": {
3705
- "field": "example"
3706
- }
3707
- },
3708
- "didCompile": true,
3709
- "fqnsReferenced": [
3710
- "@aws-cdk/aws-glue-alpha.DataFormat",
3711
- "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
3712
- "@aws-cdk/aws-glue-alpha.IDatabase",
3713
- "@aws-cdk/aws-glue-alpha.Schema",
3714
- "@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
3715
- "@aws-cdk/aws-glue-alpha.Schema#STRING",
3716
- "@aws-cdk/aws-glue-alpha.Table",
3717
- "@aws-cdk/aws-glue-alpha.TableProps",
3718
- "@aws-cdk/aws-glue-alpha.Type",
3719
- "constructs.Construct"
3720
- ],
3721
- "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 enablePartitionFiltering: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
3722
- "syntaxKindCounter": {
3723
- "10": 5,
3724
- "75": 30,
3725
- "104": 1,
3726
- "106": 1,
3727
- "130": 1,
3728
- "153": 1,
3729
- "169": 1,
3730
- "192": 2,
3731
- "193": 4,
3732
- "194": 9,
3733
- "197": 1,
3734
- "225": 1,
3735
- "226": 1,
3736
- "242": 1,
3737
- "243": 1,
3738
- "281": 12,
3739
- "290": 1
3740
- },
3741
- "fqnsFingerprint": "78755a5f857810726a2f4e8a72cb2b831a728a9a76a15fd6fbf1ebe932e9d8a2"
3742
- },
3743
- "726c6de6bd08d1ae1e21269794986e57d9dfae50be9ba6666a0e07dc5235e8a7": {
3744
- "translations": {
3745
- "python": {
3746
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\n\ntable_attributes = glue_alpha.TableAttributes(\n table_arn=\"tableArn\",\n table_name=\"tableName\"\n)",
3747
- "version": "2"
3748
- },
3749
- "csharp": {
3750
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\n\nTableAttributes tableAttributes = new TableAttributes {\n TableArn = \"tableArn\",\n TableName = \"tableName\"\n};",
3751
- "version": "1"
3752
- },
3753
- "java": {
3754
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\n\nTableAttributes tableAttributes = TableAttributes.builder()\n .tableArn(\"tableArn\")\n .tableName(\"tableName\")\n .build();",
3755
- "version": "1"
3756
- },
3757
- "go": {
3758
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\n\ntableAttributes := &tableAttributes{\n\ttableArn: jsii.String(\"tableArn\"),\n\ttableName: jsii.String(\"tableName\"),\n}",
3759
- "version": "1"
3760
- },
3761
- "$": {
3762
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst tableAttributes: glue_alpha.TableAttributes = {\n tableArn: 'tableArn',\n tableName: 'tableName',\n};",
3763
- "version": "0"
3764
- }
3765
- },
3766
- "location": {
3767
- "api": {
3768
- "api": "type",
3769
- "fqn": "@aws-cdk/aws-glue-alpha.TableAttributes"
3770
- },
3771
- "field": {
3772
- "field": "example"
3773
- }
3774
- },
3775
- "didCompile": true,
3776
- "fqnsReferenced": [
3777
- "@aws-cdk/aws-glue-alpha.TableAttributes"
3778
- ],
3779
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst tableAttributes: glue_alpha.TableAttributes = {\n tableArn: 'tableArn',\n tableName: 'tableName',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3780
- "syntaxKindCounter": {
3781
- "10": 3,
3782
- "75": 6,
3783
- "153": 1,
3784
- "169": 1,
3785
- "193": 1,
3786
- "225": 1,
3787
- "242": 1,
3788
- "243": 1,
3789
- "254": 1,
3790
- "255": 1,
3791
- "256": 1,
3792
- "281": 2,
3793
- "290": 1
3794
- },
3795
- "fqnsFingerprint": "d1f3f208ef4fc3d16709c49acd22b2009a915b84250b511ce819db9dcb853e4a"
3796
- },
3797
- "e68db48645e9f627f294d5e39a11522a3764ad23da131dbcf715bdffc322a031": {
3798
- "translations": {
3799
- "python": {
3800
- "source": "# my_database: glue.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)",
3801
- "version": "2"
3802
- },
3803
- "csharp": {
3804
- "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});",
3805
- "version": "1"
3806
- },
3807
- "java": {
3808
- "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();",
3809
- "version": "1"
3810
- },
3811
- "go": {
3812
- "source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tencryption: glue.tableEncryption_S3_MANAGED,\n\t// ...\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n})",
3813
- "version": "1"
3814
- },
3815
- "$": {
3816
- "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});",
3817
- "version": "0"
3818
- }
3819
- },
3820
- "location": {
3821
- "api": {
3822
- "api": "type",
3823
- "fqn": "@aws-cdk/aws-glue-alpha.TableEncryption"
3824
- },
3825
- "field": {
3826
- "field": "example"
3827
- }
3828
- },
3829
- "didCompile": true,
3830
- "fqnsReferenced": [
3831
- "@aws-cdk/aws-glue-alpha.DataFormat",
3832
- "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
3833
- "@aws-cdk/aws-glue-alpha.IDatabase",
3834
- "@aws-cdk/aws-glue-alpha.Schema",
3835
- "@aws-cdk/aws-glue-alpha.Schema#STRING",
3836
- "@aws-cdk/aws-glue-alpha.Table",
3837
- "@aws-cdk/aws-glue-alpha.TableEncryption",
3838
- "@aws-cdk/aws-glue-alpha.TableEncryption#S3_MANAGED",
3839
- "@aws-cdk/aws-glue-alpha.TableProps",
3840
- "@aws-cdk/aws-glue-alpha.Type",
3841
- "constructs.Construct"
3842
- ],
3843
- "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",
3844
- "syntaxKindCounter": {
3845
- "10": 3,
3846
- "75": 22,
3847
- "104": 1,
3848
- "130": 1,
3849
- "153": 1,
3850
- "169": 1,
3851
- "192": 1,
3852
- "193": 2,
3853
- "194": 7,
3854
- "197": 1,
3855
- "225": 1,
3856
- "226": 1,
3857
- "242": 1,
3858
- "243": 1,
3859
- "281": 7,
3860
- "290": 1
3861
- },
3862
- "fqnsFingerprint": "5fb181fdb3494a53fba7252c537c67235f391802acb51bdf7e00cc655a7ba44e"
3863
- },
3864
- "df89abd921e4df0b8279cffea14e45928d60fea888a33c07fe42af3b7b386a65": {
3865
- "translations": {
3866
- "python": {
3867
- "source": "# my_database: glue.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 enable_partition_filtering=True\n)",
3868
- "version": "2"
3869
- },
3870
- "csharp": {
3871
- "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 EnablePartitionFiltering = true\n});",
3872
- "version": "1"
3873
- },
3874
- "java": {
3875
- "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 .enablePartitionFiltering(true)\n .build();",
3876
- "version": "1"
3877
- },
3878
- "go": {
3879
- "source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n\tenablePartitionFiltering: jsii.Boolean(true),\n})",
3880
- "version": "1"
3881
- },
3882
- "$": {
3883
- "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 enablePartitionFiltering: true,\n});",
3884
- "version": "0"
3885
- }
3886
- },
3887
- "location": {
3888
- "api": {
3889
- "api": "type",
3890
- "fqn": "@aws-cdk/aws-glue-alpha.TableProps"
3891
- },
3892
- "field": {
3893
- "field": "example"
3894
- }
3895
- },
3896
- "didCompile": true,
3897
- "fqnsReferenced": [
3898
- "@aws-cdk/aws-glue-alpha.DataFormat",
3899
- "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
3900
- "@aws-cdk/aws-glue-alpha.IDatabase",
3901
- "@aws-cdk/aws-glue-alpha.Schema",
3902
- "@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
3903
- "@aws-cdk/aws-glue-alpha.Schema#STRING",
3904
- "@aws-cdk/aws-glue-alpha.Table",
3905
- "@aws-cdk/aws-glue-alpha.TableProps",
3906
- "@aws-cdk/aws-glue-alpha.Type",
3907
- "constructs.Construct"
3908
- ],
3909
- "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 enablePartitionFiltering: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
3910
- "syntaxKindCounter": {
3911
- "10": 5,
3912
- "75": 30,
3913
- "104": 1,
3914
- "106": 1,
3915
- "130": 1,
3916
- "153": 1,
3917
- "169": 1,
3918
- "192": 2,
3919
- "193": 4,
3920
- "194": 9,
3921
- "197": 1,
3922
- "225": 1,
3923
- "226": 1,
3924
- "242": 1,
3925
- "243": 1,
3926
- "281": 12,
3927
- "290": 1
3928
- },
3929
- "fqnsFingerprint": "78755a5f857810726a2f4e8a72cb2b831a728a9a76a15fd6fbf1ebe932e9d8a2"
3930
- },
3931
- "3e4b4392418048c8dc81ecdf7e5267ca32c04996c1bc096a913651617fa6eb16": {
3932
- "translations": {
3933
- "python": {
3934
- "source": "# my_database: glue.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 enable_partition_filtering=True\n)",
3935
- "version": "2"
3936
- },
3937
- "csharp": {
3938
- "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 EnablePartitionFiltering = true\n});",
3939
- "version": "1"
3940
- },
3941
- "java": {
3942
- "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 .enablePartitionFiltering(true)\n .build();",
3943
- "version": "1"
3944
- },
3945
- "go": {
3946
- "source": "var myDatabase database\n\nglue.NewTable(this, jsii.String(\"MyTable\"), &tableProps{\n\tdatabase: myDatabase,\n\ttableName: jsii.String(\"my_table\"),\n\tcolumns: []column{\n\t\t&column{\n\t\t\tname: jsii.String(\"col1\"),\n\t\t\ttype: glue.schema_STRING(),\n\t\t},\n\t},\n\tpartitionKeys: []*column{\n\t\t&column{\n\t\t\tname: jsii.String(\"year\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t\t&column{\n\t\t\tname: jsii.String(\"month\"),\n\t\t\ttype: glue.*schema_SMALL_INT(),\n\t\t},\n\t},\n\tdataFormat: glue.dataFormat_JSON(),\n\tenablePartitionFiltering: jsii.Boolean(true),\n})",
3947
- "version": "1"
3948
- },
3949
- "$": {
3950
- "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 enablePartitionFiltering: true,\n});",
3951
- "version": "0"
3952
- }
3953
- },
3954
- "location": {
3955
- "api": {
3956
- "api": "type",
3957
- "fqn": "@aws-cdk/aws-glue-alpha.Type"
3958
- },
3959
- "field": {
3960
- "field": "example"
3961
- }
3962
- },
3963
- "didCompile": true,
3964
- "fqnsReferenced": [
3965
- "@aws-cdk/aws-glue-alpha.DataFormat",
3966
- "@aws-cdk/aws-glue-alpha.DataFormat#JSON",
3967
- "@aws-cdk/aws-glue-alpha.IDatabase",
3968
- "@aws-cdk/aws-glue-alpha.Schema",
3969
- "@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
3970
- "@aws-cdk/aws-glue-alpha.Schema#STRING",
3971
- "@aws-cdk/aws-glue-alpha.Table",
3972
- "@aws-cdk/aws-glue-alpha.TableProps",
3973
- "@aws-cdk/aws-glue-alpha.Type",
3974
- "constructs.Construct"
3975
- ],
3976
- "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 enablePartitionFiltering: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
3977
- "syntaxKindCounter": {
3978
- "10": 5,
3979
- "75": 30,
3980
- "104": 1,
3981
- "106": 1,
3982
- "130": 1,
3983
- "153": 1,
3984
- "169": 1,
3985
- "192": 2,
3986
- "193": 4,
3987
- "194": 9,
3988
- "197": 1,
3989
- "225": 1,
3990
- "226": 1,
3991
- "242": 1,
3992
- "243": 1,
3993
- "281": 12,
3994
- "290": 1
3995
- },
3996
- "fqnsFingerprint": "78755a5f857810726a2f4e8a72cb2b831a728a9a76a15fd6fbf1ebe932e9d8a2"
3997
- },
3998
- "6dd61f985caf76f93636a0ac81cf52309c67009318c1573d0611ee83cee55bf7": {
3999
- "translations": {
4000
- "python": {
4001
- "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_glue_alpha as glue_alpha\n\nworker_type = glue_alpha.WorkerType.G_1X",
4002
- "version": "2"
4003
- },
4004
- "csharp": {
4005
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Glue.Alpha;\n\nWorkerType workerType = WorkerType.G_1X;",
4006
- "version": "1"
4007
- },
4008
- "java": {
4009
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.glue.alpha.*;\n\nWorkerType workerType = WorkerType.G_1X;",
4010
- "version": "1"
4011
- },
4012
- "go": {
4013
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport glue_alpha \"github.com/aws/aws-cdk-go/awscdkgluealpha\"\n\nworkerType := glue_alpha.workerType_G_1X()",
4014
- "version": "1"
4015
- },
4016
- "$": {
4017
- "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst workerType = glue_alpha.WorkerType.G_1X;",
4018
- "version": "0"
4019
- }
4020
- },
4021
- "location": {
4022
- "api": {
4023
- "api": "type",
4024
- "fqn": "@aws-cdk/aws-glue-alpha.WorkerType"
4025
- },
4026
- "field": {
4027
- "field": "example"
4028
- }
4029
- },
4030
- "didCompile": true,
4031
- "fqnsReferenced": [
4032
- "@aws-cdk/aws-glue-alpha.WorkerType",
4033
- "@aws-cdk/aws-glue-alpha.WorkerType#G_1X"
4034
- ],
4035
- "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst workerType = glue_alpha.WorkerType.G_1X;\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4036
- "syntaxKindCounter": {
4037
- "10": 1,
4038
- "75": 5,
4039
- "194": 2,
4040
- "225": 1,
4041
- "242": 1,
4042
- "243": 1,
4043
- "254": 1,
4044
- "255": 1,
4045
- "256": 1,
4046
- "290": 1
4047
- },
4048
- "fqnsFingerprint": "62d11145f2f61561a196d67535ab796a6b8c2975efc208604fd052ca05614a28"
4049
- }
4050
- }
4051
- }