@aws-cdk/aws-kinesisanalytics-flink-alpha 2.4.0-alpha.0 → 2.8.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 +3 -3
- package/.jsii.tabl.json +31 -31
- package/lib/application-code.js +1 -1
- package/lib/application.js +1 -1
- package/lib/types.js +1 -1
- package/package.json +8 -8
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.8.0",
|
|
12
12
|
"constructs": "^10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -2855,7 +2855,7 @@
|
|
|
2855
2855
|
"stability": "experimental"
|
|
2856
2856
|
},
|
|
2857
2857
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
2858
|
-
"jsiiVersion": "1.
|
|
2858
|
+
"jsiiVersion": "1.52.1 (build 5ccc8f6)",
|
|
2859
2859
|
"keywords": [
|
|
2860
2860
|
"aws",
|
|
2861
2861
|
"cdk",
|
|
@@ -3991,6 +3991,6 @@
|
|
|
3991
3991
|
"symbolId": "lib/types:Runtime"
|
|
3992
3992
|
}
|
|
3993
3993
|
},
|
|
3994
|
-
"version": "2.
|
|
3994
|
+
"version": "2.8.0-alpha.0",
|
|
3995
3995
|
"fingerprint": "**********"
|
|
3996
3996
|
}
|
package/.jsii.tabl.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2",
|
|
3
|
-
"toolVersion": "1.
|
|
3
|
+
"toolVersion": "1.52.1",
|
|
4
4
|
"snippets": {
|
|
5
5
|
"1a833610ab1ce77e0ec4d91ced57ffe07cf491d38460b172a29a87f3fcfe4354": {
|
|
6
6
|
"translations": {
|
|
7
7
|
"python": {
|
|
8
8
|
"source": "import path as path\nimport aws_cdk as core\nimport aws_cdk.aws_kinesisanalytics_flink_alpha as flink\n\napp = core.App()\nstack = core.Stack(app, \"FlinkAppTest\")\n\nflink.Application(stack, \"App\",\n code=flink.ApplicationCode.from_asset(path.join(__dirname, \"code-asset\")),\n runtime=flink.Runtime.FLINK_1_11\n)\n\napp.synth()",
|
|
9
|
-
"version": "
|
|
9
|
+
"version": "2"
|
|
10
10
|
},
|
|
11
11
|
"csharp": {
|
|
12
12
|
"source": "using Path;\nusing Amazon.CDK;\nusing Amazon.CDK.AWS.Kinesisanalytics.Flink.Alpha;\n\nApp app = new App();\nStack stack = new Stack(app, \"FlinkAppTest\");\n\nnew Application(stack, \"App\", new ApplicationProps {\n Code = ApplicationCode.FromAsset(Join(__dirname, \"code-asset\")),\n Runtime = Runtime.FLINK_1_11\n});\n\napp.Synth();",
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
"281": 2,
|
|
62
62
|
"290": 1
|
|
63
63
|
},
|
|
64
|
-
"fqnsFingerprint": "
|
|
64
|
+
"fqnsFingerprint": "d2183a3df6dc7fec4bf7190fde733661e3d63be63b172f16e2e10d385ac21e75"
|
|
65
65
|
},
|
|
66
66
|
"5f07703f347c0152a5b08697fae3d12084359084156d88a0ad7c5ea5248beae6": {
|
|
67
67
|
"translations": {
|
|
68
68
|
"python": {
|
|
69
69
|
"source": "import path as path\nimport aws_cdk.aws_s3_assets as assets\nimport aws_cdk as core\nimport aws_cdk.aws_kinesisanalytics_flink_alpha as flink\n\napp = core.App()\nstack = core.Stack(app, \"FlinkAppCodeFromBucketTest\")\n\nasset = assets.Asset(stack, \"CodeAsset\",\n path=path.join(__dirname, \"code-asset\")\n)\nbucket = asset.bucket\nfile_key = asset.s3_object_key\n\nflink.Application(stack, \"App\",\n code=flink.ApplicationCode.from_bucket(bucket, file_key),\n runtime=flink.Runtime.FLINK_1_11\n)\n\napp.synth()",
|
|
70
|
-
"version": "
|
|
70
|
+
"version": "2"
|
|
71
71
|
},
|
|
72
72
|
"csharp": {
|
|
73
73
|
"source": "using Path;\nusing Amazon.CDK.AWS.S3.Assets;\nusing Amazon.CDK;\nusing Amazon.CDK.AWS.Kinesisanalytics.Flink.Alpha;\n\nApp app = new App();\nStack stack = new Stack(app, \"FlinkAppCodeFromBucketTest\");\n\nAsset asset = new Asset(stack, \"CodeAsset\", new AssetProps {\n Path = Join(__dirname, \"code-asset\")\n});\nIBucket bucket = asset.Bucket;\nstring fileKey = asset.S3ObjectKey;\n\nnew Application(stack, \"App\", new ApplicationProps {\n Code = ApplicationCode.FromBucket(bucket, fileKey),\n Runtime = Runtime.FLINK_1_11\n});\n\napp.Synth();",
|
|
@@ -127,13 +127,13 @@
|
|
|
127
127
|
"281": 3,
|
|
128
128
|
"290": 1
|
|
129
129
|
},
|
|
130
|
-
"fqnsFingerprint": "
|
|
130
|
+
"fqnsFingerprint": "cc09b6e523d883a152235fd7b403c26292241adfc8fe7dee6deccbcf1ccb1266"
|
|
131
131
|
},
|
|
132
132
|
"bf19da6d0c3c17ef8c8bb9b4dff2184be744c50282bcb81d96d93597fb7c6d68": {
|
|
133
133
|
"translations": {
|
|
134
134
|
"python": {
|
|
135
|
-
"source": "# bucket
|
|
136
|
-
"version": "
|
|
135
|
+
"source": "# bucket: s3.Bucket\n\nflink_app = flink.Application(self, \"Application\",\n property_groups=flink.PropertyGroups(\n FlinkApplicationProperties={\n \"input_stream_name\": \"my-input-kinesis-stream\",\n \"output_stream_name\": \"my-output-kinesis-stream\"\n }\n ),\n # ...\n runtime=flink.Runtime.FLINK_1_13,\n code=flink.ApplicationCode.from_bucket(bucket, \"my-app.jar\")\n)",
|
|
136
|
+
"version": "2"
|
|
137
137
|
},
|
|
138
138
|
"csharp": {
|
|
139
139
|
"source": "Bucket bucket;\n\nApplication flinkApp = new Application(this, \"Application\", new ApplicationProps {\n PropertyGroups = new PropertyGroups {\n FlinkApplicationProperties = new Dictionary<string, string> {\n { \"inputStreamName\", \"my-input-kinesis-stream\" },\n { \"outputStreamName\", \"my-output-kinesis-stream\" }\n }\n },\n // ...\n Runtime = Runtime.FLINK_1_13,\n Code = ApplicationCode.FromBucket(bucket, \"my-app.jar\")\n});",
|
|
@@ -187,13 +187,13 @@
|
|
|
187
187
|
"281": 6,
|
|
188
188
|
"290": 1
|
|
189
189
|
},
|
|
190
|
-
"fqnsFingerprint": "
|
|
190
|
+
"fqnsFingerprint": "ad877a23a7af23bac60edfe0954fdee065c88413c0f612519d22fccb8d60496b"
|
|
191
191
|
},
|
|
192
192
|
"89eccab115fe1f1739ae6ec49d75f867b155e31391f5356ee827dff3d8772f59": {
|
|
193
193
|
"translations": {
|
|
194
194
|
"python": {
|
|
195
|
-
"source": "# bucket
|
|
196
|
-
"version": "
|
|
195
|
+
"source": "# bucket: s3.Bucket\n\nflink_app = flink.Application(self, \"Application\",\n code=flink.ApplicationCode.from_bucket(bucket, \"my-app.jar\"),\n runtime=flink.Runtime.FLINK_1_13,\n checkpointing_enabled=True, # default is true\n checkpoint_interval=Duration.seconds(30), # default is 1 minute\n min_pause_between_checkpoints=Duration.seconds(10), # default is 5 seconds\n log_level=flink.LogLevel.ERROR, # default is INFO\n metrics_level=flink.MetricsLevel.PARALLELISM, # default is APPLICATION\n auto_scaling_enabled=False, # default is true\n parallelism=32, # default is 1\n parallelism_per_kpu=2, # default is 1\n snapshots_enabled=False, # default is true\n log_group=logs.LogGroup(self, \"LogGroup\")\n)",
|
|
196
|
+
"version": "2"
|
|
197
197
|
},
|
|
198
198
|
"csharp": {
|
|
199
199
|
"source": "Bucket bucket;\n\nApplication flinkApp = new Application(this, \"Application\", new ApplicationProps {\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});",
|
|
@@ -257,13 +257,13 @@
|
|
|
257
257
|
"281": 12,
|
|
258
258
|
"290": 1
|
|
259
259
|
},
|
|
260
|
-
"fqnsFingerprint": "
|
|
260
|
+
"fqnsFingerprint": "9fac25c16a4aa914ff4b3eafcad40f7989d87d302c7571a5539ef94003a29b0b"
|
|
261
261
|
},
|
|
262
262
|
"7cf96eadff395813aa548e39bea07f2f7ee382f7d312e3a5d8f383e1d35305ef": {
|
|
263
263
|
"translations": {
|
|
264
264
|
"python": {
|
|
265
265
|
"source": "import path as path\nimport aws_cdk as core\nimport aws_cdk.aws_kinesisanalytics_flink_alpha as flink\n\napp = core.App()\nstack = core.Stack(app, \"FlinkAppTest\")\n\nflink.Application(stack, \"App\",\n code=flink.ApplicationCode.from_asset(path.join(__dirname, \"code-asset\")),\n runtime=flink.Runtime.FLINK_1_11\n)\n\napp.synth()",
|
|
266
|
-
"version": "
|
|
266
|
+
"version": "2"
|
|
267
267
|
},
|
|
268
268
|
"csharp": {
|
|
269
269
|
"source": "using Path;\nusing Amazon.CDK;\nusing Amazon.CDK.AWS.Kinesisanalytics.Flink.Alpha;\n\nApp app = new App();\nStack stack = new Stack(app, \"FlinkAppTest\");\n\nnew Application(stack, \"App\", new ApplicationProps {\n Code = ApplicationCode.FromAsset(Join(__dirname, \"code-asset\")),\n Runtime = Runtime.FLINK_1_11\n});\n\napp.Synth();",
|
|
@@ -317,13 +317,13 @@
|
|
|
317
317
|
"281": 2,
|
|
318
318
|
"290": 1
|
|
319
319
|
},
|
|
320
|
-
"fqnsFingerprint": "
|
|
320
|
+
"fqnsFingerprint": "d2183a3df6dc7fec4bf7190fde733661e3d63be63b172f16e2e10d385ac21e75"
|
|
321
321
|
},
|
|
322
322
|
"3b68af57c32b8058b455206cc3282c0d8dbeb499b50c6e0553a097c9497eb3f5": {
|
|
323
323
|
"translations": {
|
|
324
324
|
"python": {
|
|
325
325
|
"source": "import path as path\nimport aws_cdk as core\nimport aws_cdk.aws_kinesisanalytics_flink_alpha as flink\n\napp = core.App()\nstack = core.Stack(app, \"FlinkAppTest\")\n\nflink.Application(stack, \"App\",\n code=flink.ApplicationCode.from_asset(path.join(__dirname, \"code-asset\")),\n runtime=flink.Runtime.FLINK_1_11\n)\n\napp.synth()",
|
|
326
|
-
"version": "
|
|
326
|
+
"version": "2"
|
|
327
327
|
},
|
|
328
328
|
"csharp": {
|
|
329
329
|
"source": "using Path;\nusing Amazon.CDK;\nusing Amazon.CDK.AWS.Kinesisanalytics.Flink.Alpha;\n\nApp app = new App();\nStack stack = new Stack(app, \"FlinkAppTest\");\n\nnew Application(stack, \"App\", new ApplicationProps {\n Code = ApplicationCode.FromAsset(Join(__dirname, \"code-asset\")),\n Runtime = Runtime.FLINK_1_11\n});\n\napp.Synth();",
|
|
@@ -377,13 +377,13 @@
|
|
|
377
377
|
"281": 2,
|
|
378
378
|
"290": 1
|
|
379
379
|
},
|
|
380
|
-
"fqnsFingerprint": "
|
|
380
|
+
"fqnsFingerprint": "d2183a3df6dc7fec4bf7190fde733661e3d63be63b172f16e2e10d385ac21e75"
|
|
381
381
|
},
|
|
382
382
|
"966827986094fa5eb687f9111aa23a0837692f4dc9706e95d08fae90fe310dd5": {
|
|
383
383
|
"translations": {
|
|
384
384
|
"python": {
|
|
385
|
-
"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_kinesisanalytics_flink_alpha as kinesisanalytics_flink_alpha\nfrom aws_cdk import aws_s3 as s3\n\n# bucket
|
|
386
|
-
"version": "
|
|
385
|
+
"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_kinesisanalytics_flink_alpha as kinesisanalytics_flink_alpha\nfrom aws_cdk import aws_s3 as s3\n\n# bucket: s3.Bucket\n# property_map: Any\n\napplication_code_config = kinesisanalytics_flink_alpha.ApplicationCodeConfig(\n application_code_configuration_property=ApplicationConfigurationProperty(\n application_code_configuration=ApplicationCodeConfigurationProperty(\n code_content=CodeContentProperty(\n s3_content_location=S3ContentLocationProperty(\n bucket_arn=\"bucketArn\",\n file_key=\"fileKey\",\n object_version=\"objectVersion\"\n ),\n text_content=\"textContent\",\n zip_file_content=\"zipFileContent\"\n ),\n code_content_type=\"codeContentType\"\n ),\n application_snapshot_configuration=ApplicationSnapshotConfigurationProperty(\n snapshots_enabled=False\n ),\n environment_properties=EnvironmentPropertiesProperty(\n property_groups=[PropertyGroupProperty(\n property_group_id=\"propertyGroupId\",\n property_map=property_map\n )]\n ),\n flink_application_configuration=FlinkApplicationConfigurationProperty(\n checkpoint_configuration=CheckpointConfigurationProperty(\n configuration_type=\"configurationType\",\n\n # the properties below are optional\n checkpointing_enabled=False,\n checkpoint_interval=123,\n min_pause_between_checkpoints=123\n ),\n monitoring_configuration=MonitoringConfigurationProperty(\n configuration_type=\"configurationType\",\n\n # the properties below are optional\n log_level=\"logLevel\",\n metrics_level=\"metricsLevel\"\n ),\n parallelism_configuration=ParallelismConfigurationProperty(\n configuration_type=\"configurationType\",\n\n # the properties below are optional\n auto_scaling_enabled=False,\n parallelism=123,\n parallelism_per_kpu=123\n )\n ),\n sql_application_configuration=SqlApplicationConfigurationProperty(\n inputs=[InputProperty(\n input_schema=InputSchemaProperty(\n record_columns=[RecordColumnProperty(\n name=\"name\",\n sql_type=\"sqlType\",\n\n # the properties below are optional\n mapping=\"mapping\"\n )],\n record_format=RecordFormatProperty(\n record_format_type=\"recordFormatType\",\n\n # the properties below are optional\n mapping_parameters=MappingParametersProperty(\n csv_mapping_parameters=CSVMappingParametersProperty(\n record_column_delimiter=\"recordColumnDelimiter\",\n record_row_delimiter=\"recordRowDelimiter\"\n ),\n json_mapping_parameters=JSONMappingParametersProperty(\n record_row_path=\"recordRowPath\"\n )\n )\n ),\n\n # the properties below are optional\n record_encoding=\"recordEncoding\"\n ),\n name_prefix=\"namePrefix\",\n\n # the properties below are optional\n input_parallelism=InputParallelismProperty(\n count=123\n ),\n input_processing_configuration=InputProcessingConfigurationProperty(\n input_lambda_processor=InputLambdaProcessorProperty(\n resource_arn=\"resourceArn\"\n )\n ),\n kinesis_firehose_input=KinesisFirehoseInputProperty(\n resource_arn=\"resourceArn\"\n ),\n kinesis_streams_input=KinesisStreamsInputProperty(\n resource_arn=\"resourceArn\"\n )\n )]\n ),\n zeppelin_application_configuration=ZeppelinApplicationConfigurationProperty(\n catalog_configuration=CatalogConfigurationProperty(\n glue_data_catalog_configuration=GlueDataCatalogConfigurationProperty(\n database_arn=\"databaseArn\"\n )\n ),\n custom_artifacts_configuration=[CustomArtifactConfigurationProperty(\n artifact_type=\"artifactType\",\n\n # the properties below are optional\n maven_reference=MavenReferenceProperty(\n artifact_id=\"artifactId\",\n group_id=\"groupId\",\n version=\"version\"\n ),\n s3_content_location=S3ContentLocationProperty(\n bucket_arn=\"bucketArn\",\n file_key=\"fileKey\",\n object_version=\"objectVersion\"\n )\n )],\n deploy_as_application_configuration=DeployAsApplicationConfigurationProperty(\n s3_content_location=S3ContentBaseLocationProperty(\n base_path=\"basePath\",\n bucket_arn=\"bucketArn\"\n )\n ),\n monitoring_configuration=ZeppelinMonitoringConfigurationProperty(\n log_level=\"logLevel\"\n )\n )\n ),\n bucket=bucket\n)",
|
|
386
|
+
"version": "2"
|
|
387
387
|
},
|
|
388
388
|
"csharp": {
|
|
389
389
|
"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.Kinesisanalytics.Flink.Alpha;\nusing Amazon.CDK.AWS.S3;\n\nBucket bucket;\nvar propertyMap;\n\nApplicationCodeConfig applicationCodeConfig = new ApplicationCodeConfig {\n ApplicationCodeConfigurationProperty = new ApplicationConfigurationProperty {\n ApplicationCodeConfiguration = new ApplicationCodeConfigurationProperty {\n CodeContent = new CodeContentProperty {\n S3ContentLocation = new S3ContentLocationProperty {\n BucketArn = \"bucketArn\",\n FileKey = \"fileKey\",\n ObjectVersion = \"objectVersion\"\n },\n TextContent = \"textContent\",\n ZipFileContent = \"zipFileContent\"\n },\n CodeContentType = \"codeContentType\"\n },\n ApplicationSnapshotConfiguration = new ApplicationSnapshotConfigurationProperty {\n SnapshotsEnabled = false\n },\n EnvironmentProperties = new EnvironmentPropertiesProperty {\n PropertyGroups = new [] { new PropertyGroupProperty {\n PropertyGroupId = \"propertyGroupId\",\n PropertyMap = propertyMap\n } }\n },\n FlinkApplicationConfiguration = new FlinkApplicationConfigurationProperty {\n CheckpointConfiguration = new CheckpointConfigurationProperty {\n ConfigurationType = \"configurationType\",\n\n // the properties below are optional\n CheckpointingEnabled = false,\n CheckpointInterval = 123,\n MinPauseBetweenCheckpoints = 123\n },\n MonitoringConfiguration = new MonitoringConfigurationProperty {\n ConfigurationType = \"configurationType\",\n\n // the properties below are optional\n LogLevel = \"logLevel\",\n MetricsLevel = \"metricsLevel\"\n },\n ParallelismConfiguration = new ParallelismConfigurationProperty {\n ConfigurationType = \"configurationType\",\n\n // the properties below are optional\n AutoScalingEnabled = false,\n Parallelism = 123,\n ParallelismPerKpu = 123\n }\n },\n SqlApplicationConfiguration = new SqlApplicationConfigurationProperty {\n Inputs = new [] { new InputProperty {\n InputSchema = new InputSchemaProperty {\n RecordColumns = new [] { new RecordColumnProperty {\n Name = \"name\",\n SqlType = \"sqlType\",\n\n // the properties below are optional\n Mapping = \"mapping\"\n } },\n RecordFormat = new RecordFormatProperty {\n RecordFormatType = \"recordFormatType\",\n\n // the properties below are optional\n MappingParameters = new MappingParametersProperty {\n CsvMappingParameters = new CSVMappingParametersProperty {\n RecordColumnDelimiter = \"recordColumnDelimiter\",\n RecordRowDelimiter = \"recordRowDelimiter\"\n },\n JsonMappingParameters = new JSONMappingParametersProperty {\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 = new InputParallelismProperty {\n Count = 123\n },\n InputProcessingConfiguration = new InputProcessingConfigurationProperty {\n InputLambdaProcessor = new InputLambdaProcessorProperty {\n ResourceArn = \"resourceArn\"\n }\n },\n KinesisFirehoseInput = new KinesisFirehoseInputProperty {\n ResourceArn = \"resourceArn\"\n },\n KinesisStreamsInput = new KinesisStreamsInputProperty {\n ResourceArn = \"resourceArn\"\n }\n } }\n },\n ZeppelinApplicationConfiguration = new ZeppelinApplicationConfigurationProperty {\n CatalogConfiguration = new CatalogConfigurationProperty {\n GlueDataCatalogConfiguration = new GlueDataCatalogConfigurationProperty {\n DatabaseArn = \"databaseArn\"\n }\n },\n CustomArtifactsConfiguration = new [] { new CustomArtifactConfigurationProperty {\n ArtifactType = \"artifactType\",\n\n // the properties below are optional\n MavenReference = new MavenReferenceProperty {\n ArtifactId = \"artifactId\",\n GroupId = \"groupId\",\n Version = \"version\"\n },\n S3ContentLocation = new S3ContentLocationProperty {\n BucketArn = \"bucketArn\",\n FileKey = \"fileKey\",\n ObjectVersion = \"objectVersion\"\n }\n } },\n DeployAsApplicationConfiguration = new DeployAsApplicationConfigurationProperty {\n S3ContentLocation = new S3ContentBaseLocationProperty {\n BasePath = \"basePath\",\n BucketArn = \"bucketArn\"\n }\n },\n MonitoringConfiguration = new ZeppelinMonitoringConfigurationProperty {\n LogLevel = \"logLevel\"\n }\n }\n },\n Bucket = bucket\n};",
|
|
@@ -436,13 +436,13 @@
|
|
|
436
436
|
"281": 78,
|
|
437
437
|
"290": 1
|
|
438
438
|
},
|
|
439
|
-
"fqnsFingerprint": "
|
|
439
|
+
"fqnsFingerprint": "e99a48a24d7691256d8d59662bb698c8d44a6dc99709265479783bfb88265220"
|
|
440
440
|
},
|
|
441
441
|
"cdf99cf34c5b63c6bcc5d3aa7ddde62de179caf49787abfa705d45716f865ad3": {
|
|
442
442
|
"translations": {
|
|
443
443
|
"python": {
|
|
444
444
|
"source": "import path as path\nimport aws_cdk as core\nimport aws_cdk.aws_kinesisanalytics_flink_alpha as flink\n\napp = core.App()\nstack = core.Stack(app, \"FlinkAppTest\")\n\nflink.Application(stack, \"App\",\n code=flink.ApplicationCode.from_asset(path.join(__dirname, \"code-asset\")),\n runtime=flink.Runtime.FLINK_1_11\n)\n\napp.synth()",
|
|
445
|
-
"version": "
|
|
445
|
+
"version": "2"
|
|
446
446
|
},
|
|
447
447
|
"csharp": {
|
|
448
448
|
"source": "using Path;\nusing Amazon.CDK;\nusing Amazon.CDK.AWS.Kinesisanalytics.Flink.Alpha;\n\nApp app = new App();\nStack stack = new Stack(app, \"FlinkAppTest\");\n\nnew Application(stack, \"App\", new ApplicationProps {\n Code = ApplicationCode.FromAsset(Join(__dirname, \"code-asset\")),\n Runtime = Runtime.FLINK_1_11\n});\n\napp.Synth();",
|
|
@@ -496,13 +496,13 @@
|
|
|
496
496
|
"281": 2,
|
|
497
497
|
"290": 1
|
|
498
498
|
},
|
|
499
|
-
"fqnsFingerprint": "
|
|
499
|
+
"fqnsFingerprint": "d2183a3df6dc7fec4bf7190fde733661e3d63be63b172f16e2e10d385ac21e75"
|
|
500
500
|
},
|
|
501
501
|
"f5a80bf7918161f368caffc9a6e746a80127884d119326e5bcb6a4e0faa4e616": {
|
|
502
502
|
"translations": {
|
|
503
503
|
"python": {
|
|
504
|
-
"source": "# bucket
|
|
505
|
-
"version": "
|
|
504
|
+
"source": "# bucket: s3.Bucket\n\nflink_app = flink.Application(self, \"Application\",\n code=flink.ApplicationCode.from_bucket(bucket, \"my-app.jar\"),\n runtime=flink.Runtime.FLINK_1_13,\n checkpointing_enabled=True, # default is true\n checkpoint_interval=Duration.seconds(30), # default is 1 minute\n min_pause_between_checkpoints=Duration.seconds(10), # default is 5 seconds\n log_level=flink.LogLevel.ERROR, # default is INFO\n metrics_level=flink.MetricsLevel.PARALLELISM, # default is APPLICATION\n auto_scaling_enabled=False, # default is true\n parallelism=32, # default is 1\n parallelism_per_kpu=2, # default is 1\n snapshots_enabled=False, # default is true\n log_group=logs.LogGroup(self, \"LogGroup\")\n)",
|
|
505
|
+
"version": "2"
|
|
506
506
|
},
|
|
507
507
|
"csharp": {
|
|
508
508
|
"source": "Bucket bucket;\n\nApplication flinkApp = new Application(this, \"Application\", new ApplicationProps {\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});",
|
|
@@ -565,13 +565,13 @@
|
|
|
565
565
|
"281": 12,
|
|
566
566
|
"290": 1
|
|
567
567
|
},
|
|
568
|
-
"fqnsFingerprint": "
|
|
568
|
+
"fqnsFingerprint": "9fac25c16a4aa914ff4b3eafcad40f7989d87d302c7571a5539ef94003a29b0b"
|
|
569
569
|
},
|
|
570
570
|
"a94ad28544ed0016129662e03839c1aca389daa6e2fbe9408ada860f2e2f6118": {
|
|
571
571
|
"translations": {
|
|
572
572
|
"python": {
|
|
573
|
-
"source": "# bucket
|
|
574
|
-
"version": "
|
|
573
|
+
"source": "# bucket: s3.Bucket\n\nflink_app = flink.Application(self, \"Application\",\n code=flink.ApplicationCode.from_bucket(bucket, \"my-app.jar\"),\n runtime=flink.Runtime.FLINK_1_13,\n checkpointing_enabled=True, # default is true\n checkpoint_interval=Duration.seconds(30), # default is 1 minute\n min_pause_between_checkpoints=Duration.seconds(10), # default is 5 seconds\n log_level=flink.LogLevel.ERROR, # default is INFO\n metrics_level=flink.MetricsLevel.PARALLELISM, # default is APPLICATION\n auto_scaling_enabled=False, # default is true\n parallelism=32, # default is 1\n parallelism_per_kpu=2, # default is 1\n snapshots_enabled=False, # default is true\n log_group=logs.LogGroup(self, \"LogGroup\")\n)",
|
|
574
|
+
"version": "2"
|
|
575
575
|
},
|
|
576
576
|
"csharp": {
|
|
577
577
|
"source": "Bucket bucket;\n\nApplication flinkApp = new Application(this, \"Application\", new ApplicationProps {\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});",
|
|
@@ -634,13 +634,13 @@
|
|
|
634
634
|
"281": 12,
|
|
635
635
|
"290": 1
|
|
636
636
|
},
|
|
637
|
-
"fqnsFingerprint": "
|
|
637
|
+
"fqnsFingerprint": "9fac25c16a4aa914ff4b3eafcad40f7989d87d302c7571a5539ef94003a29b0b"
|
|
638
638
|
},
|
|
639
639
|
"3cbce467c559b4b2193c6d43044ee77d743570e180a72fd2b7be41f9bd408a5d": {
|
|
640
640
|
"translations": {
|
|
641
641
|
"python": {
|
|
642
|
-
"source": "# bucket
|
|
643
|
-
"version": "
|
|
642
|
+
"source": "# bucket: s3.Bucket\n\nflink_app = flink.Application(self, \"Application\",\n property_groups=flink.PropertyGroups(\n FlinkApplicationProperties={\n \"input_stream_name\": \"my-input-kinesis-stream\",\n \"output_stream_name\": \"my-output-kinesis-stream\"\n }\n ),\n # ...\n runtime=flink.Runtime.FLINK_1_13,\n code=flink.ApplicationCode.from_bucket(bucket, \"my-app.jar\")\n)",
|
|
643
|
+
"version": "2"
|
|
644
644
|
},
|
|
645
645
|
"csharp": {
|
|
646
646
|
"source": "Bucket bucket;\n\nApplication flinkApp = new Application(this, \"Application\", new ApplicationProps {\n PropertyGroups = new PropertyGroups {\n FlinkApplicationProperties = new Dictionary<string, string> {\n { \"inputStreamName\", \"my-input-kinesis-stream\" },\n { \"outputStreamName\", \"my-output-kinesis-stream\" }\n }\n },\n // ...\n Runtime = Runtime.FLINK_1_13,\n Code = ApplicationCode.FromBucket(bucket, \"my-app.jar\")\n});",
|
|
@@ -693,13 +693,13 @@
|
|
|
693
693
|
"281": 6,
|
|
694
694
|
"290": 1
|
|
695
695
|
},
|
|
696
|
-
"fqnsFingerprint": "
|
|
696
|
+
"fqnsFingerprint": "ad877a23a7af23bac60edfe0954fdee065c88413c0f612519d22fccb8d60496b"
|
|
697
697
|
},
|
|
698
698
|
"9cbf636e0ee0c5440ee463e3364076764774e829e2091e22b96ba2a7dd17b5d6": {
|
|
699
699
|
"translations": {
|
|
700
700
|
"python": {
|
|
701
701
|
"source": "import path as path\nimport aws_cdk as core\nimport aws_cdk.aws_kinesisanalytics_flink_alpha as flink\n\napp = core.App()\nstack = core.Stack(app, \"FlinkAppTest\")\n\nflink.Application(stack, \"App\",\n code=flink.ApplicationCode.from_asset(path.join(__dirname, \"code-asset\")),\n runtime=flink.Runtime.FLINK_1_11\n)\n\napp.synth()",
|
|
702
|
-
"version": "
|
|
702
|
+
"version": "2"
|
|
703
703
|
},
|
|
704
704
|
"csharp": {
|
|
705
705
|
"source": "using Path;\nusing Amazon.CDK;\nusing Amazon.CDK.AWS.Kinesisanalytics.Flink.Alpha;\n\nApp app = new App();\nStack stack = new Stack(app, \"FlinkAppTest\");\n\nnew Application(stack, \"App\", new ApplicationProps {\n Code = ApplicationCode.FromAsset(Join(__dirname, \"code-asset\")),\n Runtime = Runtime.FLINK_1_11\n});\n\napp.Synth();",
|
|
@@ -753,7 +753,7 @@
|
|
|
753
753
|
"281": 2,
|
|
754
754
|
"290": 1
|
|
755
755
|
},
|
|
756
|
-
"fqnsFingerprint": "
|
|
756
|
+
"fqnsFingerprint": "d2183a3df6dc7fec4bf7190fde733661e3d63be63b172f16e2e10d385ac21e75"
|
|
757
757
|
}
|
|
758
758
|
}
|
|
759
759
|
}
|
package/lib/application-code.js
CHANGED
|
@@ -38,7 +38,7 @@ class ApplicationCode {
|
|
|
38
38
|
}
|
|
39
39
|
exports.ApplicationCode = ApplicationCode;
|
|
40
40
|
_a = JSII_RTTI_SYMBOL_1;
|
|
41
|
-
ApplicationCode[_a] = { fqn: "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCode", version: "2.
|
|
41
|
+
ApplicationCode[_a] = { fqn: "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCode", version: "2.8.0-alpha.0" };
|
|
42
42
|
class BucketApplicationCode extends ApplicationCode {
|
|
43
43
|
constructor(props) {
|
|
44
44
|
super();
|
package/lib/application.js
CHANGED
|
@@ -150,7 +150,7 @@ class Application extends ApplicationBase {
|
|
|
150
150
|
}
|
|
151
151
|
exports.Application = Application;
|
|
152
152
|
_a = JSII_RTTI_SYMBOL_1;
|
|
153
|
-
Application[_a] = { fqn: "@aws-cdk/aws-kinesisanalytics-flink-alpha.Application", version: "2.
|
|
153
|
+
Application[_a] = { fqn: "@aws-cdk/aws-kinesisanalytics-flink-alpha.Application", version: "2.8.0-alpha.0" };
|
|
154
154
|
function applicationArnComponents(resourceName) {
|
|
155
155
|
return {
|
|
156
156
|
service: 'kinesisanalytics',
|
package/lib/types.js
CHANGED
|
@@ -47,7 +47,7 @@ class Runtime {
|
|
|
47
47
|
}
|
|
48
48
|
exports.Runtime = Runtime;
|
|
49
49
|
_a = JSII_RTTI_SYMBOL_1;
|
|
50
|
-
Runtime[_a] = { fqn: "@aws-cdk/aws-kinesisanalytics-flink-alpha.Runtime", version: "2.
|
|
50
|
+
Runtime[_a] = { fqn: "@aws-cdk/aws-kinesisanalytics-flink-alpha.Runtime", version: "2.8.0-alpha.0" };
|
|
51
51
|
/**
|
|
52
52
|
* (experimental) Flink Version 1.6.
|
|
53
53
|
*
|
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.8.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.
|
|
83
|
-
"@types/jest": "^27.0
|
|
84
|
-
"jest": "^27.4.
|
|
85
|
-
"aws-cdk-lib": "2.
|
|
80
|
+
"@aws-cdk/cdk-build-tools": "2.8.0",
|
|
81
|
+
"@aws-cdk/cdk-integ-tools": "2.8.0",
|
|
82
|
+
"@aws-cdk/pkglint": "2.8.0",
|
|
83
|
+
"@types/jest": "^27.4.0",
|
|
84
|
+
"jest": "^27.4.7",
|
|
85
|
+
"aws-cdk-lib": "2.8.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.8.0",
|
|
92
92
|
"constructs": "^10.0.0"
|
|
93
93
|
},
|
|
94
94
|
"engines": {
|