@aws-cdk/aws-glue-alpha 2.6.0-alpha.0 → 2.10.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 +55 -3
- package/.jsii.tabl.json +156 -156
- package/.warnings.jsii.js +7 -7
- package/lib/code.js +3 -3
- package/lib/connection.js +2 -2
- package/lib/data-format.js +5 -5
- package/lib/database.js +1 -1
- package/lib/job-executable.js +3 -3
- package/lib/job.js +2 -2
- package/lib/schema.js +1 -1
- package/lib/security-configuration.js +1 -1
- package/lib/table.js +1 -1
- package/package.json +9 -9
package/.jsii.tabl.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2",
|
|
3
|
-
"toolVersion": "1.
|
|
3
|
+
"toolVersion": "1.52.1",
|
|
4
4
|
"snippets": {
|
|
5
5
|
"acfd3bedd5746453e0a0519458aded634bdec6a9a0d56e4659cec69a921925a6": {
|
|
6
6
|
"translations": {
|
|
7
7
|
"python": {
|
|
8
|
-
"source": "# bucket
|
|
9
|
-
"version": "
|
|
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
10
|
},
|
|
11
11
|
"csharp": {
|
|
12
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});",
|
|
@@ -64,13 +64,13 @@
|
|
|
64
64
|
"281": 6,
|
|
65
65
|
"290": 1
|
|
66
66
|
},
|
|
67
|
-
"fqnsFingerprint": "
|
|
67
|
+
"fqnsFingerprint": "5c07b59811bdcf708d96e403595815a01a618866d04cb49a5f1ae77cab558a86"
|
|
68
68
|
},
|
|
69
69
|
"52d8f72218212ecafb83bf5adb08b8c7d1c9bac1835e26008f6cd1455bf507c2": {
|
|
70
70
|
"translations": {
|
|
71
71
|
"python": {
|
|
72
72
|
"source": "glue.Job(self, \"PythonSparkStreamingJob\",\n executable=glue.JobExecutable.python_streaming(\n glue_version=glue.GlueVersion.V2_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_asset(path.join(__dirname, \"job-script/hello_world.py\"))\n ),\n description=\"an example Python Streaming job\"\n)",
|
|
73
|
-
"version": "
|
|
73
|
+
"version": "2"
|
|
74
74
|
},
|
|
75
75
|
"csharp": {
|
|
76
76
|
"source": "new Job(this, \"PythonSparkStreamingJob\", new JobProps {\n Executable = JobExecutable.PythonStreaming(new PythonSparkJobExecutableProps {\n GlueVersion = GlueVersion.V2_0,\n PythonVersion = PythonVersion.THREE,\n Script = Code.FromAsset(Join(__dirname, \"job-script/hello_world.py\"))\n }),\n Description = \"an example Python Streaming job\"\n});",
|
|
@@ -121,13 +121,13 @@
|
|
|
121
121
|
"226": 1,
|
|
122
122
|
"281": 5
|
|
123
123
|
},
|
|
124
|
-
"fqnsFingerprint": "
|
|
124
|
+
"fqnsFingerprint": "28bca907b52b079b62b4b046ad889e837d45435f8474412765144e97427c3ced"
|
|
125
125
|
},
|
|
126
126
|
"315ff1895769be8ecf1e09dcf4f53d5678c1277852bfc3d17dd878119198744a": {
|
|
127
127
|
"translations": {
|
|
128
128
|
"python": {
|
|
129
|
-
"source": "# bucket
|
|
130
|
-
"version": "
|
|
129
|
+
"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)",
|
|
130
|
+
"version": "2"
|
|
131
131
|
},
|
|
132
132
|
"csharp": {
|
|
133
133
|
"source": "Bucket bucket;\n\nnew Job(this, \"PythonShellJob\", new JobProps {\n Executable = JobExecutable.PythonShell(new PythonShellExecutableProps {\n GlueVersion = GlueVersion.V1_0,\n PythonVersion = PythonVersion.THREE,\n Script = Code.FromBucket(bucket, \"script.py\")\n }),\n Description = \"an example Python Shell job\"\n});",
|
|
@@ -186,13 +186,13 @@
|
|
|
186
186
|
"281": 5,
|
|
187
187
|
"290": 1
|
|
188
188
|
},
|
|
189
|
-
"fqnsFingerprint": "
|
|
189
|
+
"fqnsFingerprint": "d53465c369f2eeb045a1988035a7b6e77a0c8d9514f30f123da808ca81ec9690"
|
|
190
190
|
},
|
|
191
191
|
"c1935880a967906ea9c12cbe71c18267c58f458c685361b267c6c1a1b80044ec": {
|
|
192
192
|
"translations": {
|
|
193
193
|
"python": {
|
|
194
|
-
"source": "# security_group
|
|
195
|
-
"version": "
|
|
194
|
+
"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)",
|
|
195
|
+
"version": "2"
|
|
196
196
|
},
|
|
197
197
|
"csharp": {
|
|
198
198
|
"source": "SecurityGroup securityGroup;\nSubnet subnet;\n\nnew Connection(this, \"MyConnection\", new ConnectionProps {\n Type = ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n SecurityGroups = new [] { securityGroup },\n // The VPC subnet which contains the data source\n Subnet = subnet\n});",
|
|
@@ -245,13 +245,13 @@
|
|
|
245
245
|
"282": 1,
|
|
246
246
|
"290": 1
|
|
247
247
|
},
|
|
248
|
-
"fqnsFingerprint": "
|
|
248
|
+
"fqnsFingerprint": "b6720ec7deeafd302484f62161dafd681d17c3c3707cf41590b0dcc0add02d0b"
|
|
249
249
|
},
|
|
250
250
|
"ef204a1a1235566e396f1ffea0a46b1117af25a01acabd8c7c67f292fa61abc0": {
|
|
251
251
|
"translations": {
|
|
252
252
|
"python": {
|
|
253
253
|
"source": "glue.SecurityConfiguration(self, \"MySecurityConfiguration\",\n security_configuration_name=\"name\",\n cloud_watch_encryption=glue.CloudWatchEncryption(\n mode=glue.CloudWatchEncryptionMode.KMS\n ),\n job_bookmarks_encryption=glue.JobBookmarksEncryption(\n mode=glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n ),\n s3_encryption=glue.S3Encryption(\n mode=glue.S3EncryptionMode.KMS\n )\n)",
|
|
254
|
-
"version": "
|
|
254
|
+
"version": "2"
|
|
255
255
|
},
|
|
256
256
|
"csharp": {
|
|
257
257
|
"source": "new SecurityConfiguration(this, \"MySecurityConfiguration\", new SecurityConfigurationProps {\n SecurityConfigurationName = \"name\",\n CloudWatchEncryption = new CloudWatchEncryption {\n Mode = CloudWatchEncryptionMode.KMS\n },\n JobBookmarksEncryption = new JobBookmarksEncryption {\n Mode = JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n },\n S3Encryption = new S3Encryption {\n Mode = S3EncryptionMode.KMS\n }\n});",
|
|
@@ -301,13 +301,13 @@
|
|
|
301
301
|
"226": 1,
|
|
302
302
|
"281": 7
|
|
303
303
|
},
|
|
304
|
-
"fqnsFingerprint": "
|
|
304
|
+
"fqnsFingerprint": "bf6d07b78c627e5b3c44d864b257e88876c8e67f7866003da6bcbac8610b7e6e"
|
|
305
305
|
},
|
|
306
306
|
"c3d64416750a52a9c314ca2dbd149c74e2b09e589effebe8e40bb0c1f6345ecc": {
|
|
307
307
|
"translations": {
|
|
308
308
|
"python": {
|
|
309
|
-
"source": "# key
|
|
310
|
-
"version": "
|
|
309
|
+
"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)",
|
|
310
|
+
"version": "2"
|
|
311
311
|
},
|
|
312
312
|
"csharp": {
|
|
313
313
|
"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});",
|
|
@@ -359,13 +359,13 @@
|
|
|
359
359
|
"281": 4,
|
|
360
360
|
"290": 1
|
|
361
361
|
},
|
|
362
|
-
"fqnsFingerprint": "
|
|
362
|
+
"fqnsFingerprint": "79fce8e8d51f4d23f37f6473de02e526f80431b8f8900f91434018da29323560"
|
|
363
363
|
},
|
|
364
364
|
"8bef7e198448a674159b525da392ac9b84bc32cc34cc06373fc37dc3312efaf5": {
|
|
365
365
|
"translations": {
|
|
366
366
|
"python": {
|
|
367
367
|
"source": "glue.Database(self, \"MyDatabase\",\n database_name=\"my_database\"\n)",
|
|
368
|
-
"version": "
|
|
368
|
+
"version": "2"
|
|
369
369
|
},
|
|
370
370
|
"csharp": {
|
|
371
371
|
"source": "new Database(this, \"MyDatabase\", new DatabaseProps {\n DatabaseName = \"my_database\"\n});",
|
|
@@ -406,13 +406,13 @@
|
|
|
406
406
|
"226": 1,
|
|
407
407
|
"281": 1
|
|
408
408
|
},
|
|
409
|
-
"fqnsFingerprint": "
|
|
409
|
+
"fqnsFingerprint": "f940a79ab2fc70ee01db233f3b6c3c2350c220870c57da11a80446347e1e36cb"
|
|
410
410
|
},
|
|
411
411
|
"29dce1a9c819135fecb5e9e6bb2e360c6e5c9e3c2d41e640a7c0581bbb1d3017": {
|
|
412
412
|
"translations": {
|
|
413
413
|
"python": {
|
|
414
|
-
"source": "# my_database
|
|
415
|
-
"version": "
|
|
414
|
+
"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)",
|
|
415
|
+
"version": "2"
|
|
416
416
|
},
|
|
417
417
|
"csharp": {
|
|
418
418
|
"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});",
|
|
@@ -469,13 +469,13 @@
|
|
|
469
469
|
"281": 9,
|
|
470
470
|
"290": 1
|
|
471
471
|
},
|
|
472
|
-
"fqnsFingerprint": "
|
|
472
|
+
"fqnsFingerprint": "f1551ac14c3605bf2c63d73e797f36a6c073dc92dba8ee6859fcc14d0d535848"
|
|
473
473
|
},
|
|
474
474
|
"48dbd3d1c174f209d2eeaf76fc65341fe9063494d3ecbf5d345f547ee1b64502": {
|
|
475
475
|
"translations": {
|
|
476
476
|
"python": {
|
|
477
|
-
"source": "# my_bucket
|
|
478
|
-
"version": "
|
|
477
|
+
"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)",
|
|
478
|
+
"version": "2"
|
|
479
479
|
},
|
|
480
480
|
"csharp": {
|
|
481
481
|
"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});",
|
|
@@ -531,13 +531,13 @@
|
|
|
531
531
|
"281": 8,
|
|
532
532
|
"290": 1
|
|
533
533
|
},
|
|
534
|
-
"fqnsFingerprint": "
|
|
534
|
+
"fqnsFingerprint": "c74cbd756bcb547500ed008f7f8f4624794e86fb29e6bcbc38ab35f141107496"
|
|
535
535
|
},
|
|
536
536
|
"6f8305c4eac5dd7922f1d9957ed53b6029647282e7acc253a6a045a8d4c4a202": {
|
|
537
537
|
"translations": {
|
|
538
538
|
"python": {
|
|
539
|
-
"source": "# my_database
|
|
540
|
-
"version": "
|
|
539
|
+
"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)",
|
|
540
|
+
"version": "2"
|
|
541
541
|
},
|
|
542
542
|
"csharp": {
|
|
543
543
|
"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});",
|
|
@@ -593,13 +593,13 @@
|
|
|
593
593
|
"281": 11,
|
|
594
594
|
"290": 1
|
|
595
595
|
},
|
|
596
|
-
"fqnsFingerprint": "
|
|
596
|
+
"fqnsFingerprint": "6a41ed598abd47162bd5ae63e40e983f83dda1df68e010b521cfc7f0ceda1f36"
|
|
597
597
|
},
|
|
598
598
|
"0b301a07c6b9b33d8c51f6a28e0f51c77fd8060fb871a0bfc0a7c0c7bacf3c33": {
|
|
599
599
|
"translations": {
|
|
600
600
|
"python": {
|
|
601
|
-
"source": "# my_database
|
|
602
|
-
"version": "
|
|
601
|
+
"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)",
|
|
602
|
+
"version": "2"
|
|
603
603
|
},
|
|
604
604
|
"csharp": {
|
|
605
605
|
"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});",
|
|
@@ -655,13 +655,13 @@
|
|
|
655
655
|
"281": 14,
|
|
656
656
|
"290": 1
|
|
657
657
|
},
|
|
658
|
-
"fqnsFingerprint": "
|
|
658
|
+
"fqnsFingerprint": "6a41ed598abd47162bd5ae63e40e983f83dda1df68e010b521cfc7f0ceda1f36"
|
|
659
659
|
},
|
|
660
660
|
"5793f08903a3c1e754b47f167920b7855031a92ae42242712e58982a10f732f8": {
|
|
661
661
|
"translations": {
|
|
662
662
|
"python": {
|
|
663
|
-
"source": "# my_table
|
|
664
|
-
"version": "
|
|
663
|
+
"source": "# my_table: glue.Table\n\nmy_table.add_partition_index(\n index_name=\"my-index\",\n key_names=[\"year\"]\n)",
|
|
664
|
+
"version": "2"
|
|
665
665
|
},
|
|
666
666
|
"csharp": {
|
|
667
667
|
"source": "Table myTable;\n\nmyTable.AddPartitionIndex(new PartitionIndex {\n IndexName = \"my-index\",\n KeyNames = new [] { \"year\" }\n});",
|
|
@@ -714,8 +714,8 @@
|
|
|
714
714
|
"1bf74f01c28cd1c12bfe4e509c382e9a91c8a523c72ddd76f2beb7a886917767": {
|
|
715
715
|
"translations": {
|
|
716
716
|
"python": {
|
|
717
|
-
"source": "# my_database
|
|
718
|
-
"version": "
|
|
717
|
+
"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)",
|
|
718
|
+
"version": "2"
|
|
719
719
|
},
|
|
720
720
|
"csharp": {
|
|
721
721
|
"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});",
|
|
@@ -772,13 +772,13 @@
|
|
|
772
772
|
"281": 7,
|
|
773
773
|
"290": 1
|
|
774
774
|
},
|
|
775
|
-
"fqnsFingerprint": "
|
|
775
|
+
"fqnsFingerprint": "d2e85a39ada23b95f0d26f00008f2a0ebf26505ca2418391473c15477d4daf66"
|
|
776
776
|
},
|
|
777
777
|
"55f3bda73e5d126d6982c01fe60e24b137f62f7503c71a26b574f77af03154da": {
|
|
778
778
|
"translations": {
|
|
779
779
|
"python": {
|
|
780
|
-
"source": "# my_database
|
|
781
|
-
"version": "
|
|
780
|
+
"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)",
|
|
781
|
+
"version": "2"
|
|
782
782
|
},
|
|
783
783
|
"csharp": {
|
|
784
784
|
"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});",
|
|
@@ -837,13 +837,13 @@
|
|
|
837
837
|
"281": 15,
|
|
838
838
|
"290": 1
|
|
839
839
|
},
|
|
840
|
-
"fqnsFingerprint": "
|
|
840
|
+
"fqnsFingerprint": "790f59b63d9b8a700fd4aac4711fc063c7bf323fbf4cfbd8c700fd64bced7266"
|
|
841
841
|
},
|
|
842
842
|
"947cf227f2fe24990b73fa480fc791123e6d55a26e62236512474a508394481e": {
|
|
843
843
|
"translations": {
|
|
844
844
|
"python": {
|
|
845
|
-
"source": "# my_database
|
|
846
|
-
"version": "
|
|
845
|
+
"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)",
|
|
846
|
+
"version": "2"
|
|
847
847
|
},
|
|
848
848
|
"csharp": {
|
|
849
849
|
"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});",
|
|
@@ -900,13 +900,13 @@
|
|
|
900
900
|
"281": 7,
|
|
901
901
|
"290": 1
|
|
902
902
|
},
|
|
903
|
-
"fqnsFingerprint": "
|
|
903
|
+
"fqnsFingerprint": "747022c2ba0bc777767213701b7950115c8918d8a68821105ca40fc159fa3c5e"
|
|
904
904
|
},
|
|
905
905
|
"cafa3c798318567d0667513b707a7d24a2d9a7d6b6904a908056835d3471d193": {
|
|
906
906
|
"translations": {
|
|
907
907
|
"python": {
|
|
908
|
-
"source": "# my_database
|
|
909
|
-
"version": "
|
|
908
|
+
"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)",
|
|
909
|
+
"version": "2"
|
|
910
910
|
},
|
|
911
911
|
"csharp": {
|
|
912
912
|
"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});",
|
|
@@ -965,13 +965,13 @@
|
|
|
965
965
|
"281": 15,
|
|
966
966
|
"290": 1
|
|
967
967
|
},
|
|
968
|
-
"fqnsFingerprint": "
|
|
968
|
+
"fqnsFingerprint": "f05f7b9aebf4c3e54ff24fa77447f03b42b9cafccd3b42b524c4cca4c7bb02be"
|
|
969
969
|
},
|
|
970
970
|
"f3bfc13f54c3ca5976a421d26282d95b14f4d31af0a1271ad09fcbd84418d7ab": {
|
|
971
971
|
"translations": {
|
|
972
972
|
"python": {
|
|
973
|
-
"source": "# my_database
|
|
974
|
-
"version": "
|
|
973
|
+
"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)",
|
|
974
|
+
"version": "2"
|
|
975
975
|
},
|
|
976
976
|
"csharp": {
|
|
977
977
|
"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});",
|
|
@@ -1033,13 +1033,13 @@
|
|
|
1033
1033
|
"281": 18,
|
|
1034
1034
|
"290": 1
|
|
1035
1035
|
},
|
|
1036
|
-
"fqnsFingerprint": "
|
|
1036
|
+
"fqnsFingerprint": "b36a580ded649ae696cdf2d7d471ebae064b1d330c2156ca7b727a9f3ffdcde2"
|
|
1037
1037
|
},
|
|
1038
1038
|
"57bc37024db9365130a13056a4776b245c6b3a838967c35cf75650d482504271": {
|
|
1039
1039
|
"translations": {
|
|
1040
1040
|
"python": {
|
|
1041
|
-
"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
|
|
1042
|
-
"version": "
|
|
1041
|
+
"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 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)",
|
|
1042
|
+
"version": "2"
|
|
1043
1043
|
},
|
|
1044
1044
|
"csharp": {
|
|
1045
1045
|
"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 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});",
|
|
@@ -1109,7 +1109,7 @@
|
|
|
1109
1109
|
"translations": {
|
|
1110
1110
|
"python": {
|
|
1111
1111
|
"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",
|
|
1112
|
-
"version": "
|
|
1112
|
+
"version": "2"
|
|
1113
1113
|
},
|
|
1114
1114
|
"csharp": {
|
|
1115
1115
|
"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;",
|
|
@@ -1157,7 +1157,7 @@
|
|
|
1157
1157
|
"translations": {
|
|
1158
1158
|
"python": {
|
|
1159
1159
|
"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)",
|
|
1160
|
-
"version": "
|
|
1160
|
+
"version": "2"
|
|
1161
1161
|
},
|
|
1162
1162
|
"csharp": {
|
|
1163
1163
|
"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});",
|
|
@@ -1206,13 +1206,13 @@
|
|
|
1206
1206
|
"226": 1,
|
|
1207
1207
|
"281": 7
|
|
1208
1208
|
},
|
|
1209
|
-
"fqnsFingerprint": "
|
|
1209
|
+
"fqnsFingerprint": "bf6d07b78c627e5b3c44d864b257e88876c8e67f7866003da6bcbac8610b7e6e"
|
|
1210
1210
|
},
|
|
1211
1211
|
"0cad66ee90d643cdd032cf30162c3727eedf459df0159667900ab70fce7bc90f": {
|
|
1212
1212
|
"translations": {
|
|
1213
1213
|
"python": {
|
|
1214
1214
|
"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)",
|
|
1215
|
-
"version": "
|
|
1215
|
+
"version": "2"
|
|
1216
1216
|
},
|
|
1217
1217
|
"csharp": {
|
|
1218
1218
|
"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});",
|
|
@@ -1261,13 +1261,13 @@
|
|
|
1261
1261
|
"226": 1,
|
|
1262
1262
|
"281": 7
|
|
1263
1263
|
},
|
|
1264
|
-
"fqnsFingerprint": "
|
|
1264
|
+
"fqnsFingerprint": "bf6d07b78c627e5b3c44d864b257e88876c8e67f7866003da6bcbac8610b7e6e"
|
|
1265
1265
|
},
|
|
1266
1266
|
"c8bdb8eb83b09b07d8f4825a7f34b32030d3c0ef3927f5278545ea1dd08a499e": {
|
|
1267
1267
|
"translations": {
|
|
1268
1268
|
"python": {
|
|
1269
|
-
"source": "# bucket
|
|
1270
|
-
"version": "
|
|
1269
|
+
"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)",
|
|
1270
|
+
"version": "2"
|
|
1271
1271
|
},
|
|
1272
1272
|
"csharp": {
|
|
1273
1273
|
"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});",
|
|
@@ -1325,13 +1325,13 @@
|
|
|
1325
1325
|
"281": 5,
|
|
1326
1326
|
"290": 1
|
|
1327
1327
|
},
|
|
1328
|
-
"fqnsFingerprint": "
|
|
1328
|
+
"fqnsFingerprint": "d53465c369f2eeb045a1988035a7b6e77a0c8d9514f30f123da808ca81ec9690"
|
|
1329
1329
|
},
|
|
1330
1330
|
"1497b3430cbccaf711f63747a1e5fac29c91af95451ebd10feb036af8382c928": {
|
|
1331
1331
|
"translations": {
|
|
1332
1332
|
"python": {
|
|
1333
1333
|
"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)",
|
|
1334
|
-
"version": "
|
|
1334
|
+
"version": "2"
|
|
1335
1335
|
},
|
|
1336
1336
|
"csharp": {
|
|
1337
1337
|
"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};",
|
|
@@ -1382,7 +1382,7 @@
|
|
|
1382
1382
|
"translations": {
|
|
1383
1383
|
"python": {
|
|
1384
1384
|
"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)",
|
|
1385
|
-
"version": "
|
|
1385
|
+
"version": "2"
|
|
1386
1386
|
},
|
|
1387
1387
|
"csharp": {
|
|
1388
1388
|
"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};",
|
|
@@ -1433,8 +1433,8 @@
|
|
|
1433
1433
|
"88b2f36f893a07c9b42fc87d210948cb7348a751d289b2eabbcc8d4c4d466391": {
|
|
1434
1434
|
"translations": {
|
|
1435
1435
|
"python": {
|
|
1436
|
-
"source": "# security_group
|
|
1437
|
-
"version": "
|
|
1436
|
+
"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)",
|
|
1437
|
+
"version": "2"
|
|
1438
1438
|
},
|
|
1439
1439
|
"csharp": {
|
|
1440
1440
|
"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});",
|
|
@@ -1486,13 +1486,13 @@
|
|
|
1486
1486
|
"282": 1,
|
|
1487
1487
|
"290": 1
|
|
1488
1488
|
},
|
|
1489
|
-
"fqnsFingerprint": "
|
|
1489
|
+
"fqnsFingerprint": "b6720ec7deeafd302484f62161dafd681d17c3c3707cf41590b0dcc0add02d0b"
|
|
1490
1490
|
},
|
|
1491
1491
|
"3fe018930d11961318b2a81c5f1864b3da3f5601c52ecc614371241e861ab42f": {
|
|
1492
1492
|
"translations": {
|
|
1493
1493
|
"python": {
|
|
1494
|
-
"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
|
|
1495
|
-
"version": "
|
|
1494
|
+
"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)",
|
|
1495
|
+
"version": "2"
|
|
1496
1496
|
},
|
|
1497
1497
|
"csharp": {
|
|
1498
1498
|
"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};",
|
|
@@ -1541,13 +1541,13 @@
|
|
|
1541
1541
|
"281": 7,
|
|
1542
1542
|
"290": 1
|
|
1543
1543
|
},
|
|
1544
|
-
"fqnsFingerprint": "
|
|
1544
|
+
"fqnsFingerprint": "7c4eebf5b58a235042b4347d0d05a1d98a0e71e00bcf4b4d8faea8e69f87ca1e"
|
|
1545
1545
|
},
|
|
1546
1546
|
"e1211ab39ed6fec79bd323ca5274000fcabdc176129cb4f9779ce2ff3b43ae51": {
|
|
1547
1547
|
"translations": {
|
|
1548
1548
|
"python": {
|
|
1549
|
-
"source": "# security_group
|
|
1550
|
-
"version": "
|
|
1549
|
+
"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)",
|
|
1550
|
+
"version": "2"
|
|
1551
1551
|
},
|
|
1552
1552
|
"csharp": {
|
|
1553
1553
|
"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});",
|
|
@@ -1599,13 +1599,13 @@
|
|
|
1599
1599
|
"282": 1,
|
|
1600
1600
|
"290": 1
|
|
1601
1601
|
},
|
|
1602
|
-
"fqnsFingerprint": "
|
|
1602
|
+
"fqnsFingerprint": "b6720ec7deeafd302484f62161dafd681d17c3c3707cf41590b0dcc0add02d0b"
|
|
1603
1603
|
},
|
|
1604
1604
|
"c3acda6afb130f5dc8c4d42c2078db37e2f2bc178bbe7ae224f1f3fac68bb300": {
|
|
1605
1605
|
"translations": {
|
|
1606
1606
|
"python": {
|
|
1607
|
-
"source": "# security_group
|
|
1608
|
-
"version": "
|
|
1607
|
+
"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)",
|
|
1608
|
+
"version": "2"
|
|
1609
1609
|
},
|
|
1610
1610
|
"csharp": {
|
|
1611
1611
|
"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});",
|
|
@@ -1657,13 +1657,13 @@
|
|
|
1657
1657
|
"282": 1,
|
|
1658
1658
|
"290": 1
|
|
1659
1659
|
},
|
|
1660
|
-
"fqnsFingerprint": "
|
|
1660
|
+
"fqnsFingerprint": "b6720ec7deeafd302484f62161dafd681d17c3c3707cf41590b0dcc0add02d0b"
|
|
1661
1661
|
},
|
|
1662
1662
|
"89ab7513aedb510cbf6bdf12d311bf615f341be96883069e9dbf80dab7a71fdf": {
|
|
1663
1663
|
"translations": {
|
|
1664
1664
|
"python": {
|
|
1665
|
-
"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
|
|
1666
|
-
"version": "
|
|
1665
|
+
"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)",
|
|
1666
|
+
"version": "2"
|
|
1667
1667
|
},
|
|
1668
1668
|
"csharp": {
|
|
1669
1669
|
"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};",
|
|
@@ -1712,13 +1712,13 @@
|
|
|
1712
1712
|
"281": 5,
|
|
1713
1713
|
"290": 1
|
|
1714
1714
|
},
|
|
1715
|
-
"fqnsFingerprint": "
|
|
1715
|
+
"fqnsFingerprint": "a61e4b602f99041e2f118fa96aa1bb9ae7f1240dd815e800f6b24beaed9f0837"
|
|
1716
1716
|
},
|
|
1717
1717
|
"b1363786d1e5971b3c780a09dd8b8d3b0e0be07472c6a3d61f9f442e09d29b16": {
|
|
1718
1718
|
"translations": {
|
|
1719
1719
|
"python": {
|
|
1720
|
-
"source": "# my_database
|
|
1721
|
-
"version": "
|
|
1720
|
+
"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)",
|
|
1721
|
+
"version": "2"
|
|
1722
1722
|
},
|
|
1723
1723
|
"csharp": {
|
|
1724
1724
|
"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});",
|
|
@@ -1773,13 +1773,13 @@
|
|
|
1773
1773
|
"281": 11,
|
|
1774
1774
|
"290": 1
|
|
1775
1775
|
},
|
|
1776
|
-
"fqnsFingerprint": "
|
|
1776
|
+
"fqnsFingerprint": "6a41ed598abd47162bd5ae63e40e983f83dda1df68e010b521cfc7f0ceda1f36"
|
|
1777
1777
|
},
|
|
1778
1778
|
"cbc7bf4c317a8ec8fc5c9256688a20db175d859b28fc3054eba52e51c9876498": {
|
|
1779
1779
|
"translations": {
|
|
1780
1780
|
"python": {
|
|
1781
|
-
"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
|
|
1782
|
-
"version": "
|
|
1781
|
+
"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)",
|
|
1782
|
+
"version": "2"
|
|
1783
1783
|
},
|
|
1784
1784
|
"csharp": {
|
|
1785
1785
|
"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};",
|
|
@@ -1834,7 +1834,7 @@
|
|
|
1834
1834
|
"translations": {
|
|
1835
1835
|
"python": {
|
|
1836
1836
|
"source": "glue.Database(self, \"MyDatabase\",\n database_name=\"my_database\"\n)",
|
|
1837
|
-
"version": "
|
|
1837
|
+
"version": "2"
|
|
1838
1838
|
},
|
|
1839
1839
|
"csharp": {
|
|
1840
1840
|
"source": "new Database(this, \"MyDatabase\", new DatabaseProps {\n DatabaseName = \"my_database\"\n});",
|
|
@@ -1874,13 +1874,13 @@
|
|
|
1874
1874
|
"226": 1,
|
|
1875
1875
|
"281": 1
|
|
1876
1876
|
},
|
|
1877
|
-
"fqnsFingerprint": "
|
|
1877
|
+
"fqnsFingerprint": "f940a79ab2fc70ee01db233f3b6c3c2350c220870c57da11a80446347e1e36cb"
|
|
1878
1878
|
},
|
|
1879
1879
|
"1ba7c08ac10b41363cebc03f9869769b46bd5c67723a1ee827653dd6379bd184": {
|
|
1880
1880
|
"translations": {
|
|
1881
1881
|
"python": {
|
|
1882
1882
|
"source": "glue.Database(self, \"MyDatabase\",\n database_name=\"my_database\"\n)",
|
|
1883
|
-
"version": "
|
|
1883
|
+
"version": "2"
|
|
1884
1884
|
},
|
|
1885
1885
|
"csharp": {
|
|
1886
1886
|
"source": "new Database(this, \"MyDatabase\", new DatabaseProps {\n DatabaseName = \"my_database\"\n});",
|
|
@@ -1920,13 +1920,13 @@
|
|
|
1920
1920
|
"226": 1,
|
|
1921
1921
|
"281": 1
|
|
1922
1922
|
},
|
|
1923
|
-
"fqnsFingerprint": "
|
|
1923
|
+
"fqnsFingerprint": "f940a79ab2fc70ee01db233f3b6c3c2350c220870c57da11a80446347e1e36cb"
|
|
1924
1924
|
},
|
|
1925
1925
|
"b9880ea645259a0b8762db76f4e76476a52a26e82ea25ca7fe18fa9fc3f58edf": {
|
|
1926
1926
|
"translations": {
|
|
1927
1927
|
"python": {
|
|
1928
|
-
"source": "# bucket
|
|
1929
|
-
"version": "
|
|
1928
|
+
"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)",
|
|
1929
|
+
"version": "2"
|
|
1930
1930
|
},
|
|
1931
1931
|
"csharp": {
|
|
1932
1932
|
"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});",
|
|
@@ -1984,13 +1984,13 @@
|
|
|
1984
1984
|
"281": 5,
|
|
1985
1985
|
"290": 1
|
|
1986
1986
|
},
|
|
1987
|
-
"fqnsFingerprint": "
|
|
1987
|
+
"fqnsFingerprint": "d53465c369f2eeb045a1988035a7b6e77a0c8d9514f30f123da808ca81ec9690"
|
|
1988
1988
|
},
|
|
1989
1989
|
"a7c86c256f66c4c655908fdb28ac3c0d6b40c223f7cacbb4b19fef9abd9d7243": {
|
|
1990
1990
|
"translations": {
|
|
1991
1991
|
"python": {
|
|
1992
1992
|
"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",
|
|
1993
|
-
"version": "
|
|
1993
|
+
"version": "2"
|
|
1994
1994
|
},
|
|
1995
1995
|
"csharp": {
|
|
1996
1996
|
"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;",
|
|
@@ -2037,8 +2037,8 @@
|
|
|
2037
2037
|
"874d27adcf7eda76cb6349757fa242e0ef835f26a4b8d7b3bcb32954b292739c": {
|
|
2038
2038
|
"translations": {
|
|
2039
2039
|
"python": {
|
|
2040
|
-
"source": "# bucket
|
|
2041
|
-
"version": "
|
|
2040
|
+
"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)",
|
|
2041
|
+
"version": "2"
|
|
2042
2042
|
},
|
|
2043
2043
|
"csharp": {
|
|
2044
2044
|
"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});",
|
|
@@ -2096,13 +2096,13 @@
|
|
|
2096
2096
|
"281": 5,
|
|
2097
2097
|
"290": 1
|
|
2098
2098
|
},
|
|
2099
|
-
"fqnsFingerprint": "
|
|
2099
|
+
"fqnsFingerprint": "d53465c369f2eeb045a1988035a7b6e77a0c8d9514f30f123da808ca81ec9690"
|
|
2100
2100
|
},
|
|
2101
2101
|
"bc67fe0f869f4ba7f3dbb3668d6aaf5efd6fc0e0eaaa5d8e7f6d9337f596b179": {
|
|
2102
2102
|
"translations": {
|
|
2103
2103
|
"python": {
|
|
2104
|
-
"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
|
|
2105
|
-
"version": "
|
|
2104
|
+
"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)",
|
|
2105
|
+
"version": "2"
|
|
2106
2106
|
},
|
|
2107
2107
|
"csharp": {
|
|
2108
2108
|
"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};",
|
|
@@ -2150,13 +2150,13 @@
|
|
|
2150
2150
|
"281": 2,
|
|
2151
2151
|
"290": 1
|
|
2152
2152
|
},
|
|
2153
|
-
"fqnsFingerprint": "
|
|
2153
|
+
"fqnsFingerprint": "bd40b0b7f1af55732d679f8fca517972d217f619735ef0ff5ab1f953e7945262"
|
|
2154
2154
|
},
|
|
2155
2155
|
"338946c760eb62657369459eaa0f29d4f879aa5304e3065d7090a9429c66ef9a": {
|
|
2156
2156
|
"translations": {
|
|
2157
2157
|
"python": {
|
|
2158
2158
|
"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)",
|
|
2159
|
-
"version": "
|
|
2159
|
+
"version": "2"
|
|
2160
2160
|
},
|
|
2161
2161
|
"csharp": {
|
|
2162
2162
|
"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});",
|
|
@@ -2205,13 +2205,13 @@
|
|
|
2205
2205
|
"226": 1,
|
|
2206
2206
|
"281": 7
|
|
2207
2207
|
},
|
|
2208
|
-
"fqnsFingerprint": "
|
|
2208
|
+
"fqnsFingerprint": "bf6d07b78c627e5b3c44d864b257e88876c8e67f7866003da6bcbac8610b7e6e"
|
|
2209
2209
|
},
|
|
2210
2210
|
"01645930c0f903782be928f0797d165bc9b6456a7557f0ae794f5b8c8be14038": {
|
|
2211
2211
|
"translations": {
|
|
2212
2212
|
"python": {
|
|
2213
2213
|
"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)",
|
|
2214
|
-
"version": "
|
|
2214
|
+
"version": "2"
|
|
2215
2215
|
},
|
|
2216
2216
|
"csharp": {
|
|
2217
2217
|
"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});",
|
|
@@ -2260,13 +2260,13 @@
|
|
|
2260
2260
|
"226": 1,
|
|
2261
2261
|
"281": 7
|
|
2262
2262
|
},
|
|
2263
|
-
"fqnsFingerprint": "
|
|
2263
|
+
"fqnsFingerprint": "bf6d07b78c627e5b3c44d864b257e88876c8e67f7866003da6bcbac8610b7e6e"
|
|
2264
2264
|
},
|
|
2265
2265
|
"6832b355847510af07ad3f1845210e75c148b4eb51beb4ba37bb5ff3578132ba": {
|
|
2266
2266
|
"translations": {
|
|
2267
2267
|
"python": {
|
|
2268
|
-
"source": "# bucket
|
|
2269
|
-
"version": "
|
|
2268
|
+
"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)",
|
|
2269
|
+
"version": "2"
|
|
2270
2270
|
},
|
|
2271
2271
|
"csharp": {
|
|
2272
2272
|
"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});",
|
|
@@ -2324,13 +2324,13 @@
|
|
|
2324
2324
|
"281": 5,
|
|
2325
2325
|
"290": 1
|
|
2326
2326
|
},
|
|
2327
|
-
"fqnsFingerprint": "
|
|
2327
|
+
"fqnsFingerprint": "d53465c369f2eeb045a1988035a7b6e77a0c8d9514f30f123da808ca81ec9690"
|
|
2328
2328
|
},
|
|
2329
2329
|
"d881c62d75f297064390937ef0d37eeb9086928d357c7a571af334c5b95252c6": {
|
|
2330
2330
|
"translations": {
|
|
2331
2331
|
"python": {
|
|
2332
|
-
"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
|
|
2333
|
-
"version": "
|
|
2332
|
+
"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)",
|
|
2333
|
+
"version": "2"
|
|
2334
2334
|
},
|
|
2335
2335
|
"csharp": {
|
|
2336
2336
|
"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};",
|
|
@@ -2385,13 +2385,13 @@
|
|
|
2385
2385
|
"281": 10,
|
|
2386
2386
|
"290": 1
|
|
2387
2387
|
},
|
|
2388
|
-
"fqnsFingerprint": "
|
|
2388
|
+
"fqnsFingerprint": "8ba61f6a81c0ac8b27bf7d735df24608faf667d30e3b30734de9ea576f328e31"
|
|
2389
2389
|
},
|
|
2390
2390
|
"943463d1930ad3031acad3870f483fe9fb5232ac43304a1f3b310599d039b503": {
|
|
2391
2391
|
"translations": {
|
|
2392
2392
|
"python": {
|
|
2393
|
-
"source": "# bucket
|
|
2394
|
-
"version": "
|
|
2393
|
+
"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)",
|
|
2394
|
+
"version": "2"
|
|
2395
2395
|
},
|
|
2396
2396
|
"csharp": {
|
|
2397
2397
|
"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});",
|
|
@@ -2449,13 +2449,13 @@
|
|
|
2449
2449
|
"281": 5,
|
|
2450
2450
|
"290": 1
|
|
2451
2451
|
},
|
|
2452
|
-
"fqnsFingerprint": "
|
|
2452
|
+
"fqnsFingerprint": "d53465c369f2eeb045a1988035a7b6e77a0c8d9514f30f123da808ca81ec9690"
|
|
2453
2453
|
},
|
|
2454
2454
|
"20599b2ea9a2f0c3fcc0deefca973f39a6949daf8f1519b3772730814f0bc344": {
|
|
2455
2455
|
"translations": {
|
|
2456
2456
|
"python": {
|
|
2457
2457
|
"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",
|
|
2458
|
-
"version": "
|
|
2458
|
+
"version": "2"
|
|
2459
2459
|
},
|
|
2460
2460
|
"csharp": {
|
|
2461
2461
|
"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;",
|
|
@@ -2503,7 +2503,7 @@
|
|
|
2503
2503
|
"translations": {
|
|
2504
2504
|
"python": {
|
|
2505
2505
|
"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\")",
|
|
2506
|
-
"version": "
|
|
2506
|
+
"version": "2"
|
|
2507
2507
|
},
|
|
2508
2508
|
"csharp": {
|
|
2509
2509
|
"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\");",
|
|
@@ -2550,8 +2550,8 @@
|
|
|
2550
2550
|
"e49fc10f4a955a27f84869390faa2ddb0fcf5dd412ce2b84b212dcde50a3d97d": {
|
|
2551
2551
|
"translations": {
|
|
2552
2552
|
"python": {
|
|
2553
|
-
"source": "# my_table
|
|
2554
|
-
"version": "
|
|
2553
|
+
"source": "# my_table: glue.Table\n\nmy_table.add_partition_index(\n index_name=\"my-index\",\n key_names=[\"year\"]\n)",
|
|
2554
|
+
"version": "2"
|
|
2555
2555
|
},
|
|
2556
2556
|
"csharp": {
|
|
2557
2557
|
"source": "Table myTable;\n\nmyTable.AddPartitionIndex(new PartitionIndex {\n IndexName = \"my-index\",\n KeyNames = new [] { \"year\" }\n});",
|
|
@@ -2603,8 +2603,8 @@
|
|
|
2603
2603
|
"f4512a1be0b132776e7633fc5cf1ecf099b4f827429cfd51dde780fbd65859ea": {
|
|
2604
2604
|
"translations": {
|
|
2605
2605
|
"python": {
|
|
2606
|
-
"source": "# bucket
|
|
2607
|
-
"version": "
|
|
2606
|
+
"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)",
|
|
2607
|
+
"version": "2"
|
|
2608
2608
|
},
|
|
2609
2609
|
"csharp": {
|
|
2610
2610
|
"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});",
|
|
@@ -2662,13 +2662,13 @@
|
|
|
2662
2662
|
"281": 5,
|
|
2663
2663
|
"290": 1
|
|
2664
2664
|
},
|
|
2665
|
-
"fqnsFingerprint": "
|
|
2665
|
+
"fqnsFingerprint": "d53465c369f2eeb045a1988035a7b6e77a0c8d9514f30f123da808ca81ec9690"
|
|
2666
2666
|
},
|
|
2667
2667
|
"3be182023e6e4eac096f34fd1d4375b6e09ac0423e9f05c6fae7f9088e084aef": {
|
|
2668
2668
|
"translations": {
|
|
2669
2669
|
"python": {
|
|
2670
2670
|
"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)",
|
|
2671
|
-
"version": "
|
|
2671
|
+
"version": "2"
|
|
2672
2672
|
},
|
|
2673
2673
|
"csharp": {
|
|
2674
2674
|
"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});",
|
|
@@ -2718,13 +2718,13 @@
|
|
|
2718
2718
|
"226": 1,
|
|
2719
2719
|
"281": 5
|
|
2720
2720
|
},
|
|
2721
|
-
"fqnsFingerprint": "
|
|
2721
|
+
"fqnsFingerprint": "28bca907b52b079b62b4b046ad889e837d45435f8474412765144e97427c3ced"
|
|
2722
2722
|
},
|
|
2723
2723
|
"2aa0e7e658c46bf934e9cfb49322411d28556e8b0c32a79ffc6e8fd3311b0898": {
|
|
2724
2724
|
"translations": {
|
|
2725
2725
|
"python": {
|
|
2726
2726
|
"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)",
|
|
2727
|
-
"version": "
|
|
2727
|
+
"version": "2"
|
|
2728
2728
|
},
|
|
2729
2729
|
"csharp": {
|
|
2730
2730
|
"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});",
|
|
@@ -2774,13 +2774,13 @@
|
|
|
2774
2774
|
"226": 1,
|
|
2775
2775
|
"281": 5
|
|
2776
2776
|
},
|
|
2777
|
-
"fqnsFingerprint": "
|
|
2777
|
+
"fqnsFingerprint": "28bca907b52b079b62b4b046ad889e837d45435f8474412765144e97427c3ced"
|
|
2778
2778
|
},
|
|
2779
2779
|
"ea036fe4a5d7f8a6a409249fcbf9efe7db7d2bd32119870153e8a62dbb32dc31": {
|
|
2780
2780
|
"translations": {
|
|
2781
2781
|
"python": {
|
|
2782
|
-
"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
|
|
2783
|
-
"version": "
|
|
2782
|
+
"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\")",
|
|
2783
|
+
"version": "2"
|
|
2784
2784
|
},
|
|
2785
2785
|
"csharp": {
|
|
2786
2786
|
"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\");",
|
|
@@ -2828,13 +2828,13 @@
|
|
|
2828
2828
|
"258": 1,
|
|
2829
2829
|
"290": 1
|
|
2830
2830
|
},
|
|
2831
|
-
"fqnsFingerprint": "
|
|
2831
|
+
"fqnsFingerprint": "6c091df302948312bfccf611b465bdf900b4ff2d6affd2d4b78477c46c23f1cf"
|
|
2832
2832
|
},
|
|
2833
2833
|
"00be0efff95e388412faa8e5147a7bebabf4b65b92504a92e02ddad9be5d97ab": {
|
|
2834
2834
|
"translations": {
|
|
2835
2835
|
"python": {
|
|
2836
2836
|
"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)",
|
|
2837
|
-
"version": "
|
|
2837
|
+
"version": "2"
|
|
2838
2838
|
},
|
|
2839
2839
|
"csharp": {
|
|
2840
2840
|
"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});",
|
|
@@ -2883,13 +2883,13 @@
|
|
|
2883
2883
|
"226": 1,
|
|
2884
2884
|
"281": 7
|
|
2885
2885
|
},
|
|
2886
|
-
"fqnsFingerprint": "
|
|
2886
|
+
"fqnsFingerprint": "bf6d07b78c627e5b3c44d864b257e88876c8e67f7866003da6bcbac8610b7e6e"
|
|
2887
2887
|
},
|
|
2888
2888
|
"207060b9df0bab24f1ba53598d44db9992e43f4124049cc5bba22f4593b34b76": {
|
|
2889
2889
|
"translations": {
|
|
2890
2890
|
"python": {
|
|
2891
2891
|
"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)",
|
|
2892
|
-
"version": "
|
|
2892
|
+
"version": "2"
|
|
2893
2893
|
},
|
|
2894
2894
|
"csharp": {
|
|
2895
2895
|
"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});",
|
|
@@ -2938,13 +2938,13 @@
|
|
|
2938
2938
|
"226": 1,
|
|
2939
2939
|
"281": 7
|
|
2940
2940
|
},
|
|
2941
|
-
"fqnsFingerprint": "
|
|
2941
|
+
"fqnsFingerprint": "bf6d07b78c627e5b3c44d864b257e88876c8e67f7866003da6bcbac8610b7e6e"
|
|
2942
2942
|
},
|
|
2943
2943
|
"4afd85d48ffa59c03eae18de7fb3e0694706561b0bf4d7ed87252515b562dfc8": {
|
|
2944
2944
|
"translations": {
|
|
2945
2945
|
"python": {
|
|
2946
|
-
"source": "# bucket
|
|
2947
|
-
"version": "
|
|
2946
|
+
"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)",
|
|
2947
|
+
"version": "2"
|
|
2948
2948
|
},
|
|
2949
2949
|
"csharp": {
|
|
2950
2950
|
"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});",
|
|
@@ -3001,13 +3001,13 @@
|
|
|
3001
3001
|
"281": 6,
|
|
3002
3002
|
"290": 1
|
|
3003
3003
|
},
|
|
3004
|
-
"fqnsFingerprint": "
|
|
3004
|
+
"fqnsFingerprint": "5c07b59811bdcf708d96e403595815a01a618866d04cb49a5f1ae77cab558a86"
|
|
3005
3005
|
},
|
|
3006
3006
|
"2b5c0fb05ef9fbdf3aab1c20e751d5e8016a472be78e3c58a1d99bcc139a2733": {
|
|
3007
3007
|
"translations": {
|
|
3008
3008
|
"python": {
|
|
3009
|
-
"source": "# my_database
|
|
3010
|
-
"version": "
|
|
3009
|
+
"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)",
|
|
3010
|
+
"version": "2"
|
|
3011
3011
|
},
|
|
3012
3012
|
"csharp": {
|
|
3013
3013
|
"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});",
|
|
@@ -3062,13 +3062,13 @@
|
|
|
3062
3062
|
"281": 11,
|
|
3063
3063
|
"290": 1
|
|
3064
3064
|
},
|
|
3065
|
-
"fqnsFingerprint": "
|
|
3065
|
+
"fqnsFingerprint": "6a41ed598abd47162bd5ae63e40e983f83dda1df68e010b521cfc7f0ceda1f36"
|
|
3066
3066
|
},
|
|
3067
3067
|
"e55a210f3c876a6be2519f598eef94230e766515aae98637ef80ba802dd919f6": {
|
|
3068
3068
|
"translations": {
|
|
3069
3069
|
"python": {
|
|
3070
3070
|
"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)",
|
|
3071
|
-
"version": "
|
|
3071
|
+
"version": "2"
|
|
3072
3072
|
},
|
|
3073
3073
|
"csharp": {
|
|
3074
3074
|
"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});",
|
|
@@ -3117,13 +3117,13 @@
|
|
|
3117
3117
|
"226": 1,
|
|
3118
3118
|
"281": 7
|
|
3119
3119
|
},
|
|
3120
|
-
"fqnsFingerprint": "
|
|
3120
|
+
"fqnsFingerprint": "bf6d07b78c627e5b3c44d864b257e88876c8e67f7866003da6bcbac8610b7e6e"
|
|
3121
3121
|
},
|
|
3122
3122
|
"9eb2dfc2ebe1d9d6f7994bd72a9643bbd3c9d5cae9f78341051820b35bfec9b2": {
|
|
3123
3123
|
"translations": {
|
|
3124
3124
|
"python": {
|
|
3125
3125
|
"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)",
|
|
3126
|
-
"version": "
|
|
3126
|
+
"version": "2"
|
|
3127
3127
|
},
|
|
3128
3128
|
"csharp": {
|
|
3129
3129
|
"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});",
|
|
@@ -3172,13 +3172,13 @@
|
|
|
3172
3172
|
"226": 1,
|
|
3173
3173
|
"281": 7
|
|
3174
3174
|
},
|
|
3175
|
-
"fqnsFingerprint": "
|
|
3175
|
+
"fqnsFingerprint": "bf6d07b78c627e5b3c44d864b257e88876c8e67f7866003da6bcbac8610b7e6e"
|
|
3176
3176
|
},
|
|
3177
3177
|
"d01b17fd45941078a51bfb4f7c5d48c8520b1befab0e4d4be5f68bfed43672cd": {
|
|
3178
3178
|
"translations": {
|
|
3179
3179
|
"python": {
|
|
3180
3180
|
"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",
|
|
3181
|
-
"version": "
|
|
3181
|
+
"version": "2"
|
|
3182
3182
|
},
|
|
3183
3183
|
"csharp": {
|
|
3184
3184
|
"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;",
|
|
@@ -3225,8 +3225,8 @@
|
|
|
3225
3225
|
"63f4caab33825af55017f8dfa3b699e10508c70e101206355fed82743ece6f79": {
|
|
3226
3226
|
"translations": {
|
|
3227
3227
|
"python": {
|
|
3228
|
-
"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
|
|
3229
|
-
"version": "
|
|
3228
|
+
"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)",
|
|
3229
|
+
"version": "2"
|
|
3230
3230
|
},
|
|
3231
3231
|
"csharp": {
|
|
3232
3232
|
"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};",
|
|
@@ -3274,13 +3274,13 @@
|
|
|
3274
3274
|
"281": 2,
|
|
3275
3275
|
"290": 1
|
|
3276
3276
|
},
|
|
3277
|
-
"fqnsFingerprint": "
|
|
3277
|
+
"fqnsFingerprint": "09d496ca0a2fd9a1e07483a9d5e35cef6f98091d829002223f4f78d4b4526107"
|
|
3278
3278
|
},
|
|
3279
3279
|
"3ded8120befeed2ee307fc0172bdf07835b46f031b5bde08f429361f47ccb0e1": {
|
|
3280
3280
|
"translations": {
|
|
3281
3281
|
"python": {
|
|
3282
|
-
"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
|
|
3283
|
-
"version": "
|
|
3282
|
+
"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)",
|
|
3283
|
+
"version": "2"
|
|
3284
3284
|
},
|
|
3285
3285
|
"csharp": {
|
|
3286
3286
|
"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};",
|
|
@@ -3329,13 +3329,13 @@
|
|
|
3329
3329
|
"281": 3,
|
|
3330
3330
|
"290": 1
|
|
3331
3331
|
},
|
|
3332
|
-
"fqnsFingerprint": "
|
|
3332
|
+
"fqnsFingerprint": "b9271db1e82a8011ba3be59c2ace1857c44479e25b80b45c18a2c041ebc83b43"
|
|
3333
3333
|
},
|
|
3334
3334
|
"cf61707cac187a62000b2ae7c5cb85617064e1adaacc066d590a4b36ce79523e": {
|
|
3335
3335
|
"translations": {
|
|
3336
3336
|
"python": {
|
|
3337
|
-
"source": "# my_database
|
|
3338
|
-
"version": "
|
|
3337
|
+
"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)",
|
|
3338
|
+
"version": "2"
|
|
3339
3339
|
},
|
|
3340
3340
|
"csharp": {
|
|
3341
3341
|
"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});",
|
|
@@ -3390,13 +3390,13 @@
|
|
|
3390
3390
|
"281": 11,
|
|
3391
3391
|
"290": 1
|
|
3392
3392
|
},
|
|
3393
|
-
"fqnsFingerprint": "
|
|
3393
|
+
"fqnsFingerprint": "6a41ed598abd47162bd5ae63e40e983f83dda1df68e010b521cfc7f0ceda1f36"
|
|
3394
3394
|
},
|
|
3395
3395
|
"726c6de6bd08d1ae1e21269794986e57d9dfae50be9ba6666a0e07dc5235e8a7": {
|
|
3396
3396
|
"translations": {
|
|
3397
3397
|
"python": {
|
|
3398
3398
|
"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)",
|
|
3399
|
-
"version": "
|
|
3399
|
+
"version": "2"
|
|
3400
3400
|
},
|
|
3401
3401
|
"csharp": {
|
|
3402
3402
|
"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};",
|
|
@@ -3445,8 +3445,8 @@
|
|
|
3445
3445
|
"e68db48645e9f627f294d5e39a11522a3764ad23da131dbcf715bdffc322a031": {
|
|
3446
3446
|
"translations": {
|
|
3447
3447
|
"python": {
|
|
3448
|
-
"source": "# my_database
|
|
3449
|
-
"version": "
|
|
3448
|
+
"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)",
|
|
3449
|
+
"version": "2"
|
|
3450
3450
|
},
|
|
3451
3451
|
"csharp": {
|
|
3452
3452
|
"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});",
|
|
@@ -3502,13 +3502,13 @@
|
|
|
3502
3502
|
"281": 7,
|
|
3503
3503
|
"290": 1
|
|
3504
3504
|
},
|
|
3505
|
-
"fqnsFingerprint": "
|
|
3505
|
+
"fqnsFingerprint": "d2e85a39ada23b95f0d26f00008f2a0ebf26505ca2418391473c15477d4daf66"
|
|
3506
3506
|
},
|
|
3507
3507
|
"8d581ea5b2a1baf343e340eb91b3b2d0d33c893f077cc7babf9df084e123a8dc": {
|
|
3508
3508
|
"translations": {
|
|
3509
3509
|
"python": {
|
|
3510
|
-
"source": "# my_database
|
|
3511
|
-
"version": "
|
|
3510
|
+
"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)",
|
|
3511
|
+
"version": "2"
|
|
3512
3512
|
},
|
|
3513
3513
|
"csharp": {
|
|
3514
3514
|
"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});",
|
|
@@ -3563,13 +3563,13 @@
|
|
|
3563
3563
|
"281": 11,
|
|
3564
3564
|
"290": 1
|
|
3565
3565
|
},
|
|
3566
|
-
"fqnsFingerprint": "
|
|
3566
|
+
"fqnsFingerprint": "6a41ed598abd47162bd5ae63e40e983f83dda1df68e010b521cfc7f0ceda1f36"
|
|
3567
3567
|
},
|
|
3568
3568
|
"f373a88e102923527138f1af071ad5855fc71b2389cf0256ac5ac2cc908759ea": {
|
|
3569
3569
|
"translations": {
|
|
3570
3570
|
"python": {
|
|
3571
|
-
"source": "# my_database
|
|
3572
|
-
"version": "
|
|
3571
|
+
"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)",
|
|
3572
|
+
"version": "2"
|
|
3573
3573
|
},
|
|
3574
3574
|
"csharp": {
|
|
3575
3575
|
"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});",
|
|
@@ -3624,13 +3624,13 @@
|
|
|
3624
3624
|
"281": 11,
|
|
3625
3625
|
"290": 1
|
|
3626
3626
|
},
|
|
3627
|
-
"fqnsFingerprint": "
|
|
3627
|
+
"fqnsFingerprint": "6a41ed598abd47162bd5ae63e40e983f83dda1df68e010b521cfc7f0ceda1f36"
|
|
3628
3628
|
},
|
|
3629
3629
|
"6dd61f985caf76f93636a0ac81cf52309c67009318c1573d0611ee83cee55bf7": {
|
|
3630
3630
|
"translations": {
|
|
3631
3631
|
"python": {
|
|
3632
3632
|
"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",
|
|
3633
|
-
"version": "
|
|
3633
|
+
"version": "2"
|
|
3634
3634
|
},
|
|
3635
3635
|
"csharp": {
|
|
3636
3636
|
"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;",
|