@aws-cdk/aws-kinesisanalytics-flink-alpha 2.17.0-alpha.0 → 2.18.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 +16 -3
- package/.jsii.tabl.json +61 -13
- package/lib/application-code.js +1 -1
- package/lib/application.js +1 -1
- package/lib/types.js +1 -1
- package/package.json +6 -6
package/.jsii
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://aws.amazon.com"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"aws-cdk-lib": "^2.
|
|
11
|
+
"aws-cdk-lib": "^2.18.0",
|
|
12
12
|
"constructs": "^10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -378,6 +378,19 @@
|
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
},
|
|
381
|
+
"aws-cdk-lib.aws_billingconductor": {
|
|
382
|
+
"targets": {
|
|
383
|
+
"dotnet": {
|
|
384
|
+
"namespace": "Amazon.CDK.AWS.BillingConductor"
|
|
385
|
+
},
|
|
386
|
+
"java": {
|
|
387
|
+
"package": "software.amazon.awscdk.services.billingconductor"
|
|
388
|
+
},
|
|
389
|
+
"python": {
|
|
390
|
+
"module": "aws_cdk.aws_billingconductor"
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
},
|
|
381
394
|
"aws-cdk-lib.aws_budgets": {
|
|
382
395
|
"targets": {
|
|
383
396
|
"dotnet": {
|
|
@@ -2946,7 +2959,7 @@
|
|
|
2946
2959
|
"stability": "experimental"
|
|
2947
2960
|
},
|
|
2948
2961
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
2949
|
-
"jsiiVersion": "1.
|
|
2962
|
+
"jsiiVersion": "1.55.1 (build 07d2d90)",
|
|
2950
2963
|
"keywords": [
|
|
2951
2964
|
"aws",
|
|
2952
2965
|
"cdk",
|
|
@@ -4082,6 +4095,6 @@
|
|
|
4082
4095
|
"symbolId": "lib/types:Runtime"
|
|
4083
4096
|
}
|
|
4084
4097
|
},
|
|
4085
|
-
"version": "2.
|
|
4098
|
+
"version": "2.18.0-alpha.0",
|
|
4086
4099
|
"fingerprint": "**********"
|
|
4087
4100
|
}
|
package/.jsii.tabl.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2",
|
|
3
|
-
"toolVersion": "1.
|
|
3
|
+
"toolVersion": "1.55.1",
|
|
4
4
|
"snippets": {
|
|
5
5
|
"1a833610ab1ce77e0ec4d91ced57ffe07cf491d38460b172a29a87f3fcfe4354": {
|
|
6
6
|
"translations": {
|
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
"source": "import path.*;\nimport software.amazon.awscdk.*;\nimport software.amazon.awscdk.services.kinesisanalytics.flink.alpha.*;\n\nApp app = new App();\nStack stack = new Stack(app, \"FlinkAppTest\");\n\nApplication.Builder.create(stack, \"App\")\n .code(ApplicationCode.fromAsset(join(__dirname, \"code-asset\")))\n .runtime(Runtime.FLINK_1_11)\n .build();\n\napp.synth();",
|
|
17
17
|
"version": "1"
|
|
18
18
|
},
|
|
19
|
+
"go": {
|
|
20
|
+
"source": "import path \"github.com/aws-samples/dummy/path\"import core \"github.com/aws/aws-cdk-go/awscdk\"import flink \"github.com/aws/aws-cdk-go/awscdkkinesisanalyticsflinkalpha\"\n\napp := core.NewApp()\nstack := core.NewStack(app, jsii.String(\"FlinkAppTest\"))\n\nflink.NewApplication(stack, jsii.String(\"App\"), &applicationProps{\n\tcode: flink.applicationCode.fromAsset(path.join(__dirname, jsii.String(\"code-asset\"))),\n\truntime: flink.runtime_FLINK_1_11(),\n})\n\napp.synth()",
|
|
21
|
+
"version": "1"
|
|
22
|
+
},
|
|
19
23
|
"$": {
|
|
20
24
|
"source": "import * as path from 'path';\nimport * as core from 'aws-cdk-lib';\nimport * as flink from '../lib';\n\nconst app = new core.App();\nconst stack = new core.Stack(app, 'FlinkAppTest');\n\nnew flink.Application(stack, 'App', {\n code: flink.ApplicationCode.fromAsset(path.join(__dirname, 'code-asset')),\n runtime: flink.Runtime.FLINK_1_11,\n});\n///! hide\n\napp.synth();",
|
|
21
25
|
"version": "0"
|
|
@@ -61,7 +65,7 @@
|
|
|
61
65
|
"281": 2,
|
|
62
66
|
"290": 1
|
|
63
67
|
},
|
|
64
|
-
"fqnsFingerprint": "
|
|
68
|
+
"fqnsFingerprint": "3f2c8416933965cf5954264640c7c8b08057262941397a9ba7e8ad8fa07fcc2f"
|
|
65
69
|
},
|
|
66
70
|
"5f07703f347c0152a5b08697fae3d12084359084156d88a0ad7c5ea5248beae6": {
|
|
67
71
|
"translations": {
|
|
@@ -77,6 +81,10 @@
|
|
|
77
81
|
"source": "import path.*;\nimport software.amazon.awscdk.services.s3.assets.*;\nimport software.amazon.awscdk.*;\nimport software.amazon.awscdk.services.kinesisanalytics.flink.alpha.*;\n\nApp app = new App();\nStack stack = new Stack(app, \"FlinkAppCodeFromBucketTest\");\n\nAsset asset = Asset.Builder.create(stack, \"CodeAsset\")\n .path(join(__dirname, \"code-asset\"))\n .build();\nIBucket bucket = asset.getBucket();\nString fileKey = asset.getS3ObjectKey();\n\nApplication.Builder.create(stack, \"App\")\n .code(ApplicationCode.fromBucket(bucket, fileKey))\n .runtime(Runtime.FLINK_1_11)\n .build();\n\napp.synth();",
|
|
78
82
|
"version": "1"
|
|
79
83
|
},
|
|
84
|
+
"go": {
|
|
85
|
+
"source": "import path \"github.com/aws-samples/dummy/path\"import assets \"github.com/aws/aws-cdk-go/awscdk\"import core \"github.com/aws/aws-cdk-go/awscdk\"import flink \"github.com/aws/aws-cdk-go/awscdkkinesisanalyticsflinkalpha\"\n\napp := core.NewApp()\nstack := core.NewStack(app, jsii.String(\"FlinkAppCodeFromBucketTest\"))\n\nasset := assets.NewAsset(stack, jsii.String(\"CodeAsset\"), &assetProps{\n\tpath: path.join(__dirname, jsii.String(\"code-asset\")),\n})\nbucket := asset.bucket\nfileKey := asset.s3ObjectKey\n\nflink.NewApplication(stack, jsii.String(\"App\"), &applicationProps{\n\tcode: flink.applicationCode.fromBucket(bucket, fileKey),\n\truntime: flink.runtime_FLINK_1_11(),\n})\n\napp.synth()",
|
|
86
|
+
"version": "1"
|
|
87
|
+
},
|
|
80
88
|
"$": {
|
|
81
89
|
"source": "import * as path from 'path';\nimport * as assets from 'aws-cdk-lib/aws-s3-assets';\nimport * as core from 'aws-cdk-lib';\nimport * as flink from '../lib';\n\nconst app = new core.App();\nconst stack = new core.Stack(app, 'FlinkAppCodeFromBucketTest');\n\nconst asset = new assets.Asset(stack, 'CodeAsset', {\n path: path.join(__dirname, 'code-asset'),\n});\nconst bucket = asset.bucket;\nconst fileKey = asset.s3ObjectKey;\n\n///! show\nnew flink.Application(stack, 'App', {\n code: flink.ApplicationCode.fromBucket(bucket, fileKey),\n runtime: flink.Runtime.FLINK_1_11,\n});\n///! hide\n\napp.synth();",
|
|
82
90
|
"version": "0"
|
|
@@ -127,7 +135,7 @@
|
|
|
127
135
|
"281": 3,
|
|
128
136
|
"290": 1
|
|
129
137
|
},
|
|
130
|
-
"fqnsFingerprint": "
|
|
138
|
+
"fqnsFingerprint": "6f9b9c9faa70a3bba5591a82beae0b573aeadcdf4fc9809d8d6eb9eb1b04113e"
|
|
131
139
|
},
|
|
132
140
|
"bf19da6d0c3c17ef8c8bb9b4dff2184be744c50282bcb81d96d93597fb7c6d68": {
|
|
133
141
|
"translations": {
|
|
@@ -143,6 +151,10 @@
|
|
|
143
151
|
"source": "Bucket bucket;\n\nApplication flinkApp = Application.Builder.create(this, \"Application\")\n .propertyGroups(PropertyGroups.builder()\n .FlinkApplicationProperties(Map.of(\n \"inputStreamName\", \"my-input-kinesis-stream\",\n \"outputStreamName\", \"my-output-kinesis-stream\"))\n .build())\n // ...\n .runtime(Runtime.FLINK_1_13)\n .code(ApplicationCode.fromBucket(bucket, \"my-app.jar\"))\n .build();",
|
|
144
152
|
"version": "1"
|
|
145
153
|
},
|
|
154
|
+
"go": {
|
|
155
|
+
"source": "var bucket bucket\nflinkApp := flink.NewApplication(this, jsii.String(\"Application\"), &applicationProps{\n\tpropertyGroups: &propertyGroups{\n\t\tflinkApplicationProperties: map[string]*string{\n\t\t\t\"inputStreamName\": jsii.String(\"my-input-kinesis-stream\"),\n\t\t\t\"outputStreamName\": jsii.String(\"my-output-kinesis-stream\"),\n\t\t},\n\t},\n\t// ...\n\truntime: flink.runtime_FLINK_1_13(),\n\tcode: flink.applicationCode.fromBucket(bucket, jsii.String(\"my-app.jar\")),\n})",
|
|
156
|
+
"version": "1"
|
|
157
|
+
},
|
|
146
158
|
"$": {
|
|
147
159
|
"source": "declare const bucket: s3.Bucket;\nconst flinkApp = new flink.Application(this, 'Application', {\n propertyGroups: {\n FlinkApplicationProperties: {\n inputStreamName: 'my-input-kinesis-stream',\n outputStreamName: 'my-output-kinesis-stream',\n },\n },\n // ...\n runtime: flink.Runtime.FLINK_1_13,\n code: flink.ApplicationCode.fromBucket(bucket, 'my-app.jar'),\n});",
|
|
148
160
|
"version": "0"
|
|
@@ -187,7 +199,7 @@
|
|
|
187
199
|
"281": 6,
|
|
188
200
|
"290": 1
|
|
189
201
|
},
|
|
190
|
-
"fqnsFingerprint": "
|
|
202
|
+
"fqnsFingerprint": "06ccedd4b0bf1d0128ba38434208f68f7ae55695935254d27e06557a2144c356"
|
|
191
203
|
},
|
|
192
204
|
"89eccab115fe1f1739ae6ec49d75f867b155e31391f5356ee827dff3d8772f59": {
|
|
193
205
|
"translations": {
|
|
@@ -203,6 +215,10 @@
|
|
|
203
215
|
"source": "Bucket bucket;\n\nApplication flinkApp = Application.Builder.create(this, \"Application\")\n .code(ApplicationCode.fromBucket(bucket, \"my-app.jar\"))\n .runtime(Runtime.FLINK_1_13)\n .checkpointingEnabled(true) // default is true\n .checkpointInterval(Duration.seconds(30)) // default is 1 minute\n .minPauseBetweenCheckpoints(Duration.seconds(10)) // default is 5 seconds\n .logLevel(LogLevel.ERROR) // default is INFO\n .metricsLevel(MetricsLevel.PARALLELISM) // default is APPLICATION\n .autoScalingEnabled(false) // default is true\n .parallelism(32) // default is 1\n .parallelismPerKpu(2) // default is 1\n .snapshotsEnabled(false) // default is true\n .logGroup(new LogGroup(this, \"LogGroup\"))\n .build();",
|
|
204
216
|
"version": "1"
|
|
205
217
|
},
|
|
218
|
+
"go": {
|
|
219
|
+
"source": "var bucket bucket\nflinkApp := flink.NewApplication(this, jsii.String(\"Application\"), &applicationProps{\n\tcode: flink.applicationCode.fromBucket(bucket, jsii.String(\"my-app.jar\")),\n\truntime: flink.runtime_FLINK_1_13(),\n\tcheckpointingEnabled: jsii.Boolean(true),\n\t // default is true\n\tcheckpointInterval: duration.seconds(jsii.Number(30)),\n\t // default is 1 minute\n\tminPauseBetweenCheckpoints: *duration.seconds(jsii.Number(10)),\n\t // default is 5 seconds\n\tlogLevel: flink.logLevel_ERROR,\n\t // default is INFO\n\tmetricsLevel: flink.metricsLevel_PARALLELISM,\n\t // default is APPLICATION\n\tautoScalingEnabled: jsii.Boolean(false),\n\t // default is true\n\tparallelism: jsii.Number(32),\n\t // default is 1\n\tparallelismPerKpu: jsii.Number(2),\n\t // default is 1\n\tsnapshotsEnabled: jsii.Boolean(false),\n\t // default is true\n\tlogGroup: logs.NewLogGroup(this, jsii.String(\"LogGroup\")),\n})",
|
|
220
|
+
"version": "1"
|
|
221
|
+
},
|
|
206
222
|
"$": {
|
|
207
223
|
"source": "declare const bucket: s3.Bucket;\nconst flinkApp = new flink.Application(this, 'Application', {\n code: flink.ApplicationCode.fromBucket(bucket, 'my-app.jar'),\n runtime: flink.Runtime.FLINK_1_13,\n checkpointingEnabled: true, // default is true\n checkpointInterval: Duration.seconds(30), // default is 1 minute\n minPauseBetweenCheckpoints: Duration.seconds(10), // default is 5 seconds\n logLevel: flink.LogLevel.ERROR, // default is INFO\n metricsLevel: flink.MetricsLevel.PARALLELISM, // default is APPLICATION\n autoScalingEnabled: false, // default is true\n parallelism: 32, // default is 1\n parallelismPerKpu: 2, // default is 1\n snapshotsEnabled: false, // default is true\n logGroup: new logs.LogGroup(this, 'LogGroup'), // by default, a new LogGroup will be created\n});",
|
|
208
224
|
"version": "0"
|
|
@@ -257,7 +273,7 @@
|
|
|
257
273
|
"281": 12,
|
|
258
274
|
"290": 1
|
|
259
275
|
},
|
|
260
|
-
"fqnsFingerprint": "
|
|
276
|
+
"fqnsFingerprint": "248889d95acbaf87907cd8392703ddd2e21056c5d2ecc1d0109ad35b9ad79e2d"
|
|
261
277
|
},
|
|
262
278
|
"7cf96eadff395813aa548e39bea07f2f7ee382f7d312e3a5d8f383e1d35305ef": {
|
|
263
279
|
"translations": {
|
|
@@ -273,6 +289,10 @@
|
|
|
273
289
|
"source": "import path.*;\nimport software.amazon.awscdk.*;\nimport software.amazon.awscdk.services.kinesisanalytics.flink.alpha.*;\n\nApp app = new App();\nStack stack = new Stack(app, \"FlinkAppTest\");\n\nApplication.Builder.create(stack, \"App\")\n .code(ApplicationCode.fromAsset(join(__dirname, \"code-asset\")))\n .runtime(Runtime.FLINK_1_11)\n .build();\n\napp.synth();",
|
|
274
290
|
"version": "1"
|
|
275
291
|
},
|
|
292
|
+
"go": {
|
|
293
|
+
"source": "import path \"github.com/aws-samples/dummy/path\"import core \"github.com/aws/aws-cdk-go/awscdk\"import flink \"github.com/aws/aws-cdk-go/awscdkkinesisanalyticsflinkalpha\"\n\napp := core.NewApp()\nstack := core.NewStack(app, jsii.String(\"FlinkAppTest\"))\n\nflink.NewApplication(stack, jsii.String(\"App\"), &applicationProps{\n\tcode: flink.applicationCode.fromAsset(path.join(__dirname, jsii.String(\"code-asset\"))),\n\truntime: flink.runtime_FLINK_1_11(),\n})\n\napp.synth()",
|
|
294
|
+
"version": "1"
|
|
295
|
+
},
|
|
276
296
|
"$": {
|
|
277
297
|
"source": "import * as path from 'path';\nimport * as core from 'aws-cdk-lib';\nimport * as flink from '../lib';\n\nconst app = new core.App();\nconst stack = new core.Stack(app, 'FlinkAppTest');\n\nnew flink.Application(stack, 'App', {\n code: flink.ApplicationCode.fromAsset(path.join(__dirname, 'code-asset')),\n runtime: flink.Runtime.FLINK_1_11,\n});\n///! hide\n\napp.synth();",
|
|
278
298
|
"version": "0"
|
|
@@ -317,7 +337,7 @@
|
|
|
317
337
|
"281": 2,
|
|
318
338
|
"290": 1
|
|
319
339
|
},
|
|
320
|
-
"fqnsFingerprint": "
|
|
340
|
+
"fqnsFingerprint": "3f2c8416933965cf5954264640c7c8b08057262941397a9ba7e8ad8fa07fcc2f"
|
|
321
341
|
},
|
|
322
342
|
"3b68af57c32b8058b455206cc3282c0d8dbeb499b50c6e0553a097c9497eb3f5": {
|
|
323
343
|
"translations": {
|
|
@@ -333,6 +353,10 @@
|
|
|
333
353
|
"source": "import path.*;\nimport software.amazon.awscdk.*;\nimport software.amazon.awscdk.services.kinesisanalytics.flink.alpha.*;\n\nApp app = new App();\nStack stack = new Stack(app, \"FlinkAppTest\");\n\nApplication.Builder.create(stack, \"App\")\n .code(ApplicationCode.fromAsset(join(__dirname, \"code-asset\")))\n .runtime(Runtime.FLINK_1_11)\n .build();\n\napp.synth();",
|
|
334
354
|
"version": "1"
|
|
335
355
|
},
|
|
356
|
+
"go": {
|
|
357
|
+
"source": "import path \"github.com/aws-samples/dummy/path\"import core \"github.com/aws/aws-cdk-go/awscdk\"import flink \"github.com/aws/aws-cdk-go/awscdkkinesisanalyticsflinkalpha\"\n\napp := core.NewApp()\nstack := core.NewStack(app, jsii.String(\"FlinkAppTest\"))\n\nflink.NewApplication(stack, jsii.String(\"App\"), &applicationProps{\n\tcode: flink.applicationCode.fromAsset(path.join(__dirname, jsii.String(\"code-asset\"))),\n\truntime: flink.runtime_FLINK_1_11(),\n})\n\napp.synth()",
|
|
358
|
+
"version": "1"
|
|
359
|
+
},
|
|
336
360
|
"$": {
|
|
337
361
|
"source": "import * as path from 'path';\nimport * as core from 'aws-cdk-lib';\nimport * as flink from '../lib';\n\nconst app = new core.App();\nconst stack = new core.Stack(app, 'FlinkAppTest');\n\nnew flink.Application(stack, 'App', {\n code: flink.ApplicationCode.fromAsset(path.join(__dirname, 'code-asset')),\n runtime: flink.Runtime.FLINK_1_11,\n});\n///! hide\n\napp.synth();",
|
|
338
362
|
"version": "0"
|
|
@@ -377,7 +401,7 @@
|
|
|
377
401
|
"281": 2,
|
|
378
402
|
"290": 1
|
|
379
403
|
},
|
|
380
|
-
"fqnsFingerprint": "
|
|
404
|
+
"fqnsFingerprint": "3f2c8416933965cf5954264640c7c8b08057262941397a9ba7e8ad8fa07fcc2f"
|
|
381
405
|
},
|
|
382
406
|
"966827986094fa5eb687f9111aa23a0837692f4dc9706e95d08fae90fe310dd5": {
|
|
383
407
|
"translations": {
|
|
@@ -393,6 +417,10 @@
|
|
|
393
417
|
"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.kinesisanalytics.flink.alpha.*;\nimport software.amazon.awscdk.services.s3.*;\n\nBucket bucket;\nObject propertyMap;\n\nApplicationCodeConfig applicationCodeConfig = ApplicationCodeConfig.builder()\n .applicationCodeConfigurationProperty(ApplicationConfigurationProperty.builder()\n .applicationCodeConfiguration(ApplicationCodeConfigurationProperty.builder()\n .codeContent(CodeContentProperty.builder()\n .s3ContentLocation(S3ContentLocationProperty.builder()\n .bucketArn(\"bucketArn\")\n .fileKey(\"fileKey\")\n .objectVersion(\"objectVersion\")\n .build())\n .textContent(\"textContent\")\n .zipFileContent(\"zipFileContent\")\n .build())\n .codeContentType(\"codeContentType\")\n .build())\n .applicationSnapshotConfiguration(ApplicationSnapshotConfigurationProperty.builder()\n .snapshotsEnabled(false)\n .build())\n .environmentProperties(EnvironmentPropertiesProperty.builder()\n .propertyGroups(List.of(PropertyGroupProperty.builder()\n .propertyGroupId(\"propertyGroupId\")\n .propertyMap(propertyMap)\n .build()))\n .build())\n .flinkApplicationConfiguration(FlinkApplicationConfigurationProperty.builder()\n .checkpointConfiguration(CheckpointConfigurationProperty.builder()\n .configurationType(\"configurationType\")\n\n // the properties below are optional\n .checkpointingEnabled(false)\n .checkpointInterval(123)\n .minPauseBetweenCheckpoints(123)\n .build())\n .monitoringConfiguration(MonitoringConfigurationProperty.builder()\n .configurationType(\"configurationType\")\n\n // the properties below are optional\n .logLevel(\"logLevel\")\n .metricsLevel(\"metricsLevel\")\n .build())\n .parallelismConfiguration(ParallelismConfigurationProperty.builder()\n .configurationType(\"configurationType\")\n\n // the properties below are optional\n .autoScalingEnabled(false)\n .parallelism(123)\n .parallelismPerKpu(123)\n .build())\n .build())\n .sqlApplicationConfiguration(SqlApplicationConfigurationProperty.builder()\n .inputs(List.of(InputProperty.builder()\n .inputSchema(InputSchemaProperty.builder()\n .recordColumns(List.of(RecordColumnProperty.builder()\n .name(\"name\")\n .sqlType(\"sqlType\")\n\n // the properties below are optional\n .mapping(\"mapping\")\n .build()))\n .recordFormat(RecordFormatProperty.builder()\n .recordFormatType(\"recordFormatType\")\n\n // the properties below are optional\n .mappingParameters(MappingParametersProperty.builder()\n .csvMappingParameters(CSVMappingParametersProperty.builder()\n .recordColumnDelimiter(\"recordColumnDelimiter\")\n .recordRowDelimiter(\"recordRowDelimiter\")\n .build())\n .jsonMappingParameters(JSONMappingParametersProperty.builder()\n .recordRowPath(\"recordRowPath\")\n .build())\n .build())\n .build())\n\n // the properties below are optional\n .recordEncoding(\"recordEncoding\")\n .build())\n .namePrefix(\"namePrefix\")\n\n // the properties below are optional\n .inputParallelism(InputParallelismProperty.builder()\n .count(123)\n .build())\n .inputProcessingConfiguration(InputProcessingConfigurationProperty.builder()\n .inputLambdaProcessor(InputLambdaProcessorProperty.builder()\n .resourceArn(\"resourceArn\")\n .build())\n .build())\n .kinesisFirehoseInput(KinesisFirehoseInputProperty.builder()\n .resourceArn(\"resourceArn\")\n .build())\n .kinesisStreamsInput(KinesisStreamsInputProperty.builder()\n .resourceArn(\"resourceArn\")\n .build())\n .build()))\n .build())\n .zeppelinApplicationConfiguration(ZeppelinApplicationConfigurationProperty.builder()\n .catalogConfiguration(CatalogConfigurationProperty.builder()\n .glueDataCatalogConfiguration(GlueDataCatalogConfigurationProperty.builder()\n .databaseArn(\"databaseArn\")\n .build())\n .build())\n .customArtifactsConfiguration(List.of(CustomArtifactConfigurationProperty.builder()\n .artifactType(\"artifactType\")\n\n // the properties below are optional\n .mavenReference(MavenReferenceProperty.builder()\n .artifactId(\"artifactId\")\n .groupId(\"groupId\")\n .version(\"version\")\n .build())\n .s3ContentLocation(S3ContentLocationProperty.builder()\n .bucketArn(\"bucketArn\")\n .fileKey(\"fileKey\")\n .objectVersion(\"objectVersion\")\n .build())\n .build()))\n .deployAsApplicationConfiguration(DeployAsApplicationConfigurationProperty.builder()\n .s3ContentLocation(S3ContentBaseLocationProperty.builder()\n .basePath(\"basePath\")\n .bucketArn(\"bucketArn\")\n .build())\n .build())\n .monitoringConfiguration(ZeppelinMonitoringConfigurationProperty.builder()\n .logLevel(\"logLevel\")\n .build())\n .build())\n .build())\n .bucket(bucket)\n .build();",
|
|
394
418
|
"version": "1"
|
|
395
419
|
},
|
|
420
|
+
"go": {
|
|
421
|
+
"source": "import kinesisanalytics_flink_alpha \"github.com/aws/aws-cdk-go/awscdkkinesisanalyticsflinkalpha\"import awscdk \"github.com/aws/aws-cdk-go/awscdk\"import s3 \"github.com/aws/aws-cdk-go/awscdk/aws_s3\"\n\nvar bucket bucket\nvar propertyMap interface{}\napplicationCodeConfig := &applicationCodeConfig{\n\tapplicationCodeConfigurationProperty: &applicationConfigurationProperty{\n\t\tapplicationCodeConfiguration: &applicationCodeConfigurationProperty{\n\t\t\tcodeContent: &codeContentProperty{\n\t\t\t\ts3ContentLocation: &s3ContentLocationProperty{\n\t\t\t\t\tbucketArn: jsii.String(\"bucketArn\"),\n\t\t\t\t\tfileKey: jsii.String(\"fileKey\"),\n\t\t\t\t\tobjectVersion: jsii.String(\"objectVersion\"),\n\t\t\t\t},\n\t\t\t\ttextContent: jsii.String(\"textContent\"),\n\t\t\t\tzipFileContent: jsii.String(\"zipFileContent\"),\n\t\t\t},\n\t\t\tcodeContentType: jsii.String(\"codeContentType\"),\n\t\t},\n\t\tapplicationSnapshotConfiguration: &applicationSnapshotConfigurationProperty{\n\t\t\tsnapshotsEnabled: jsii.Boolean(false),\n\t\t},\n\t\tenvironmentProperties: &environmentPropertiesProperty{\n\t\t\tpropertyGroups: []interface{}{\n\t\t\t\t&propertyGroupProperty{\n\t\t\t\t\tpropertyGroupId: jsii.String(\"propertyGroupId\"),\n\t\t\t\t\tpropertyMap: propertyMap,\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tflinkApplicationConfiguration: &flinkApplicationConfigurationProperty{\n\t\t\tcheckpointConfiguration: &checkpointConfigurationProperty{\n\t\t\t\tconfigurationType: jsii.String(\"configurationType\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tcheckpointingEnabled: jsii.Boolean(false),\n\t\t\t\tcheckpointInterval: jsii.Number(123),\n\t\t\t\tminPauseBetweenCheckpoints: jsii.Number(123),\n\t\t\t},\n\t\t\tmonitoringConfiguration: &monitoringConfigurationProperty{\n\t\t\t\tconfigurationType: jsii.String(\"configurationType\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tlogLevel: jsii.String(\"logLevel\"),\n\t\t\t\tmetricsLevel: jsii.String(\"metricsLevel\"),\n\t\t\t},\n\t\t\tparallelismConfiguration: ¶llelismConfigurationProperty{\n\t\t\t\tconfigurationType: jsii.String(\"configurationType\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tautoScalingEnabled: jsii.Boolean(false),\n\t\t\t\tparallelism: jsii.Number(123),\n\t\t\t\tparallelismPerKpu: jsii.Number(123),\n\t\t\t},\n\t\t},\n\t\tsqlApplicationConfiguration: &sqlApplicationConfigurationProperty{\n\t\t\tinputs: []interface{}{\n\t\t\t\t&inputProperty{\n\t\t\t\t\tinputSchema: &inputSchemaProperty{\n\t\t\t\t\t\trecordColumns: []interface{}{\n\t\t\t\t\t\t\t&recordColumnProperty{\n\t\t\t\t\t\t\t\tname: jsii.String(\"name\"),\n\t\t\t\t\t\t\t\tsqlType: jsii.String(\"sqlType\"),\n\n\t\t\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\t\t\tmapping: jsii.String(\"mapping\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\trecordFormat: &recordFormatProperty{\n\t\t\t\t\t\t\trecordFormatType: jsii.String(\"recordFormatType\"),\n\n\t\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\t\tmappingParameters: &mappingParametersProperty{\n\t\t\t\t\t\t\t\tcsvMappingParameters: &cSVMappingParametersProperty{\n\t\t\t\t\t\t\t\t\trecordColumnDelimiter: jsii.String(\"recordColumnDelimiter\"),\n\t\t\t\t\t\t\t\t\trecordRowDelimiter: jsii.String(\"recordRowDelimiter\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tjsonMappingParameters: &jSONMappingParametersProperty{\n\t\t\t\t\t\t\t\t\trecordRowPath: jsii.String(\"recordRowPath\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\n\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\trecordEncoding: jsii.String(\"recordEncoding\"),\n\t\t\t\t\t},\n\t\t\t\t\tnamePrefix: jsii.String(\"namePrefix\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\tinputParallelism: &inputParallelismProperty{\n\t\t\t\t\t\tcount: jsii.Number(123),\n\t\t\t\t\t},\n\t\t\t\t\tinputProcessingConfiguration: &inputProcessingConfigurationProperty{\n\t\t\t\t\t\tinputLambdaProcessor: &inputLambdaProcessorProperty{\n\t\t\t\t\t\t\tresourceArn: jsii.String(\"resourceArn\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tkinesisFirehoseInput: &kinesisFirehoseInputProperty{\n\t\t\t\t\t\tresourceArn: jsii.String(\"resourceArn\"),\n\t\t\t\t\t},\n\t\t\t\t\tkinesisStreamsInput: &kinesisStreamsInputProperty{\n\t\t\t\t\t\tresourceArn: jsii.String(\"resourceArn\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tzeppelinApplicationConfiguration: &zeppelinApplicationConfigurationProperty{\n\t\t\tcatalogConfiguration: &catalogConfigurationProperty{\n\t\t\t\tglueDataCatalogConfiguration: &glueDataCatalogConfigurationProperty{\n\t\t\t\t\tdatabaseArn: jsii.String(\"databaseArn\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tcustomArtifactsConfiguration: []interface{}{\n\t\t\t\t&customArtifactConfigurationProperty{\n\t\t\t\t\tartifactType: jsii.String(\"artifactType\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\tmavenReference: &mavenReferenceProperty{\n\t\t\t\t\t\tartifactId: jsii.String(\"artifactId\"),\n\t\t\t\t\t\tgroupId: jsii.String(\"groupId\"),\n\t\t\t\t\t\tversion: jsii.String(\"version\"),\n\t\t\t\t\t},\n\t\t\t\t\ts3ContentLocation: &s3ContentLocationProperty{\n\t\t\t\t\t\tbucketArn: jsii.String(\"bucketArn\"),\n\t\t\t\t\t\tfileKey: jsii.String(\"fileKey\"),\n\t\t\t\t\t\tobjectVersion: jsii.String(\"objectVersion\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tdeployAsApplicationConfiguration: &deployAsApplicationConfigurationProperty{\n\t\t\t\ts3ContentLocation: &s3ContentBaseLocationProperty{\n\t\t\t\t\tbasePath: jsii.String(\"basePath\"),\n\t\t\t\t\tbucketArn: jsii.String(\"bucketArn\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tmonitoringConfiguration: &zeppelinMonitoringConfigurationProperty{\n\t\t\t\tlogLevel: jsii.String(\"logLevel\"),\n\t\t\t},\n\t\t},\n\t},\n\tbucket: bucket,\n}",
|
|
422
|
+
"version": "1"
|
|
423
|
+
},
|
|
396
424
|
"$": {
|
|
397
425
|
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as kinesisanalytics_flink_alpha from '@aws-cdk/aws-kinesisanalytics-flink-alpha';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\ndeclare const propertyMap: any;\nconst applicationCodeConfig: kinesisanalytics_flink_alpha.ApplicationCodeConfig = {\n applicationCodeConfigurationProperty: {\n applicationCodeConfiguration: {\n codeContent: {\n s3ContentLocation: {\n bucketArn: 'bucketArn',\n fileKey: 'fileKey',\n objectVersion: 'objectVersion',\n },\n textContent: 'textContent',\n zipFileContent: 'zipFileContent',\n },\n codeContentType: 'codeContentType',\n },\n applicationSnapshotConfiguration: {\n snapshotsEnabled: false,\n },\n environmentProperties: {\n propertyGroups: [{\n propertyGroupId: 'propertyGroupId',\n propertyMap: propertyMap,\n }],\n },\n flinkApplicationConfiguration: {\n checkpointConfiguration: {\n configurationType: 'configurationType',\n\n // the properties below are optional\n checkpointingEnabled: false,\n checkpointInterval: 123,\n minPauseBetweenCheckpoints: 123,\n },\n monitoringConfiguration: {\n configurationType: 'configurationType',\n\n // the properties below are optional\n logLevel: 'logLevel',\n metricsLevel: 'metricsLevel',\n },\n parallelismConfiguration: {\n configurationType: 'configurationType',\n\n // the properties below are optional\n autoScalingEnabled: false,\n parallelism: 123,\n parallelismPerKpu: 123,\n },\n },\n sqlApplicationConfiguration: {\n inputs: [{\n inputSchema: {\n recordColumns: [{\n name: 'name',\n sqlType: 'sqlType',\n\n // the properties below are optional\n mapping: 'mapping',\n }],\n recordFormat: {\n recordFormatType: 'recordFormatType',\n\n // the properties below are optional\n mappingParameters: {\n csvMappingParameters: {\n recordColumnDelimiter: 'recordColumnDelimiter',\n recordRowDelimiter: 'recordRowDelimiter',\n },\n jsonMappingParameters: {\n recordRowPath: 'recordRowPath',\n },\n },\n },\n\n // the properties below are optional\n recordEncoding: 'recordEncoding',\n },\n namePrefix: 'namePrefix',\n\n // the properties below are optional\n inputParallelism: {\n count: 123,\n },\n inputProcessingConfiguration: {\n inputLambdaProcessor: {\n resourceArn: 'resourceArn',\n },\n },\n kinesisFirehoseInput: {\n resourceArn: 'resourceArn',\n },\n kinesisStreamsInput: {\n resourceArn: 'resourceArn',\n },\n }],\n },\n zeppelinApplicationConfiguration: {\n catalogConfiguration: {\n glueDataCatalogConfiguration: {\n databaseArn: 'databaseArn',\n },\n },\n customArtifactsConfiguration: [{\n artifactType: 'artifactType',\n\n // the properties below are optional\n mavenReference: {\n artifactId: 'artifactId',\n groupId: 'groupId',\n version: 'version',\n },\n s3ContentLocation: {\n bucketArn: 'bucketArn',\n fileKey: 'fileKey',\n objectVersion: 'objectVersion',\n },\n }],\n deployAsApplicationConfiguration: {\n s3ContentLocation: {\n basePath: 'basePath',\n bucketArn: 'bucketArn',\n },\n },\n monitoringConfiguration: {\n logLevel: 'logLevel',\n },\n },\n },\n bucket: bucket,\n};",
|
|
398
426
|
"version": "0"
|
|
@@ -436,7 +464,7 @@
|
|
|
436
464
|
"281": 78,
|
|
437
465
|
"290": 1
|
|
438
466
|
},
|
|
439
|
-
"fqnsFingerprint": "
|
|
467
|
+
"fqnsFingerprint": "e96b9e658539f6596332c1b7d23c73c153ac81b2e28172ba4e0019566bda2fa4"
|
|
440
468
|
},
|
|
441
469
|
"cdf99cf34c5b63c6bcc5d3aa7ddde62de179caf49787abfa705d45716f865ad3": {
|
|
442
470
|
"translations": {
|
|
@@ -452,6 +480,10 @@
|
|
|
452
480
|
"source": "import path.*;\nimport software.amazon.awscdk.*;\nimport software.amazon.awscdk.services.kinesisanalytics.flink.alpha.*;\n\nApp app = new App();\nStack stack = new Stack(app, \"FlinkAppTest\");\n\nApplication.Builder.create(stack, \"App\")\n .code(ApplicationCode.fromAsset(join(__dirname, \"code-asset\")))\n .runtime(Runtime.FLINK_1_11)\n .build();\n\napp.synth();",
|
|
453
481
|
"version": "1"
|
|
454
482
|
},
|
|
483
|
+
"go": {
|
|
484
|
+
"source": "import path \"github.com/aws-samples/dummy/path\"import core \"github.com/aws/aws-cdk-go/awscdk\"import flink \"github.com/aws/aws-cdk-go/awscdkkinesisanalyticsflinkalpha\"\n\napp := core.NewApp()\nstack := core.NewStack(app, jsii.String(\"FlinkAppTest\"))\n\nflink.NewApplication(stack, jsii.String(\"App\"), &applicationProps{\n\tcode: flink.applicationCode.fromAsset(path.join(__dirname, jsii.String(\"code-asset\"))),\n\truntime: flink.runtime_FLINK_1_11(),\n})\n\napp.synth()",
|
|
485
|
+
"version": "1"
|
|
486
|
+
},
|
|
455
487
|
"$": {
|
|
456
488
|
"source": "import * as path from 'path';\nimport * as core from 'aws-cdk-lib';\nimport * as flink from '../lib';\n\nconst app = new core.App();\nconst stack = new core.Stack(app, 'FlinkAppTest');\n\nnew flink.Application(stack, 'App', {\n code: flink.ApplicationCode.fromAsset(path.join(__dirname, 'code-asset')),\n runtime: flink.Runtime.FLINK_1_11,\n});\n///! hide\n\napp.synth();",
|
|
457
489
|
"version": "0"
|
|
@@ -496,7 +528,7 @@
|
|
|
496
528
|
"281": 2,
|
|
497
529
|
"290": 1
|
|
498
530
|
},
|
|
499
|
-
"fqnsFingerprint": "
|
|
531
|
+
"fqnsFingerprint": "3f2c8416933965cf5954264640c7c8b08057262941397a9ba7e8ad8fa07fcc2f"
|
|
500
532
|
},
|
|
501
533
|
"f5a80bf7918161f368caffc9a6e746a80127884d119326e5bcb6a4e0faa4e616": {
|
|
502
534
|
"translations": {
|
|
@@ -512,6 +544,10 @@
|
|
|
512
544
|
"source": "Bucket bucket;\n\nApplication flinkApp = Application.Builder.create(this, \"Application\")\n .code(ApplicationCode.fromBucket(bucket, \"my-app.jar\"))\n .runtime(Runtime.FLINK_1_13)\n .checkpointingEnabled(true) // default is true\n .checkpointInterval(Duration.seconds(30)) // default is 1 minute\n .minPauseBetweenCheckpoints(Duration.seconds(10)) // default is 5 seconds\n .logLevel(LogLevel.ERROR) // default is INFO\n .metricsLevel(MetricsLevel.PARALLELISM) // default is APPLICATION\n .autoScalingEnabled(false) // default is true\n .parallelism(32) // default is 1\n .parallelismPerKpu(2) // default is 1\n .snapshotsEnabled(false) // default is true\n .logGroup(new LogGroup(this, \"LogGroup\"))\n .build();",
|
|
513
545
|
"version": "1"
|
|
514
546
|
},
|
|
547
|
+
"go": {
|
|
548
|
+
"source": "var bucket bucket\nflinkApp := flink.NewApplication(this, jsii.String(\"Application\"), &applicationProps{\n\tcode: flink.applicationCode.fromBucket(bucket, jsii.String(\"my-app.jar\")),\n\truntime: flink.runtime_FLINK_1_13(),\n\tcheckpointingEnabled: jsii.Boolean(true),\n\t // default is true\n\tcheckpointInterval: duration.seconds(jsii.Number(30)),\n\t // default is 1 minute\n\tminPauseBetweenCheckpoints: *duration.seconds(jsii.Number(10)),\n\t // default is 5 seconds\n\tlogLevel: flink.logLevel_ERROR,\n\t // default is INFO\n\tmetricsLevel: flink.metricsLevel_PARALLELISM,\n\t // default is APPLICATION\n\tautoScalingEnabled: jsii.Boolean(false),\n\t // default is true\n\tparallelism: jsii.Number(32),\n\t // default is 1\n\tparallelismPerKpu: jsii.Number(2),\n\t // default is 1\n\tsnapshotsEnabled: jsii.Boolean(false),\n\t // default is true\n\tlogGroup: logs.NewLogGroup(this, jsii.String(\"LogGroup\")),\n})",
|
|
549
|
+
"version": "1"
|
|
550
|
+
},
|
|
515
551
|
"$": {
|
|
516
552
|
"source": "declare const bucket: s3.Bucket;\nconst flinkApp = new flink.Application(this, 'Application', {\n code: flink.ApplicationCode.fromBucket(bucket, 'my-app.jar'),\n runtime: flink.Runtime.FLINK_1_13,\n checkpointingEnabled: true, // default is true\n checkpointInterval: Duration.seconds(30), // default is 1 minute\n minPauseBetweenCheckpoints: Duration.seconds(10), // default is 5 seconds\n logLevel: flink.LogLevel.ERROR, // default is INFO\n metricsLevel: flink.MetricsLevel.PARALLELISM, // default is APPLICATION\n autoScalingEnabled: false, // default is true\n parallelism: 32, // default is 1\n parallelismPerKpu: 2, // default is 1\n snapshotsEnabled: false, // default is true\n logGroup: new logs.LogGroup(this, 'LogGroup'), // by default, a new LogGroup will be created\n});",
|
|
517
553
|
"version": "0"
|
|
@@ -565,7 +601,7 @@
|
|
|
565
601
|
"281": 12,
|
|
566
602
|
"290": 1
|
|
567
603
|
},
|
|
568
|
-
"fqnsFingerprint": "
|
|
604
|
+
"fqnsFingerprint": "248889d95acbaf87907cd8392703ddd2e21056c5d2ecc1d0109ad35b9ad79e2d"
|
|
569
605
|
},
|
|
570
606
|
"a94ad28544ed0016129662e03839c1aca389daa6e2fbe9408ada860f2e2f6118": {
|
|
571
607
|
"translations": {
|
|
@@ -581,6 +617,10 @@
|
|
|
581
617
|
"source": "Bucket bucket;\n\nApplication flinkApp = Application.Builder.create(this, \"Application\")\n .code(ApplicationCode.fromBucket(bucket, \"my-app.jar\"))\n .runtime(Runtime.FLINK_1_13)\n .checkpointingEnabled(true) // default is true\n .checkpointInterval(Duration.seconds(30)) // default is 1 minute\n .minPauseBetweenCheckpoints(Duration.seconds(10)) // default is 5 seconds\n .logLevel(LogLevel.ERROR) // default is INFO\n .metricsLevel(MetricsLevel.PARALLELISM) // default is APPLICATION\n .autoScalingEnabled(false) // default is true\n .parallelism(32) // default is 1\n .parallelismPerKpu(2) // default is 1\n .snapshotsEnabled(false) // default is true\n .logGroup(new LogGroup(this, \"LogGroup\"))\n .build();",
|
|
582
618
|
"version": "1"
|
|
583
619
|
},
|
|
620
|
+
"go": {
|
|
621
|
+
"source": "var bucket bucket\nflinkApp := flink.NewApplication(this, jsii.String(\"Application\"), &applicationProps{\n\tcode: flink.applicationCode.fromBucket(bucket, jsii.String(\"my-app.jar\")),\n\truntime: flink.runtime_FLINK_1_13(),\n\tcheckpointingEnabled: jsii.Boolean(true),\n\t // default is true\n\tcheckpointInterval: duration.seconds(jsii.Number(30)),\n\t // default is 1 minute\n\tminPauseBetweenCheckpoints: *duration.seconds(jsii.Number(10)),\n\t // default is 5 seconds\n\tlogLevel: flink.logLevel_ERROR,\n\t // default is INFO\n\tmetricsLevel: flink.metricsLevel_PARALLELISM,\n\t // default is APPLICATION\n\tautoScalingEnabled: jsii.Boolean(false),\n\t // default is true\n\tparallelism: jsii.Number(32),\n\t // default is 1\n\tparallelismPerKpu: jsii.Number(2),\n\t // default is 1\n\tsnapshotsEnabled: jsii.Boolean(false),\n\t // default is true\n\tlogGroup: logs.NewLogGroup(this, jsii.String(\"LogGroup\")),\n})",
|
|
622
|
+
"version": "1"
|
|
623
|
+
},
|
|
584
624
|
"$": {
|
|
585
625
|
"source": "declare const bucket: s3.Bucket;\nconst flinkApp = new flink.Application(this, 'Application', {\n code: flink.ApplicationCode.fromBucket(bucket, 'my-app.jar'),\n runtime: flink.Runtime.FLINK_1_13,\n checkpointingEnabled: true, // default is true\n checkpointInterval: Duration.seconds(30), // default is 1 minute\n minPauseBetweenCheckpoints: Duration.seconds(10), // default is 5 seconds\n logLevel: flink.LogLevel.ERROR, // default is INFO\n metricsLevel: flink.MetricsLevel.PARALLELISM, // default is APPLICATION\n autoScalingEnabled: false, // default is true\n parallelism: 32, // default is 1\n parallelismPerKpu: 2, // default is 1\n snapshotsEnabled: false, // default is true\n logGroup: new logs.LogGroup(this, 'LogGroup'), // by default, a new LogGroup will be created\n});",
|
|
586
626
|
"version": "0"
|
|
@@ -634,7 +674,7 @@
|
|
|
634
674
|
"281": 12,
|
|
635
675
|
"290": 1
|
|
636
676
|
},
|
|
637
|
-
"fqnsFingerprint": "
|
|
677
|
+
"fqnsFingerprint": "248889d95acbaf87907cd8392703ddd2e21056c5d2ecc1d0109ad35b9ad79e2d"
|
|
638
678
|
},
|
|
639
679
|
"3cbce467c559b4b2193c6d43044ee77d743570e180a72fd2b7be41f9bd408a5d": {
|
|
640
680
|
"translations": {
|
|
@@ -650,6 +690,10 @@
|
|
|
650
690
|
"source": "Bucket bucket;\n\nApplication flinkApp = Application.Builder.create(this, \"Application\")\n .propertyGroups(PropertyGroups.builder()\n .FlinkApplicationProperties(Map.of(\n \"inputStreamName\", \"my-input-kinesis-stream\",\n \"outputStreamName\", \"my-output-kinesis-stream\"))\n .build())\n // ...\n .runtime(Runtime.FLINK_1_13)\n .code(ApplicationCode.fromBucket(bucket, \"my-app.jar\"))\n .build();",
|
|
651
691
|
"version": "1"
|
|
652
692
|
},
|
|
693
|
+
"go": {
|
|
694
|
+
"source": "var bucket bucket\nflinkApp := flink.NewApplication(this, jsii.String(\"Application\"), &applicationProps{\n\tpropertyGroups: &propertyGroups{\n\t\tflinkApplicationProperties: map[string]*string{\n\t\t\t\"inputStreamName\": jsii.String(\"my-input-kinesis-stream\"),\n\t\t\t\"outputStreamName\": jsii.String(\"my-output-kinesis-stream\"),\n\t\t},\n\t},\n\t// ...\n\truntime: flink.runtime_FLINK_1_13(),\n\tcode: flink.applicationCode.fromBucket(bucket, jsii.String(\"my-app.jar\")),\n})",
|
|
695
|
+
"version": "1"
|
|
696
|
+
},
|
|
653
697
|
"$": {
|
|
654
698
|
"source": "declare const bucket: s3.Bucket;\nconst flinkApp = new flink.Application(this, 'Application', {\n propertyGroups: {\n FlinkApplicationProperties: {\n inputStreamName: 'my-input-kinesis-stream',\n outputStreamName: 'my-output-kinesis-stream',\n },\n },\n // ...\n runtime: flink.Runtime.FLINK_1_13,\n code: flink.ApplicationCode.fromBucket(bucket, 'my-app.jar'),\n});",
|
|
655
699
|
"version": "0"
|
|
@@ -693,7 +737,7 @@
|
|
|
693
737
|
"281": 6,
|
|
694
738
|
"290": 1
|
|
695
739
|
},
|
|
696
|
-
"fqnsFingerprint": "
|
|
740
|
+
"fqnsFingerprint": "06ccedd4b0bf1d0128ba38434208f68f7ae55695935254d27e06557a2144c356"
|
|
697
741
|
},
|
|
698
742
|
"9cbf636e0ee0c5440ee463e3364076764774e829e2091e22b96ba2a7dd17b5d6": {
|
|
699
743
|
"translations": {
|
|
@@ -709,6 +753,10 @@
|
|
|
709
753
|
"source": "import path.*;\nimport software.amazon.awscdk.*;\nimport software.amazon.awscdk.services.kinesisanalytics.flink.alpha.*;\n\nApp app = new App();\nStack stack = new Stack(app, \"FlinkAppTest\");\n\nApplication.Builder.create(stack, \"App\")\n .code(ApplicationCode.fromAsset(join(__dirname, \"code-asset\")))\n .runtime(Runtime.FLINK_1_11)\n .build();\n\napp.synth();",
|
|
710
754
|
"version": "1"
|
|
711
755
|
},
|
|
756
|
+
"go": {
|
|
757
|
+
"source": "import path \"github.com/aws-samples/dummy/path\"import core \"github.com/aws/aws-cdk-go/awscdk\"import flink \"github.com/aws/aws-cdk-go/awscdkkinesisanalyticsflinkalpha\"\n\napp := core.NewApp()\nstack := core.NewStack(app, jsii.String(\"FlinkAppTest\"))\n\nflink.NewApplication(stack, jsii.String(\"App\"), &applicationProps{\n\tcode: flink.applicationCode.fromAsset(path.join(__dirname, jsii.String(\"code-asset\"))),\n\truntime: flink.runtime_FLINK_1_11(),\n})\n\napp.synth()",
|
|
758
|
+
"version": "1"
|
|
759
|
+
},
|
|
712
760
|
"$": {
|
|
713
761
|
"source": "import * as path from 'path';\nimport * as core from 'aws-cdk-lib';\nimport * as flink from '../lib';\n\nconst app = new core.App();\nconst stack = new core.Stack(app, 'FlinkAppTest');\n\nnew flink.Application(stack, 'App', {\n code: flink.ApplicationCode.fromAsset(path.join(__dirname, 'code-asset')),\n runtime: flink.Runtime.FLINK_1_11,\n});\n///! hide\n\napp.synth();",
|
|
714
762
|
"version": "0"
|
|
@@ -753,7 +801,7 @@
|
|
|
753
801
|
"281": 2,
|
|
754
802
|
"290": 1
|
|
755
803
|
},
|
|
756
|
-
"fqnsFingerprint": "
|
|
804
|
+
"fqnsFingerprint": "3f2c8416933965cf5954264640c7c8b08057262941397a9ba7e8ad8fa07fcc2f"
|
|
757
805
|
}
|
|
758
806
|
}
|
|
759
807
|
}
|
package/lib/application-code.js
CHANGED
|
@@ -34,7 +34,7 @@ class ApplicationCode {
|
|
|
34
34
|
}
|
|
35
35
|
exports.ApplicationCode = ApplicationCode;
|
|
36
36
|
_a = JSII_RTTI_SYMBOL_1;
|
|
37
|
-
ApplicationCode[_a] = { fqn: "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCode", version: "2.
|
|
37
|
+
ApplicationCode[_a] = { fqn: "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCode", version: "2.18.0-alpha.0" };
|
|
38
38
|
class BucketApplicationCode extends ApplicationCode {
|
|
39
39
|
constructor(props) {
|
|
40
40
|
super();
|
package/lib/application.js
CHANGED
|
@@ -141,7 +141,7 @@ class Application extends ApplicationBase {
|
|
|
141
141
|
}
|
|
142
142
|
exports.Application = Application;
|
|
143
143
|
_a = JSII_RTTI_SYMBOL_1;
|
|
144
|
-
Application[_a] = { fqn: "@aws-cdk/aws-kinesisanalytics-flink-alpha.Application", version: "2.
|
|
144
|
+
Application[_a] = { fqn: "@aws-cdk/aws-kinesisanalytics-flink-alpha.Application", version: "2.18.0-alpha.0" };
|
|
145
145
|
function applicationArnComponents(resourceName) {
|
|
146
146
|
return {
|
|
147
147
|
service: 'kinesisanalytics',
|
package/lib/types.js
CHANGED
|
@@ -45,7 +45,7 @@ class Runtime {
|
|
|
45
45
|
}
|
|
46
46
|
exports.Runtime = Runtime;
|
|
47
47
|
_a = JSII_RTTI_SYMBOL_1;
|
|
48
|
-
Runtime[_a] = { fqn: "@aws-cdk/aws-kinesisanalytics-flink-alpha.Runtime", version: "2.
|
|
48
|
+
Runtime[_a] = { fqn: "@aws-cdk/aws-kinesisanalytics-flink-alpha.Runtime", version: "2.18.0-alpha.0" };
|
|
49
49
|
/** Flink Version 1.6 */
|
|
50
50
|
Runtime.FLINK_1_6 = Runtime.of('FLINK-1_6');
|
|
51
51
|
/** Flink Version 1.8 */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/aws-kinesisanalytics-flink-alpha",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.0-alpha.0",
|
|
4
4
|
"description": "A CDK Construct Library for Kinesis Analytics Flink applications",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -77,18 +77,18 @@
|
|
|
77
77
|
},
|
|
78
78
|
"license": "Apache-2.0",
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@aws-cdk/cdk-build-tools": "2.
|
|
81
|
-
"@aws-cdk/cdk-integ-tools": "2.
|
|
82
|
-
"@aws-cdk/pkglint": "2.
|
|
80
|
+
"@aws-cdk/cdk-build-tools": "2.18.0",
|
|
81
|
+
"@aws-cdk/cdk-integ-tools": "2.18.0",
|
|
82
|
+
"@aws-cdk/pkglint": "2.18.0",
|
|
83
83
|
"@types/jest": "^27.4.1",
|
|
84
84
|
"jest": "^27.5.1",
|
|
85
|
-
"aws-cdk-lib": "2.
|
|
85
|
+
"aws-cdk-lib": "2.18.0",
|
|
86
86
|
"constructs": "^10.0.0"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {},
|
|
89
89
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
90
90
|
"peerDependencies": {
|
|
91
|
-
"aws-cdk-lib": "^2.
|
|
91
|
+
"aws-cdk-lib": "^2.18.0",
|
|
92
92
|
"constructs": "^10.0.0"
|
|
93
93
|
},
|
|
94
94
|
"engines": {
|