@aws-cdk/aws-kinesisanalytics-flink-alpha 2.23.0-alpha.0 → 2.25.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 +24 -24
- package/lib/application-code.js +1 -1
- package/lib/application.js +1 -1
- package/lib/types.js +1 -1
- package/package.json +7 -7
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.25.0",
|
|
12
12
|
"constructs": "^10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -2719,6 +2719,19 @@
|
|
|
2719
2719
|
}
|
|
2720
2720
|
}
|
|
2721
2721
|
},
|
|
2722
|
+
"aws-cdk-lib.aws_voiceid": {
|
|
2723
|
+
"targets": {
|
|
2724
|
+
"dotnet": {
|
|
2725
|
+
"namespace": "Amazon.CDK.AWS.VoiceID"
|
|
2726
|
+
},
|
|
2727
|
+
"java": {
|
|
2728
|
+
"package": "software.amazon.awscdk.services.voiceid"
|
|
2729
|
+
},
|
|
2730
|
+
"python": {
|
|
2731
|
+
"module": "aws_cdk.aws_voiceid"
|
|
2732
|
+
}
|
|
2733
|
+
}
|
|
2734
|
+
},
|
|
2722
2735
|
"aws-cdk-lib.aws_waf": {
|
|
2723
2736
|
"targets": {
|
|
2724
2737
|
"dotnet": {
|
|
@@ -2985,7 +2998,7 @@
|
|
|
2985
2998
|
"stability": "experimental"
|
|
2986
2999
|
},
|
|
2987
3000
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
2988
|
-
"jsiiVersion": "1.
|
|
3001
|
+
"jsiiVersion": "1.58.0 (build f8ba112)",
|
|
2989
3002
|
"keywords": [
|
|
2990
3003
|
"aws",
|
|
2991
3004
|
"cdk",
|
|
@@ -5597,6 +5610,6 @@
|
|
|
5597
5610
|
"symbolId": "lib/types:Runtime"
|
|
5598
5611
|
}
|
|
5599
5612
|
},
|
|
5600
|
-
"version": "2.
|
|
5613
|
+
"version": "2.25.0-alpha.0",
|
|
5601
5614
|
"fingerprint": "**********"
|
|
5602
5615
|
}
|
package/.jsii.tabl.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2",
|
|
3
|
-
"toolVersion": "1.
|
|
3
|
+
"toolVersion": "1.58.0",
|
|
4
4
|
"snippets": {
|
|
5
5
|
"9a83f66cbf84472b059f9283cb21ed0820f418f3e22bfb64fb9a058bb150a807": {
|
|
6
6
|
"translations": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"version": "1"
|
|
18
18
|
},
|
|
19
19
|
"go": {
|
|
20
|
-
"source": "import path \"github.com/aws-samples/dummy/path\"
|
|
20
|
+
"source": "import path \"github.com/aws-samples/dummy/path\"\nimport core \"github.com/aws/aws-cdk-go/awscdk\"\nimport flink \"github.com/aws/aws-cdk-go/awscdkkinesisanalyticsflinkalpha\"\nimport cloudwatch \"github.com/aws/aws-cdk-go/awscdk\"\n\napp := core.NewApp()\nstack := core.NewStack(app, jsii.String(\"FlinkAppTest\"))\n\nflinkApp := flink.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\ncloudwatch.NewAlarm(stack, jsii.String(\"Alarm\"), &alarmProps{\n\tmetric: flinkApp.metricFullRestarts(),\n\tevaluationPeriods: jsii.Number(1),\n\tthreshold: jsii.Number(3),\n})\n\napp.synth()",
|
|
21
21
|
"version": "1"
|
|
22
22
|
},
|
|
23
23
|
"$": {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"281": 5,
|
|
70
70
|
"290": 1
|
|
71
71
|
},
|
|
72
|
-
"fqnsFingerprint": "
|
|
72
|
+
"fqnsFingerprint": "455265ecbbda8cbbafa49453b36c1eea529c1c15bebe9790160b19182677c551"
|
|
73
73
|
},
|
|
74
74
|
"5f07703f347c0152a5b08697fae3d12084359084156d88a0ad7c5ea5248beae6": {
|
|
75
75
|
"translations": {
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"version": "1"
|
|
87
87
|
},
|
|
88
88
|
"go": {
|
|
89
|
-
"source": "import path \"github.com/aws-samples/dummy/path\"
|
|
89
|
+
"source": "import path \"github.com/aws-samples/dummy/path\"\nimport assets \"github.com/aws/aws-cdk-go/awscdk\"\nimport core \"github.com/aws/aws-cdk-go/awscdk\"\nimport 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()",
|
|
90
90
|
"version": "1"
|
|
91
91
|
},
|
|
92
92
|
"$": {
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"281": 3,
|
|
140
140
|
"290": 1
|
|
141
141
|
},
|
|
142
|
-
"fqnsFingerprint": "
|
|
142
|
+
"fqnsFingerprint": "400272e7ad0ac80bbff8a1e1fe9213d471d42d144133deeda0de3a446c54c0bf"
|
|
143
143
|
},
|
|
144
144
|
"bf19da6d0c3c17ef8c8bb9b4dff2184be744c50282bcb81d96d93597fb7c6d68": {
|
|
145
145
|
"translations": {
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"version": "1"
|
|
157
157
|
},
|
|
158
158
|
"go": {
|
|
159
|
-
"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})",
|
|
159
|
+
"source": "var bucket bucket\n\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})",
|
|
160
160
|
"version": "1"
|
|
161
161
|
},
|
|
162
162
|
"$": {
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
"281": 6,
|
|
204
204
|
"290": 1
|
|
205
205
|
},
|
|
206
|
-
"fqnsFingerprint": "
|
|
206
|
+
"fqnsFingerprint": "3f1e79fc97bb9c6306a1971aaafd199cb908f5de7792f25e170264369620b820"
|
|
207
207
|
},
|
|
208
208
|
"89eccab115fe1f1739ae6ec49d75f867b155e31391f5356ee827dff3d8772f59": {
|
|
209
209
|
"translations": {
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
"version": "1"
|
|
221
221
|
},
|
|
222
222
|
"go": {
|
|
223
|
-
"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:
|
|
223
|
+
"source": "var bucket bucket\n\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: awscdk.Duration.seconds(jsii.Number(30)),\n\t // default is 1 minute\n\tminPauseBetweenCheckpoints: awscdk.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})",
|
|
224
224
|
"version": "1"
|
|
225
225
|
},
|
|
226
226
|
"$": {
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
"281": 12,
|
|
278
278
|
"290": 1
|
|
279
279
|
},
|
|
280
|
-
"fqnsFingerprint": "
|
|
280
|
+
"fqnsFingerprint": "ca4d2642ad6f122eda5d5e56405d9a46c16d342d4dcfa091f088bd48e95a52f6"
|
|
281
281
|
},
|
|
282
282
|
"1f695bb437a6b0dcbbd5ec89b0235d02f1434fd5c6e52c2a003278fbf17fd5fc": {
|
|
283
283
|
"translations": {
|
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
"version": "1"
|
|
295
295
|
},
|
|
296
296
|
"go": {
|
|
297
|
-
"source": "import path \"github.com/aws-samples/dummy/path\"
|
|
297
|
+
"source": "import path \"github.com/aws-samples/dummy/path\"\nimport core \"github.com/aws/aws-cdk-go/awscdk\"\nimport flink \"github.com/aws/aws-cdk-go/awscdkkinesisanalyticsflinkalpha\"\nimport cloudwatch \"github.com/aws/aws-cdk-go/awscdk\"\n\napp := core.NewApp()\nstack := core.NewStack(app, jsii.String(\"FlinkAppTest\"))\n\nflinkApp := flink.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\ncloudwatch.NewAlarm(stack, jsii.String(\"Alarm\"), &alarmProps{\n\tmetric: flinkApp.metricFullRestarts(),\n\tevaluationPeriods: jsii.Number(1),\n\tthreshold: jsii.Number(3),\n})\n\napp.synth()",
|
|
298
298
|
"version": "1"
|
|
299
299
|
},
|
|
300
300
|
"$": {
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
"281": 5,
|
|
346
346
|
"290": 1
|
|
347
347
|
},
|
|
348
|
-
"fqnsFingerprint": "
|
|
348
|
+
"fqnsFingerprint": "455265ecbbda8cbbafa49453b36c1eea529c1c15bebe9790160b19182677c551"
|
|
349
349
|
},
|
|
350
350
|
"3ecbdecf5da207f5163b6892635f8a765480875b6a858a6791b0f2562518680d": {
|
|
351
351
|
"translations": {
|
|
@@ -362,7 +362,7 @@
|
|
|
362
362
|
"version": "1"
|
|
363
363
|
},
|
|
364
364
|
"go": {
|
|
365
|
-
"source": "import path \"github.com/aws-samples/dummy/path\"
|
|
365
|
+
"source": "import path \"github.com/aws-samples/dummy/path\"\nimport core \"github.com/aws/aws-cdk-go/awscdk\"\nimport flink \"github.com/aws/aws-cdk-go/awscdkkinesisanalyticsflinkalpha\"\nimport cloudwatch \"github.com/aws/aws-cdk-go/awscdk\"\n\napp := core.NewApp()\nstack := core.NewStack(app, jsii.String(\"FlinkAppTest\"))\n\nflinkApp := flink.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\ncloudwatch.NewAlarm(stack, jsii.String(\"Alarm\"), &alarmProps{\n\tmetric: flinkApp.metricFullRestarts(),\n\tevaluationPeriods: jsii.Number(1),\n\tthreshold: jsii.Number(3),\n})\n\napp.synth()",
|
|
366
366
|
"version": "1"
|
|
367
367
|
},
|
|
368
368
|
"$": {
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
"281": 5,
|
|
414
414
|
"290": 1
|
|
415
415
|
},
|
|
416
|
-
"fqnsFingerprint": "
|
|
416
|
+
"fqnsFingerprint": "455265ecbbda8cbbafa49453b36c1eea529c1c15bebe9790160b19182677c551"
|
|
417
417
|
},
|
|
418
418
|
"966827986094fa5eb687f9111aa23a0837692f4dc9706e95d08fae90fe310dd5": {
|
|
419
419
|
"translations": {
|
|
@@ -430,7 +430,7 @@
|
|
|
430
430
|
"version": "1"
|
|
431
431
|
},
|
|
432
432
|
"go": {
|
|
433
|
-
"source": "
|
|
433
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport kinesisanalytics_flink_alpha \"github.com/aws/aws-cdk-go/awscdkkinesisanalyticsflinkalpha\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar bucket bucket\nvar propertyMap interface{}\n\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}",
|
|
434
434
|
"version": "1"
|
|
435
435
|
},
|
|
436
436
|
"$": {
|
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
"version": "1"
|
|
494
494
|
},
|
|
495
495
|
"go": {
|
|
496
|
-
"source": "import path \"github.com/aws-samples/dummy/path\"
|
|
496
|
+
"source": "import path \"github.com/aws-samples/dummy/path\"\nimport core \"github.com/aws/aws-cdk-go/awscdk\"\nimport flink \"github.com/aws/aws-cdk-go/awscdkkinesisanalyticsflinkalpha\"\nimport cloudwatch \"github.com/aws/aws-cdk-go/awscdk\"\n\napp := core.NewApp()\nstack := core.NewStack(app, jsii.String(\"FlinkAppTest\"))\n\nflinkApp := flink.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\ncloudwatch.NewAlarm(stack, jsii.String(\"Alarm\"), &alarmProps{\n\tmetric: flinkApp.metricFullRestarts(),\n\tevaluationPeriods: jsii.Number(1),\n\tthreshold: jsii.Number(3),\n})\n\napp.synth()",
|
|
497
497
|
"version": "1"
|
|
498
498
|
},
|
|
499
499
|
"$": {
|
|
@@ -544,7 +544,7 @@
|
|
|
544
544
|
"281": 5,
|
|
545
545
|
"290": 1
|
|
546
546
|
},
|
|
547
|
-
"fqnsFingerprint": "
|
|
547
|
+
"fqnsFingerprint": "455265ecbbda8cbbafa49453b36c1eea529c1c15bebe9790160b19182677c551"
|
|
548
548
|
},
|
|
549
549
|
"f5a80bf7918161f368caffc9a6e746a80127884d119326e5bcb6a4e0faa4e616": {
|
|
550
550
|
"translations": {
|
|
@@ -561,7 +561,7 @@
|
|
|
561
561
|
"version": "1"
|
|
562
562
|
},
|
|
563
563
|
"go": {
|
|
564
|
-
"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:
|
|
564
|
+
"source": "var bucket bucket\n\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: awscdk.Duration.seconds(jsii.Number(30)),\n\t // default is 1 minute\n\tminPauseBetweenCheckpoints: awscdk.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})",
|
|
565
565
|
"version": "1"
|
|
566
566
|
},
|
|
567
567
|
"$": {
|
|
@@ -617,7 +617,7 @@
|
|
|
617
617
|
"281": 12,
|
|
618
618
|
"290": 1
|
|
619
619
|
},
|
|
620
|
-
"fqnsFingerprint": "
|
|
620
|
+
"fqnsFingerprint": "ca4d2642ad6f122eda5d5e56405d9a46c16d342d4dcfa091f088bd48e95a52f6"
|
|
621
621
|
},
|
|
622
622
|
"a94ad28544ed0016129662e03839c1aca389daa6e2fbe9408ada860f2e2f6118": {
|
|
623
623
|
"translations": {
|
|
@@ -634,7 +634,7 @@
|
|
|
634
634
|
"version": "1"
|
|
635
635
|
},
|
|
636
636
|
"go": {
|
|
637
|
-
"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:
|
|
637
|
+
"source": "var bucket bucket\n\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: awscdk.Duration.seconds(jsii.Number(30)),\n\t // default is 1 minute\n\tminPauseBetweenCheckpoints: awscdk.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})",
|
|
638
638
|
"version": "1"
|
|
639
639
|
},
|
|
640
640
|
"$": {
|
|
@@ -690,7 +690,7 @@
|
|
|
690
690
|
"281": 12,
|
|
691
691
|
"290": 1
|
|
692
692
|
},
|
|
693
|
-
"fqnsFingerprint": "
|
|
693
|
+
"fqnsFingerprint": "ca4d2642ad6f122eda5d5e56405d9a46c16d342d4dcfa091f088bd48e95a52f6"
|
|
694
694
|
},
|
|
695
695
|
"3cbce467c559b4b2193c6d43044ee77d743570e180a72fd2b7be41f9bd408a5d": {
|
|
696
696
|
"translations": {
|
|
@@ -707,7 +707,7 @@
|
|
|
707
707
|
"version": "1"
|
|
708
708
|
},
|
|
709
709
|
"go": {
|
|
710
|
-
"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})",
|
|
710
|
+
"source": "var bucket bucket\n\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})",
|
|
711
711
|
"version": "1"
|
|
712
712
|
},
|
|
713
713
|
"$": {
|
|
@@ -753,7 +753,7 @@
|
|
|
753
753
|
"281": 6,
|
|
754
754
|
"290": 1
|
|
755
755
|
},
|
|
756
|
-
"fqnsFingerprint": "
|
|
756
|
+
"fqnsFingerprint": "3f1e79fc97bb9c6306a1971aaafd199cb908f5de7792f25e170264369620b820"
|
|
757
757
|
},
|
|
758
758
|
"4d1d063082d19882e21e3008971314ed896e2345636682b928ca5d4e41ba8ad5": {
|
|
759
759
|
"translations": {
|
|
@@ -770,7 +770,7 @@
|
|
|
770
770
|
"version": "1"
|
|
771
771
|
},
|
|
772
772
|
"go": {
|
|
773
|
-
"source": "import path \"github.com/aws-samples/dummy/path\"
|
|
773
|
+
"source": "import path \"github.com/aws-samples/dummy/path\"\nimport core \"github.com/aws/aws-cdk-go/awscdk\"\nimport flink \"github.com/aws/aws-cdk-go/awscdkkinesisanalyticsflinkalpha\"\nimport cloudwatch \"github.com/aws/aws-cdk-go/awscdk\"\n\napp := core.NewApp()\nstack := core.NewStack(app, jsii.String(\"FlinkAppTest\"))\n\nflinkApp := flink.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\ncloudwatch.NewAlarm(stack, jsii.String(\"Alarm\"), &alarmProps{\n\tmetric: flinkApp.metricFullRestarts(),\n\tevaluationPeriods: jsii.Number(1),\n\tthreshold: jsii.Number(3),\n})\n\napp.synth()",
|
|
774
774
|
"version": "1"
|
|
775
775
|
},
|
|
776
776
|
"$": {
|
|
@@ -821,7 +821,7 @@
|
|
|
821
821
|
"281": 5,
|
|
822
822
|
"290": 1
|
|
823
823
|
},
|
|
824
|
-
"fqnsFingerprint": "
|
|
824
|
+
"fqnsFingerprint": "455265ecbbda8cbbafa49453b36c1eea529c1c15bebe9790160b19182677c551"
|
|
825
825
|
}
|
|
826
826
|
}
|
|
827
827
|
}
|
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.25.0-alpha.0" };
|
|
38
38
|
class BucketApplicationCode extends ApplicationCode {
|
|
39
39
|
constructor(props) {
|
|
40
40
|
super();
|
package/lib/application.js
CHANGED
|
@@ -481,7 +481,7 @@ class Application extends ApplicationBase {
|
|
|
481
481
|
}
|
|
482
482
|
exports.Application = Application;
|
|
483
483
|
_a = JSII_RTTI_SYMBOL_1;
|
|
484
|
-
Application[_a] = { fqn: "@aws-cdk/aws-kinesisanalytics-flink-alpha.Application", version: "2.
|
|
484
|
+
Application[_a] = { fqn: "@aws-cdk/aws-kinesisanalytics-flink-alpha.Application", version: "2.25.0-alpha.0" };
|
|
485
485
|
function applicationArnComponents(resourceName) {
|
|
486
486
|
return {
|
|
487
487
|
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.25.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.25.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/integ-runner": "2.
|
|
82
|
-
"@aws-cdk/pkglint": "2.
|
|
83
|
-
"@types/jest": "^27.
|
|
80
|
+
"@aws-cdk/cdk-build-tools": "2.25.0",
|
|
81
|
+
"@aws-cdk/integ-runner": "2.25.0",
|
|
82
|
+
"@aws-cdk/pkglint": "2.25.0",
|
|
83
|
+
"@types/jest": "^27.5.0",
|
|
84
84
|
"jest": "^27.5.1",
|
|
85
|
-
"aws-cdk-lib": "2.
|
|
85
|
+
"aws-cdk-lib": "2.25.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.25.0",
|
|
92
92
|
"constructs": "^10.0.0"
|
|
93
93
|
},
|
|
94
94
|
"engines": {
|