@aws-cdk/aws-glue-alpha 2.0.0-rc.24 → 2.4.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 +586 -1501
- package/.jsii.tabl.json +3678 -0
- package/.warnings.jsii.js +281 -0
- package/LICENSE +1 -1
- package/NOTICE +1 -1
- package/README.md +160 -53
- package/lib/code.js +4 -4
- package/lib/connection.js +5 -3
- package/lib/data-format.js +8 -6
- package/lib/database.js +5 -3
- package/lib/job-executable.js +11 -4
- package/lib/job.js +8 -5
- package/lib/schema.js +6 -2
- package/lib/security-configuration.js +4 -2
- package/lib/table.d.ts +73 -1
- package/lib/table.js +104 -4
- package/package.json +21 -16
- package/rosetta/_generated.ts-fixture +6 -0
- package/rosetta/default.ts-fixture +16 -0
package/.jsii.tabl.json
ADDED
|
@@ -0,0 +1,3678 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2",
|
|
3
|
+
"toolVersion": "1.50.0",
|
|
4
|
+
"snippets": {
|
|
5
|
+
"acfd3bedd5746453e0a0519458aded634bdec6a9a0d56e4659cec69a921925a6": {
|
|
6
|
+
"translations": {
|
|
7
|
+
"python": {
|
|
8
|
+
"source": "# bucket is of type Bucket\n\nglue.Job(self, \"ScalaSparkEtlJob\",\n executable=glue.JobExecutable.scala_etl(\n glue_version=glue.GlueVersion.V2_0,\n script=glue.Code.from_bucket(bucket, \"src/com/example/HelloWorld.scala\"),\n class_name=\"com.example.HelloWorld\",\n extra_jars=[glue.Code.from_bucket(bucket, \"jars/HelloWorld.jar\")]\n ),\n description=\"an example Scala ETL job\"\n)",
|
|
9
|
+
"version": "1"
|
|
10
|
+
},
|
|
11
|
+
"csharp": {
|
|
12
|
+
"source": "Bucket bucket;\n\nnew Job(this, \"ScalaSparkEtlJob\", new JobProps {\n Executable = JobExecutable.ScalaEtl(new ScalaJobExecutableProps {\n GlueVersion = GlueVersion.V2_0,\n Script = Code.FromBucket(bucket, \"src/com/example/HelloWorld.scala\"),\n ClassName = \"com.example.HelloWorld\",\n ExtraJars = new [] { Code.FromBucket(bucket, \"jars/HelloWorld.jar\") }\n }),\n Description = \"an example Scala ETL job\"\n});",
|
|
13
|
+
"version": "1"
|
|
14
|
+
},
|
|
15
|
+
"java": {
|
|
16
|
+
"source": "Bucket bucket;\n\nJob.Builder.create(this, \"ScalaSparkEtlJob\")\n .executable(JobExecutable.scalaEtl(ScalaJobExecutableProps.builder()\n .glueVersion(GlueVersion.V2_0)\n .script(Code.fromBucket(bucket, \"src/com/example/HelloWorld.scala\"))\n .className(\"com.example.HelloWorld\")\n .extraJars(List.of(Code.fromBucket(bucket, \"jars/HelloWorld.jar\")))\n .build()))\n .description(\"an example Scala ETL job\")\n .build();",
|
|
17
|
+
"version": "1"
|
|
18
|
+
},
|
|
19
|
+
"$": {
|
|
20
|
+
"source": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'ScalaSparkEtlJob', {\n executable: glue.JobExecutable.scalaEtl({\n glueVersion: glue.GlueVersion.V2_0,\n script: glue.Code.fromBucket(bucket, 'src/com/example/HelloWorld.scala'),\n className: 'com.example.HelloWorld',\n extraJars: [glue.Code.fromBucket(bucket, 'jars/HelloWorld.jar')],\n }),\n description: 'an example Scala ETL job',\n});",
|
|
21
|
+
"version": "0"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"location": {
|
|
25
|
+
"api": {
|
|
26
|
+
"api": "moduleReadme",
|
|
27
|
+
"moduleFqn": "@aws-cdk/aws-glue-alpha"
|
|
28
|
+
},
|
|
29
|
+
"field": {
|
|
30
|
+
"field": "markdown",
|
|
31
|
+
"line": 38
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"didCompile": true,
|
|
35
|
+
"fqnsReferenced": [
|
|
36
|
+
"@aws-cdk/aws-glue-alpha.Code",
|
|
37
|
+
"@aws-cdk/aws-glue-alpha.Code#fromBucket",
|
|
38
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion",
|
|
39
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion#V2_0",
|
|
40
|
+
"@aws-cdk/aws-glue-alpha.Job",
|
|
41
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable",
|
|
42
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable#scalaEtl",
|
|
43
|
+
"@aws-cdk/aws-glue-alpha.JobProps",
|
|
44
|
+
"@aws-cdk/aws-glue-alpha.ScalaJobExecutableProps",
|
|
45
|
+
"aws-cdk-lib.aws_s3.IBucket"
|
|
46
|
+
],
|
|
47
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Job(this, 'ScalaSparkEtlJob', {\n executable: glue.JobExecutable.scalaEtl({\n glueVersion: glue.GlueVersion.V2_0,\n script: glue.Code.fromBucket(bucket, 'src/com/example/HelloWorld.scala'),\n className: 'com.example.HelloWorld',\n extraJars: [glue.Code.fromBucket(bucket, 'jars/HelloWorld.jar')],\n }),\n description: 'an example Scala ETL job',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
48
|
+
"syntaxKindCounter": {
|
|
49
|
+
"10": 5,
|
|
50
|
+
"75": 25,
|
|
51
|
+
"104": 1,
|
|
52
|
+
"130": 1,
|
|
53
|
+
"153": 1,
|
|
54
|
+
"169": 1,
|
|
55
|
+
"192": 1,
|
|
56
|
+
"193": 2,
|
|
57
|
+
"194": 9,
|
|
58
|
+
"196": 3,
|
|
59
|
+
"197": 1,
|
|
60
|
+
"225": 1,
|
|
61
|
+
"226": 1,
|
|
62
|
+
"242": 1,
|
|
63
|
+
"243": 1,
|
|
64
|
+
"281": 6,
|
|
65
|
+
"290": 1
|
|
66
|
+
},
|
|
67
|
+
"fqnsFingerprint": "b09d4f2d980f9ed4397a28e51a3f0ac016886b348399b3be581411cff566e136"
|
|
68
|
+
},
|
|
69
|
+
"52d8f72218212ecafb83bf5adb08b8c7d1c9bac1835e26008f6cd1455bf507c2": {
|
|
70
|
+
"translations": {
|
|
71
|
+
"python": {
|
|
72
|
+
"source": "glue.Job(self, \"PythonSparkStreamingJob\",\n executable=glue.JobExecutable.python_streaming(\n glue_version=glue.GlueVersion.V2_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_asset(path.join(__dirname, \"job-script/hello_world.py\"))\n ),\n description=\"an example Python Streaming job\"\n)",
|
|
73
|
+
"version": "1"
|
|
74
|
+
},
|
|
75
|
+
"csharp": {
|
|
76
|
+
"source": "new Job(this, \"PythonSparkStreamingJob\", new JobProps {\n Executable = JobExecutable.PythonStreaming(new PythonSparkJobExecutableProps {\n GlueVersion = GlueVersion.V2_0,\n PythonVersion = PythonVersion.THREE,\n Script = Code.FromAsset(Join(__dirname, \"job-script/hello_world.py\"))\n }),\n Description = \"an example Python Streaming job\"\n});",
|
|
77
|
+
"version": "1"
|
|
78
|
+
},
|
|
79
|
+
"java": {
|
|
80
|
+
"source": "Job.Builder.create(this, \"PythonSparkStreamingJob\")\n .executable(JobExecutable.pythonStreaming(PythonSparkJobExecutableProps.builder()\n .glueVersion(GlueVersion.V2_0)\n .pythonVersion(PythonVersion.THREE)\n .script(Code.fromAsset(join(__dirname, \"job-script/hello_world.py\")))\n .build()))\n .description(\"an example Python Streaming job\")\n .build();",
|
|
81
|
+
"version": "1"
|
|
82
|
+
},
|
|
83
|
+
"$": {
|
|
84
|
+
"source": "new glue.Job(this, 'PythonSparkStreamingJob', {\n executable: glue.JobExecutable.pythonStreaming({\n glueVersion: glue.GlueVersion.V2_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromAsset(path.join(__dirname, 'job-script/hello_world.py')),\n }),\n description: 'an example Python Streaming job',\n});",
|
|
85
|
+
"version": "0"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"location": {
|
|
89
|
+
"api": {
|
|
90
|
+
"api": "moduleReadme",
|
|
91
|
+
"moduleFqn": "@aws-cdk/aws-glue-alpha"
|
|
92
|
+
},
|
|
93
|
+
"field": {
|
|
94
|
+
"field": "markdown",
|
|
95
|
+
"line": 55
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"didCompile": true,
|
|
99
|
+
"fqnsReferenced": [
|
|
100
|
+
"@aws-cdk/aws-glue-alpha.Code",
|
|
101
|
+
"@aws-cdk/aws-glue-alpha.Code#fromAsset",
|
|
102
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion",
|
|
103
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion#V2_0",
|
|
104
|
+
"@aws-cdk/aws-glue-alpha.Job",
|
|
105
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable",
|
|
106
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable#pythonStreaming",
|
|
107
|
+
"@aws-cdk/aws-glue-alpha.JobProps",
|
|
108
|
+
"@aws-cdk/aws-glue-alpha.PythonSparkJobExecutableProps",
|
|
109
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion",
|
|
110
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion#THREE"
|
|
111
|
+
],
|
|
112
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew glue.Job(this, 'PythonSparkStreamingJob', {\n executable: glue.JobExecutable.pythonStreaming({\n glueVersion: glue.GlueVersion.V2_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromAsset(path.join(__dirname, 'job-script/hello_world.py')),\n }),\n description: 'an example Python Streaming job',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
113
|
+
"syntaxKindCounter": {
|
|
114
|
+
"10": 3,
|
|
115
|
+
"75": 22,
|
|
116
|
+
"104": 1,
|
|
117
|
+
"193": 2,
|
|
118
|
+
"194": 10,
|
|
119
|
+
"196": 3,
|
|
120
|
+
"197": 1,
|
|
121
|
+
"226": 1,
|
|
122
|
+
"281": 5
|
|
123
|
+
},
|
|
124
|
+
"fqnsFingerprint": "5f64f2ac511dab922568583f6ffa529ae71679565fd032cfa982c5bf3fc3a530"
|
|
125
|
+
},
|
|
126
|
+
"315ff1895769be8ecf1e09dcf4f53d5678c1277852bfc3d17dd878119198744a": {
|
|
127
|
+
"translations": {
|
|
128
|
+
"python": {
|
|
129
|
+
"source": "# bucket is of type Bucket\n\nglue.Job(self, \"PythonShellJob\",\n executable=glue.JobExecutable.python_shell(\n glue_version=glue.GlueVersion.V1_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_bucket(bucket, \"script.py\")\n ),\n description=\"an example Python Shell job\"\n)",
|
|
130
|
+
"version": "1"
|
|
131
|
+
},
|
|
132
|
+
"csharp": {
|
|
133
|
+
"source": "Bucket bucket;\n\nnew Job(this, \"PythonShellJob\", new JobProps {\n Executable = JobExecutable.PythonShell(new PythonShellExecutableProps {\n GlueVersion = GlueVersion.V1_0,\n PythonVersion = PythonVersion.THREE,\n Script = Code.FromBucket(bucket, \"script.py\")\n }),\n Description = \"an example Python Shell job\"\n});",
|
|
134
|
+
"version": "1"
|
|
135
|
+
},
|
|
136
|
+
"java": {
|
|
137
|
+
"source": "Bucket bucket;\n\nJob.Builder.create(this, \"PythonShellJob\")\n .executable(JobExecutable.pythonShell(PythonShellExecutableProps.builder()\n .glueVersion(GlueVersion.V1_0)\n .pythonVersion(PythonVersion.THREE)\n .script(Code.fromBucket(bucket, \"script.py\"))\n .build()))\n .description(\"an example Python Shell job\")\n .build();",
|
|
138
|
+
"version": "1"
|
|
139
|
+
},
|
|
140
|
+
"$": {
|
|
141
|
+
"source": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});",
|
|
142
|
+
"version": "0"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"location": {
|
|
146
|
+
"api": {
|
|
147
|
+
"api": "moduleReadme",
|
|
148
|
+
"moduleFqn": "@aws-cdk/aws-glue-alpha"
|
|
149
|
+
},
|
|
150
|
+
"field": {
|
|
151
|
+
"field": "markdown",
|
|
152
|
+
"line": 71
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"didCompile": true,
|
|
156
|
+
"fqnsReferenced": [
|
|
157
|
+
"@aws-cdk/aws-glue-alpha.Code",
|
|
158
|
+
"@aws-cdk/aws-glue-alpha.Code#fromBucket",
|
|
159
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion",
|
|
160
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
|
|
161
|
+
"@aws-cdk/aws-glue-alpha.Job",
|
|
162
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable",
|
|
163
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
|
|
164
|
+
"@aws-cdk/aws-glue-alpha.JobProps",
|
|
165
|
+
"@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
|
|
166
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion",
|
|
167
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
|
|
168
|
+
"aws-cdk-lib.aws_s3.IBucket"
|
|
169
|
+
],
|
|
170
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
171
|
+
"syntaxKindCounter": {
|
|
172
|
+
"10": 3,
|
|
173
|
+
"75": 23,
|
|
174
|
+
"104": 1,
|
|
175
|
+
"130": 1,
|
|
176
|
+
"153": 1,
|
|
177
|
+
"169": 1,
|
|
178
|
+
"193": 2,
|
|
179
|
+
"194": 9,
|
|
180
|
+
"196": 2,
|
|
181
|
+
"197": 1,
|
|
182
|
+
"225": 1,
|
|
183
|
+
"226": 1,
|
|
184
|
+
"242": 1,
|
|
185
|
+
"243": 1,
|
|
186
|
+
"281": 5,
|
|
187
|
+
"290": 1
|
|
188
|
+
},
|
|
189
|
+
"fqnsFingerprint": "eef4092a5f446f781851229eef557d5a56d62fe190816a3e960cda84b26e6d17"
|
|
190
|
+
},
|
|
191
|
+
"c1935880a967906ea9c12cbe71c18267c58f458c685361b267c6c1a1b80044ec": {
|
|
192
|
+
"translations": {
|
|
193
|
+
"python": {
|
|
194
|
+
"source": "# security_group is of type SecurityGroup\n# subnet is of type Subnet\n\nglue.Connection(self, \"MyConnection\",\n type=glue.ConnectionType.NETWORK,\n # The security groups granting AWS Glue inbound access to the data source within the VPC\n security_groups=[security_group],\n # The VPC subnet which contains the data source\n subnet=subnet\n)",
|
|
195
|
+
"version": "1"
|
|
196
|
+
},
|
|
197
|
+
"csharp": {
|
|
198
|
+
"source": "SecurityGroup securityGroup;\nSubnet subnet;\n\nnew Connection(this, \"MyConnection\", new ConnectionProps {\n Type = ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n SecurityGroups = new [] { securityGroup },\n // The VPC subnet which contains the data source\n Subnet = subnet\n});",
|
|
199
|
+
"version": "1"
|
|
200
|
+
},
|
|
201
|
+
"java": {
|
|
202
|
+
"source": "SecurityGroup securityGroup;\nSubnet subnet;\n\nConnection.Builder.create(this, \"MyConnection\")\n .type(ConnectionType.NETWORK)\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n .securityGroups(List.of(securityGroup))\n // The VPC subnet which contains the data source\n .subnet(subnet)\n .build();",
|
|
203
|
+
"version": "1"
|
|
204
|
+
},
|
|
205
|
+
"$": {
|
|
206
|
+
"source": "declare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\nnew glue.Connection(this, 'MyConnection', {\n type: glue.ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n securityGroups: [securityGroup],\n // The VPC subnet which contains the data source\n subnet,\n});",
|
|
207
|
+
"version": "0"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"location": {
|
|
211
|
+
"api": {
|
|
212
|
+
"api": "moduleReadme",
|
|
213
|
+
"moduleFqn": "@aws-cdk/aws-glue-alpha"
|
|
214
|
+
},
|
|
215
|
+
"field": {
|
|
216
|
+
"field": "markdown",
|
|
217
|
+
"line": 89
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"didCompile": true,
|
|
221
|
+
"fqnsReferenced": [
|
|
222
|
+
"@aws-cdk/aws-glue-alpha.Connection",
|
|
223
|
+
"@aws-cdk/aws-glue-alpha.ConnectionProps",
|
|
224
|
+
"@aws-cdk/aws-glue-alpha.ConnectionType",
|
|
225
|
+
"@aws-cdk/aws-glue-alpha.ConnectionType#NETWORK",
|
|
226
|
+
"aws-cdk-lib.aws_ec2.ISubnet"
|
|
227
|
+
],
|
|
228
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport * as path from 'path';\nimport { Construct } from 'constructs';\nimport { Stack } from 'aws-cdk-lib';\nimport * as glue from '@aws-cdk/aws-glue-alpha';\nimport * as s3 from 'aws-cdk-lib/aws-s3';\nimport * as ec2 from 'aws-cdk-lib/aws-ec2';\nimport * as kms from 'aws-cdk-lib/aws-kms';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew glue.Connection(this, 'MyConnection', {\n type: glue.ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n securityGroups: [securityGroup],\n // The VPC subnet which contains the data source\n subnet,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
229
|
+
"syntaxKindCounter": {
|
|
230
|
+
"10": 1,
|
|
231
|
+
"75": 15,
|
|
232
|
+
"104": 1,
|
|
233
|
+
"130": 2,
|
|
234
|
+
"153": 2,
|
|
235
|
+
"169": 2,
|
|
236
|
+
"192": 1,
|
|
237
|
+
"193": 1,
|
|
238
|
+
"194": 3,
|
|
239
|
+
"197": 1,
|
|
240
|
+
"225": 2,
|
|
241
|
+
"226": 1,
|
|
242
|
+
"242": 2,
|
|
243
|
+
"243": 2,
|
|
244
|
+
"281": 2,
|
|
245
|
+
"282": 1,
|
|
246
|
+
"290": 1
|
|
247
|
+
},
|
|
248
|
+
"fqnsFingerprint": "f50082188204002f71d8cd9ee312688143f81439652cc74e90e510e1e7960192"
|
|
249
|
+
},
|
|
250
|
+
"ef204a1a1235566e396f1ffea0a46b1117af25a01acabd8c7c67f292fa61abc0": {
|
|
251
|
+
"translations": {
|
|
252
|
+
"python": {
|
|
253
|
+
"source": "glue.SecurityConfiguration(self, \"MySecurityConfiguration\",\n security_configuration_name=\"name\",\n cloud_watch_encryption=glue.CloudWatchEncryption(\n mode=glue.CloudWatchEncryptionMode.KMS\n ),\n job_bookmarks_encryption=glue.JobBookmarksEncryption(\n mode=glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n ),\n s3_encryption=glue.S3Encryption(\n mode=glue.S3EncryptionMode.KMS\n )\n)",
|
|
254
|
+
"version": "1"
|
|
255
|
+
},
|
|
256
|
+
"csharp": {
|
|
257
|
+
"source": "new SecurityConfiguration(this, \"MySecurityConfiguration\", new SecurityConfigurationProps {\n SecurityConfigurationName = \"name\",\n CloudWatchEncryption = new CloudWatchEncryption {\n Mode = CloudWatchEncryptionMode.KMS\n },\n JobBookmarksEncryption = new JobBookmarksEncryption {\n Mode = JobBookmarksEncryptionMode.CLIENT_SIDE_KMS\n },\n S3Encryption = new S3Encryption {\n Mode = S3EncryptionMode.KMS\n }\n});",
|
|
258
|
+
"version": "1"
|
|
259
|
+
},
|
|
260
|
+
"java": {
|
|
261
|
+
"source": "SecurityConfiguration.Builder.create(this, \"MySecurityConfiguration\")\n .securityConfigurationName(\"name\")\n .cloudWatchEncryption(CloudWatchEncryption.builder()\n .mode(CloudWatchEncryptionMode.KMS)\n .build())\n .jobBookmarksEncryption(JobBookmarksEncryption.builder()\n .mode(JobBookmarksEncryptionMode.CLIENT_SIDE_KMS)\n .build())\n .s3Encryption(S3Encryption.builder()\n .mode(S3EncryptionMode.KMS)\n .build())\n .build();",
|
|
262
|
+
"version": "1"
|
|
263
|
+
},
|
|
264
|
+
"$": {
|
|
265
|
+
"source": "new glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});",
|
|
266
|
+
"version": "0"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"location": {
|
|
270
|
+
"api": {
|
|
271
|
+
"api": "moduleReadme",
|
|
272
|
+
"moduleFqn": "@aws-cdk/aws-glue-alpha"
|
|
273
|
+
},
|
|
274
|
+
"field": {
|
|
275
|
+
"field": "markdown",
|
|
276
|
+
"line": 109
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"didCompile": true,
|
|
280
|
+
"fqnsReferenced": [
|
|
281
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
|
|
282
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
|
|
283
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
|
|
284
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
|
|
285
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
|
|
286
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
|
|
287
|
+
"@aws-cdk/aws-glue-alpha.S3Encryption",
|
|
288
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode",
|
|
289
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
|
|
290
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfiguration",
|
|
291
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
|
|
292
|
+
],
|
|
293
|
+
"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",
|
|
294
|
+
"syntaxKindCounter": {
|
|
295
|
+
"10": 2,
|
|
296
|
+
"75": 18,
|
|
297
|
+
"104": 1,
|
|
298
|
+
"193": 4,
|
|
299
|
+
"194": 7,
|
|
300
|
+
"197": 1,
|
|
301
|
+
"226": 1,
|
|
302
|
+
"281": 7
|
|
303
|
+
},
|
|
304
|
+
"fqnsFingerprint": "aa8b8ec28f2d28677076f4cf8ef725e80c2cf4722d52badbd0965a51c68964fa"
|
|
305
|
+
},
|
|
306
|
+
"c3d64416750a52a9c314ca2dbd149c74e2b09e589effebe8e40bb0c1f6345ecc": {
|
|
307
|
+
"translations": {
|
|
308
|
+
"python": {
|
|
309
|
+
"source": "# key is of type Key\n\nglue.SecurityConfiguration(self, \"MySecurityConfiguration\",\n security_configuration_name=\"name\",\n cloud_watch_encryption=glue.CloudWatchEncryption(\n mode=glue.CloudWatchEncryptionMode.KMS,\n kms_key=key\n )\n)",
|
|
310
|
+
"version": "1"
|
|
311
|
+
},
|
|
312
|
+
"csharp": {
|
|
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});",
|
|
314
|
+
"version": "1"
|
|
315
|
+
},
|
|
316
|
+
"java": {
|
|
317
|
+
"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();",
|
|
318
|
+
"version": "1"
|
|
319
|
+
},
|
|
320
|
+
"$": {
|
|
321
|
+
"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});",
|
|
322
|
+
"version": "0"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
"location": {
|
|
326
|
+
"api": {
|
|
327
|
+
"api": "moduleReadme",
|
|
328
|
+
"moduleFqn": "@aws-cdk/aws-glue-alpha"
|
|
329
|
+
},
|
|
330
|
+
"field": {
|
|
331
|
+
"field": "markdown",
|
|
332
|
+
"line": 126
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"didCompile": true,
|
|
336
|
+
"fqnsReferenced": [
|
|
337
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
|
|
338
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
|
|
339
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
|
|
340
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfiguration",
|
|
341
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfigurationProps",
|
|
342
|
+
"aws-cdk-lib.aws_kms.IKey"
|
|
343
|
+
],
|
|
344
|
+
"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",
|
|
345
|
+
"syntaxKindCounter": {
|
|
346
|
+
"10": 2,
|
|
347
|
+
"75": 13,
|
|
348
|
+
"104": 1,
|
|
349
|
+
"130": 1,
|
|
350
|
+
"153": 1,
|
|
351
|
+
"169": 1,
|
|
352
|
+
"193": 2,
|
|
353
|
+
"194": 3,
|
|
354
|
+
"197": 1,
|
|
355
|
+
"225": 1,
|
|
356
|
+
"226": 1,
|
|
357
|
+
"242": 1,
|
|
358
|
+
"243": 1,
|
|
359
|
+
"281": 4,
|
|
360
|
+
"290": 1
|
|
361
|
+
},
|
|
362
|
+
"fqnsFingerprint": "879ca80cceb78c1f21baa3c9f35b93c46b1029ab02b56dfd5aba9cd80f1c55c5"
|
|
363
|
+
},
|
|
364
|
+
"8bef7e198448a674159b525da392ac9b84bc32cc34cc06373fc37dc3312efaf5": {
|
|
365
|
+
"translations": {
|
|
366
|
+
"python": {
|
|
367
|
+
"source": "glue.Database(self, \"MyDatabase\",\n database_name=\"my_database\"\n)",
|
|
368
|
+
"version": "1"
|
|
369
|
+
},
|
|
370
|
+
"csharp": {
|
|
371
|
+
"source": "new Database(this, \"MyDatabase\", new DatabaseProps {\n DatabaseName = \"my_database\"\n});",
|
|
372
|
+
"version": "1"
|
|
373
|
+
},
|
|
374
|
+
"java": {
|
|
375
|
+
"source": "Database.Builder.create(this, \"MyDatabase\")\n .databaseName(\"my_database\")\n .build();",
|
|
376
|
+
"version": "1"
|
|
377
|
+
},
|
|
378
|
+
"$": {
|
|
379
|
+
"source": "new glue.Database(this, 'MyDatabase', {\n databaseName: 'my_database',\n});",
|
|
380
|
+
"version": "0"
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
"location": {
|
|
384
|
+
"api": {
|
|
385
|
+
"api": "moduleReadme",
|
|
386
|
+
"moduleFqn": "@aws-cdk/aws-glue-alpha"
|
|
387
|
+
},
|
|
388
|
+
"field": {
|
|
389
|
+
"field": "markdown",
|
|
390
|
+
"line": 143
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"didCompile": true,
|
|
394
|
+
"fqnsReferenced": [
|
|
395
|
+
"@aws-cdk/aws-glue-alpha.Database",
|
|
396
|
+
"@aws-cdk/aws-glue-alpha.DatabaseProps"
|
|
397
|
+
],
|
|
398
|
+
"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",
|
|
399
|
+
"syntaxKindCounter": {
|
|
400
|
+
"10": 2,
|
|
401
|
+
"75": 3,
|
|
402
|
+
"104": 1,
|
|
403
|
+
"193": 1,
|
|
404
|
+
"194": 1,
|
|
405
|
+
"197": 1,
|
|
406
|
+
"226": 1,
|
|
407
|
+
"281": 1
|
|
408
|
+
},
|
|
409
|
+
"fqnsFingerprint": "9b7c499328a24eaf150b141ed600d22d9b074506c789eafeb91dff0e8e7c6876"
|
|
410
|
+
},
|
|
411
|
+
"29dce1a9c819135fecb5e9e6bb2e360c6e5c9e3c2d41e640a7c0581bbb1d3017": {
|
|
412
|
+
"translations": {
|
|
413
|
+
"python": {
|
|
414
|
+
"source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n ), glue.Column(\n name=\"col2\",\n type=glue.Schema.array(glue.Schema.STRING),\n comment=\"col2 is an array of strings\"\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
415
|
+
"version": "1"
|
|
416
|
+
},
|
|
417
|
+
"csharp": {
|
|
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});",
|
|
419
|
+
"version": "1"
|
|
420
|
+
},
|
|
421
|
+
"java": {
|
|
422
|
+
"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();",
|
|
423
|
+
"version": "1"
|
|
424
|
+
},
|
|
425
|
+
"$": {
|
|
426
|
+
"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});",
|
|
427
|
+
"version": "0"
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"location": {
|
|
431
|
+
"api": {
|
|
432
|
+
"api": "moduleReadme",
|
|
433
|
+
"moduleFqn": "@aws-cdk/aws-glue-alpha"
|
|
434
|
+
},
|
|
435
|
+
"field": {
|
|
436
|
+
"field": "markdown",
|
|
437
|
+
"line": 153
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"didCompile": true,
|
|
441
|
+
"fqnsReferenced": [
|
|
442
|
+
"@aws-cdk/aws-glue-alpha.DataFormat",
|
|
443
|
+
"@aws-cdk/aws-glue-alpha.DataFormat#JSON",
|
|
444
|
+
"@aws-cdk/aws-glue-alpha.IDatabase",
|
|
445
|
+
"@aws-cdk/aws-glue-alpha.Schema",
|
|
446
|
+
"@aws-cdk/aws-glue-alpha.Schema#STRING",
|
|
447
|
+
"@aws-cdk/aws-glue-alpha.Schema#array",
|
|
448
|
+
"@aws-cdk/aws-glue-alpha.Table",
|
|
449
|
+
"@aws-cdk/aws-glue-alpha.TableProps",
|
|
450
|
+
"@aws-cdk/aws-glue-alpha.Type"
|
|
451
|
+
],
|
|
452
|
+
"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",
|
|
453
|
+
"syntaxKindCounter": {
|
|
454
|
+
"10": 5,
|
|
455
|
+
"75": 27,
|
|
456
|
+
"104": 1,
|
|
457
|
+
"130": 1,
|
|
458
|
+
"153": 1,
|
|
459
|
+
"169": 1,
|
|
460
|
+
"192": 1,
|
|
461
|
+
"193": 3,
|
|
462
|
+
"194": 9,
|
|
463
|
+
"196": 1,
|
|
464
|
+
"197": 1,
|
|
465
|
+
"225": 1,
|
|
466
|
+
"226": 1,
|
|
467
|
+
"242": 1,
|
|
468
|
+
"243": 1,
|
|
469
|
+
"281": 9,
|
|
470
|
+
"290": 1
|
|
471
|
+
},
|
|
472
|
+
"fqnsFingerprint": "7926f97d7d95e9c09828d470f0897c2a98f01b71dd4df0ead673f50873576101"
|
|
473
|
+
},
|
|
474
|
+
"48dbd3d1c174f209d2eeaf76fc65341fe9063494d3ecbf5d345f547ee1b64502": {
|
|
475
|
+
"translations": {
|
|
476
|
+
"python": {
|
|
477
|
+
"source": "# my_bucket is of type Bucket\n# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n bucket=my_bucket,\n s3_prefix=\"my-table/\",\n # ...\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
478
|
+
"version": "1"
|
|
479
|
+
},
|
|
480
|
+
"csharp": {
|
|
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});",
|
|
482
|
+
"version": "1"
|
|
483
|
+
},
|
|
484
|
+
"java": {
|
|
485
|
+
"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();",
|
|
486
|
+
"version": "1"
|
|
487
|
+
},
|
|
488
|
+
"$": {
|
|
489
|
+
"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});",
|
|
490
|
+
"version": "0"
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
"location": {
|
|
494
|
+
"api": {
|
|
495
|
+
"api": "moduleReadme",
|
|
496
|
+
"moduleFqn": "@aws-cdk/aws-glue-alpha"
|
|
497
|
+
},
|
|
498
|
+
"field": {
|
|
499
|
+
"field": "markdown",
|
|
500
|
+
"line": 172
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"didCompile": true,
|
|
504
|
+
"fqnsReferenced": [
|
|
505
|
+
"@aws-cdk/aws-glue-alpha.DataFormat",
|
|
506
|
+
"@aws-cdk/aws-glue-alpha.DataFormat#JSON",
|
|
507
|
+
"@aws-cdk/aws-glue-alpha.IDatabase",
|
|
508
|
+
"@aws-cdk/aws-glue-alpha.Schema",
|
|
509
|
+
"@aws-cdk/aws-glue-alpha.Schema#STRING",
|
|
510
|
+
"@aws-cdk/aws-glue-alpha.Table",
|
|
511
|
+
"@aws-cdk/aws-glue-alpha.TableProps",
|
|
512
|
+
"@aws-cdk/aws-glue-alpha.Type",
|
|
513
|
+
"aws-cdk-lib.aws_s3.IBucket"
|
|
514
|
+
],
|
|
515
|
+
"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",
|
|
516
|
+
"syntaxKindCounter": {
|
|
517
|
+
"10": 4,
|
|
518
|
+
"75": 24,
|
|
519
|
+
"104": 1,
|
|
520
|
+
"130": 2,
|
|
521
|
+
"153": 2,
|
|
522
|
+
"169": 2,
|
|
523
|
+
"192": 1,
|
|
524
|
+
"193": 2,
|
|
525
|
+
"194": 5,
|
|
526
|
+
"197": 1,
|
|
527
|
+
"225": 2,
|
|
528
|
+
"226": 1,
|
|
529
|
+
"242": 2,
|
|
530
|
+
"243": 2,
|
|
531
|
+
"281": 8,
|
|
532
|
+
"290": 1
|
|
533
|
+
},
|
|
534
|
+
"fqnsFingerprint": "69929e2abea7d2fde65cb07445fc88f610813a763f178781e28886e6fb86307c"
|
|
535
|
+
},
|
|
536
|
+
"6f8305c4eac5dd7922f1d9957ed53b6029647282e7acc253a6a045a8d4c4a202": {
|
|
537
|
+
"translations": {
|
|
538
|
+
"python": {
|
|
539
|
+
"source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
540
|
+
"version": "1"
|
|
541
|
+
},
|
|
542
|
+
"csharp": {
|
|
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});",
|
|
544
|
+
"version": "1"
|
|
545
|
+
},
|
|
546
|
+
"java": {
|
|
547
|
+
"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();",
|
|
548
|
+
"version": "1"
|
|
549
|
+
},
|
|
550
|
+
"$": {
|
|
551
|
+
"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});",
|
|
552
|
+
"version": "0"
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
"location": {
|
|
556
|
+
"api": {
|
|
557
|
+
"api": "moduleReadme",
|
|
558
|
+
"moduleFqn": "@aws-cdk/aws-glue-alpha"
|
|
559
|
+
},
|
|
560
|
+
"field": {
|
|
561
|
+
"field": "markdown",
|
|
562
|
+
"line": 195
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
"didCompile": true,
|
|
566
|
+
"fqnsReferenced": [
|
|
567
|
+
"@aws-cdk/aws-glue-alpha.DataFormat",
|
|
568
|
+
"@aws-cdk/aws-glue-alpha.DataFormat#JSON",
|
|
569
|
+
"@aws-cdk/aws-glue-alpha.IDatabase",
|
|
570
|
+
"@aws-cdk/aws-glue-alpha.Schema",
|
|
571
|
+
"@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
|
|
572
|
+
"@aws-cdk/aws-glue-alpha.Schema#STRING",
|
|
573
|
+
"@aws-cdk/aws-glue-alpha.Table",
|
|
574
|
+
"@aws-cdk/aws-glue-alpha.TableProps",
|
|
575
|
+
"@aws-cdk/aws-glue-alpha.Type"
|
|
576
|
+
],
|
|
577
|
+
"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",
|
|
578
|
+
"syntaxKindCounter": {
|
|
579
|
+
"10": 5,
|
|
580
|
+
"75": 29,
|
|
581
|
+
"104": 1,
|
|
582
|
+
"130": 1,
|
|
583
|
+
"153": 1,
|
|
584
|
+
"169": 1,
|
|
585
|
+
"192": 2,
|
|
586
|
+
"193": 4,
|
|
587
|
+
"194": 9,
|
|
588
|
+
"197": 1,
|
|
589
|
+
"225": 1,
|
|
590
|
+
"226": 1,
|
|
591
|
+
"242": 1,
|
|
592
|
+
"243": 1,
|
|
593
|
+
"281": 11,
|
|
594
|
+
"290": 1
|
|
595
|
+
},
|
|
596
|
+
"fqnsFingerprint": "04817043124c93d5cbaf2df5f7d815d1f78689a6f13340417a3b62dfb49095e0"
|
|
597
|
+
},
|
|
598
|
+
"0b301a07c6b9b33d8c51f6a28e0f51c77fd8060fb871a0bfc0a7c0c7bacf3c33": {
|
|
599
|
+
"translations": {
|
|
600
|
+
"python": {
|
|
601
|
+
"source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n 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": "1"
|
|
603
|
+
},
|
|
604
|
+
"csharp": {
|
|
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});",
|
|
606
|
+
"version": "1"
|
|
607
|
+
},
|
|
608
|
+
"java": {
|
|
609
|
+
"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();",
|
|
610
|
+
"version": "1"
|
|
611
|
+
},
|
|
612
|
+
"$": {
|
|
613
|
+
"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});",
|
|
614
|
+
"version": "0"
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
"location": {
|
|
618
|
+
"api": {
|
|
619
|
+
"api": "moduleReadme",
|
|
620
|
+
"moduleFqn": "@aws-cdk/aws-glue-alpha"
|
|
621
|
+
},
|
|
622
|
+
"field": {
|
|
623
|
+
"field": "markdown",
|
|
624
|
+
"line": 227
|
|
625
|
+
}
|
|
626
|
+
},
|
|
627
|
+
"didCompile": true,
|
|
628
|
+
"fqnsReferenced": [
|
|
629
|
+
"@aws-cdk/aws-glue-alpha.DataFormat",
|
|
630
|
+
"@aws-cdk/aws-glue-alpha.DataFormat#JSON",
|
|
631
|
+
"@aws-cdk/aws-glue-alpha.IDatabase",
|
|
632
|
+
"@aws-cdk/aws-glue-alpha.Schema",
|
|
633
|
+
"@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
|
|
634
|
+
"@aws-cdk/aws-glue-alpha.Schema#STRING",
|
|
635
|
+
"@aws-cdk/aws-glue-alpha.Table",
|
|
636
|
+
"@aws-cdk/aws-glue-alpha.TableProps",
|
|
637
|
+
"@aws-cdk/aws-glue-alpha.Type"
|
|
638
|
+
],
|
|
639
|
+
"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",
|
|
640
|
+
"syntaxKindCounter": {
|
|
641
|
+
"10": 7,
|
|
642
|
+
"75": 32,
|
|
643
|
+
"104": 1,
|
|
644
|
+
"130": 1,
|
|
645
|
+
"153": 1,
|
|
646
|
+
"169": 1,
|
|
647
|
+
"192": 4,
|
|
648
|
+
"193": 5,
|
|
649
|
+
"194": 9,
|
|
650
|
+
"197": 1,
|
|
651
|
+
"225": 1,
|
|
652
|
+
"226": 1,
|
|
653
|
+
"242": 1,
|
|
654
|
+
"243": 1,
|
|
655
|
+
"281": 14,
|
|
656
|
+
"290": 1
|
|
657
|
+
},
|
|
658
|
+
"fqnsFingerprint": "04817043124c93d5cbaf2df5f7d815d1f78689a6f13340417a3b62dfb49095e0"
|
|
659
|
+
},
|
|
660
|
+
"5793f08903a3c1e754b47f167920b7855031a92ae42242712e58982a10f732f8": {
|
|
661
|
+
"translations": {
|
|
662
|
+
"python": {
|
|
663
|
+
"source": "# my_table is of type Table\n\nmy_table.add_partition_index(\n index_name=\"my-index\",\n key_names=[\"year\"]\n)",
|
|
664
|
+
"version": "1"
|
|
665
|
+
},
|
|
666
|
+
"csharp": {
|
|
667
|
+
"source": "Table myTable;\n\nmyTable.AddPartitionIndex(new PartitionIndex {\n IndexName = \"my-index\",\n KeyNames = new [] { \"year\" }\n});",
|
|
668
|
+
"version": "1"
|
|
669
|
+
},
|
|
670
|
+
"java": {
|
|
671
|
+
"source": "Table myTable;\n\nmyTable.addPartitionIndex(PartitionIndex.builder()\n .indexName(\"my-index\")\n .keyNames(List.of(\"year\"))\n .build());",
|
|
672
|
+
"version": "1"
|
|
673
|
+
},
|
|
674
|
+
"$": {
|
|
675
|
+
"source": "declare const myTable: glue.Table;\nmyTable.addPartitionIndex({\n indexName: 'my-index',\n keyNames: ['year'],\n});",
|
|
676
|
+
"version": "0"
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
"location": {
|
|
680
|
+
"api": {
|
|
681
|
+
"api": "moduleReadme",
|
|
682
|
+
"moduleFqn": "@aws-cdk/aws-glue-alpha"
|
|
683
|
+
},
|
|
684
|
+
"field": {
|
|
685
|
+
"field": "markdown",
|
|
686
|
+
"line": 253
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
"didCompile": true,
|
|
690
|
+
"fqnsReferenced": [
|
|
691
|
+
"@aws-cdk/aws-glue-alpha.PartitionIndex",
|
|
692
|
+
"@aws-cdk/aws-glue-alpha.Table#addPartitionIndex"
|
|
693
|
+
],
|
|
694
|
+
"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",
|
|
695
|
+
"syntaxKindCounter": {
|
|
696
|
+
"10": 2,
|
|
697
|
+
"75": 7,
|
|
698
|
+
"130": 1,
|
|
699
|
+
"153": 1,
|
|
700
|
+
"169": 1,
|
|
701
|
+
"192": 1,
|
|
702
|
+
"193": 1,
|
|
703
|
+
"194": 1,
|
|
704
|
+
"196": 1,
|
|
705
|
+
"225": 1,
|
|
706
|
+
"226": 1,
|
|
707
|
+
"242": 1,
|
|
708
|
+
"243": 1,
|
|
709
|
+
"281": 2,
|
|
710
|
+
"290": 1
|
|
711
|
+
},
|
|
712
|
+
"fqnsFingerprint": "a0d3c72dce39fda589550323b519f24bfde6c55508df37f54038c751c7dc6dad"
|
|
713
|
+
},
|
|
714
|
+
"1bf74f01c28cd1c12bfe4e509c382e9a91c8a523c72ddd76f2beb7a886917767": {
|
|
715
|
+
"translations": {
|
|
716
|
+
"python": {
|
|
717
|
+
"source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n encryption=glue.TableEncryption.S3_MANAGED,\n # ...\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
718
|
+
"version": "1"
|
|
719
|
+
},
|
|
720
|
+
"csharp": {
|
|
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});",
|
|
722
|
+
"version": "1"
|
|
723
|
+
},
|
|
724
|
+
"java": {
|
|
725
|
+
"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();",
|
|
726
|
+
"version": "1"
|
|
727
|
+
},
|
|
728
|
+
"$": {
|
|
729
|
+
"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});",
|
|
730
|
+
"version": "0"
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
"location": {
|
|
734
|
+
"api": {
|
|
735
|
+
"api": "moduleReadme",
|
|
736
|
+
"moduleFqn": "@aws-cdk/aws-glue-alpha"
|
|
737
|
+
},
|
|
738
|
+
"field": {
|
|
739
|
+
"field": "markdown",
|
|
740
|
+
"line": 268
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
"didCompile": true,
|
|
744
|
+
"fqnsReferenced": [
|
|
745
|
+
"@aws-cdk/aws-glue-alpha.DataFormat",
|
|
746
|
+
"@aws-cdk/aws-glue-alpha.DataFormat#JSON",
|
|
747
|
+
"@aws-cdk/aws-glue-alpha.IDatabase",
|
|
748
|
+
"@aws-cdk/aws-glue-alpha.Schema",
|
|
749
|
+
"@aws-cdk/aws-glue-alpha.Schema#STRING",
|
|
750
|
+
"@aws-cdk/aws-glue-alpha.Table",
|
|
751
|
+
"@aws-cdk/aws-glue-alpha.TableEncryption",
|
|
752
|
+
"@aws-cdk/aws-glue-alpha.TableEncryption#S3_MANAGED",
|
|
753
|
+
"@aws-cdk/aws-glue-alpha.TableProps",
|
|
754
|
+
"@aws-cdk/aws-glue-alpha.Type"
|
|
755
|
+
],
|
|
756
|
+
"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",
|
|
757
|
+
"syntaxKindCounter": {
|
|
758
|
+
"10": 3,
|
|
759
|
+
"75": 22,
|
|
760
|
+
"104": 1,
|
|
761
|
+
"130": 1,
|
|
762
|
+
"153": 1,
|
|
763
|
+
"169": 1,
|
|
764
|
+
"192": 1,
|
|
765
|
+
"193": 2,
|
|
766
|
+
"194": 7,
|
|
767
|
+
"197": 1,
|
|
768
|
+
"225": 1,
|
|
769
|
+
"226": 1,
|
|
770
|
+
"242": 1,
|
|
771
|
+
"243": 1,
|
|
772
|
+
"281": 7,
|
|
773
|
+
"290": 1
|
|
774
|
+
},
|
|
775
|
+
"fqnsFingerprint": "f0ae83f268e853d28a9515b4906951b103b60ed16f5c7e4b974457fc9a9e4fba"
|
|
776
|
+
},
|
|
777
|
+
"55f3bda73e5d126d6982c01fe60e24b137f62f7503c71a26b574f77af03154da": {
|
|
778
|
+
"translations": {
|
|
779
|
+
"python": {
|
|
780
|
+
"source": "# my_database is of type Database\n\n# KMS key is created automatically\nglue.Table(self, \"MyTable\",\n encryption=glue.TableEncryption.KMS,\n # ...\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n data_format=glue.DataFormat.JSON\n)\n\n# with an explicit KMS key\nglue.Table(self, \"MyTable\",\n encryption=glue.TableEncryption.KMS,\n encryption_key=kms.Key(self, \"MyKey\"),\n # ...\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
781
|
+
"version": "1"
|
|
782
|
+
},
|
|
783
|
+
"csharp": {
|
|
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});",
|
|
785
|
+
"version": "1"
|
|
786
|
+
},
|
|
787
|
+
"java": {
|
|
788
|
+
"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();",
|
|
789
|
+
"version": "1"
|
|
790
|
+
},
|
|
791
|
+
"$": {
|
|
792
|
+
"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});",
|
|
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": 285
|
|
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#STRING",
|
|
813
|
+
"@aws-cdk/aws-glue-alpha.Table",
|
|
814
|
+
"@aws-cdk/aws-glue-alpha.TableEncryption",
|
|
815
|
+
"@aws-cdk/aws-glue-alpha.TableEncryption#KMS",
|
|
816
|
+
"@aws-cdk/aws-glue-alpha.TableProps",
|
|
817
|
+
"@aws-cdk/aws-glue-alpha.Type",
|
|
818
|
+
"aws-cdk-lib.aws_kms.IKey",
|
|
819
|
+
"aws-cdk-lib.aws_kms.Key"
|
|
820
|
+
],
|
|
821
|
+
"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",
|
|
822
|
+
"syntaxKindCounter": {
|
|
823
|
+
"10": 7,
|
|
824
|
+
"75": 44,
|
|
825
|
+
"104": 3,
|
|
826
|
+
"130": 1,
|
|
827
|
+
"153": 1,
|
|
828
|
+
"169": 1,
|
|
829
|
+
"192": 2,
|
|
830
|
+
"193": 4,
|
|
831
|
+
"194": 15,
|
|
832
|
+
"197": 3,
|
|
833
|
+
"225": 1,
|
|
834
|
+
"226": 2,
|
|
835
|
+
"242": 1,
|
|
836
|
+
"243": 1,
|
|
837
|
+
"281": 15,
|
|
838
|
+
"290": 1
|
|
839
|
+
},
|
|
840
|
+
"fqnsFingerprint": "fea0d95538d4c5e92ac1605c8764ae020760f28d9754c6cd7d93a5b4b3afb8b1"
|
|
841
|
+
},
|
|
842
|
+
"947cf227f2fe24990b73fa480fc791123e6d55a26e62236512474a508394481e": {
|
|
843
|
+
"translations": {
|
|
844
|
+
"python": {
|
|
845
|
+
"source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n encryption=glue.TableEncryption.KMS_MANAGED,\n # ...\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
846
|
+
"version": "1"
|
|
847
|
+
},
|
|
848
|
+
"csharp": {
|
|
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});",
|
|
850
|
+
"version": "1"
|
|
851
|
+
},
|
|
852
|
+
"java": {
|
|
853
|
+
"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();",
|
|
854
|
+
"version": "1"
|
|
855
|
+
},
|
|
856
|
+
"$": {
|
|
857
|
+
"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});",
|
|
858
|
+
"version": "0"
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
"location": {
|
|
862
|
+
"api": {
|
|
863
|
+
"api": "moduleReadme",
|
|
864
|
+
"moduleFqn": "@aws-cdk/aws-glue-alpha"
|
|
865
|
+
},
|
|
866
|
+
"field": {
|
|
867
|
+
"field": "markdown",
|
|
868
|
+
"line": 317
|
|
869
|
+
}
|
|
870
|
+
},
|
|
871
|
+
"didCompile": true,
|
|
872
|
+
"fqnsReferenced": [
|
|
873
|
+
"@aws-cdk/aws-glue-alpha.DataFormat",
|
|
874
|
+
"@aws-cdk/aws-glue-alpha.DataFormat#JSON",
|
|
875
|
+
"@aws-cdk/aws-glue-alpha.IDatabase",
|
|
876
|
+
"@aws-cdk/aws-glue-alpha.Schema",
|
|
877
|
+
"@aws-cdk/aws-glue-alpha.Schema#STRING",
|
|
878
|
+
"@aws-cdk/aws-glue-alpha.Table",
|
|
879
|
+
"@aws-cdk/aws-glue-alpha.TableEncryption",
|
|
880
|
+
"@aws-cdk/aws-glue-alpha.TableEncryption#KMS_MANAGED",
|
|
881
|
+
"@aws-cdk/aws-glue-alpha.TableProps",
|
|
882
|
+
"@aws-cdk/aws-glue-alpha.Type"
|
|
883
|
+
],
|
|
884
|
+
"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",
|
|
885
|
+
"syntaxKindCounter": {
|
|
886
|
+
"10": 3,
|
|
887
|
+
"75": 22,
|
|
888
|
+
"104": 1,
|
|
889
|
+
"130": 1,
|
|
890
|
+
"153": 1,
|
|
891
|
+
"169": 1,
|
|
892
|
+
"192": 1,
|
|
893
|
+
"193": 2,
|
|
894
|
+
"194": 7,
|
|
895
|
+
"197": 1,
|
|
896
|
+
"225": 1,
|
|
897
|
+
"226": 1,
|
|
898
|
+
"242": 1,
|
|
899
|
+
"243": 1,
|
|
900
|
+
"281": 7,
|
|
901
|
+
"290": 1
|
|
902
|
+
},
|
|
903
|
+
"fqnsFingerprint": "81df55369020a426ad68c803454d2b4b47463ef274550eff313e0da836fc8d33"
|
|
904
|
+
},
|
|
905
|
+
"cafa3c798318567d0667513b707a7d24a2d9a7d6b6904a908056835d3471d193": {
|
|
906
|
+
"translations": {
|
|
907
|
+
"python": {
|
|
908
|
+
"source": "# my_database is of type Database\n\n# KMS key is created automatically\nglue.Table(self, \"MyTable\",\n encryption=glue.TableEncryption.CLIENT_SIDE_KMS,\n # ...\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n data_format=glue.DataFormat.JSON\n)\n\n# with an explicit KMS key\nglue.Table(self, \"MyTable\",\n encryption=glue.TableEncryption.CLIENT_SIDE_KMS,\n encryption_key=kms.Key(self, \"MyKey\"),\n # ...\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
909
|
+
"version": "1"
|
|
910
|
+
},
|
|
911
|
+
"csharp": {
|
|
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});",
|
|
913
|
+
"version": "1"
|
|
914
|
+
},
|
|
915
|
+
"java": {
|
|
916
|
+
"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();",
|
|
917
|
+
"version": "1"
|
|
918
|
+
},
|
|
919
|
+
"$": {
|
|
920
|
+
"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});",
|
|
921
|
+
"version": "0"
|
|
922
|
+
}
|
|
923
|
+
},
|
|
924
|
+
"location": {
|
|
925
|
+
"api": {
|
|
926
|
+
"api": "moduleReadme",
|
|
927
|
+
"moduleFqn": "@aws-cdk/aws-glue-alpha"
|
|
928
|
+
},
|
|
929
|
+
"field": {
|
|
930
|
+
"field": "markdown",
|
|
931
|
+
"line": 334
|
|
932
|
+
}
|
|
933
|
+
},
|
|
934
|
+
"didCompile": true,
|
|
935
|
+
"fqnsReferenced": [
|
|
936
|
+
"@aws-cdk/aws-glue-alpha.DataFormat",
|
|
937
|
+
"@aws-cdk/aws-glue-alpha.DataFormat#JSON",
|
|
938
|
+
"@aws-cdk/aws-glue-alpha.IDatabase",
|
|
939
|
+
"@aws-cdk/aws-glue-alpha.Schema",
|
|
940
|
+
"@aws-cdk/aws-glue-alpha.Schema#STRING",
|
|
941
|
+
"@aws-cdk/aws-glue-alpha.Table",
|
|
942
|
+
"@aws-cdk/aws-glue-alpha.TableEncryption",
|
|
943
|
+
"@aws-cdk/aws-glue-alpha.TableEncryption#CLIENT_SIDE_KMS",
|
|
944
|
+
"@aws-cdk/aws-glue-alpha.TableProps",
|
|
945
|
+
"@aws-cdk/aws-glue-alpha.Type",
|
|
946
|
+
"aws-cdk-lib.aws_kms.IKey",
|
|
947
|
+
"aws-cdk-lib.aws_kms.Key"
|
|
948
|
+
],
|
|
949
|
+
"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",
|
|
950
|
+
"syntaxKindCounter": {
|
|
951
|
+
"10": 7,
|
|
952
|
+
"75": 44,
|
|
953
|
+
"104": 3,
|
|
954
|
+
"130": 1,
|
|
955
|
+
"153": 1,
|
|
956
|
+
"169": 1,
|
|
957
|
+
"192": 2,
|
|
958
|
+
"193": 4,
|
|
959
|
+
"194": 15,
|
|
960
|
+
"197": 3,
|
|
961
|
+
"225": 1,
|
|
962
|
+
"226": 2,
|
|
963
|
+
"242": 1,
|
|
964
|
+
"243": 1,
|
|
965
|
+
"281": 15,
|
|
966
|
+
"290": 1
|
|
967
|
+
},
|
|
968
|
+
"fqnsFingerprint": "287114f300fa15424a435c7ca6b3493250d8f0fe2d2abe0d454444b631414864"
|
|
969
|
+
},
|
|
970
|
+
"f3bfc13f54c3ca5976a421d26282d95b14f4d31af0a1271ad09fcbd84418d7ab": {
|
|
971
|
+
"translations": {
|
|
972
|
+
"python": {
|
|
973
|
+
"source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n columns=[glue.Column(\n name=\"primitive_column\",\n type=glue.Schema.STRING\n ), glue.Column(\n name=\"array_column\",\n type=glue.Schema.array(glue.Schema.INTEGER),\n comment=\"array<integer>\"\n ), glue.Column(\n name=\"map_column\",\n type=glue.Schema.map(glue.Schema.STRING, glue.Schema.TIMESTAMP),\n comment=\"map<string,string>\"\n ), glue.Column(\n name=\"struct_column\",\n type=glue.Schema.struct([\n name=\"nested_column\",\n type=glue.Schema.DATE,\n comment=\"nested comment\"\n ]),\n comment=\"struct<nested_column:date COMMENT 'nested comment'>\"\n )],\n # ...\n database=my_database,\n table_name=\"my_table\",\n data_format=glue.DataFormat.JSON\n)",
|
|
974
|
+
"version": "1"
|
|
975
|
+
},
|
|
976
|
+
"csharp": {
|
|
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});",
|
|
978
|
+
"version": "1"
|
|
979
|
+
},
|
|
980
|
+
"java": {
|
|
981
|
+
"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();",
|
|
982
|
+
"version": "1"
|
|
983
|
+
},
|
|
984
|
+
"$": {
|
|
985
|
+
"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});",
|
|
986
|
+
"version": "0"
|
|
987
|
+
}
|
|
988
|
+
},
|
|
989
|
+
"location": {
|
|
990
|
+
"api": {
|
|
991
|
+
"api": "moduleReadme",
|
|
992
|
+
"moduleFqn": "@aws-cdk/aws-glue-alpha"
|
|
993
|
+
},
|
|
994
|
+
"field": {
|
|
995
|
+
"field": "markdown",
|
|
996
|
+
"line": 370
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
"didCompile": true,
|
|
1000
|
+
"fqnsReferenced": [
|
|
1001
|
+
"@aws-cdk/aws-glue-alpha.DataFormat",
|
|
1002
|
+
"@aws-cdk/aws-glue-alpha.DataFormat#JSON",
|
|
1003
|
+
"@aws-cdk/aws-glue-alpha.IDatabase",
|
|
1004
|
+
"@aws-cdk/aws-glue-alpha.Schema",
|
|
1005
|
+
"@aws-cdk/aws-glue-alpha.Schema#DATE",
|
|
1006
|
+
"@aws-cdk/aws-glue-alpha.Schema#INTEGER",
|
|
1007
|
+
"@aws-cdk/aws-glue-alpha.Schema#STRING",
|
|
1008
|
+
"@aws-cdk/aws-glue-alpha.Schema#TIMESTAMP",
|
|
1009
|
+
"@aws-cdk/aws-glue-alpha.Schema#array",
|
|
1010
|
+
"@aws-cdk/aws-glue-alpha.Schema#map",
|
|
1011
|
+
"@aws-cdk/aws-glue-alpha.Schema#struct",
|
|
1012
|
+
"@aws-cdk/aws-glue-alpha.Table",
|
|
1013
|
+
"@aws-cdk/aws-glue-alpha.TableProps",
|
|
1014
|
+
"@aws-cdk/aws-glue-alpha.Type"
|
|
1015
|
+
],
|
|
1016
|
+
"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",
|
|
1017
|
+
"syntaxKindCounter": {
|
|
1018
|
+
"10": 11,
|
|
1019
|
+
"75": 51,
|
|
1020
|
+
"104": 1,
|
|
1021
|
+
"130": 1,
|
|
1022
|
+
"153": 1,
|
|
1023
|
+
"169": 1,
|
|
1024
|
+
"192": 2,
|
|
1025
|
+
"193": 6,
|
|
1026
|
+
"194": 19,
|
|
1027
|
+
"196": 3,
|
|
1028
|
+
"197": 1,
|
|
1029
|
+
"225": 1,
|
|
1030
|
+
"226": 1,
|
|
1031
|
+
"242": 1,
|
|
1032
|
+
"243": 1,
|
|
1033
|
+
"281": 18,
|
|
1034
|
+
"290": 1
|
|
1035
|
+
},
|
|
1036
|
+
"fqnsFingerprint": "0f0aa90c170606dd222991e819c93bfec3875ffce8237b37b86d329a0f233bfd"
|
|
1037
|
+
},
|
|
1038
|
+
"57bc37024db9365130a13056a4776b245c6b3a838967c35cf75650d482504271": {
|
|
1039
|
+
"translations": {
|
|
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 is of type DockerImage\n# grantable is of type IGrantable\n# local_bundling is of type 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": "1"
|
|
1043
|
+
},
|
|
1044
|
+
"csharp": {
|
|
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});",
|
|
1046
|
+
"version": "1"
|
|
1047
|
+
},
|
|
1048
|
+
"java": {
|
|
1049
|
+
"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 .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();",
|
|
1050
|
+
"version": "1"
|
|
1051
|
+
},
|
|
1052
|
+
"$": {
|
|
1053
|
+
"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 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});",
|
|
1054
|
+
"version": "0"
|
|
1055
|
+
}
|
|
1056
|
+
},
|
|
1057
|
+
"location": {
|
|
1058
|
+
"api": {
|
|
1059
|
+
"api": "type",
|
|
1060
|
+
"fqn": "@aws-cdk/aws-glue-alpha.AssetCode"
|
|
1061
|
+
},
|
|
1062
|
+
"field": {
|
|
1063
|
+
"field": "example"
|
|
1064
|
+
}
|
|
1065
|
+
},
|
|
1066
|
+
"didCompile": true,
|
|
1067
|
+
"fqnsReferenced": [
|
|
1068
|
+
"@aws-cdk/aws-glue-alpha.AssetCode",
|
|
1069
|
+
"aws-cdk-lib.AssetHashType",
|
|
1070
|
+
"aws-cdk-lib.AssetHashType#SOURCE",
|
|
1071
|
+
"aws-cdk-lib.BundlingOptions",
|
|
1072
|
+
"aws-cdk-lib.BundlingOutput",
|
|
1073
|
+
"aws-cdk-lib.BundlingOutput#ARCHIVED",
|
|
1074
|
+
"aws-cdk-lib.DockerImage",
|
|
1075
|
+
"aws-cdk-lib.DockerVolumeConsistency",
|
|
1076
|
+
"aws-cdk-lib.DockerVolumeConsistency#CONSISTENT",
|
|
1077
|
+
"aws-cdk-lib.ILocalBundling",
|
|
1078
|
+
"aws-cdk-lib.IgnoreMode",
|
|
1079
|
+
"aws-cdk-lib.IgnoreMode#GLOB",
|
|
1080
|
+
"aws-cdk-lib.SymlinkFollowMode",
|
|
1081
|
+
"aws-cdk-lib.SymlinkFollowMode#NEVER",
|
|
1082
|
+
"aws-cdk-lib.aws_s3_assets.AssetOptions"
|
|
1083
|
+
],
|
|
1084
|
+
"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 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} }",
|
|
1085
|
+
"syntaxKindCounter": {
|
|
1086
|
+
"10": 14,
|
|
1087
|
+
"75": 55,
|
|
1088
|
+
"130": 3,
|
|
1089
|
+
"153": 3,
|
|
1090
|
+
"169": 3,
|
|
1091
|
+
"192": 5,
|
|
1092
|
+
"193": 4,
|
|
1093
|
+
"194": 11,
|
|
1094
|
+
"197": 1,
|
|
1095
|
+
"225": 4,
|
|
1096
|
+
"242": 4,
|
|
1097
|
+
"243": 4,
|
|
1098
|
+
"254": 3,
|
|
1099
|
+
"255": 3,
|
|
1100
|
+
"256": 2,
|
|
1101
|
+
"257": 1,
|
|
1102
|
+
"258": 1,
|
|
1103
|
+
"281": 21,
|
|
1104
|
+
"290": 1
|
|
1105
|
+
},
|
|
1106
|
+
"fqnsFingerprint": "da826b8d8823b4721d684127b7ec6caf4cf599f9f828290b1e3017263079e3b7"
|
|
1107
|
+
},
|
|
1108
|
+
"85ae39d2cb98561bddb593a9d1f16b2999a884dcb153915b9497d517ff1e1bdd": {
|
|
1109
|
+
"translations": {
|
|
1110
|
+
"python": {
|
|
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": "1"
|
|
1113
|
+
},
|
|
1114
|
+
"csharp": {
|
|
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;",
|
|
1116
|
+
"version": "1"
|
|
1117
|
+
},
|
|
1118
|
+
"java": {
|
|
1119
|
+
"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;",
|
|
1120
|
+
"version": "1"
|
|
1121
|
+
},
|
|
1122
|
+
"$": {
|
|
1123
|
+
"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;",
|
|
1124
|
+
"version": "0"
|
|
1125
|
+
}
|
|
1126
|
+
},
|
|
1127
|
+
"location": {
|
|
1128
|
+
"api": {
|
|
1129
|
+
"api": "type",
|
|
1130
|
+
"fqn": "@aws-cdk/aws-glue-alpha.ClassificationString"
|
|
1131
|
+
},
|
|
1132
|
+
"field": {
|
|
1133
|
+
"field": "example"
|
|
1134
|
+
}
|
|
1135
|
+
},
|
|
1136
|
+
"didCompile": true,
|
|
1137
|
+
"fqnsReferenced": [
|
|
1138
|
+
"@aws-cdk/aws-glue-alpha.ClassificationString",
|
|
1139
|
+
"@aws-cdk/aws-glue-alpha.ClassificationString#AVRO"
|
|
1140
|
+
],
|
|
1141
|
+
"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} }",
|
|
1142
|
+
"syntaxKindCounter": {
|
|
1143
|
+
"10": 1,
|
|
1144
|
+
"75": 5,
|
|
1145
|
+
"194": 2,
|
|
1146
|
+
"225": 1,
|
|
1147
|
+
"242": 1,
|
|
1148
|
+
"243": 1,
|
|
1149
|
+
"254": 1,
|
|
1150
|
+
"255": 1,
|
|
1151
|
+
"256": 1,
|
|
1152
|
+
"290": 1
|
|
1153
|
+
},
|
|
1154
|
+
"fqnsFingerprint": "577e6d82523e5cc9135b5378ee446c1f7584d2ccff2a60c140d91cf871a388c3"
|
|
1155
|
+
},
|
|
1156
|
+
"78bb119e084ea7e52e5c81eae41038a47dd81d5eef83b3fa2473aa4164e4abbc": {
|
|
1157
|
+
"translations": {
|
|
1158
|
+
"python": {
|
|
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": "1"
|
|
1161
|
+
},
|
|
1162
|
+
"csharp": {
|
|
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});",
|
|
1164
|
+
"version": "1"
|
|
1165
|
+
},
|
|
1166
|
+
"java": {
|
|
1167
|
+
"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();",
|
|
1168
|
+
"version": "1"
|
|
1169
|
+
},
|
|
1170
|
+
"$": {
|
|
1171
|
+
"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});",
|
|
1172
|
+
"version": "0"
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
1175
|
+
"location": {
|
|
1176
|
+
"api": {
|
|
1177
|
+
"api": "type",
|
|
1178
|
+
"fqn": "@aws-cdk/aws-glue-alpha.CloudWatchEncryption"
|
|
1179
|
+
},
|
|
1180
|
+
"field": {
|
|
1181
|
+
"field": "example"
|
|
1182
|
+
}
|
|
1183
|
+
},
|
|
1184
|
+
"didCompile": true,
|
|
1185
|
+
"fqnsReferenced": [
|
|
1186
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
|
|
1187
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
|
|
1188
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
|
|
1189
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
|
|
1190
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
|
|
1191
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
|
|
1192
|
+
"@aws-cdk/aws-glue-alpha.S3Encryption",
|
|
1193
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode",
|
|
1194
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
|
|
1195
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfiguration",
|
|
1196
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
|
|
1197
|
+
],
|
|
1198
|
+
"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",
|
|
1199
|
+
"syntaxKindCounter": {
|
|
1200
|
+
"10": 2,
|
|
1201
|
+
"75": 18,
|
|
1202
|
+
"104": 1,
|
|
1203
|
+
"193": 4,
|
|
1204
|
+
"194": 7,
|
|
1205
|
+
"197": 1,
|
|
1206
|
+
"226": 1,
|
|
1207
|
+
"281": 7
|
|
1208
|
+
},
|
|
1209
|
+
"fqnsFingerprint": "aa8b8ec28f2d28677076f4cf8ef725e80c2cf4722d52badbd0965a51c68964fa"
|
|
1210
|
+
},
|
|
1211
|
+
"0cad66ee90d643cdd032cf30162c3727eedf459df0159667900ab70fce7bc90f": {
|
|
1212
|
+
"translations": {
|
|
1213
|
+
"python": {
|
|
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": "1"
|
|
1216
|
+
},
|
|
1217
|
+
"csharp": {
|
|
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});",
|
|
1219
|
+
"version": "1"
|
|
1220
|
+
},
|
|
1221
|
+
"java": {
|
|
1222
|
+
"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();",
|
|
1223
|
+
"version": "1"
|
|
1224
|
+
},
|
|
1225
|
+
"$": {
|
|
1226
|
+
"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});",
|
|
1227
|
+
"version": "0"
|
|
1228
|
+
}
|
|
1229
|
+
},
|
|
1230
|
+
"location": {
|
|
1231
|
+
"api": {
|
|
1232
|
+
"api": "type",
|
|
1233
|
+
"fqn": "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode"
|
|
1234
|
+
},
|
|
1235
|
+
"field": {
|
|
1236
|
+
"field": "example"
|
|
1237
|
+
}
|
|
1238
|
+
},
|
|
1239
|
+
"didCompile": true,
|
|
1240
|
+
"fqnsReferenced": [
|
|
1241
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
|
|
1242
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
|
|
1243
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
|
|
1244
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
|
|
1245
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
|
|
1246
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
|
|
1247
|
+
"@aws-cdk/aws-glue-alpha.S3Encryption",
|
|
1248
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode",
|
|
1249
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
|
|
1250
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfiguration",
|
|
1251
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
|
|
1252
|
+
],
|
|
1253
|
+
"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",
|
|
1254
|
+
"syntaxKindCounter": {
|
|
1255
|
+
"10": 2,
|
|
1256
|
+
"75": 18,
|
|
1257
|
+
"104": 1,
|
|
1258
|
+
"193": 4,
|
|
1259
|
+
"194": 7,
|
|
1260
|
+
"197": 1,
|
|
1261
|
+
"226": 1,
|
|
1262
|
+
"281": 7
|
|
1263
|
+
},
|
|
1264
|
+
"fqnsFingerprint": "aa8b8ec28f2d28677076f4cf8ef725e80c2cf4722d52badbd0965a51c68964fa"
|
|
1265
|
+
},
|
|
1266
|
+
"c8bdb8eb83b09b07d8f4825a7f34b32030d3c0ef3927f5278545ea1dd08a499e": {
|
|
1267
|
+
"translations": {
|
|
1268
|
+
"python": {
|
|
1269
|
+
"source": "# bucket is of type Bucket\n\nglue.Job(self, \"PythonShellJob\",\n executable=glue.JobExecutable.python_shell(\n glue_version=glue.GlueVersion.V1_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_bucket(bucket, \"script.py\")\n ),\n description=\"an example Python Shell job\"\n)",
|
|
1270
|
+
"version": "1"
|
|
1271
|
+
},
|
|
1272
|
+
"csharp": {
|
|
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});",
|
|
1274
|
+
"version": "1"
|
|
1275
|
+
},
|
|
1276
|
+
"java": {
|
|
1277
|
+
"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();",
|
|
1278
|
+
"version": "1"
|
|
1279
|
+
},
|
|
1280
|
+
"$": {
|
|
1281
|
+
"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});",
|
|
1282
|
+
"version": "0"
|
|
1283
|
+
}
|
|
1284
|
+
},
|
|
1285
|
+
"location": {
|
|
1286
|
+
"api": {
|
|
1287
|
+
"api": "type",
|
|
1288
|
+
"fqn": "@aws-cdk/aws-glue-alpha.Code"
|
|
1289
|
+
},
|
|
1290
|
+
"field": {
|
|
1291
|
+
"field": "example"
|
|
1292
|
+
}
|
|
1293
|
+
},
|
|
1294
|
+
"didCompile": true,
|
|
1295
|
+
"fqnsReferenced": [
|
|
1296
|
+
"@aws-cdk/aws-glue-alpha.Code",
|
|
1297
|
+
"@aws-cdk/aws-glue-alpha.Code#fromBucket",
|
|
1298
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion",
|
|
1299
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
|
|
1300
|
+
"@aws-cdk/aws-glue-alpha.Job",
|
|
1301
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable",
|
|
1302
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
|
|
1303
|
+
"@aws-cdk/aws-glue-alpha.JobProps",
|
|
1304
|
+
"@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
|
|
1305
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion",
|
|
1306
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
|
|
1307
|
+
"aws-cdk-lib.aws_s3.IBucket"
|
|
1308
|
+
],
|
|
1309
|
+
"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",
|
|
1310
|
+
"syntaxKindCounter": {
|
|
1311
|
+
"10": 3,
|
|
1312
|
+
"75": 23,
|
|
1313
|
+
"104": 1,
|
|
1314
|
+
"130": 1,
|
|
1315
|
+
"153": 1,
|
|
1316
|
+
"169": 1,
|
|
1317
|
+
"193": 2,
|
|
1318
|
+
"194": 9,
|
|
1319
|
+
"196": 2,
|
|
1320
|
+
"197": 1,
|
|
1321
|
+
"225": 1,
|
|
1322
|
+
"226": 1,
|
|
1323
|
+
"242": 1,
|
|
1324
|
+
"243": 1,
|
|
1325
|
+
"281": 5,
|
|
1326
|
+
"290": 1
|
|
1327
|
+
},
|
|
1328
|
+
"fqnsFingerprint": "eef4092a5f446f781851229eef557d5a56d62fe190816a3e960cda84b26e6d17"
|
|
1329
|
+
},
|
|
1330
|
+
"1497b3430cbccaf711f63747a1e5fac29c91af95451ebd10feb036af8382c928": {
|
|
1331
|
+
"translations": {
|
|
1332
|
+
"python": {
|
|
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": "1"
|
|
1335
|
+
},
|
|
1336
|
+
"csharp": {
|
|
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};",
|
|
1338
|
+
"version": "1"
|
|
1339
|
+
},
|
|
1340
|
+
"java": {
|
|
1341
|
+
"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();",
|
|
1342
|
+
"version": "1"
|
|
1343
|
+
},
|
|
1344
|
+
"$": {
|
|
1345
|
+
"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};",
|
|
1346
|
+
"version": "0"
|
|
1347
|
+
}
|
|
1348
|
+
},
|
|
1349
|
+
"location": {
|
|
1350
|
+
"api": {
|
|
1351
|
+
"api": "type",
|
|
1352
|
+
"fqn": "@aws-cdk/aws-glue-alpha.CodeConfig"
|
|
1353
|
+
},
|
|
1354
|
+
"field": {
|
|
1355
|
+
"field": "example"
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1358
|
+
"didCompile": true,
|
|
1359
|
+
"fqnsReferenced": [
|
|
1360
|
+
"@aws-cdk/aws-glue-alpha.CodeConfig",
|
|
1361
|
+
"aws-cdk-lib.aws_s3.Location"
|
|
1362
|
+
],
|
|
1363
|
+
"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} }",
|
|
1364
|
+
"syntaxKindCounter": {
|
|
1365
|
+
"10": 4,
|
|
1366
|
+
"75": 8,
|
|
1367
|
+
"153": 1,
|
|
1368
|
+
"169": 1,
|
|
1369
|
+
"193": 2,
|
|
1370
|
+
"225": 1,
|
|
1371
|
+
"242": 1,
|
|
1372
|
+
"243": 1,
|
|
1373
|
+
"254": 1,
|
|
1374
|
+
"255": 1,
|
|
1375
|
+
"256": 1,
|
|
1376
|
+
"281": 4,
|
|
1377
|
+
"290": 1
|
|
1378
|
+
},
|
|
1379
|
+
"fqnsFingerprint": "6e0b69df87ba17b6313b7bda751adee3ef89511fd35013b7b12259f7f3a5f364"
|
|
1380
|
+
},
|
|
1381
|
+
"a614a651b7e8e65ad5aaa85fd61fbe01158af93ded52ccbffa1e93a33ecd6846": {
|
|
1382
|
+
"translations": {
|
|
1383
|
+
"python": {
|
|
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": "1"
|
|
1386
|
+
},
|
|
1387
|
+
"csharp": {
|
|
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};",
|
|
1389
|
+
"version": "1"
|
|
1390
|
+
},
|
|
1391
|
+
"java": {
|
|
1392
|
+
"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();",
|
|
1393
|
+
"version": "1"
|
|
1394
|
+
},
|
|
1395
|
+
"$": {
|
|
1396
|
+
"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};",
|
|
1397
|
+
"version": "0"
|
|
1398
|
+
}
|
|
1399
|
+
},
|
|
1400
|
+
"location": {
|
|
1401
|
+
"api": {
|
|
1402
|
+
"api": "type",
|
|
1403
|
+
"fqn": "@aws-cdk/aws-glue-alpha.Column"
|
|
1404
|
+
},
|
|
1405
|
+
"field": {
|
|
1406
|
+
"field": "example"
|
|
1407
|
+
}
|
|
1408
|
+
},
|
|
1409
|
+
"didCompile": true,
|
|
1410
|
+
"fqnsReferenced": [
|
|
1411
|
+
"@aws-cdk/aws-glue-alpha.Column",
|
|
1412
|
+
"@aws-cdk/aws-glue-alpha.Type"
|
|
1413
|
+
],
|
|
1414
|
+
"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} }",
|
|
1415
|
+
"syntaxKindCounter": {
|
|
1416
|
+
"10": 4,
|
|
1417
|
+
"75": 9,
|
|
1418
|
+
"91": 1,
|
|
1419
|
+
"153": 1,
|
|
1420
|
+
"169": 1,
|
|
1421
|
+
"193": 2,
|
|
1422
|
+
"225": 1,
|
|
1423
|
+
"242": 1,
|
|
1424
|
+
"243": 1,
|
|
1425
|
+
"254": 1,
|
|
1426
|
+
"255": 1,
|
|
1427
|
+
"256": 1,
|
|
1428
|
+
"281": 5,
|
|
1429
|
+
"290": 1
|
|
1430
|
+
},
|
|
1431
|
+
"fqnsFingerprint": "8d7942cc676e899a6e8e956fde318a7d179e58b14952ae7e3646b549af0b8ff3"
|
|
1432
|
+
},
|
|
1433
|
+
"88b2f36f893a07c9b42fc87d210948cb7348a751d289b2eabbcc8d4c4d466391": {
|
|
1434
|
+
"translations": {
|
|
1435
|
+
"python": {
|
|
1436
|
+
"source": "# security_group is of type SecurityGroup\n# subnet is of type Subnet\n\nglue.Connection(self, \"MyConnection\",\n type=glue.ConnectionType.NETWORK,\n # The security groups granting AWS Glue inbound access to the data source within the VPC\n security_groups=[security_group],\n # The VPC subnet which contains the data source\n subnet=subnet\n)",
|
|
1437
|
+
"version": "1"
|
|
1438
|
+
},
|
|
1439
|
+
"csharp": {
|
|
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});",
|
|
1441
|
+
"version": "1"
|
|
1442
|
+
},
|
|
1443
|
+
"java": {
|
|
1444
|
+
"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();",
|
|
1445
|
+
"version": "1"
|
|
1446
|
+
},
|
|
1447
|
+
"$": {
|
|
1448
|
+
"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});",
|
|
1449
|
+
"version": "0"
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1452
|
+
"location": {
|
|
1453
|
+
"api": {
|
|
1454
|
+
"api": "type",
|
|
1455
|
+
"fqn": "@aws-cdk/aws-glue-alpha.Connection"
|
|
1456
|
+
},
|
|
1457
|
+
"field": {
|
|
1458
|
+
"field": "example"
|
|
1459
|
+
}
|
|
1460
|
+
},
|
|
1461
|
+
"didCompile": true,
|
|
1462
|
+
"fqnsReferenced": [
|
|
1463
|
+
"@aws-cdk/aws-glue-alpha.Connection",
|
|
1464
|
+
"@aws-cdk/aws-glue-alpha.ConnectionProps",
|
|
1465
|
+
"@aws-cdk/aws-glue-alpha.ConnectionType",
|
|
1466
|
+
"@aws-cdk/aws-glue-alpha.ConnectionType#NETWORK",
|
|
1467
|
+
"aws-cdk-lib.aws_ec2.ISubnet"
|
|
1468
|
+
],
|
|
1469
|
+
"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",
|
|
1470
|
+
"syntaxKindCounter": {
|
|
1471
|
+
"10": 1,
|
|
1472
|
+
"75": 15,
|
|
1473
|
+
"104": 1,
|
|
1474
|
+
"130": 2,
|
|
1475
|
+
"153": 2,
|
|
1476
|
+
"169": 2,
|
|
1477
|
+
"192": 1,
|
|
1478
|
+
"193": 1,
|
|
1479
|
+
"194": 3,
|
|
1480
|
+
"197": 1,
|
|
1481
|
+
"225": 2,
|
|
1482
|
+
"226": 1,
|
|
1483
|
+
"242": 2,
|
|
1484
|
+
"243": 2,
|
|
1485
|
+
"281": 2,
|
|
1486
|
+
"282": 1,
|
|
1487
|
+
"290": 1
|
|
1488
|
+
},
|
|
1489
|
+
"fqnsFingerprint": "f50082188204002f71d8cd9ee312688143f81439652cc74e90e510e1e7960192"
|
|
1490
|
+
},
|
|
1491
|
+
"3fe018930d11961318b2a81c5f1864b3da3f5601c52ecc614371241e861ab42f": {
|
|
1492
|
+
"translations": {
|
|
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 is of type SecurityGroup\n# subnet is of type 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": "1"
|
|
1496
|
+
},
|
|
1497
|
+
"csharp": {
|
|
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};",
|
|
1499
|
+
"version": "1"
|
|
1500
|
+
},
|
|
1501
|
+
"java": {
|
|
1502
|
+
"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();",
|
|
1503
|
+
"version": "1"
|
|
1504
|
+
},
|
|
1505
|
+
"$": {
|
|
1506
|
+
"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};",
|
|
1507
|
+
"version": "0"
|
|
1508
|
+
}
|
|
1509
|
+
},
|
|
1510
|
+
"location": {
|
|
1511
|
+
"api": {
|
|
1512
|
+
"api": "type",
|
|
1513
|
+
"fqn": "@aws-cdk/aws-glue-alpha.ConnectionOptions"
|
|
1514
|
+
},
|
|
1515
|
+
"field": {
|
|
1516
|
+
"field": "example"
|
|
1517
|
+
}
|
|
1518
|
+
},
|
|
1519
|
+
"didCompile": true,
|
|
1520
|
+
"fqnsReferenced": [
|
|
1521
|
+
"@aws-cdk/aws-glue-alpha.ConnectionOptions",
|
|
1522
|
+
"aws-cdk-lib.aws_ec2.ISubnet"
|
|
1523
|
+
],
|
|
1524
|
+
"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} }",
|
|
1525
|
+
"syntaxKindCounter": {
|
|
1526
|
+
"10": 6,
|
|
1527
|
+
"75": 21,
|
|
1528
|
+
"130": 2,
|
|
1529
|
+
"153": 3,
|
|
1530
|
+
"169": 3,
|
|
1531
|
+
"192": 2,
|
|
1532
|
+
"193": 2,
|
|
1533
|
+
"225": 3,
|
|
1534
|
+
"242": 3,
|
|
1535
|
+
"243": 3,
|
|
1536
|
+
"254": 2,
|
|
1537
|
+
"255": 2,
|
|
1538
|
+
"256": 1,
|
|
1539
|
+
"257": 1,
|
|
1540
|
+
"258": 1,
|
|
1541
|
+
"281": 7,
|
|
1542
|
+
"290": 1
|
|
1543
|
+
},
|
|
1544
|
+
"fqnsFingerprint": "f30f0e9fd255cc8e79b0a196655f5482a93280ac6e57649714fd44895ecf6047"
|
|
1545
|
+
},
|
|
1546
|
+
"e1211ab39ed6fec79bd323ca5274000fcabdc176129cb4f9779ce2ff3b43ae51": {
|
|
1547
|
+
"translations": {
|
|
1548
|
+
"python": {
|
|
1549
|
+
"source": "# security_group is of type SecurityGroup\n# subnet is of type Subnet\n\nglue.Connection(self, \"MyConnection\",\n type=glue.ConnectionType.NETWORK,\n # The security groups granting AWS Glue inbound access to the data source within the VPC\n security_groups=[security_group],\n # The VPC subnet which contains the data source\n subnet=subnet\n)",
|
|
1550
|
+
"version": "1"
|
|
1551
|
+
},
|
|
1552
|
+
"csharp": {
|
|
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});",
|
|
1554
|
+
"version": "1"
|
|
1555
|
+
},
|
|
1556
|
+
"java": {
|
|
1557
|
+
"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();",
|
|
1558
|
+
"version": "1"
|
|
1559
|
+
},
|
|
1560
|
+
"$": {
|
|
1561
|
+
"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});",
|
|
1562
|
+
"version": "0"
|
|
1563
|
+
}
|
|
1564
|
+
},
|
|
1565
|
+
"location": {
|
|
1566
|
+
"api": {
|
|
1567
|
+
"api": "type",
|
|
1568
|
+
"fqn": "@aws-cdk/aws-glue-alpha.ConnectionProps"
|
|
1569
|
+
},
|
|
1570
|
+
"field": {
|
|
1571
|
+
"field": "example"
|
|
1572
|
+
}
|
|
1573
|
+
},
|
|
1574
|
+
"didCompile": true,
|
|
1575
|
+
"fqnsReferenced": [
|
|
1576
|
+
"@aws-cdk/aws-glue-alpha.Connection",
|
|
1577
|
+
"@aws-cdk/aws-glue-alpha.ConnectionProps",
|
|
1578
|
+
"@aws-cdk/aws-glue-alpha.ConnectionType",
|
|
1579
|
+
"@aws-cdk/aws-glue-alpha.ConnectionType#NETWORK",
|
|
1580
|
+
"aws-cdk-lib.aws_ec2.ISubnet"
|
|
1581
|
+
],
|
|
1582
|
+
"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",
|
|
1583
|
+
"syntaxKindCounter": {
|
|
1584
|
+
"10": 1,
|
|
1585
|
+
"75": 15,
|
|
1586
|
+
"104": 1,
|
|
1587
|
+
"130": 2,
|
|
1588
|
+
"153": 2,
|
|
1589
|
+
"169": 2,
|
|
1590
|
+
"192": 1,
|
|
1591
|
+
"193": 1,
|
|
1592
|
+
"194": 3,
|
|
1593
|
+
"197": 1,
|
|
1594
|
+
"225": 2,
|
|
1595
|
+
"226": 1,
|
|
1596
|
+
"242": 2,
|
|
1597
|
+
"243": 2,
|
|
1598
|
+
"281": 2,
|
|
1599
|
+
"282": 1,
|
|
1600
|
+
"290": 1
|
|
1601
|
+
},
|
|
1602
|
+
"fqnsFingerprint": "f50082188204002f71d8cd9ee312688143f81439652cc74e90e510e1e7960192"
|
|
1603
|
+
},
|
|
1604
|
+
"c3acda6afb130f5dc8c4d42c2078db37e2f2bc178bbe7ae224f1f3fac68bb300": {
|
|
1605
|
+
"translations": {
|
|
1606
|
+
"python": {
|
|
1607
|
+
"source": "# security_group is of type SecurityGroup\n# subnet is of type Subnet\n\nglue.Connection(self, \"MyConnection\",\n type=glue.ConnectionType.NETWORK,\n # The security groups granting AWS Glue inbound access to the data source within the VPC\n security_groups=[security_group],\n # The VPC subnet which contains the data source\n subnet=subnet\n)",
|
|
1608
|
+
"version": "1"
|
|
1609
|
+
},
|
|
1610
|
+
"csharp": {
|
|
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});",
|
|
1612
|
+
"version": "1"
|
|
1613
|
+
},
|
|
1614
|
+
"java": {
|
|
1615
|
+
"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();",
|
|
1616
|
+
"version": "1"
|
|
1617
|
+
},
|
|
1618
|
+
"$": {
|
|
1619
|
+
"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});",
|
|
1620
|
+
"version": "0"
|
|
1621
|
+
}
|
|
1622
|
+
},
|
|
1623
|
+
"location": {
|
|
1624
|
+
"api": {
|
|
1625
|
+
"api": "type",
|
|
1626
|
+
"fqn": "@aws-cdk/aws-glue-alpha.ConnectionType"
|
|
1627
|
+
},
|
|
1628
|
+
"field": {
|
|
1629
|
+
"field": "example"
|
|
1630
|
+
}
|
|
1631
|
+
},
|
|
1632
|
+
"didCompile": true,
|
|
1633
|
+
"fqnsReferenced": [
|
|
1634
|
+
"@aws-cdk/aws-glue-alpha.Connection",
|
|
1635
|
+
"@aws-cdk/aws-glue-alpha.ConnectionProps",
|
|
1636
|
+
"@aws-cdk/aws-glue-alpha.ConnectionType",
|
|
1637
|
+
"@aws-cdk/aws-glue-alpha.ConnectionType#NETWORK",
|
|
1638
|
+
"aws-cdk-lib.aws_ec2.ISubnet"
|
|
1639
|
+
],
|
|
1640
|
+
"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",
|
|
1641
|
+
"syntaxKindCounter": {
|
|
1642
|
+
"10": 1,
|
|
1643
|
+
"75": 15,
|
|
1644
|
+
"104": 1,
|
|
1645
|
+
"130": 2,
|
|
1646
|
+
"153": 2,
|
|
1647
|
+
"169": 2,
|
|
1648
|
+
"192": 1,
|
|
1649
|
+
"193": 1,
|
|
1650
|
+
"194": 3,
|
|
1651
|
+
"197": 1,
|
|
1652
|
+
"225": 2,
|
|
1653
|
+
"226": 1,
|
|
1654
|
+
"242": 2,
|
|
1655
|
+
"243": 2,
|
|
1656
|
+
"281": 2,
|
|
1657
|
+
"282": 1,
|
|
1658
|
+
"290": 1
|
|
1659
|
+
},
|
|
1660
|
+
"fqnsFingerprint": "f50082188204002f71d8cd9ee312688143f81439652cc74e90e510e1e7960192"
|
|
1661
|
+
},
|
|
1662
|
+
"89ab7513aedb510cbf6bdf12d311bf615f341be96883069e9dbf80dab7a71fdf": {
|
|
1663
|
+
"translations": {
|
|
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 is of type 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": "1"
|
|
1667
|
+
},
|
|
1668
|
+
"csharp": {
|
|
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};",
|
|
1670
|
+
"version": "1"
|
|
1671
|
+
},
|
|
1672
|
+
"java": {
|
|
1673
|
+
"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();",
|
|
1674
|
+
"version": "1"
|
|
1675
|
+
},
|
|
1676
|
+
"$": {
|
|
1677
|
+
"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};",
|
|
1678
|
+
"version": "0"
|
|
1679
|
+
}
|
|
1680
|
+
},
|
|
1681
|
+
"location": {
|
|
1682
|
+
"api": {
|
|
1683
|
+
"api": "type",
|
|
1684
|
+
"fqn": "@aws-cdk/aws-glue-alpha.ContinuousLoggingProps"
|
|
1685
|
+
},
|
|
1686
|
+
"field": {
|
|
1687
|
+
"field": "example"
|
|
1688
|
+
}
|
|
1689
|
+
},
|
|
1690
|
+
"didCompile": true,
|
|
1691
|
+
"fqnsReferenced": [
|
|
1692
|
+
"@aws-cdk/aws-glue-alpha.ContinuousLoggingProps",
|
|
1693
|
+
"aws-cdk-lib.aws_logs.ILogGroup"
|
|
1694
|
+
],
|
|
1695
|
+
"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} }",
|
|
1696
|
+
"syntaxKindCounter": {
|
|
1697
|
+
"10": 4,
|
|
1698
|
+
"75": 15,
|
|
1699
|
+
"91": 2,
|
|
1700
|
+
"130": 1,
|
|
1701
|
+
"153": 2,
|
|
1702
|
+
"169": 2,
|
|
1703
|
+
"193": 1,
|
|
1704
|
+
"225": 2,
|
|
1705
|
+
"242": 2,
|
|
1706
|
+
"243": 2,
|
|
1707
|
+
"254": 2,
|
|
1708
|
+
"255": 2,
|
|
1709
|
+
"256": 1,
|
|
1710
|
+
"257": 1,
|
|
1711
|
+
"258": 1,
|
|
1712
|
+
"281": 5,
|
|
1713
|
+
"290": 1
|
|
1714
|
+
},
|
|
1715
|
+
"fqnsFingerprint": "c7faa77d4c4e5c59bbd139799f7beaf1480eba0ca6c8f04b4b36ad65c37d0be9"
|
|
1716
|
+
},
|
|
1717
|
+
"b1363786d1e5971b3c780a09dd8b8d3b0e0be07472c6a3d61f9f442e09d29b16": {
|
|
1718
|
+
"translations": {
|
|
1719
|
+
"python": {
|
|
1720
|
+
"source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
1721
|
+
"version": "1"
|
|
1722
|
+
},
|
|
1723
|
+
"csharp": {
|
|
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});",
|
|
1725
|
+
"version": "1"
|
|
1726
|
+
},
|
|
1727
|
+
"java": {
|
|
1728
|
+
"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();",
|
|
1729
|
+
"version": "1"
|
|
1730
|
+
},
|
|
1731
|
+
"$": {
|
|
1732
|
+
"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});",
|
|
1733
|
+
"version": "0"
|
|
1734
|
+
}
|
|
1735
|
+
},
|
|
1736
|
+
"location": {
|
|
1737
|
+
"api": {
|
|
1738
|
+
"api": "type",
|
|
1739
|
+
"fqn": "@aws-cdk/aws-glue-alpha.DataFormat"
|
|
1740
|
+
},
|
|
1741
|
+
"field": {
|
|
1742
|
+
"field": "example"
|
|
1743
|
+
}
|
|
1744
|
+
},
|
|
1745
|
+
"didCompile": true,
|
|
1746
|
+
"fqnsReferenced": [
|
|
1747
|
+
"@aws-cdk/aws-glue-alpha.DataFormat",
|
|
1748
|
+
"@aws-cdk/aws-glue-alpha.DataFormat#JSON",
|
|
1749
|
+
"@aws-cdk/aws-glue-alpha.IDatabase",
|
|
1750
|
+
"@aws-cdk/aws-glue-alpha.Schema",
|
|
1751
|
+
"@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
|
|
1752
|
+
"@aws-cdk/aws-glue-alpha.Schema#STRING",
|
|
1753
|
+
"@aws-cdk/aws-glue-alpha.Table",
|
|
1754
|
+
"@aws-cdk/aws-glue-alpha.TableProps",
|
|
1755
|
+
"@aws-cdk/aws-glue-alpha.Type"
|
|
1756
|
+
],
|
|
1757
|
+
"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",
|
|
1758
|
+
"syntaxKindCounter": {
|
|
1759
|
+
"10": 5,
|
|
1760
|
+
"75": 29,
|
|
1761
|
+
"104": 1,
|
|
1762
|
+
"130": 1,
|
|
1763
|
+
"153": 1,
|
|
1764
|
+
"169": 1,
|
|
1765
|
+
"192": 2,
|
|
1766
|
+
"193": 4,
|
|
1767
|
+
"194": 9,
|
|
1768
|
+
"197": 1,
|
|
1769
|
+
"225": 1,
|
|
1770
|
+
"226": 1,
|
|
1771
|
+
"242": 1,
|
|
1772
|
+
"243": 1,
|
|
1773
|
+
"281": 11,
|
|
1774
|
+
"290": 1
|
|
1775
|
+
},
|
|
1776
|
+
"fqnsFingerprint": "04817043124c93d5cbaf2df5f7d815d1f78689a6f13340417a3b62dfb49095e0"
|
|
1777
|
+
},
|
|
1778
|
+
"cbc7bf4c317a8ec8fc5c9256688a20db175d859b28fc3054eba52e51c9876498": {
|
|
1779
|
+
"translations": {
|
|
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 is of type ClassificationString\n# input_format is of type InputFormat\n# output_format is of type OutputFormat\n# serialization_library is of type 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": "1"
|
|
1783
|
+
},
|
|
1784
|
+
"csharp": {
|
|
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};",
|
|
1786
|
+
"version": "1"
|
|
1787
|
+
},
|
|
1788
|
+
"java": {
|
|
1789
|
+
"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();",
|
|
1790
|
+
"version": "1"
|
|
1791
|
+
},
|
|
1792
|
+
"$": {
|
|
1793
|
+
"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};",
|
|
1794
|
+
"version": "0"
|
|
1795
|
+
}
|
|
1796
|
+
},
|
|
1797
|
+
"location": {
|
|
1798
|
+
"api": {
|
|
1799
|
+
"api": "type",
|
|
1800
|
+
"fqn": "@aws-cdk/aws-glue-alpha.DataFormatProps"
|
|
1801
|
+
},
|
|
1802
|
+
"field": {
|
|
1803
|
+
"field": "example"
|
|
1804
|
+
}
|
|
1805
|
+
},
|
|
1806
|
+
"didCompile": true,
|
|
1807
|
+
"fqnsReferenced": [
|
|
1808
|
+
"@aws-cdk/aws-glue-alpha.ClassificationString",
|
|
1809
|
+
"@aws-cdk/aws-glue-alpha.DataFormatProps",
|
|
1810
|
+
"@aws-cdk/aws-glue-alpha.InputFormat",
|
|
1811
|
+
"@aws-cdk/aws-glue-alpha.OutputFormat",
|
|
1812
|
+
"@aws-cdk/aws-glue-alpha.SerializationLibrary"
|
|
1813
|
+
],
|
|
1814
|
+
"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} }",
|
|
1815
|
+
"syntaxKindCounter": {
|
|
1816
|
+
"10": 1,
|
|
1817
|
+
"75": 24,
|
|
1818
|
+
"130": 4,
|
|
1819
|
+
"153": 5,
|
|
1820
|
+
"169": 5,
|
|
1821
|
+
"193": 1,
|
|
1822
|
+
"225": 5,
|
|
1823
|
+
"242": 5,
|
|
1824
|
+
"243": 5,
|
|
1825
|
+
"254": 1,
|
|
1826
|
+
"255": 1,
|
|
1827
|
+
"256": 1,
|
|
1828
|
+
"281": 4,
|
|
1829
|
+
"290": 1
|
|
1830
|
+
},
|
|
1831
|
+
"fqnsFingerprint": "20eda6b5525bd906f36cf657e6fdc2bc31973555af624129c544b4a5942882e8"
|
|
1832
|
+
},
|
|
1833
|
+
"7a03ebf936c887caa8daa01417d58af81ba37664c29ca53dc0b5ad3c7dfe2fb6": {
|
|
1834
|
+
"translations": {
|
|
1835
|
+
"python": {
|
|
1836
|
+
"source": "glue.Database(self, \"MyDatabase\",\n database_name=\"my_database\"\n)",
|
|
1837
|
+
"version": "1"
|
|
1838
|
+
},
|
|
1839
|
+
"csharp": {
|
|
1840
|
+
"source": "new Database(this, \"MyDatabase\", new DatabaseProps {\n DatabaseName = \"my_database\"\n});",
|
|
1841
|
+
"version": "1"
|
|
1842
|
+
},
|
|
1843
|
+
"java": {
|
|
1844
|
+
"source": "Database.Builder.create(this, \"MyDatabase\")\n .databaseName(\"my_database\")\n .build();",
|
|
1845
|
+
"version": "1"
|
|
1846
|
+
},
|
|
1847
|
+
"$": {
|
|
1848
|
+
"source": "new glue.Database(this, 'MyDatabase', {\n databaseName: 'my_database',\n});",
|
|
1849
|
+
"version": "0"
|
|
1850
|
+
}
|
|
1851
|
+
},
|
|
1852
|
+
"location": {
|
|
1853
|
+
"api": {
|
|
1854
|
+
"api": "type",
|
|
1855
|
+
"fqn": "@aws-cdk/aws-glue-alpha.Database"
|
|
1856
|
+
},
|
|
1857
|
+
"field": {
|
|
1858
|
+
"field": "example"
|
|
1859
|
+
}
|
|
1860
|
+
},
|
|
1861
|
+
"didCompile": true,
|
|
1862
|
+
"fqnsReferenced": [
|
|
1863
|
+
"@aws-cdk/aws-glue-alpha.Database",
|
|
1864
|
+
"@aws-cdk/aws-glue-alpha.DatabaseProps"
|
|
1865
|
+
],
|
|
1866
|
+
"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",
|
|
1867
|
+
"syntaxKindCounter": {
|
|
1868
|
+
"10": 2,
|
|
1869
|
+
"75": 3,
|
|
1870
|
+
"104": 1,
|
|
1871
|
+
"193": 1,
|
|
1872
|
+
"194": 1,
|
|
1873
|
+
"197": 1,
|
|
1874
|
+
"226": 1,
|
|
1875
|
+
"281": 1
|
|
1876
|
+
},
|
|
1877
|
+
"fqnsFingerprint": "9b7c499328a24eaf150b141ed600d22d9b074506c789eafeb91dff0e8e7c6876"
|
|
1878
|
+
},
|
|
1879
|
+
"1ba7c08ac10b41363cebc03f9869769b46bd5c67723a1ee827653dd6379bd184": {
|
|
1880
|
+
"translations": {
|
|
1881
|
+
"python": {
|
|
1882
|
+
"source": "glue.Database(self, \"MyDatabase\",\n database_name=\"my_database\"\n)",
|
|
1883
|
+
"version": "1"
|
|
1884
|
+
},
|
|
1885
|
+
"csharp": {
|
|
1886
|
+
"source": "new Database(this, \"MyDatabase\", new DatabaseProps {\n DatabaseName = \"my_database\"\n});",
|
|
1887
|
+
"version": "1"
|
|
1888
|
+
},
|
|
1889
|
+
"java": {
|
|
1890
|
+
"source": "Database.Builder.create(this, \"MyDatabase\")\n .databaseName(\"my_database\")\n .build();",
|
|
1891
|
+
"version": "1"
|
|
1892
|
+
},
|
|
1893
|
+
"$": {
|
|
1894
|
+
"source": "new glue.Database(this, 'MyDatabase', {\n databaseName: 'my_database',\n});",
|
|
1895
|
+
"version": "0"
|
|
1896
|
+
}
|
|
1897
|
+
},
|
|
1898
|
+
"location": {
|
|
1899
|
+
"api": {
|
|
1900
|
+
"api": "type",
|
|
1901
|
+
"fqn": "@aws-cdk/aws-glue-alpha.DatabaseProps"
|
|
1902
|
+
},
|
|
1903
|
+
"field": {
|
|
1904
|
+
"field": "example"
|
|
1905
|
+
}
|
|
1906
|
+
},
|
|
1907
|
+
"didCompile": true,
|
|
1908
|
+
"fqnsReferenced": [
|
|
1909
|
+
"@aws-cdk/aws-glue-alpha.Database",
|
|
1910
|
+
"@aws-cdk/aws-glue-alpha.DatabaseProps"
|
|
1911
|
+
],
|
|
1912
|
+
"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",
|
|
1913
|
+
"syntaxKindCounter": {
|
|
1914
|
+
"10": 2,
|
|
1915
|
+
"75": 3,
|
|
1916
|
+
"104": 1,
|
|
1917
|
+
"193": 1,
|
|
1918
|
+
"194": 1,
|
|
1919
|
+
"197": 1,
|
|
1920
|
+
"226": 1,
|
|
1921
|
+
"281": 1
|
|
1922
|
+
},
|
|
1923
|
+
"fqnsFingerprint": "9b7c499328a24eaf150b141ed600d22d9b074506c789eafeb91dff0e8e7c6876"
|
|
1924
|
+
},
|
|
1925
|
+
"b9880ea645259a0b8762db76f4e76476a52a26e82ea25ca7fe18fa9fc3f58edf": {
|
|
1926
|
+
"translations": {
|
|
1927
|
+
"python": {
|
|
1928
|
+
"source": "# bucket is of type Bucket\n\nglue.Job(self, \"PythonShellJob\",\n executable=glue.JobExecutable.python_shell(\n glue_version=glue.GlueVersion.V1_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_bucket(bucket, \"script.py\")\n ),\n description=\"an example Python Shell job\"\n)",
|
|
1929
|
+
"version": "1"
|
|
1930
|
+
},
|
|
1931
|
+
"csharp": {
|
|
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});",
|
|
1933
|
+
"version": "1"
|
|
1934
|
+
},
|
|
1935
|
+
"java": {
|
|
1936
|
+
"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();",
|
|
1937
|
+
"version": "1"
|
|
1938
|
+
},
|
|
1939
|
+
"$": {
|
|
1940
|
+
"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});",
|
|
1941
|
+
"version": "0"
|
|
1942
|
+
}
|
|
1943
|
+
},
|
|
1944
|
+
"location": {
|
|
1945
|
+
"api": {
|
|
1946
|
+
"api": "type",
|
|
1947
|
+
"fqn": "@aws-cdk/aws-glue-alpha.GlueVersion"
|
|
1948
|
+
},
|
|
1949
|
+
"field": {
|
|
1950
|
+
"field": "example"
|
|
1951
|
+
}
|
|
1952
|
+
},
|
|
1953
|
+
"didCompile": true,
|
|
1954
|
+
"fqnsReferenced": [
|
|
1955
|
+
"@aws-cdk/aws-glue-alpha.Code",
|
|
1956
|
+
"@aws-cdk/aws-glue-alpha.Code#fromBucket",
|
|
1957
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion",
|
|
1958
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
|
|
1959
|
+
"@aws-cdk/aws-glue-alpha.Job",
|
|
1960
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable",
|
|
1961
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
|
|
1962
|
+
"@aws-cdk/aws-glue-alpha.JobProps",
|
|
1963
|
+
"@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
|
|
1964
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion",
|
|
1965
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
|
|
1966
|
+
"aws-cdk-lib.aws_s3.IBucket"
|
|
1967
|
+
],
|
|
1968
|
+
"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",
|
|
1969
|
+
"syntaxKindCounter": {
|
|
1970
|
+
"10": 3,
|
|
1971
|
+
"75": 23,
|
|
1972
|
+
"104": 1,
|
|
1973
|
+
"130": 1,
|
|
1974
|
+
"153": 1,
|
|
1975
|
+
"169": 1,
|
|
1976
|
+
"193": 2,
|
|
1977
|
+
"194": 9,
|
|
1978
|
+
"196": 2,
|
|
1979
|
+
"197": 1,
|
|
1980
|
+
"225": 1,
|
|
1981
|
+
"226": 1,
|
|
1982
|
+
"242": 1,
|
|
1983
|
+
"243": 1,
|
|
1984
|
+
"281": 5,
|
|
1985
|
+
"290": 1
|
|
1986
|
+
},
|
|
1987
|
+
"fqnsFingerprint": "eef4092a5f446f781851229eef557d5a56d62fe190816a3e960cda84b26e6d17"
|
|
1988
|
+
},
|
|
1989
|
+
"a7c86c256f66c4c655908fdb28ac3c0d6b40c223f7cacbb4b19fef9abd9d7243": {
|
|
1990
|
+
"translations": {
|
|
1991
|
+
"python": {
|
|
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": "1"
|
|
1994
|
+
},
|
|
1995
|
+
"csharp": {
|
|
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;",
|
|
1997
|
+
"version": "1"
|
|
1998
|
+
},
|
|
1999
|
+
"java": {
|
|
2000
|
+
"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;",
|
|
2001
|
+
"version": "1"
|
|
2002
|
+
},
|
|
2003
|
+
"$": {
|
|
2004
|
+
"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;",
|
|
2005
|
+
"version": "0"
|
|
2006
|
+
}
|
|
2007
|
+
},
|
|
2008
|
+
"location": {
|
|
2009
|
+
"api": {
|
|
2010
|
+
"api": "type",
|
|
2011
|
+
"fqn": "@aws-cdk/aws-glue-alpha.InputFormat"
|
|
2012
|
+
},
|
|
2013
|
+
"field": {
|
|
2014
|
+
"field": "example"
|
|
2015
|
+
}
|
|
2016
|
+
},
|
|
2017
|
+
"didCompile": true,
|
|
2018
|
+
"fqnsReferenced": [
|
|
2019
|
+
"@aws-cdk/aws-glue-alpha.InputFormat",
|
|
2020
|
+
"@aws-cdk/aws-glue-alpha.InputFormat#AVRO"
|
|
2021
|
+
],
|
|
2022
|
+
"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} }",
|
|
2023
|
+
"syntaxKindCounter": {
|
|
2024
|
+
"10": 1,
|
|
2025
|
+
"75": 5,
|
|
2026
|
+
"194": 2,
|
|
2027
|
+
"225": 1,
|
|
2028
|
+
"242": 1,
|
|
2029
|
+
"243": 1,
|
|
2030
|
+
"254": 1,
|
|
2031
|
+
"255": 1,
|
|
2032
|
+
"256": 1,
|
|
2033
|
+
"290": 1
|
|
2034
|
+
},
|
|
2035
|
+
"fqnsFingerprint": "706f47df803c141c357c962af9351e7e2bc206e44c30ff4be5ffafd18991abf0"
|
|
2036
|
+
},
|
|
2037
|
+
"874d27adcf7eda76cb6349757fa242e0ef835f26a4b8d7b3bcb32954b292739c": {
|
|
2038
|
+
"translations": {
|
|
2039
|
+
"python": {
|
|
2040
|
+
"source": "# bucket is of type Bucket\n\nglue.Job(self, \"PythonShellJob\",\n executable=glue.JobExecutable.python_shell(\n glue_version=glue.GlueVersion.V1_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_bucket(bucket, \"script.py\")\n ),\n description=\"an example Python Shell job\"\n)",
|
|
2041
|
+
"version": "1"
|
|
2042
|
+
},
|
|
2043
|
+
"csharp": {
|
|
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});",
|
|
2045
|
+
"version": "1"
|
|
2046
|
+
},
|
|
2047
|
+
"java": {
|
|
2048
|
+
"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();",
|
|
2049
|
+
"version": "1"
|
|
2050
|
+
},
|
|
2051
|
+
"$": {
|
|
2052
|
+
"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});",
|
|
2053
|
+
"version": "0"
|
|
2054
|
+
}
|
|
2055
|
+
},
|
|
2056
|
+
"location": {
|
|
2057
|
+
"api": {
|
|
2058
|
+
"api": "type",
|
|
2059
|
+
"fqn": "@aws-cdk/aws-glue-alpha.Job"
|
|
2060
|
+
},
|
|
2061
|
+
"field": {
|
|
2062
|
+
"field": "example"
|
|
2063
|
+
}
|
|
2064
|
+
},
|
|
2065
|
+
"didCompile": true,
|
|
2066
|
+
"fqnsReferenced": [
|
|
2067
|
+
"@aws-cdk/aws-glue-alpha.Code",
|
|
2068
|
+
"@aws-cdk/aws-glue-alpha.Code#fromBucket",
|
|
2069
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion",
|
|
2070
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
|
|
2071
|
+
"@aws-cdk/aws-glue-alpha.Job",
|
|
2072
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable",
|
|
2073
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
|
|
2074
|
+
"@aws-cdk/aws-glue-alpha.JobProps",
|
|
2075
|
+
"@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
|
|
2076
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion",
|
|
2077
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
|
|
2078
|
+
"aws-cdk-lib.aws_s3.IBucket"
|
|
2079
|
+
],
|
|
2080
|
+
"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",
|
|
2081
|
+
"syntaxKindCounter": {
|
|
2082
|
+
"10": 3,
|
|
2083
|
+
"75": 23,
|
|
2084
|
+
"104": 1,
|
|
2085
|
+
"130": 1,
|
|
2086
|
+
"153": 1,
|
|
2087
|
+
"169": 1,
|
|
2088
|
+
"193": 2,
|
|
2089
|
+
"194": 9,
|
|
2090
|
+
"196": 2,
|
|
2091
|
+
"197": 1,
|
|
2092
|
+
"225": 1,
|
|
2093
|
+
"226": 1,
|
|
2094
|
+
"242": 1,
|
|
2095
|
+
"243": 1,
|
|
2096
|
+
"281": 5,
|
|
2097
|
+
"290": 1
|
|
2098
|
+
},
|
|
2099
|
+
"fqnsFingerprint": "eef4092a5f446f781851229eef557d5a56d62fe190816a3e960cda84b26e6d17"
|
|
2100
|
+
},
|
|
2101
|
+
"bc67fe0f869f4ba7f3dbb3668d6aaf5efd6fc0e0eaaa5d8e7f6d9337f596b179": {
|
|
2102
|
+
"translations": {
|
|
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 is of type Role\n\njob_attributes = glue_alpha.JobAttributes(\n job_name=\"jobName\",\n\n # the properties below are optional\n role=role\n)",
|
|
2105
|
+
"version": "1"
|
|
2106
|
+
},
|
|
2107
|
+
"csharp": {
|
|
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};",
|
|
2109
|
+
"version": "1"
|
|
2110
|
+
},
|
|
2111
|
+
"java": {
|
|
2112
|
+
"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();",
|
|
2113
|
+
"version": "1"
|
|
2114
|
+
},
|
|
2115
|
+
"$": {
|
|
2116
|
+
"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};",
|
|
2117
|
+
"version": "0"
|
|
2118
|
+
}
|
|
2119
|
+
},
|
|
2120
|
+
"location": {
|
|
2121
|
+
"api": {
|
|
2122
|
+
"api": "type",
|
|
2123
|
+
"fqn": "@aws-cdk/aws-glue-alpha.JobAttributes"
|
|
2124
|
+
},
|
|
2125
|
+
"field": {
|
|
2126
|
+
"field": "example"
|
|
2127
|
+
}
|
|
2128
|
+
},
|
|
2129
|
+
"didCompile": true,
|
|
2130
|
+
"fqnsReferenced": [
|
|
2131
|
+
"@aws-cdk/aws-glue-alpha.JobAttributes",
|
|
2132
|
+
"aws-cdk-lib.aws_iam.IRole"
|
|
2133
|
+
],
|
|
2134
|
+
"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} }",
|
|
2135
|
+
"syntaxKindCounter": {
|
|
2136
|
+
"10": 3,
|
|
2137
|
+
"75": 12,
|
|
2138
|
+
"130": 1,
|
|
2139
|
+
"153": 2,
|
|
2140
|
+
"169": 2,
|
|
2141
|
+
"193": 1,
|
|
2142
|
+
"225": 2,
|
|
2143
|
+
"242": 2,
|
|
2144
|
+
"243": 2,
|
|
2145
|
+
"254": 2,
|
|
2146
|
+
"255": 2,
|
|
2147
|
+
"256": 1,
|
|
2148
|
+
"257": 1,
|
|
2149
|
+
"258": 1,
|
|
2150
|
+
"281": 2,
|
|
2151
|
+
"290": 1
|
|
2152
|
+
},
|
|
2153
|
+
"fqnsFingerprint": "e5b3885a9044903b967afd603a38070c2fdd48ccae8c0b08065e5bffe711bcaf"
|
|
2154
|
+
},
|
|
2155
|
+
"338946c760eb62657369459eaa0f29d4f879aa5304e3065d7090a9429c66ef9a": {
|
|
2156
|
+
"translations": {
|
|
2157
|
+
"python": {
|
|
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": "1"
|
|
2160
|
+
},
|
|
2161
|
+
"csharp": {
|
|
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});",
|
|
2163
|
+
"version": "1"
|
|
2164
|
+
},
|
|
2165
|
+
"java": {
|
|
2166
|
+
"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();",
|
|
2167
|
+
"version": "1"
|
|
2168
|
+
},
|
|
2169
|
+
"$": {
|
|
2170
|
+
"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});",
|
|
2171
|
+
"version": "0"
|
|
2172
|
+
}
|
|
2173
|
+
},
|
|
2174
|
+
"location": {
|
|
2175
|
+
"api": {
|
|
2176
|
+
"api": "type",
|
|
2177
|
+
"fqn": "@aws-cdk/aws-glue-alpha.JobBookmarksEncryption"
|
|
2178
|
+
},
|
|
2179
|
+
"field": {
|
|
2180
|
+
"field": "example"
|
|
2181
|
+
}
|
|
2182
|
+
},
|
|
2183
|
+
"didCompile": true,
|
|
2184
|
+
"fqnsReferenced": [
|
|
2185
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
|
|
2186
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
|
|
2187
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
|
|
2188
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
|
|
2189
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
|
|
2190
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
|
|
2191
|
+
"@aws-cdk/aws-glue-alpha.S3Encryption",
|
|
2192
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode",
|
|
2193
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
|
|
2194
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfiguration",
|
|
2195
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
|
|
2196
|
+
],
|
|
2197
|
+
"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",
|
|
2198
|
+
"syntaxKindCounter": {
|
|
2199
|
+
"10": 2,
|
|
2200
|
+
"75": 18,
|
|
2201
|
+
"104": 1,
|
|
2202
|
+
"193": 4,
|
|
2203
|
+
"194": 7,
|
|
2204
|
+
"197": 1,
|
|
2205
|
+
"226": 1,
|
|
2206
|
+
"281": 7
|
|
2207
|
+
},
|
|
2208
|
+
"fqnsFingerprint": "aa8b8ec28f2d28677076f4cf8ef725e80c2cf4722d52badbd0965a51c68964fa"
|
|
2209
|
+
},
|
|
2210
|
+
"01645930c0f903782be928f0797d165bc9b6456a7557f0ae794f5b8c8be14038": {
|
|
2211
|
+
"translations": {
|
|
2212
|
+
"python": {
|
|
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": "1"
|
|
2215
|
+
},
|
|
2216
|
+
"csharp": {
|
|
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});",
|
|
2218
|
+
"version": "1"
|
|
2219
|
+
},
|
|
2220
|
+
"java": {
|
|
2221
|
+
"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();",
|
|
2222
|
+
"version": "1"
|
|
2223
|
+
},
|
|
2224
|
+
"$": {
|
|
2225
|
+
"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});",
|
|
2226
|
+
"version": "0"
|
|
2227
|
+
}
|
|
2228
|
+
},
|
|
2229
|
+
"location": {
|
|
2230
|
+
"api": {
|
|
2231
|
+
"api": "type",
|
|
2232
|
+
"fqn": "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode"
|
|
2233
|
+
},
|
|
2234
|
+
"field": {
|
|
2235
|
+
"field": "example"
|
|
2236
|
+
}
|
|
2237
|
+
},
|
|
2238
|
+
"didCompile": true,
|
|
2239
|
+
"fqnsReferenced": [
|
|
2240
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
|
|
2241
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
|
|
2242
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
|
|
2243
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
|
|
2244
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
|
|
2245
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
|
|
2246
|
+
"@aws-cdk/aws-glue-alpha.S3Encryption",
|
|
2247
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode",
|
|
2248
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
|
|
2249
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfiguration",
|
|
2250
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
|
|
2251
|
+
],
|
|
2252
|
+
"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",
|
|
2253
|
+
"syntaxKindCounter": {
|
|
2254
|
+
"10": 2,
|
|
2255
|
+
"75": 18,
|
|
2256
|
+
"104": 1,
|
|
2257
|
+
"193": 4,
|
|
2258
|
+
"194": 7,
|
|
2259
|
+
"197": 1,
|
|
2260
|
+
"226": 1,
|
|
2261
|
+
"281": 7
|
|
2262
|
+
},
|
|
2263
|
+
"fqnsFingerprint": "aa8b8ec28f2d28677076f4cf8ef725e80c2cf4722d52badbd0965a51c68964fa"
|
|
2264
|
+
},
|
|
2265
|
+
"6832b355847510af07ad3f1845210e75c148b4eb51beb4ba37bb5ff3578132ba": {
|
|
2266
|
+
"translations": {
|
|
2267
|
+
"python": {
|
|
2268
|
+
"source": "# bucket is of type Bucket\n\nglue.Job(self, \"PythonShellJob\",\n executable=glue.JobExecutable.python_shell(\n glue_version=glue.GlueVersion.V1_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_bucket(bucket, \"script.py\")\n ),\n description=\"an example Python Shell job\"\n)",
|
|
2269
|
+
"version": "1"
|
|
2270
|
+
},
|
|
2271
|
+
"csharp": {
|
|
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});",
|
|
2273
|
+
"version": "1"
|
|
2274
|
+
},
|
|
2275
|
+
"java": {
|
|
2276
|
+
"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();",
|
|
2277
|
+
"version": "1"
|
|
2278
|
+
},
|
|
2279
|
+
"$": {
|
|
2280
|
+
"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});",
|
|
2281
|
+
"version": "0"
|
|
2282
|
+
}
|
|
2283
|
+
},
|
|
2284
|
+
"location": {
|
|
2285
|
+
"api": {
|
|
2286
|
+
"api": "type",
|
|
2287
|
+
"fqn": "@aws-cdk/aws-glue-alpha.JobExecutable"
|
|
2288
|
+
},
|
|
2289
|
+
"field": {
|
|
2290
|
+
"field": "example"
|
|
2291
|
+
}
|
|
2292
|
+
},
|
|
2293
|
+
"didCompile": true,
|
|
2294
|
+
"fqnsReferenced": [
|
|
2295
|
+
"@aws-cdk/aws-glue-alpha.Code",
|
|
2296
|
+
"@aws-cdk/aws-glue-alpha.Code#fromBucket",
|
|
2297
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion",
|
|
2298
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
|
|
2299
|
+
"@aws-cdk/aws-glue-alpha.Job",
|
|
2300
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable",
|
|
2301
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
|
|
2302
|
+
"@aws-cdk/aws-glue-alpha.JobProps",
|
|
2303
|
+
"@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
|
|
2304
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion",
|
|
2305
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
|
|
2306
|
+
"aws-cdk-lib.aws_s3.IBucket"
|
|
2307
|
+
],
|
|
2308
|
+
"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",
|
|
2309
|
+
"syntaxKindCounter": {
|
|
2310
|
+
"10": 3,
|
|
2311
|
+
"75": 23,
|
|
2312
|
+
"104": 1,
|
|
2313
|
+
"130": 1,
|
|
2314
|
+
"153": 1,
|
|
2315
|
+
"169": 1,
|
|
2316
|
+
"193": 2,
|
|
2317
|
+
"194": 9,
|
|
2318
|
+
"196": 2,
|
|
2319
|
+
"197": 1,
|
|
2320
|
+
"225": 1,
|
|
2321
|
+
"226": 1,
|
|
2322
|
+
"242": 1,
|
|
2323
|
+
"243": 1,
|
|
2324
|
+
"281": 5,
|
|
2325
|
+
"290": 1
|
|
2326
|
+
},
|
|
2327
|
+
"fqnsFingerprint": "eef4092a5f446f781851229eef557d5a56d62fe190816a3e960cda84b26e6d17"
|
|
2328
|
+
},
|
|
2329
|
+
"d881c62d75f297064390937ef0d37eeb9086928d357c7a571af334c5b95252c6": {
|
|
2330
|
+
"translations": {
|
|
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 is of type Code\n# glue_version is of type GlueVersion\n# job_type is of type 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": "1"
|
|
2334
|
+
},
|
|
2335
|
+
"csharp": {
|
|
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};",
|
|
2337
|
+
"version": "1"
|
|
2338
|
+
},
|
|
2339
|
+
"java": {
|
|
2340
|
+
"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();",
|
|
2341
|
+
"version": "1"
|
|
2342
|
+
},
|
|
2343
|
+
"$": {
|
|
2344
|
+
"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};",
|
|
2345
|
+
"version": "0"
|
|
2346
|
+
}
|
|
2347
|
+
},
|
|
2348
|
+
"location": {
|
|
2349
|
+
"api": {
|
|
2350
|
+
"api": "type",
|
|
2351
|
+
"fqn": "@aws-cdk/aws-glue-alpha.JobExecutableConfig"
|
|
2352
|
+
},
|
|
2353
|
+
"field": {
|
|
2354
|
+
"field": "example"
|
|
2355
|
+
}
|
|
2356
|
+
},
|
|
2357
|
+
"didCompile": true,
|
|
2358
|
+
"fqnsReferenced": [
|
|
2359
|
+
"@aws-cdk/aws-glue-alpha.Code",
|
|
2360
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion",
|
|
2361
|
+
"@aws-cdk/aws-glue-alpha.JobExecutableConfig",
|
|
2362
|
+
"@aws-cdk/aws-glue-alpha.JobLanguage",
|
|
2363
|
+
"@aws-cdk/aws-glue-alpha.JobLanguage#SCALA",
|
|
2364
|
+
"@aws-cdk/aws-glue-alpha.JobType",
|
|
2365
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion",
|
|
2366
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion#TWO"
|
|
2367
|
+
],
|
|
2368
|
+
"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} }",
|
|
2369
|
+
"syntaxKindCounter": {
|
|
2370
|
+
"10": 2,
|
|
2371
|
+
"75": 35,
|
|
2372
|
+
"91": 1,
|
|
2373
|
+
"130": 3,
|
|
2374
|
+
"153": 4,
|
|
2375
|
+
"169": 4,
|
|
2376
|
+
"192": 3,
|
|
2377
|
+
"193": 1,
|
|
2378
|
+
"194": 4,
|
|
2379
|
+
"225": 4,
|
|
2380
|
+
"242": 4,
|
|
2381
|
+
"243": 4,
|
|
2382
|
+
"254": 1,
|
|
2383
|
+
"255": 1,
|
|
2384
|
+
"256": 1,
|
|
2385
|
+
"281": 10,
|
|
2386
|
+
"290": 1
|
|
2387
|
+
},
|
|
2388
|
+
"fqnsFingerprint": "12d903f51c7c84418615f3945108c1081e73165f9ea5456e890c202e57e0c770"
|
|
2389
|
+
},
|
|
2390
|
+
"943463d1930ad3031acad3870f483fe9fb5232ac43304a1f3b310599d039b503": {
|
|
2391
|
+
"translations": {
|
|
2392
|
+
"python": {
|
|
2393
|
+
"source": "# bucket is of type Bucket\n\nglue.Job(self, \"PythonShellJob\",\n executable=glue.JobExecutable.python_shell(\n glue_version=glue.GlueVersion.V1_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_bucket(bucket, \"script.py\")\n ),\n description=\"an example Python Shell job\"\n)",
|
|
2394
|
+
"version": "1"
|
|
2395
|
+
},
|
|
2396
|
+
"csharp": {
|
|
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});",
|
|
2398
|
+
"version": "1"
|
|
2399
|
+
},
|
|
2400
|
+
"java": {
|
|
2401
|
+
"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();",
|
|
2402
|
+
"version": "1"
|
|
2403
|
+
},
|
|
2404
|
+
"$": {
|
|
2405
|
+
"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});",
|
|
2406
|
+
"version": "0"
|
|
2407
|
+
}
|
|
2408
|
+
},
|
|
2409
|
+
"location": {
|
|
2410
|
+
"api": {
|
|
2411
|
+
"api": "type",
|
|
2412
|
+
"fqn": "@aws-cdk/aws-glue-alpha.JobProps"
|
|
2413
|
+
},
|
|
2414
|
+
"field": {
|
|
2415
|
+
"field": "example"
|
|
2416
|
+
}
|
|
2417
|
+
},
|
|
2418
|
+
"didCompile": true,
|
|
2419
|
+
"fqnsReferenced": [
|
|
2420
|
+
"@aws-cdk/aws-glue-alpha.Code",
|
|
2421
|
+
"@aws-cdk/aws-glue-alpha.Code#fromBucket",
|
|
2422
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion",
|
|
2423
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
|
|
2424
|
+
"@aws-cdk/aws-glue-alpha.Job",
|
|
2425
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable",
|
|
2426
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
|
|
2427
|
+
"@aws-cdk/aws-glue-alpha.JobProps",
|
|
2428
|
+
"@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
|
|
2429
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion",
|
|
2430
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
|
|
2431
|
+
"aws-cdk-lib.aws_s3.IBucket"
|
|
2432
|
+
],
|
|
2433
|
+
"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",
|
|
2434
|
+
"syntaxKindCounter": {
|
|
2435
|
+
"10": 3,
|
|
2436
|
+
"75": 23,
|
|
2437
|
+
"104": 1,
|
|
2438
|
+
"130": 1,
|
|
2439
|
+
"153": 1,
|
|
2440
|
+
"169": 1,
|
|
2441
|
+
"193": 2,
|
|
2442
|
+
"194": 9,
|
|
2443
|
+
"196": 2,
|
|
2444
|
+
"197": 1,
|
|
2445
|
+
"225": 1,
|
|
2446
|
+
"226": 1,
|
|
2447
|
+
"242": 1,
|
|
2448
|
+
"243": 1,
|
|
2449
|
+
"281": 5,
|
|
2450
|
+
"290": 1
|
|
2451
|
+
},
|
|
2452
|
+
"fqnsFingerprint": "eef4092a5f446f781851229eef557d5a56d62fe190816a3e960cda84b26e6d17"
|
|
2453
|
+
},
|
|
2454
|
+
"20599b2ea9a2f0c3fcc0deefca973f39a6949daf8f1519b3772730814f0bc344": {
|
|
2455
|
+
"translations": {
|
|
2456
|
+
"python": {
|
|
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": "1"
|
|
2459
|
+
},
|
|
2460
|
+
"csharp": {
|
|
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;",
|
|
2462
|
+
"version": "1"
|
|
2463
|
+
},
|
|
2464
|
+
"java": {
|
|
2465
|
+
"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;",
|
|
2466
|
+
"version": "1"
|
|
2467
|
+
},
|
|
2468
|
+
"$": {
|
|
2469
|
+
"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;",
|
|
2470
|
+
"version": "0"
|
|
2471
|
+
}
|
|
2472
|
+
},
|
|
2473
|
+
"location": {
|
|
2474
|
+
"api": {
|
|
2475
|
+
"api": "type",
|
|
2476
|
+
"fqn": "@aws-cdk/aws-glue-alpha.JobType"
|
|
2477
|
+
},
|
|
2478
|
+
"field": {
|
|
2479
|
+
"field": "example"
|
|
2480
|
+
}
|
|
2481
|
+
},
|
|
2482
|
+
"didCompile": true,
|
|
2483
|
+
"fqnsReferenced": [
|
|
2484
|
+
"@aws-cdk/aws-glue-alpha.JobType",
|
|
2485
|
+
"@aws-cdk/aws-glue-alpha.JobType#ETL"
|
|
2486
|
+
],
|
|
2487
|
+
"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} }",
|
|
2488
|
+
"syntaxKindCounter": {
|
|
2489
|
+
"10": 1,
|
|
2490
|
+
"75": 5,
|
|
2491
|
+
"194": 2,
|
|
2492
|
+
"225": 1,
|
|
2493
|
+
"242": 1,
|
|
2494
|
+
"243": 1,
|
|
2495
|
+
"254": 1,
|
|
2496
|
+
"255": 1,
|
|
2497
|
+
"256": 1,
|
|
2498
|
+
"290": 1
|
|
2499
|
+
},
|
|
2500
|
+
"fqnsFingerprint": "632b06cf7932373db03dbd2f1f2efb0020e7f379ac3db1575e8824ca64a1af4a"
|
|
2501
|
+
},
|
|
2502
|
+
"a5d649886f4267a8ec2b51d23099ef01df1150c2d5571e2d399e4f14000bb6ba": {
|
|
2503
|
+
"translations": {
|
|
2504
|
+
"python": {
|
|
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": "1"
|
|
2507
|
+
},
|
|
2508
|
+
"csharp": {
|
|
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\");",
|
|
2510
|
+
"version": "1"
|
|
2511
|
+
},
|
|
2512
|
+
"java": {
|
|
2513
|
+
"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\");",
|
|
2514
|
+
"version": "1"
|
|
2515
|
+
},
|
|
2516
|
+
"$": {
|
|
2517
|
+
"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');",
|
|
2518
|
+
"version": "0"
|
|
2519
|
+
}
|
|
2520
|
+
},
|
|
2521
|
+
"location": {
|
|
2522
|
+
"api": {
|
|
2523
|
+
"api": "type",
|
|
2524
|
+
"fqn": "@aws-cdk/aws-glue-alpha.OutputFormat"
|
|
2525
|
+
},
|
|
2526
|
+
"field": {
|
|
2527
|
+
"field": "example"
|
|
2528
|
+
}
|
|
2529
|
+
},
|
|
2530
|
+
"didCompile": true,
|
|
2531
|
+
"fqnsReferenced": [
|
|
2532
|
+
"@aws-cdk/aws-glue-alpha.OutputFormat"
|
|
2533
|
+
],
|
|
2534
|
+
"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} }",
|
|
2535
|
+
"syntaxKindCounter": {
|
|
2536
|
+
"10": 2,
|
|
2537
|
+
"75": 4,
|
|
2538
|
+
"194": 1,
|
|
2539
|
+
"197": 1,
|
|
2540
|
+
"225": 1,
|
|
2541
|
+
"242": 1,
|
|
2542
|
+
"243": 1,
|
|
2543
|
+
"254": 1,
|
|
2544
|
+
"255": 1,
|
|
2545
|
+
"256": 1,
|
|
2546
|
+
"290": 1
|
|
2547
|
+
},
|
|
2548
|
+
"fqnsFingerprint": "e9f071bd5f0b3595245cf2ad100fefcfd639c9ee8e1fcb39a85c0a970d5d91cc"
|
|
2549
|
+
},
|
|
2550
|
+
"e49fc10f4a955a27f84869390faa2ddb0fcf5dd412ce2b84b212dcde50a3d97d": {
|
|
2551
|
+
"translations": {
|
|
2552
|
+
"python": {
|
|
2553
|
+
"source": "# my_table is of type Table\n\nmy_table.add_partition_index(\n index_name=\"my-index\",\n key_names=[\"year\"]\n)",
|
|
2554
|
+
"version": "1"
|
|
2555
|
+
},
|
|
2556
|
+
"csharp": {
|
|
2557
|
+
"source": "Table myTable;\n\nmyTable.AddPartitionIndex(new PartitionIndex {\n IndexName = \"my-index\",\n KeyNames = new [] { \"year\" }\n});",
|
|
2558
|
+
"version": "1"
|
|
2559
|
+
},
|
|
2560
|
+
"java": {
|
|
2561
|
+
"source": "Table myTable;\n\nmyTable.addPartitionIndex(PartitionIndex.builder()\n .indexName(\"my-index\")\n .keyNames(List.of(\"year\"))\n .build());",
|
|
2562
|
+
"version": "1"
|
|
2563
|
+
},
|
|
2564
|
+
"$": {
|
|
2565
|
+
"source": "declare const myTable: glue.Table;\nmyTable.addPartitionIndex({\n indexName: 'my-index',\n keyNames: ['year'],\n});",
|
|
2566
|
+
"version": "0"
|
|
2567
|
+
}
|
|
2568
|
+
},
|
|
2569
|
+
"location": {
|
|
2570
|
+
"api": {
|
|
2571
|
+
"api": "type",
|
|
2572
|
+
"fqn": "@aws-cdk/aws-glue-alpha.PartitionIndex"
|
|
2573
|
+
},
|
|
2574
|
+
"field": {
|
|
2575
|
+
"field": "example"
|
|
2576
|
+
}
|
|
2577
|
+
},
|
|
2578
|
+
"didCompile": true,
|
|
2579
|
+
"fqnsReferenced": [
|
|
2580
|
+
"@aws-cdk/aws-glue-alpha.PartitionIndex",
|
|
2581
|
+
"@aws-cdk/aws-glue-alpha.Table#addPartitionIndex"
|
|
2582
|
+
],
|
|
2583
|
+
"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",
|
|
2584
|
+
"syntaxKindCounter": {
|
|
2585
|
+
"10": 2,
|
|
2586
|
+
"75": 7,
|
|
2587
|
+
"130": 1,
|
|
2588
|
+
"153": 1,
|
|
2589
|
+
"169": 1,
|
|
2590
|
+
"192": 1,
|
|
2591
|
+
"193": 1,
|
|
2592
|
+
"194": 1,
|
|
2593
|
+
"196": 1,
|
|
2594
|
+
"225": 1,
|
|
2595
|
+
"226": 1,
|
|
2596
|
+
"242": 1,
|
|
2597
|
+
"243": 1,
|
|
2598
|
+
"281": 2,
|
|
2599
|
+
"290": 1
|
|
2600
|
+
},
|
|
2601
|
+
"fqnsFingerprint": "a0d3c72dce39fda589550323b519f24bfde6c55508df37f54038c751c7dc6dad"
|
|
2602
|
+
},
|
|
2603
|
+
"f4512a1be0b132776e7633fc5cf1ecf099b4f827429cfd51dde780fbd65859ea": {
|
|
2604
|
+
"translations": {
|
|
2605
|
+
"python": {
|
|
2606
|
+
"source": "# bucket is of type Bucket\n\nglue.Job(self, \"PythonShellJob\",\n executable=glue.JobExecutable.python_shell(\n glue_version=glue.GlueVersion.V1_0,\n python_version=glue.PythonVersion.THREE,\n script=glue.Code.from_bucket(bucket, \"script.py\")\n ),\n description=\"an example Python Shell job\"\n)",
|
|
2607
|
+
"version": "1"
|
|
2608
|
+
},
|
|
2609
|
+
"csharp": {
|
|
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});",
|
|
2611
|
+
"version": "1"
|
|
2612
|
+
},
|
|
2613
|
+
"java": {
|
|
2614
|
+
"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();",
|
|
2615
|
+
"version": "1"
|
|
2616
|
+
},
|
|
2617
|
+
"$": {
|
|
2618
|
+
"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});",
|
|
2619
|
+
"version": "0"
|
|
2620
|
+
}
|
|
2621
|
+
},
|
|
2622
|
+
"location": {
|
|
2623
|
+
"api": {
|
|
2624
|
+
"api": "type",
|
|
2625
|
+
"fqn": "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps"
|
|
2626
|
+
},
|
|
2627
|
+
"field": {
|
|
2628
|
+
"field": "example"
|
|
2629
|
+
}
|
|
2630
|
+
},
|
|
2631
|
+
"didCompile": true,
|
|
2632
|
+
"fqnsReferenced": [
|
|
2633
|
+
"@aws-cdk/aws-glue-alpha.Code",
|
|
2634
|
+
"@aws-cdk/aws-glue-alpha.Code#fromBucket",
|
|
2635
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion",
|
|
2636
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion#V1_0",
|
|
2637
|
+
"@aws-cdk/aws-glue-alpha.Job",
|
|
2638
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable",
|
|
2639
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable#pythonShell",
|
|
2640
|
+
"@aws-cdk/aws-glue-alpha.JobProps",
|
|
2641
|
+
"@aws-cdk/aws-glue-alpha.PythonShellExecutableProps",
|
|
2642
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion",
|
|
2643
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion#THREE",
|
|
2644
|
+
"aws-cdk-lib.aws_s3.IBucket"
|
|
2645
|
+
],
|
|
2646
|
+
"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",
|
|
2647
|
+
"syntaxKindCounter": {
|
|
2648
|
+
"10": 3,
|
|
2649
|
+
"75": 23,
|
|
2650
|
+
"104": 1,
|
|
2651
|
+
"130": 1,
|
|
2652
|
+
"153": 1,
|
|
2653
|
+
"169": 1,
|
|
2654
|
+
"193": 2,
|
|
2655
|
+
"194": 9,
|
|
2656
|
+
"196": 2,
|
|
2657
|
+
"197": 1,
|
|
2658
|
+
"225": 1,
|
|
2659
|
+
"226": 1,
|
|
2660
|
+
"242": 1,
|
|
2661
|
+
"243": 1,
|
|
2662
|
+
"281": 5,
|
|
2663
|
+
"290": 1
|
|
2664
|
+
},
|
|
2665
|
+
"fqnsFingerprint": "eef4092a5f446f781851229eef557d5a56d62fe190816a3e960cda84b26e6d17"
|
|
2666
|
+
},
|
|
2667
|
+
"3be182023e6e4eac096f34fd1d4375b6e09ac0423e9f05c6fae7f9088e084aef": {
|
|
2668
|
+
"translations": {
|
|
2669
|
+
"python": {
|
|
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": "1"
|
|
2672
|
+
},
|
|
2673
|
+
"csharp": {
|
|
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});",
|
|
2675
|
+
"version": "1"
|
|
2676
|
+
},
|
|
2677
|
+
"java": {
|
|
2678
|
+
"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();",
|
|
2679
|
+
"version": "1"
|
|
2680
|
+
},
|
|
2681
|
+
"$": {
|
|
2682
|
+
"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});",
|
|
2683
|
+
"version": "0"
|
|
2684
|
+
}
|
|
2685
|
+
},
|
|
2686
|
+
"location": {
|
|
2687
|
+
"api": {
|
|
2688
|
+
"api": "type",
|
|
2689
|
+
"fqn": "@aws-cdk/aws-glue-alpha.PythonSparkJobExecutableProps"
|
|
2690
|
+
},
|
|
2691
|
+
"field": {
|
|
2692
|
+
"field": "example"
|
|
2693
|
+
}
|
|
2694
|
+
},
|
|
2695
|
+
"didCompile": true,
|
|
2696
|
+
"fqnsReferenced": [
|
|
2697
|
+
"@aws-cdk/aws-glue-alpha.Code",
|
|
2698
|
+
"@aws-cdk/aws-glue-alpha.Code#fromAsset",
|
|
2699
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion",
|
|
2700
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion#V2_0",
|
|
2701
|
+
"@aws-cdk/aws-glue-alpha.Job",
|
|
2702
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable",
|
|
2703
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable#pythonStreaming",
|
|
2704
|
+
"@aws-cdk/aws-glue-alpha.JobProps",
|
|
2705
|
+
"@aws-cdk/aws-glue-alpha.PythonSparkJobExecutableProps",
|
|
2706
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion",
|
|
2707
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion#THREE"
|
|
2708
|
+
],
|
|
2709
|
+
"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",
|
|
2710
|
+
"syntaxKindCounter": {
|
|
2711
|
+
"10": 3,
|
|
2712
|
+
"75": 22,
|
|
2713
|
+
"104": 1,
|
|
2714
|
+
"193": 2,
|
|
2715
|
+
"194": 10,
|
|
2716
|
+
"196": 3,
|
|
2717
|
+
"197": 1,
|
|
2718
|
+
"226": 1,
|
|
2719
|
+
"281": 5
|
|
2720
|
+
},
|
|
2721
|
+
"fqnsFingerprint": "5f64f2ac511dab922568583f6ffa529ae71679565fd032cfa982c5bf3fc3a530"
|
|
2722
|
+
},
|
|
2723
|
+
"2aa0e7e658c46bf934e9cfb49322411d28556e8b0c32a79ffc6e8fd3311b0898": {
|
|
2724
|
+
"translations": {
|
|
2725
|
+
"python": {
|
|
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": "1"
|
|
2728
|
+
},
|
|
2729
|
+
"csharp": {
|
|
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});",
|
|
2731
|
+
"version": "1"
|
|
2732
|
+
},
|
|
2733
|
+
"java": {
|
|
2734
|
+
"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();",
|
|
2735
|
+
"version": "1"
|
|
2736
|
+
},
|
|
2737
|
+
"$": {
|
|
2738
|
+
"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});",
|
|
2739
|
+
"version": "0"
|
|
2740
|
+
}
|
|
2741
|
+
},
|
|
2742
|
+
"location": {
|
|
2743
|
+
"api": {
|
|
2744
|
+
"api": "type",
|
|
2745
|
+
"fqn": "@aws-cdk/aws-glue-alpha.PythonVersion"
|
|
2746
|
+
},
|
|
2747
|
+
"field": {
|
|
2748
|
+
"field": "example"
|
|
2749
|
+
}
|
|
2750
|
+
},
|
|
2751
|
+
"didCompile": true,
|
|
2752
|
+
"fqnsReferenced": [
|
|
2753
|
+
"@aws-cdk/aws-glue-alpha.Code",
|
|
2754
|
+
"@aws-cdk/aws-glue-alpha.Code#fromAsset",
|
|
2755
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion",
|
|
2756
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion#V2_0",
|
|
2757
|
+
"@aws-cdk/aws-glue-alpha.Job",
|
|
2758
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable",
|
|
2759
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable#pythonStreaming",
|
|
2760
|
+
"@aws-cdk/aws-glue-alpha.JobProps",
|
|
2761
|
+
"@aws-cdk/aws-glue-alpha.PythonSparkJobExecutableProps",
|
|
2762
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion",
|
|
2763
|
+
"@aws-cdk/aws-glue-alpha.PythonVersion#THREE"
|
|
2764
|
+
],
|
|
2765
|
+
"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",
|
|
2766
|
+
"syntaxKindCounter": {
|
|
2767
|
+
"10": 3,
|
|
2768
|
+
"75": 22,
|
|
2769
|
+
"104": 1,
|
|
2770
|
+
"193": 2,
|
|
2771
|
+
"194": 10,
|
|
2772
|
+
"196": 3,
|
|
2773
|
+
"197": 1,
|
|
2774
|
+
"226": 1,
|
|
2775
|
+
"281": 5
|
|
2776
|
+
},
|
|
2777
|
+
"fqnsFingerprint": "5f64f2ac511dab922568583f6ffa529ae71679565fd032cfa982c5bf3fc3a530"
|
|
2778
|
+
},
|
|
2779
|
+
"ea036fe4a5d7f8a6a409249fcbf9efe7db7d2bd32119870153e8a62dbb32dc31": {
|
|
2780
|
+
"translations": {
|
|
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 is of type Bucket\n\ns3_code = glue_alpha.S3Code(bucket, \"key\")",
|
|
2783
|
+
"version": "1"
|
|
2784
|
+
},
|
|
2785
|
+
"csharp": {
|
|
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\");",
|
|
2787
|
+
"version": "1"
|
|
2788
|
+
},
|
|
2789
|
+
"java": {
|
|
2790
|
+
"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\");",
|
|
2791
|
+
"version": "1"
|
|
2792
|
+
},
|
|
2793
|
+
"$": {
|
|
2794
|
+
"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');",
|
|
2795
|
+
"version": "0"
|
|
2796
|
+
}
|
|
2797
|
+
},
|
|
2798
|
+
"location": {
|
|
2799
|
+
"api": {
|
|
2800
|
+
"api": "type",
|
|
2801
|
+
"fqn": "@aws-cdk/aws-glue-alpha.S3Code"
|
|
2802
|
+
},
|
|
2803
|
+
"field": {
|
|
2804
|
+
"field": "example"
|
|
2805
|
+
}
|
|
2806
|
+
},
|
|
2807
|
+
"didCompile": true,
|
|
2808
|
+
"fqnsReferenced": [
|
|
2809
|
+
"@aws-cdk/aws-glue-alpha.S3Code",
|
|
2810
|
+
"aws-cdk-lib.aws_s3.IBucket"
|
|
2811
|
+
],
|
|
2812
|
+
"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} }",
|
|
2813
|
+
"syntaxKindCounter": {
|
|
2814
|
+
"10": 3,
|
|
2815
|
+
"75": 10,
|
|
2816
|
+
"130": 1,
|
|
2817
|
+
"153": 1,
|
|
2818
|
+
"169": 1,
|
|
2819
|
+
"194": 1,
|
|
2820
|
+
"197": 1,
|
|
2821
|
+
"225": 2,
|
|
2822
|
+
"242": 2,
|
|
2823
|
+
"243": 2,
|
|
2824
|
+
"254": 2,
|
|
2825
|
+
"255": 2,
|
|
2826
|
+
"256": 1,
|
|
2827
|
+
"257": 1,
|
|
2828
|
+
"258": 1,
|
|
2829
|
+
"290": 1
|
|
2830
|
+
},
|
|
2831
|
+
"fqnsFingerprint": "d3358956500c7057543e7213c3abfb50779e37fc678d7792e8449242b72fb371"
|
|
2832
|
+
},
|
|
2833
|
+
"00be0efff95e388412faa8e5147a7bebabf4b65b92504a92e02ddad9be5d97ab": {
|
|
2834
|
+
"translations": {
|
|
2835
|
+
"python": {
|
|
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": "1"
|
|
2838
|
+
},
|
|
2839
|
+
"csharp": {
|
|
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});",
|
|
2841
|
+
"version": "1"
|
|
2842
|
+
},
|
|
2843
|
+
"java": {
|
|
2844
|
+
"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();",
|
|
2845
|
+
"version": "1"
|
|
2846
|
+
},
|
|
2847
|
+
"$": {
|
|
2848
|
+
"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});",
|
|
2849
|
+
"version": "0"
|
|
2850
|
+
}
|
|
2851
|
+
},
|
|
2852
|
+
"location": {
|
|
2853
|
+
"api": {
|
|
2854
|
+
"api": "type",
|
|
2855
|
+
"fqn": "@aws-cdk/aws-glue-alpha.S3Encryption"
|
|
2856
|
+
},
|
|
2857
|
+
"field": {
|
|
2858
|
+
"field": "example"
|
|
2859
|
+
}
|
|
2860
|
+
},
|
|
2861
|
+
"didCompile": true,
|
|
2862
|
+
"fqnsReferenced": [
|
|
2863
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
|
|
2864
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
|
|
2865
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
|
|
2866
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
|
|
2867
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
|
|
2868
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
|
|
2869
|
+
"@aws-cdk/aws-glue-alpha.S3Encryption",
|
|
2870
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode",
|
|
2871
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
|
|
2872
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfiguration",
|
|
2873
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
|
|
2874
|
+
],
|
|
2875
|
+
"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",
|
|
2876
|
+
"syntaxKindCounter": {
|
|
2877
|
+
"10": 2,
|
|
2878
|
+
"75": 18,
|
|
2879
|
+
"104": 1,
|
|
2880
|
+
"193": 4,
|
|
2881
|
+
"194": 7,
|
|
2882
|
+
"197": 1,
|
|
2883
|
+
"226": 1,
|
|
2884
|
+
"281": 7
|
|
2885
|
+
},
|
|
2886
|
+
"fqnsFingerprint": "aa8b8ec28f2d28677076f4cf8ef725e80c2cf4722d52badbd0965a51c68964fa"
|
|
2887
|
+
},
|
|
2888
|
+
"207060b9df0bab24f1ba53598d44db9992e43f4124049cc5bba22f4593b34b76": {
|
|
2889
|
+
"translations": {
|
|
2890
|
+
"python": {
|
|
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": "1"
|
|
2893
|
+
},
|
|
2894
|
+
"csharp": {
|
|
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});",
|
|
2896
|
+
"version": "1"
|
|
2897
|
+
},
|
|
2898
|
+
"java": {
|
|
2899
|
+
"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();",
|
|
2900
|
+
"version": "1"
|
|
2901
|
+
},
|
|
2902
|
+
"$": {
|
|
2903
|
+
"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});",
|
|
2904
|
+
"version": "0"
|
|
2905
|
+
}
|
|
2906
|
+
},
|
|
2907
|
+
"location": {
|
|
2908
|
+
"api": {
|
|
2909
|
+
"api": "type",
|
|
2910
|
+
"fqn": "@aws-cdk/aws-glue-alpha.S3EncryptionMode"
|
|
2911
|
+
},
|
|
2912
|
+
"field": {
|
|
2913
|
+
"field": "example"
|
|
2914
|
+
}
|
|
2915
|
+
},
|
|
2916
|
+
"didCompile": true,
|
|
2917
|
+
"fqnsReferenced": [
|
|
2918
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
|
|
2919
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
|
|
2920
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
|
|
2921
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
|
|
2922
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
|
|
2923
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
|
|
2924
|
+
"@aws-cdk/aws-glue-alpha.S3Encryption",
|
|
2925
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode",
|
|
2926
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
|
|
2927
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfiguration",
|
|
2928
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
|
|
2929
|
+
],
|
|
2930
|
+
"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",
|
|
2931
|
+
"syntaxKindCounter": {
|
|
2932
|
+
"10": 2,
|
|
2933
|
+
"75": 18,
|
|
2934
|
+
"104": 1,
|
|
2935
|
+
"193": 4,
|
|
2936
|
+
"194": 7,
|
|
2937
|
+
"197": 1,
|
|
2938
|
+
"226": 1,
|
|
2939
|
+
"281": 7
|
|
2940
|
+
},
|
|
2941
|
+
"fqnsFingerprint": "aa8b8ec28f2d28677076f4cf8ef725e80c2cf4722d52badbd0965a51c68964fa"
|
|
2942
|
+
},
|
|
2943
|
+
"4afd85d48ffa59c03eae18de7fb3e0694706561b0bf4d7ed87252515b562dfc8": {
|
|
2944
|
+
"translations": {
|
|
2945
|
+
"python": {
|
|
2946
|
+
"source": "# bucket is of type Bucket\n\nglue.Job(self, \"ScalaSparkEtlJob\",\n executable=glue.JobExecutable.scala_etl(\n glue_version=glue.GlueVersion.V2_0,\n script=glue.Code.from_bucket(bucket, \"src/com/example/HelloWorld.scala\"),\n class_name=\"com.example.HelloWorld\",\n extra_jars=[glue.Code.from_bucket(bucket, \"jars/HelloWorld.jar\")]\n ),\n description=\"an example Scala ETL job\"\n)",
|
|
2947
|
+
"version": "1"
|
|
2948
|
+
},
|
|
2949
|
+
"csharp": {
|
|
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});",
|
|
2951
|
+
"version": "1"
|
|
2952
|
+
},
|
|
2953
|
+
"java": {
|
|
2954
|
+
"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();",
|
|
2955
|
+
"version": "1"
|
|
2956
|
+
},
|
|
2957
|
+
"$": {
|
|
2958
|
+
"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});",
|
|
2959
|
+
"version": "0"
|
|
2960
|
+
}
|
|
2961
|
+
},
|
|
2962
|
+
"location": {
|
|
2963
|
+
"api": {
|
|
2964
|
+
"api": "type",
|
|
2965
|
+
"fqn": "@aws-cdk/aws-glue-alpha.ScalaJobExecutableProps"
|
|
2966
|
+
},
|
|
2967
|
+
"field": {
|
|
2968
|
+
"field": "example"
|
|
2969
|
+
}
|
|
2970
|
+
},
|
|
2971
|
+
"didCompile": true,
|
|
2972
|
+
"fqnsReferenced": [
|
|
2973
|
+
"@aws-cdk/aws-glue-alpha.Code",
|
|
2974
|
+
"@aws-cdk/aws-glue-alpha.Code#fromBucket",
|
|
2975
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion",
|
|
2976
|
+
"@aws-cdk/aws-glue-alpha.GlueVersion#V2_0",
|
|
2977
|
+
"@aws-cdk/aws-glue-alpha.Job",
|
|
2978
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable",
|
|
2979
|
+
"@aws-cdk/aws-glue-alpha.JobExecutable#scalaEtl",
|
|
2980
|
+
"@aws-cdk/aws-glue-alpha.JobProps",
|
|
2981
|
+
"@aws-cdk/aws-glue-alpha.ScalaJobExecutableProps",
|
|
2982
|
+
"aws-cdk-lib.aws_s3.IBucket"
|
|
2983
|
+
],
|
|
2984
|
+
"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",
|
|
2985
|
+
"syntaxKindCounter": {
|
|
2986
|
+
"10": 5,
|
|
2987
|
+
"75": 25,
|
|
2988
|
+
"104": 1,
|
|
2989
|
+
"130": 1,
|
|
2990
|
+
"153": 1,
|
|
2991
|
+
"169": 1,
|
|
2992
|
+
"192": 1,
|
|
2993
|
+
"193": 2,
|
|
2994
|
+
"194": 9,
|
|
2995
|
+
"196": 3,
|
|
2996
|
+
"197": 1,
|
|
2997
|
+
"225": 1,
|
|
2998
|
+
"226": 1,
|
|
2999
|
+
"242": 1,
|
|
3000
|
+
"243": 1,
|
|
3001
|
+
"281": 6,
|
|
3002
|
+
"290": 1
|
|
3003
|
+
},
|
|
3004
|
+
"fqnsFingerprint": "b09d4f2d980f9ed4397a28e51a3f0ac016886b348399b3be581411cff566e136"
|
|
3005
|
+
},
|
|
3006
|
+
"2b5c0fb05ef9fbdf3aab1c20e751d5e8016a472be78e3c58a1d99bcc139a2733": {
|
|
3007
|
+
"translations": {
|
|
3008
|
+
"python": {
|
|
3009
|
+
"source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
3010
|
+
"version": "1"
|
|
3011
|
+
},
|
|
3012
|
+
"csharp": {
|
|
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});",
|
|
3014
|
+
"version": "1"
|
|
3015
|
+
},
|
|
3016
|
+
"java": {
|
|
3017
|
+
"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();",
|
|
3018
|
+
"version": "1"
|
|
3019
|
+
},
|
|
3020
|
+
"$": {
|
|
3021
|
+
"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});",
|
|
3022
|
+
"version": "0"
|
|
3023
|
+
}
|
|
3024
|
+
},
|
|
3025
|
+
"location": {
|
|
3026
|
+
"api": {
|
|
3027
|
+
"api": "type",
|
|
3028
|
+
"fqn": "@aws-cdk/aws-glue-alpha.Schema"
|
|
3029
|
+
},
|
|
3030
|
+
"field": {
|
|
3031
|
+
"field": "example"
|
|
3032
|
+
}
|
|
3033
|
+
},
|
|
3034
|
+
"didCompile": true,
|
|
3035
|
+
"fqnsReferenced": [
|
|
3036
|
+
"@aws-cdk/aws-glue-alpha.DataFormat",
|
|
3037
|
+
"@aws-cdk/aws-glue-alpha.DataFormat#JSON",
|
|
3038
|
+
"@aws-cdk/aws-glue-alpha.IDatabase",
|
|
3039
|
+
"@aws-cdk/aws-glue-alpha.Schema",
|
|
3040
|
+
"@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
|
|
3041
|
+
"@aws-cdk/aws-glue-alpha.Schema#STRING",
|
|
3042
|
+
"@aws-cdk/aws-glue-alpha.Table",
|
|
3043
|
+
"@aws-cdk/aws-glue-alpha.TableProps",
|
|
3044
|
+
"@aws-cdk/aws-glue-alpha.Type"
|
|
3045
|
+
],
|
|
3046
|
+
"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",
|
|
3047
|
+
"syntaxKindCounter": {
|
|
3048
|
+
"10": 5,
|
|
3049
|
+
"75": 29,
|
|
3050
|
+
"104": 1,
|
|
3051
|
+
"130": 1,
|
|
3052
|
+
"153": 1,
|
|
3053
|
+
"169": 1,
|
|
3054
|
+
"192": 2,
|
|
3055
|
+
"193": 4,
|
|
3056
|
+
"194": 9,
|
|
3057
|
+
"197": 1,
|
|
3058
|
+
"225": 1,
|
|
3059
|
+
"226": 1,
|
|
3060
|
+
"242": 1,
|
|
3061
|
+
"243": 1,
|
|
3062
|
+
"281": 11,
|
|
3063
|
+
"290": 1
|
|
3064
|
+
},
|
|
3065
|
+
"fqnsFingerprint": "04817043124c93d5cbaf2df5f7d815d1f78689a6f13340417a3b62dfb49095e0"
|
|
3066
|
+
},
|
|
3067
|
+
"e55a210f3c876a6be2519f598eef94230e766515aae98637ef80ba802dd919f6": {
|
|
3068
|
+
"translations": {
|
|
3069
|
+
"python": {
|
|
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": "1"
|
|
3072
|
+
},
|
|
3073
|
+
"csharp": {
|
|
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});",
|
|
3075
|
+
"version": "1"
|
|
3076
|
+
},
|
|
3077
|
+
"java": {
|
|
3078
|
+
"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();",
|
|
3079
|
+
"version": "1"
|
|
3080
|
+
},
|
|
3081
|
+
"$": {
|
|
3082
|
+
"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});",
|
|
3083
|
+
"version": "0"
|
|
3084
|
+
}
|
|
3085
|
+
},
|
|
3086
|
+
"location": {
|
|
3087
|
+
"api": {
|
|
3088
|
+
"api": "type",
|
|
3089
|
+
"fqn": "@aws-cdk/aws-glue-alpha.SecurityConfiguration"
|
|
3090
|
+
},
|
|
3091
|
+
"field": {
|
|
3092
|
+
"field": "example"
|
|
3093
|
+
}
|
|
3094
|
+
},
|
|
3095
|
+
"didCompile": true,
|
|
3096
|
+
"fqnsReferenced": [
|
|
3097
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
|
|
3098
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
|
|
3099
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
|
|
3100
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
|
|
3101
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
|
|
3102
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
|
|
3103
|
+
"@aws-cdk/aws-glue-alpha.S3Encryption",
|
|
3104
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode",
|
|
3105
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
|
|
3106
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfiguration",
|
|
3107
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
|
|
3108
|
+
],
|
|
3109
|
+
"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",
|
|
3110
|
+
"syntaxKindCounter": {
|
|
3111
|
+
"10": 2,
|
|
3112
|
+
"75": 18,
|
|
3113
|
+
"104": 1,
|
|
3114
|
+
"193": 4,
|
|
3115
|
+
"194": 7,
|
|
3116
|
+
"197": 1,
|
|
3117
|
+
"226": 1,
|
|
3118
|
+
"281": 7
|
|
3119
|
+
},
|
|
3120
|
+
"fqnsFingerprint": "aa8b8ec28f2d28677076f4cf8ef725e80c2cf4722d52badbd0965a51c68964fa"
|
|
3121
|
+
},
|
|
3122
|
+
"9eb2dfc2ebe1d9d6f7994bd72a9643bbd3c9d5cae9f78341051820b35bfec9b2": {
|
|
3123
|
+
"translations": {
|
|
3124
|
+
"python": {
|
|
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": "1"
|
|
3127
|
+
},
|
|
3128
|
+
"csharp": {
|
|
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});",
|
|
3130
|
+
"version": "1"
|
|
3131
|
+
},
|
|
3132
|
+
"java": {
|
|
3133
|
+
"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();",
|
|
3134
|
+
"version": "1"
|
|
3135
|
+
},
|
|
3136
|
+
"$": {
|
|
3137
|
+
"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});",
|
|
3138
|
+
"version": "0"
|
|
3139
|
+
}
|
|
3140
|
+
},
|
|
3141
|
+
"location": {
|
|
3142
|
+
"api": {
|
|
3143
|
+
"api": "type",
|
|
3144
|
+
"fqn": "@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
|
|
3145
|
+
},
|
|
3146
|
+
"field": {
|
|
3147
|
+
"field": "example"
|
|
3148
|
+
}
|
|
3149
|
+
},
|
|
3150
|
+
"didCompile": true,
|
|
3151
|
+
"fqnsReferenced": [
|
|
3152
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryption",
|
|
3153
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode",
|
|
3154
|
+
"@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode#KMS",
|
|
3155
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryption",
|
|
3156
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode",
|
|
3157
|
+
"@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode#CLIENT_SIDE_KMS",
|
|
3158
|
+
"@aws-cdk/aws-glue-alpha.S3Encryption",
|
|
3159
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode",
|
|
3160
|
+
"@aws-cdk/aws-glue-alpha.S3EncryptionMode#KMS",
|
|
3161
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfiguration",
|
|
3162
|
+
"@aws-cdk/aws-glue-alpha.SecurityConfigurationProps"
|
|
3163
|
+
],
|
|
3164
|
+
"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",
|
|
3165
|
+
"syntaxKindCounter": {
|
|
3166
|
+
"10": 2,
|
|
3167
|
+
"75": 18,
|
|
3168
|
+
"104": 1,
|
|
3169
|
+
"193": 4,
|
|
3170
|
+
"194": 7,
|
|
3171
|
+
"197": 1,
|
|
3172
|
+
"226": 1,
|
|
3173
|
+
"281": 7
|
|
3174
|
+
},
|
|
3175
|
+
"fqnsFingerprint": "aa8b8ec28f2d28677076f4cf8ef725e80c2cf4722d52badbd0965a51c68964fa"
|
|
3176
|
+
},
|
|
3177
|
+
"d01b17fd45941078a51bfb4f7c5d48c8520b1befab0e4d4be5f68bfed43672cd": {
|
|
3178
|
+
"translations": {
|
|
3179
|
+
"python": {
|
|
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": "1"
|
|
3182
|
+
},
|
|
3183
|
+
"csharp": {
|
|
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;",
|
|
3185
|
+
"version": "1"
|
|
3186
|
+
},
|
|
3187
|
+
"java": {
|
|
3188
|
+
"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;",
|
|
3189
|
+
"version": "1"
|
|
3190
|
+
},
|
|
3191
|
+
"$": {
|
|
3192
|
+
"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;",
|
|
3193
|
+
"version": "0"
|
|
3194
|
+
}
|
|
3195
|
+
},
|
|
3196
|
+
"location": {
|
|
3197
|
+
"api": {
|
|
3198
|
+
"api": "type",
|
|
3199
|
+
"fqn": "@aws-cdk/aws-glue-alpha.SerializationLibrary"
|
|
3200
|
+
},
|
|
3201
|
+
"field": {
|
|
3202
|
+
"field": "example"
|
|
3203
|
+
}
|
|
3204
|
+
},
|
|
3205
|
+
"didCompile": true,
|
|
3206
|
+
"fqnsReferenced": [
|
|
3207
|
+
"@aws-cdk/aws-glue-alpha.SerializationLibrary",
|
|
3208
|
+
"@aws-cdk/aws-glue-alpha.SerializationLibrary#AVRO"
|
|
3209
|
+
],
|
|
3210
|
+
"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} }",
|
|
3211
|
+
"syntaxKindCounter": {
|
|
3212
|
+
"10": 1,
|
|
3213
|
+
"75": 5,
|
|
3214
|
+
"194": 2,
|
|
3215
|
+
"225": 1,
|
|
3216
|
+
"242": 1,
|
|
3217
|
+
"243": 1,
|
|
3218
|
+
"254": 1,
|
|
3219
|
+
"255": 1,
|
|
3220
|
+
"256": 1,
|
|
3221
|
+
"290": 1
|
|
3222
|
+
},
|
|
3223
|
+
"fqnsFingerprint": "9546e8ee8aff444ef68563a120cfe9fcf77aa591cae00c379817267721961239"
|
|
3224
|
+
},
|
|
3225
|
+
"63f4caab33825af55017f8dfa3b699e10508c70e101206355fed82743ece6f79": {
|
|
3226
|
+
"translations": {
|
|
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 is of type Bucket\n\nspark_uILogging_location = glue_alpha.SparkUILoggingLocation(\n bucket=bucket,\n\n # the properties below are optional\n prefix=\"prefix\"\n)",
|
|
3229
|
+
"version": "1"
|
|
3230
|
+
},
|
|
3231
|
+
"csharp": {
|
|
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};",
|
|
3233
|
+
"version": "1"
|
|
3234
|
+
},
|
|
3235
|
+
"java": {
|
|
3236
|
+
"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();",
|
|
3237
|
+
"version": "1"
|
|
3238
|
+
},
|
|
3239
|
+
"$": {
|
|
3240
|
+
"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};",
|
|
3241
|
+
"version": "0"
|
|
3242
|
+
}
|
|
3243
|
+
},
|
|
3244
|
+
"location": {
|
|
3245
|
+
"api": {
|
|
3246
|
+
"api": "type",
|
|
3247
|
+
"fqn": "@aws-cdk/aws-glue-alpha.SparkUILoggingLocation"
|
|
3248
|
+
},
|
|
3249
|
+
"field": {
|
|
3250
|
+
"field": "example"
|
|
3251
|
+
}
|
|
3252
|
+
},
|
|
3253
|
+
"didCompile": true,
|
|
3254
|
+
"fqnsReferenced": [
|
|
3255
|
+
"@aws-cdk/aws-glue-alpha.SparkUILoggingLocation",
|
|
3256
|
+
"aws-cdk-lib.aws_s3.IBucket"
|
|
3257
|
+
],
|
|
3258
|
+
"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} }",
|
|
3259
|
+
"syntaxKindCounter": {
|
|
3260
|
+
"10": 3,
|
|
3261
|
+
"75": 12,
|
|
3262
|
+
"130": 1,
|
|
3263
|
+
"153": 2,
|
|
3264
|
+
"169": 2,
|
|
3265
|
+
"193": 1,
|
|
3266
|
+
"225": 2,
|
|
3267
|
+
"242": 2,
|
|
3268
|
+
"243": 2,
|
|
3269
|
+
"254": 2,
|
|
3270
|
+
"255": 2,
|
|
3271
|
+
"256": 1,
|
|
3272
|
+
"257": 1,
|
|
3273
|
+
"258": 1,
|
|
3274
|
+
"281": 2,
|
|
3275
|
+
"290": 1
|
|
3276
|
+
},
|
|
3277
|
+
"fqnsFingerprint": "aa624ee3eac0fdbb4f92dd761c73e1ea02804ed7125858865206c7417106f586"
|
|
3278
|
+
},
|
|
3279
|
+
"3ded8120befeed2ee307fc0172bdf07835b46f031b5bde08f429361f47ccb0e1": {
|
|
3280
|
+
"translations": {
|
|
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 is of type 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": "1"
|
|
3284
|
+
},
|
|
3285
|
+
"csharp": {
|
|
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};",
|
|
3287
|
+
"version": "1"
|
|
3288
|
+
},
|
|
3289
|
+
"java": {
|
|
3290
|
+
"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();",
|
|
3291
|
+
"version": "1"
|
|
3292
|
+
},
|
|
3293
|
+
"$": {
|
|
3294
|
+
"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};",
|
|
3295
|
+
"version": "0"
|
|
3296
|
+
}
|
|
3297
|
+
},
|
|
3298
|
+
"location": {
|
|
3299
|
+
"api": {
|
|
3300
|
+
"api": "type",
|
|
3301
|
+
"fqn": "@aws-cdk/aws-glue-alpha.SparkUIProps"
|
|
3302
|
+
},
|
|
3303
|
+
"field": {
|
|
3304
|
+
"field": "example"
|
|
3305
|
+
}
|
|
3306
|
+
},
|
|
3307
|
+
"didCompile": true,
|
|
3308
|
+
"fqnsReferenced": [
|
|
3309
|
+
"@aws-cdk/aws-glue-alpha.SparkUIProps",
|
|
3310
|
+
"aws-cdk-lib.aws_s3.IBucket"
|
|
3311
|
+
],
|
|
3312
|
+
"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} }",
|
|
3313
|
+
"syntaxKindCounter": {
|
|
3314
|
+
"10": 3,
|
|
3315
|
+
"75": 13,
|
|
3316
|
+
"91": 1,
|
|
3317
|
+
"130": 1,
|
|
3318
|
+
"153": 2,
|
|
3319
|
+
"169": 2,
|
|
3320
|
+
"193": 1,
|
|
3321
|
+
"225": 2,
|
|
3322
|
+
"242": 2,
|
|
3323
|
+
"243": 2,
|
|
3324
|
+
"254": 2,
|
|
3325
|
+
"255": 2,
|
|
3326
|
+
"256": 1,
|
|
3327
|
+
"257": 1,
|
|
3328
|
+
"258": 1,
|
|
3329
|
+
"281": 3,
|
|
3330
|
+
"290": 1
|
|
3331
|
+
},
|
|
3332
|
+
"fqnsFingerprint": "5c8a4795fabe7ff31b21ea1df0b807ce6b3fdd6dfdd488053169fa4d5ed0c4b5"
|
|
3333
|
+
},
|
|
3334
|
+
"cf61707cac187a62000b2ae7c5cb85617064e1adaacc066d590a4b36ce79523e": {
|
|
3335
|
+
"translations": {
|
|
3336
|
+
"python": {
|
|
3337
|
+
"source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
3338
|
+
"version": "1"
|
|
3339
|
+
},
|
|
3340
|
+
"csharp": {
|
|
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});",
|
|
3342
|
+
"version": "1"
|
|
3343
|
+
},
|
|
3344
|
+
"java": {
|
|
3345
|
+
"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();",
|
|
3346
|
+
"version": "1"
|
|
3347
|
+
},
|
|
3348
|
+
"$": {
|
|
3349
|
+
"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});",
|
|
3350
|
+
"version": "0"
|
|
3351
|
+
}
|
|
3352
|
+
},
|
|
3353
|
+
"location": {
|
|
3354
|
+
"api": {
|
|
3355
|
+
"api": "type",
|
|
3356
|
+
"fqn": "@aws-cdk/aws-glue-alpha.Table"
|
|
3357
|
+
},
|
|
3358
|
+
"field": {
|
|
3359
|
+
"field": "example"
|
|
3360
|
+
}
|
|
3361
|
+
},
|
|
3362
|
+
"didCompile": true,
|
|
3363
|
+
"fqnsReferenced": [
|
|
3364
|
+
"@aws-cdk/aws-glue-alpha.DataFormat",
|
|
3365
|
+
"@aws-cdk/aws-glue-alpha.DataFormat#JSON",
|
|
3366
|
+
"@aws-cdk/aws-glue-alpha.IDatabase",
|
|
3367
|
+
"@aws-cdk/aws-glue-alpha.Schema",
|
|
3368
|
+
"@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
|
|
3369
|
+
"@aws-cdk/aws-glue-alpha.Schema#STRING",
|
|
3370
|
+
"@aws-cdk/aws-glue-alpha.Table",
|
|
3371
|
+
"@aws-cdk/aws-glue-alpha.TableProps",
|
|
3372
|
+
"@aws-cdk/aws-glue-alpha.Type"
|
|
3373
|
+
],
|
|
3374
|
+
"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",
|
|
3375
|
+
"syntaxKindCounter": {
|
|
3376
|
+
"10": 5,
|
|
3377
|
+
"75": 29,
|
|
3378
|
+
"104": 1,
|
|
3379
|
+
"130": 1,
|
|
3380
|
+
"153": 1,
|
|
3381
|
+
"169": 1,
|
|
3382
|
+
"192": 2,
|
|
3383
|
+
"193": 4,
|
|
3384
|
+
"194": 9,
|
|
3385
|
+
"197": 1,
|
|
3386
|
+
"225": 1,
|
|
3387
|
+
"226": 1,
|
|
3388
|
+
"242": 1,
|
|
3389
|
+
"243": 1,
|
|
3390
|
+
"281": 11,
|
|
3391
|
+
"290": 1
|
|
3392
|
+
},
|
|
3393
|
+
"fqnsFingerprint": "04817043124c93d5cbaf2df5f7d815d1f78689a6f13340417a3b62dfb49095e0"
|
|
3394
|
+
},
|
|
3395
|
+
"726c6de6bd08d1ae1e21269794986e57d9dfae50be9ba6666a0e07dc5235e8a7": {
|
|
3396
|
+
"translations": {
|
|
3397
|
+
"python": {
|
|
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": "1"
|
|
3400
|
+
},
|
|
3401
|
+
"csharp": {
|
|
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};",
|
|
3403
|
+
"version": "1"
|
|
3404
|
+
},
|
|
3405
|
+
"java": {
|
|
3406
|
+
"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();",
|
|
3407
|
+
"version": "1"
|
|
3408
|
+
},
|
|
3409
|
+
"$": {
|
|
3410
|
+
"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};",
|
|
3411
|
+
"version": "0"
|
|
3412
|
+
}
|
|
3413
|
+
},
|
|
3414
|
+
"location": {
|
|
3415
|
+
"api": {
|
|
3416
|
+
"api": "type",
|
|
3417
|
+
"fqn": "@aws-cdk/aws-glue-alpha.TableAttributes"
|
|
3418
|
+
},
|
|
3419
|
+
"field": {
|
|
3420
|
+
"field": "example"
|
|
3421
|
+
}
|
|
3422
|
+
},
|
|
3423
|
+
"didCompile": true,
|
|
3424
|
+
"fqnsReferenced": [
|
|
3425
|
+
"@aws-cdk/aws-glue-alpha.TableAttributes"
|
|
3426
|
+
],
|
|
3427
|
+
"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} }",
|
|
3428
|
+
"syntaxKindCounter": {
|
|
3429
|
+
"10": 3,
|
|
3430
|
+
"75": 6,
|
|
3431
|
+
"153": 1,
|
|
3432
|
+
"169": 1,
|
|
3433
|
+
"193": 1,
|
|
3434
|
+
"225": 1,
|
|
3435
|
+
"242": 1,
|
|
3436
|
+
"243": 1,
|
|
3437
|
+
"254": 1,
|
|
3438
|
+
"255": 1,
|
|
3439
|
+
"256": 1,
|
|
3440
|
+
"281": 2,
|
|
3441
|
+
"290": 1
|
|
3442
|
+
},
|
|
3443
|
+
"fqnsFingerprint": "d1f3f208ef4fc3d16709c49acd22b2009a915b84250b511ce819db9dcb853e4a"
|
|
3444
|
+
},
|
|
3445
|
+
"e68db48645e9f627f294d5e39a11522a3764ad23da131dbcf715bdffc322a031": {
|
|
3446
|
+
"translations": {
|
|
3447
|
+
"python": {
|
|
3448
|
+
"source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n encryption=glue.TableEncryption.S3_MANAGED,\n # ...\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
3449
|
+
"version": "1"
|
|
3450
|
+
},
|
|
3451
|
+
"csharp": {
|
|
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});",
|
|
3453
|
+
"version": "1"
|
|
3454
|
+
},
|
|
3455
|
+
"java": {
|
|
3456
|
+
"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();",
|
|
3457
|
+
"version": "1"
|
|
3458
|
+
},
|
|
3459
|
+
"$": {
|
|
3460
|
+
"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});",
|
|
3461
|
+
"version": "0"
|
|
3462
|
+
}
|
|
3463
|
+
},
|
|
3464
|
+
"location": {
|
|
3465
|
+
"api": {
|
|
3466
|
+
"api": "type",
|
|
3467
|
+
"fqn": "@aws-cdk/aws-glue-alpha.TableEncryption"
|
|
3468
|
+
},
|
|
3469
|
+
"field": {
|
|
3470
|
+
"field": "example"
|
|
3471
|
+
}
|
|
3472
|
+
},
|
|
3473
|
+
"didCompile": true,
|
|
3474
|
+
"fqnsReferenced": [
|
|
3475
|
+
"@aws-cdk/aws-glue-alpha.DataFormat",
|
|
3476
|
+
"@aws-cdk/aws-glue-alpha.DataFormat#JSON",
|
|
3477
|
+
"@aws-cdk/aws-glue-alpha.IDatabase",
|
|
3478
|
+
"@aws-cdk/aws-glue-alpha.Schema",
|
|
3479
|
+
"@aws-cdk/aws-glue-alpha.Schema#STRING",
|
|
3480
|
+
"@aws-cdk/aws-glue-alpha.Table",
|
|
3481
|
+
"@aws-cdk/aws-glue-alpha.TableEncryption",
|
|
3482
|
+
"@aws-cdk/aws-glue-alpha.TableEncryption#S3_MANAGED",
|
|
3483
|
+
"@aws-cdk/aws-glue-alpha.TableProps",
|
|
3484
|
+
"@aws-cdk/aws-glue-alpha.Type"
|
|
3485
|
+
],
|
|
3486
|
+
"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",
|
|
3487
|
+
"syntaxKindCounter": {
|
|
3488
|
+
"10": 3,
|
|
3489
|
+
"75": 22,
|
|
3490
|
+
"104": 1,
|
|
3491
|
+
"130": 1,
|
|
3492
|
+
"153": 1,
|
|
3493
|
+
"169": 1,
|
|
3494
|
+
"192": 1,
|
|
3495
|
+
"193": 2,
|
|
3496
|
+
"194": 7,
|
|
3497
|
+
"197": 1,
|
|
3498
|
+
"225": 1,
|
|
3499
|
+
"226": 1,
|
|
3500
|
+
"242": 1,
|
|
3501
|
+
"243": 1,
|
|
3502
|
+
"281": 7,
|
|
3503
|
+
"290": 1
|
|
3504
|
+
},
|
|
3505
|
+
"fqnsFingerprint": "f0ae83f268e853d28a9515b4906951b103b60ed16f5c7e4b974457fc9a9e4fba"
|
|
3506
|
+
},
|
|
3507
|
+
"8d581ea5b2a1baf343e340eb91b3b2d0d33c893f077cc7babf9df084e123a8dc": {
|
|
3508
|
+
"translations": {
|
|
3509
|
+
"python": {
|
|
3510
|
+
"source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
3511
|
+
"version": "1"
|
|
3512
|
+
},
|
|
3513
|
+
"csharp": {
|
|
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});",
|
|
3515
|
+
"version": "1"
|
|
3516
|
+
},
|
|
3517
|
+
"java": {
|
|
3518
|
+
"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();",
|
|
3519
|
+
"version": "1"
|
|
3520
|
+
},
|
|
3521
|
+
"$": {
|
|
3522
|
+
"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});",
|
|
3523
|
+
"version": "0"
|
|
3524
|
+
}
|
|
3525
|
+
},
|
|
3526
|
+
"location": {
|
|
3527
|
+
"api": {
|
|
3528
|
+
"api": "type",
|
|
3529
|
+
"fqn": "@aws-cdk/aws-glue-alpha.TableProps"
|
|
3530
|
+
},
|
|
3531
|
+
"field": {
|
|
3532
|
+
"field": "example"
|
|
3533
|
+
}
|
|
3534
|
+
},
|
|
3535
|
+
"didCompile": true,
|
|
3536
|
+
"fqnsReferenced": [
|
|
3537
|
+
"@aws-cdk/aws-glue-alpha.DataFormat",
|
|
3538
|
+
"@aws-cdk/aws-glue-alpha.DataFormat#JSON",
|
|
3539
|
+
"@aws-cdk/aws-glue-alpha.IDatabase",
|
|
3540
|
+
"@aws-cdk/aws-glue-alpha.Schema",
|
|
3541
|
+
"@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
|
|
3542
|
+
"@aws-cdk/aws-glue-alpha.Schema#STRING",
|
|
3543
|
+
"@aws-cdk/aws-glue-alpha.Table",
|
|
3544
|
+
"@aws-cdk/aws-glue-alpha.TableProps",
|
|
3545
|
+
"@aws-cdk/aws-glue-alpha.Type"
|
|
3546
|
+
],
|
|
3547
|
+
"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",
|
|
3548
|
+
"syntaxKindCounter": {
|
|
3549
|
+
"10": 5,
|
|
3550
|
+
"75": 29,
|
|
3551
|
+
"104": 1,
|
|
3552
|
+
"130": 1,
|
|
3553
|
+
"153": 1,
|
|
3554
|
+
"169": 1,
|
|
3555
|
+
"192": 2,
|
|
3556
|
+
"193": 4,
|
|
3557
|
+
"194": 9,
|
|
3558
|
+
"197": 1,
|
|
3559
|
+
"225": 1,
|
|
3560
|
+
"226": 1,
|
|
3561
|
+
"242": 1,
|
|
3562
|
+
"243": 1,
|
|
3563
|
+
"281": 11,
|
|
3564
|
+
"290": 1
|
|
3565
|
+
},
|
|
3566
|
+
"fqnsFingerprint": "04817043124c93d5cbaf2df5f7d815d1f78689a6f13340417a3b62dfb49095e0"
|
|
3567
|
+
},
|
|
3568
|
+
"f373a88e102923527138f1af071ad5855fc71b2389cf0256ac5ac2cc908759ea": {
|
|
3569
|
+
"translations": {
|
|
3570
|
+
"python": {
|
|
3571
|
+
"source": "# my_database is of type Database\n\nglue.Table(self, \"MyTable\",\n database=my_database,\n table_name=\"my_table\",\n columns=[glue.Column(\n name=\"col1\",\n type=glue.Schema.STRING\n )],\n partition_keys=[glue.Column(\n name=\"year\",\n type=glue.Schema.SMALL_INT\n ), glue.Column(\n name=\"month\",\n type=glue.Schema.SMALL_INT\n )],\n data_format=glue.DataFormat.JSON\n)",
|
|
3572
|
+
"version": "1"
|
|
3573
|
+
},
|
|
3574
|
+
"csharp": {
|
|
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});",
|
|
3576
|
+
"version": "1"
|
|
3577
|
+
},
|
|
3578
|
+
"java": {
|
|
3579
|
+
"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();",
|
|
3580
|
+
"version": "1"
|
|
3581
|
+
},
|
|
3582
|
+
"$": {
|
|
3583
|
+
"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});",
|
|
3584
|
+
"version": "0"
|
|
3585
|
+
}
|
|
3586
|
+
},
|
|
3587
|
+
"location": {
|
|
3588
|
+
"api": {
|
|
3589
|
+
"api": "type",
|
|
3590
|
+
"fqn": "@aws-cdk/aws-glue-alpha.Type"
|
|
3591
|
+
},
|
|
3592
|
+
"field": {
|
|
3593
|
+
"field": "example"
|
|
3594
|
+
}
|
|
3595
|
+
},
|
|
3596
|
+
"didCompile": true,
|
|
3597
|
+
"fqnsReferenced": [
|
|
3598
|
+
"@aws-cdk/aws-glue-alpha.DataFormat",
|
|
3599
|
+
"@aws-cdk/aws-glue-alpha.DataFormat#JSON",
|
|
3600
|
+
"@aws-cdk/aws-glue-alpha.IDatabase",
|
|
3601
|
+
"@aws-cdk/aws-glue-alpha.Schema",
|
|
3602
|
+
"@aws-cdk/aws-glue-alpha.Schema#SMALL_INT",
|
|
3603
|
+
"@aws-cdk/aws-glue-alpha.Schema#STRING",
|
|
3604
|
+
"@aws-cdk/aws-glue-alpha.Table",
|
|
3605
|
+
"@aws-cdk/aws-glue-alpha.TableProps",
|
|
3606
|
+
"@aws-cdk/aws-glue-alpha.Type"
|
|
3607
|
+
],
|
|
3608
|
+
"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",
|
|
3609
|
+
"syntaxKindCounter": {
|
|
3610
|
+
"10": 5,
|
|
3611
|
+
"75": 29,
|
|
3612
|
+
"104": 1,
|
|
3613
|
+
"130": 1,
|
|
3614
|
+
"153": 1,
|
|
3615
|
+
"169": 1,
|
|
3616
|
+
"192": 2,
|
|
3617
|
+
"193": 4,
|
|
3618
|
+
"194": 9,
|
|
3619
|
+
"197": 1,
|
|
3620
|
+
"225": 1,
|
|
3621
|
+
"226": 1,
|
|
3622
|
+
"242": 1,
|
|
3623
|
+
"243": 1,
|
|
3624
|
+
"281": 11,
|
|
3625
|
+
"290": 1
|
|
3626
|
+
},
|
|
3627
|
+
"fqnsFingerprint": "04817043124c93d5cbaf2df5f7d815d1f78689a6f13340417a3b62dfb49095e0"
|
|
3628
|
+
},
|
|
3629
|
+
"6dd61f985caf76f93636a0ac81cf52309c67009318c1573d0611ee83cee55bf7": {
|
|
3630
|
+
"translations": {
|
|
3631
|
+
"python": {
|
|
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": "1"
|
|
3634
|
+
},
|
|
3635
|
+
"csharp": {
|
|
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;",
|
|
3637
|
+
"version": "1"
|
|
3638
|
+
},
|
|
3639
|
+
"java": {
|
|
3640
|
+
"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;",
|
|
3641
|
+
"version": "1"
|
|
3642
|
+
},
|
|
3643
|
+
"$": {
|
|
3644
|
+
"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;",
|
|
3645
|
+
"version": "0"
|
|
3646
|
+
}
|
|
3647
|
+
},
|
|
3648
|
+
"location": {
|
|
3649
|
+
"api": {
|
|
3650
|
+
"api": "type",
|
|
3651
|
+
"fqn": "@aws-cdk/aws-glue-alpha.WorkerType"
|
|
3652
|
+
},
|
|
3653
|
+
"field": {
|
|
3654
|
+
"field": "example"
|
|
3655
|
+
}
|
|
3656
|
+
},
|
|
3657
|
+
"didCompile": true,
|
|
3658
|
+
"fqnsReferenced": [
|
|
3659
|
+
"@aws-cdk/aws-glue-alpha.WorkerType",
|
|
3660
|
+
"@aws-cdk/aws-glue-alpha.WorkerType#G_1X"
|
|
3661
|
+
],
|
|
3662
|
+
"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} }",
|
|
3663
|
+
"syntaxKindCounter": {
|
|
3664
|
+
"10": 1,
|
|
3665
|
+
"75": 5,
|
|
3666
|
+
"194": 2,
|
|
3667
|
+
"225": 1,
|
|
3668
|
+
"242": 1,
|
|
3669
|
+
"243": 1,
|
|
3670
|
+
"254": 1,
|
|
3671
|
+
"255": 1,
|
|
3672
|
+
"256": 1,
|
|
3673
|
+
"290": 1
|
|
3674
|
+
},
|
|
3675
|
+
"fqnsFingerprint": "62d11145f2f61561a196d67535ab796a6b8c2975efc208604fd052ca05614a28"
|
|
3676
|
+
}
|
|
3677
|
+
}
|
|
3678
|
+
}
|