@aws-cdk/aws-kinesisanalytics-flink-alpha 2.18.0-alpha.0 → 2.21.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 CHANGED
@@ -8,7 +8,7 @@
8
8
  "url": "https://aws.amazon.com"
9
9
  },
10
10
  "dependencies": {
11
- "aws-cdk-lib": "^2.18.0",
11
+ "aws-cdk-lib": "^2.21.0",
12
12
  "constructs": "^10.0.0"
13
13
  },
14
14
  "dependencyClosure": {
@@ -1913,6 +1913,19 @@
1913
1913
  }
1914
1914
  }
1915
1915
  },
1916
+ "aws-cdk-lib.aws_mediatailor": {
1917
+ "targets": {
1918
+ "dotnet": {
1919
+ "namespace": "Amazon.CDK.AWS.MediaTailor"
1920
+ },
1921
+ "java": {
1922
+ "package": "software.amazon.awscdk.services.mediatailor"
1923
+ },
1924
+ "python": {
1925
+ "module": "aws_cdk.aws_mediatailor"
1926
+ }
1927
+ }
1928
+ },
1916
1929
  "aws-cdk-lib.aws_memorydb": {
1917
1930
  "targets": {
1918
1931
  "dotnet": {
@@ -2959,7 +2972,7 @@
2959
2972
  "stability": "experimental"
2960
2973
  },
2961
2974
  "homepage": "https://github.com/aws/aws-cdk",
2962
- "jsiiVersion": "1.55.1 (build 07d2d90)",
2975
+ "jsiiVersion": "1.57.0 (build f614666)",
2963
2976
  "keywords": [
2964
2977
  "aws",
2965
2978
  "cdk",
@@ -2982,7 +2995,7 @@
2982
2995
  },
2983
2996
  "name": "@aws-cdk/aws-kinesisanalytics-flink-alpha",
2984
2997
  "readme": {
2985
- "markdown": "# Kinesis Analytics Flink\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\nThis package provides constructs for creating Kinesis Analytics Flink\napplications. To learn more about using using managed Flink applications, see\nthe [AWS developer\nguide](https://docs.aws.amazon.com/kinesisanalytics/latest/java/what-is.html).\n\n## Creating Flink Applications\n\nTo create a new Flink application, use the `Application` construct:\n\n```ts lit=test/integ.application.lit.ts\n///! show\nimport * 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();\n\n```\n\nThe `code` property can use `fromAsset` as shown above to reference a local jar\nfile in s3 or `fromBucket` to reference a file in s3.\n\n```ts lit=test/integ.application-code-from-bucket.lit.ts\nimport * 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();\n\n```\n\nThe `propertyGroups` property provides a way of passing arbitrary runtime\nproperties to your Flink application. You can use the\naws-kinesisanalytics-runtime library to [retrieve these\nproperties](https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-properties.html#how-properties-access).\n\n```ts\ndeclare 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});\n```\n\nFlink applications also have specific configuration for passing parameters\nwhen the Flink job starts. These include parameters for checkpointing,\nsnapshotting, monitoring, and parallelism.\n\n```ts\ndeclare 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});\n```\n"
2998
+ "markdown": "# Kinesis Analytics Flink\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\nThis package provides constructs for creating Kinesis Analytics Flink\napplications. To learn more about using using managed Flink applications, see\nthe [AWS developer\nguide](https://docs.aws.amazon.com/kinesisanalytics/latest/java/).\n\n## Creating Flink Applications\n\nTo create a new Flink application, use the `Application` construct:\n\n```ts lit=test/integ.application.lit.ts\n///! show\nimport * as path from 'path';\nimport * as core from 'aws-cdk-lib';\nimport * as flink from '../lib';\nimport * as cloudwatch from 'aws-cdk-lib/aws-cloudwatch';\n\nconst app = new core.App();\nconst stack = new core.Stack(app, 'FlinkAppTest');\n\nconst flinkApp = new flink.Application(stack, 'App', {\n code: flink.ApplicationCode.fromAsset(path.join(__dirname, 'code-asset')),\n runtime: flink.Runtime.FLINK_1_11,\n});\n\nnew cloudwatch.Alarm(stack, 'Alarm', {\n metric: flinkApp.metricFullRestarts(),\n evaluationPeriods: 1,\n threshold: 3,\n});\n///! hide\n\napp.synth();\n\n```\n\nThe `code` property can use `fromAsset` as shown above to reference a local jar\nfile in s3 or `fromBucket` to reference a file in s3.\n\n```ts lit=test/integ.application-code-from-bucket.lit.ts\nimport * 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();\n\n```\n\nThe `propertyGroups` property provides a way of passing arbitrary runtime\nproperties to your Flink application. You can use the\naws-kinesisanalytics-runtime library to [retrieve these\nproperties](https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-properties.html#how-properties-access).\n\n```ts\ndeclare 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});\n```\n\nFlink applications also have specific configuration for passing parameters\nwhen the Flink job starts. These include parameters for checkpointing,\nsnapshotting, monitoring, and parallelism.\n\n```ts\ndeclare 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});\n```\n"
2986
2999
  },
2987
3000
  "repository": {
2988
3001
  "directory": "packages/individual-packages/aws-kinesisanalytics-flink",
@@ -3013,7 +3026,7 @@
3013
3026
  "python": {
3014
3027
  "classifiers": [
3015
3028
  "Framework :: AWS CDK",
3016
- "Framework :: AWS CDK :: 1"
3029
+ "Framework :: AWS CDK :: 2"
3017
3030
  ],
3018
3031
  "distName": "aws-cdk.aws-kinesisanalytics-flink-alpha",
3019
3032
  "module": "aws_cdk.aws_kinesisanalytics_flink_alpha"
@@ -3028,7 +3041,7 @@
3028
3041
  "exampleMetadata": "lit=test/integ.application.lit.ts ! show infused",
3029
3042
  "resource": "AWS::KinesisAnalyticsV2::Application"
3030
3043
  },
3031
- "example": "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();",
3044
+ "example": "import * as path from 'path';\nimport * as core from 'aws-cdk-lib';\nimport * as flink from '../lib';\nimport * as cloudwatch from 'aws-cdk-lib/aws-cloudwatch';\n\nconst app = new core.App();\nconst stack = new core.Stack(app, 'FlinkAppTest');\n\nconst flinkApp = new flink.Application(stack, 'App', {\n code: flink.ApplicationCode.fromAsset(path.join(__dirname, 'code-asset')),\n runtime: flink.Runtime.FLINK_1_11,\n});\n\nnew cloudwatch.Alarm(stack, 'Alarm', {\n metric: flinkApp.metricFullRestarts(),\n evaluationPeriods: 1,\n threshold: 3,\n});\n///! hide\n\napp.synth();",
3032
3045
  "stability": "experimental",
3033
3046
  "summary": "The L2 construct for Flink Kinesis Data Applications."
3034
3047
  },
@@ -3039,7 +3052,7 @@
3039
3052
  },
3040
3053
  "locationInModule": {
3041
3054
  "filename": "lib/application.ts",
3042
- "line": 246
3055
+ "line": 904
3043
3056
  },
3044
3057
  "parameters": [
3045
3058
  {
@@ -3068,7 +3081,7 @@
3068
3081
  "kind": "class",
3069
3082
  "locationInModule": {
3070
3083
  "filename": "lib/application.ts",
3071
- "line": 214
3084
+ "line": 872
3072
3085
  },
3073
3086
  "methods": [
3074
3087
  {
@@ -3078,7 +3091,7 @@
3078
3091
  },
3079
3092
  "locationInModule": {
3080
3093
  "filename": "lib/application.ts",
3081
- "line": 229
3094
+ "line": 887
3082
3095
  },
3083
3096
  "name": "fromApplicationArn",
3084
3097
  "parameters": [
@@ -3115,7 +3128,7 @@
3115
3128
  },
3116
3129
  "locationInModule": {
3117
3130
  "filename": "lib/application.ts",
3118
- "line": 219
3131
+ "line": 877
3119
3132
  },
3120
3133
  "name": "fromApplicationName",
3121
3134
  "parameters": [
@@ -3152,7 +3165,7 @@
3152
3165
  },
3153
3166
  "locationInModule": {
3154
3167
  "filename": "lib/application.ts",
3155
- "line": 55
3168
+ "line": 355
3156
3169
  },
3157
3170
  "name": "addToRolePolicy",
3158
3171
  "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
@@ -3169,618 +3182,2094 @@
3169
3182
  "primitive": "boolean"
3170
3183
  }
3171
3184
  }
3172
- }
3173
- ],
3174
- "name": "Application",
3175
- "properties": [
3185
+ },
3176
3186
  {
3177
3187
  "docs": {
3178
3188
  "stability": "experimental",
3179
- "summary": "The application ARN."
3189
+ "summary": "Return a CloudWatch metric associated with this Flink application."
3180
3190
  },
3181
- "immutable": true,
3182
3191
  "locationInModule": {
3183
3192
  "filename": "lib/application.ts",
3184
- "line": 238
3193
+ "line": 370
3185
3194
  },
3186
- "name": "applicationArn",
3195
+ "name": "metric",
3187
3196
  "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3188
- "type": {
3189
- "primitive": "string"
3197
+ "parameters": [
3198
+ {
3199
+ "docs": {
3200
+ "summary": "The name of the metric."
3201
+ },
3202
+ "name": "metricName",
3203
+ "type": {
3204
+ "primitive": "string"
3205
+ }
3206
+ },
3207
+ {
3208
+ "docs": {
3209
+ "summary": "Customization properties."
3210
+ },
3211
+ "name": "props",
3212
+ "optional": true,
3213
+ "type": {
3214
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3215
+ }
3216
+ }
3217
+ ],
3218
+ "returns": {
3219
+ "type": {
3220
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3221
+ }
3190
3222
  }
3191
3223
  },
3192
3224
  {
3193
3225
  "docs": {
3226
+ "default": "average over 5 minutes",
3227
+ "remarks": "Units: Milliseconds\n\nReporting Level: Operator, Task, Parallelism",
3194
3228
  "stability": "experimental",
3195
- "summary": "The name of the Flink application."
3229
+ "summary": "The time (in milliseconds) this task or operator is back pressured per second."
3196
3230
  },
3197
- "immutable": true,
3198
3231
  "locationInModule": {
3199
3232
  "filename": "lib/application.ts",
3200
- "line": 239
3233
+ "line": 703
3201
3234
  },
3202
- "name": "applicationName",
3235
+ "name": "metricBackPressuredTimeMsPerSecond",
3203
3236
  "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3204
- "type": {
3205
- "primitive": "string"
3237
+ "parameters": [
3238
+ {
3239
+ "name": "props",
3240
+ "optional": true,
3241
+ "type": {
3242
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3243
+ }
3244
+ }
3245
+ ],
3246
+ "returns": {
3247
+ "type": {
3248
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3249
+ }
3206
3250
  }
3207
3251
  },
3208
3252
  {
3209
3253
  "docs": {
3254
+ "default": "average over 5 minutes",
3255
+ "remarks": "Can be NaN, if the value could not be\ncalculated.\n\nUnits: Milliseconds\n\nReporting Level: Operator, Task, Parallelism",
3210
3256
  "stability": "experimental",
3211
- "summary": "The principal to grant permissions to."
3257
+ "summary": "The time (in milliseconds) this task or operator is busy (neither idle nor back pressured) per second."
3212
3258
  },
3213
- "immutable": true,
3214
3259
  "locationInModule": {
3215
3260
  "filename": "lib/application.ts",
3216
- "line": 244
3261
+ "line": 718
3217
3262
  },
3218
- "name": "grantPrincipal",
3219
- "overrides": "aws-cdk-lib.aws_iam.IGrantable",
3220
- "type": {
3221
- "fqn": "aws-cdk-lib.aws_iam.IPrincipal"
3263
+ "name": "metricBusyTimePerMsPerSecond",
3264
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3265
+ "parameters": [
3266
+ {
3267
+ "name": "props",
3268
+ "optional": true,
3269
+ "type": {
3270
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3271
+ }
3272
+ }
3273
+ ],
3274
+ "returns": {
3275
+ "type": {
3276
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3277
+ }
3222
3278
  }
3223
3279
  },
3224
3280
  {
3225
3281
  "docs": {
3282
+ "default": "average over 5 minutes",
3283
+ "remarks": "For\nexample, if there are five task managers, Kinesis Data Analytics publishes\nfive samples of this metric per reporting interval.\n\nUnits: Percentage\n\nReporting Level: Application",
3226
3284
  "stability": "experimental",
3227
- "summary": "The application IAM role."
3285
+ "summary": "The overall percentage of CPU utilization across task managers."
3228
3286
  },
3229
- "immutable": true,
3230
3287
  "locationInModule": {
3231
3288
  "filename": "lib/application.ts",
3232
- "line": 242
3289
+ "line": 485
3233
3290
  },
3234
- "name": "role",
3235
- "optional": true,
3291
+ "name": "metricCpuUtilization",
3236
3292
  "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3237
- "type": {
3238
- "fqn": "aws-cdk-lib.aws_iam.IRole"
3293
+ "parameters": [
3294
+ {
3295
+ "name": "props",
3296
+ "optional": true,
3297
+ "type": {
3298
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3299
+ }
3300
+ }
3301
+ ],
3302
+ "returns": {
3303
+ "type": {
3304
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3305
+ }
3239
3306
  }
3240
- }
3241
- ],
3242
- "symbolId": "lib/application:Application"
3243
- },
3244
- "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCode": {
3245
- "abstract": true,
3246
- "assembly": "@aws-cdk/aws-kinesisanalytics-flink-alpha",
3247
- "docs": {
3248
- "custom": {
3249
- "exampleMetadata": "lit=test/integ.application.lit.ts ! show infused"
3250
3307
  },
3251
- "example": "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();",
3252
- "stability": "experimental",
3253
- "summary": "Code configuration providing the location to a Flink application JAR file."
3254
- },
3255
- "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCode",
3256
- "initializer": {
3257
- "docs": {
3258
- "stability": "experimental"
3259
- }
3260
- },
3261
- "kind": "class",
3262
- "locationInModule": {
3263
- "filename": "lib/application-code.ts",
3264
- "line": 26
3265
- },
3266
- "methods": [
3267
3308
  {
3268
3309
  "docs": {
3269
- "custom": {
3270
- "parm": "options - standard s3 AssetOptions"
3271
- },
3310
+ "default": "maximum over 5 minutes",
3311
+ "remarks": "Units: Milliseconds\n\nReporting Level: Application, Operator, Task, Parallelism",
3272
3312
  "stability": "experimental",
3273
- "summary": "Reference code from a local directory containing a Flink JAR file."
3313
+ "summary": "The last watermark this application/operator/task/thread has received."
3274
3314
  },
3275
3315
  "locationInModule": {
3276
- "filename": "lib/application-code.ts",
3277
- "line": 48
3316
+ "filename": "lib/application.ts",
3317
+ "line": 622
3278
3318
  },
3279
- "name": "fromAsset",
3319
+ "name": "metricCurrentInputWatermark",
3320
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3280
3321
  "parameters": [
3281
3322
  {
3282
- "docs": {
3283
- "summary": "- a local directory path."
3284
- },
3285
- "name": "path",
3286
- "type": {
3287
- "primitive": "string"
3288
- }
3289
- },
3290
- {
3291
- "name": "options",
3323
+ "name": "props",
3292
3324
  "optional": true,
3293
3325
  "type": {
3294
- "fqn": "aws-cdk-lib.aws_s3_assets.AssetOptions"
3326
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3295
3327
  }
3296
3328
  }
3297
3329
  ],
3298
3330
  "returns": {
3299
3331
  "type": {
3300
- "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCode"
3332
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3301
3333
  }
3302
- },
3303
- "static": true
3334
+ }
3304
3335
  },
3305
3336
  {
3306
3337
  "docs": {
3338
+ "default": "maximum over 5 minutes",
3339
+ "remarks": "Units: Milliseconds\n\nReporting Level: Application, Operator, Task, Parallelism",
3307
3340
  "stability": "experimental",
3308
- "summary": "Reference code from an S3 bucket."
3341
+ "summary": "The last watermark this application/operator/task/thread has received."
3309
3342
  },
3310
3343
  "locationInModule": {
3311
- "filename": "lib/application-code.ts",
3312
- "line": 34
3344
+ "filename": "lib/application.ts",
3345
+ "line": 635
3313
3346
  },
3314
- "name": "fromBucket",
3347
+ "name": "metricCurrentOutputWatermark",
3348
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3315
3349
  "parameters": [
3316
3350
  {
3317
- "docs": {
3318
- "summary": "- an s3 bucket."
3319
- },
3320
- "name": "bucket",
3351
+ "name": "props",
3352
+ "optional": true,
3321
3353
  "type": {
3322
- "fqn": "aws-cdk-lib.aws_s3.IBucket"
3354
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3323
3355
  }
3324
- },
3356
+ }
3357
+ ],
3358
+ "returns": {
3359
+ "type": {
3360
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3361
+ }
3362
+ }
3363
+ },
3364
+ {
3365
+ "docs": {
3366
+ "default": "average over 5 minutes",
3367
+ "remarks": "Units: Milliseconds\n\nReporting Level: Application",
3368
+ "stability": "experimental",
3369
+ "summary": "The time elapsed during an outage for failing/recovering jobs."
3370
+ },
3371
+ "locationInModule": {
3372
+ "filename": "lib/application.ts",
3373
+ "line": 404
3374
+ },
3375
+ "name": "metricDowntime",
3376
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3377
+ "parameters": [
3325
3378
  {
3326
- "docs": {
3327
- "summary": "- a key pointing to a Flink JAR file."
3328
- },
3329
- "name": "fileKey",
3379
+ "name": "props",
3380
+ "optional": true,
3330
3381
  "type": {
3331
- "primitive": "string"
3382
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3332
3383
  }
3333
- },
3384
+ }
3385
+ ],
3386
+ "returns": {
3387
+ "type": {
3388
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3389
+ }
3390
+ }
3391
+ },
3392
+ {
3393
+ "docs": {
3394
+ "default": "sum over 5 minutes",
3395
+ "remarks": "This metric does not measure fine-grained restarts.\n\nUnits: Count\n\nReporting Level: Application",
3396
+ "stability": "experimental",
3397
+ "summary": "The total number of times this job has fully restarted since it was submitted."
3398
+ },
3399
+ "locationInModule": {
3400
+ "filename": "lib/application.ts",
3401
+ "line": 431
3402
+ },
3403
+ "name": "metricFullRestarts",
3404
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3405
+ "parameters": [
3334
3406
  {
3335
- "docs": {
3336
- "summary": "- an optional version string for the provided fileKey."
3337
- },
3338
- "name": "objectVersion",
3407
+ "name": "props",
3339
3408
  "optional": true,
3340
3409
  "type": {
3341
- "primitive": "string"
3410
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3342
3411
  }
3343
3412
  }
3344
3413
  ],
3345
3414
  "returns": {
3346
3415
  "type": {
3347
- "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCode"
3416
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3348
3417
  }
3349
- },
3350
- "static": true
3418
+ }
3351
3419
  },
3352
3420
  {
3353
- "abstract": true,
3354
3421
  "docs": {
3422
+ "default": "average over 5 minutes",
3423
+ "remarks": "For example, if there\nare five task managers, Kinesis Data Analytics publishes five samples of\nthis metric per reporting interval.\n\nUnits: Percentage\n\nReporting Level: Application",
3355
3424
  "stability": "experimental",
3356
- "summary": "A method to lazily bind asset resources to the parent FlinkApplication."
3425
+ "summary": "Overall heap memory utilization across task managers."
3357
3426
  },
3358
3427
  "locationInModule": {
3359
- "filename": "lib/application-code.ts",
3360
- "line": 55
3428
+ "filename": "lib/application.ts",
3429
+ "line": 500
3361
3430
  },
3362
- "name": "bind",
3431
+ "name": "metricHeapMemoryUtilization",
3432
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3363
3433
  "parameters": [
3364
3434
  {
3365
- "name": "scope",
3435
+ "name": "props",
3436
+ "optional": true,
3366
3437
  "type": {
3367
- "fqn": "constructs.Construct"
3438
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3368
3439
  }
3369
3440
  }
3370
3441
  ],
3371
3442
  "returns": {
3372
3443
  "type": {
3373
- "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCodeConfig"
3444
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3374
3445
  }
3375
3446
  }
3376
- }
3377
- ],
3378
- "name": "ApplicationCode",
3379
- "symbolId": "lib/application-code:ApplicationCode"
3380
- },
3381
- "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCodeConfig": {
3382
- "assembly": "@aws-cdk/aws-kinesisanalytics-flink-alpha",
3383
- "datatype": true,
3384
- "docs": {
3385
- "stability": "experimental",
3386
- "summary": "The return type of {@link ApplicationCode.bind}. This represents CloudFormation configuration and an s3 bucket holding the Flink application JAR file.",
3387
- "example": "// 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};",
3388
- "custom": {
3389
- "exampleMetadata": "fixture=_generated"
3390
- }
3391
- },
3392
- "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCodeConfig",
3393
- "kind": "interface",
3394
- "locationInModule": {
3395
- "filename": "lib/application-code.ts",
3396
- "line": 11
3397
- },
3398
- "name": "ApplicationCodeConfig",
3399
- "properties": [
3447
+ },
3400
3448
  {
3401
- "abstract": true,
3402
3449
  "docs": {
3450
+ "default": "average over 5 minutes",
3451
+ "remarks": "Idle time excludes back pressured time, so if the task\nis back pressured it is not idle.\n\nUnits: Milliseconds\n\nReporting Level: Operator, Task, Parallelism",
3403
3452
  "stability": "experimental",
3404
- "summary": "Low-level Cloudformation ApplicationConfigurationProperty."
3453
+ "summary": "The time (in milliseconds) this task or operator is idle (has no data to process) per second."
3405
3454
  },
3406
- "immutable": true,
3407
3455
  "locationInModule": {
3408
- "filename": "lib/application-code.ts",
3409
- "line": 15
3456
+ "filename": "lib/application.ts",
3457
+ "line": 689
3410
3458
  },
3411
- "name": "applicationCodeConfigurationProperty",
3412
- "type": {
3413
- "fqn": "aws-cdk-lib.aws_kinesisanalytics.CfnApplicationV2.ApplicationConfigurationProperty"
3459
+ "name": "metricIdleTimeMsPerSecond",
3460
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3461
+ "parameters": [
3462
+ {
3463
+ "name": "props",
3464
+ "optional": true,
3465
+ "type": {
3466
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3467
+ }
3468
+ }
3469
+ ],
3470
+ "returns": {
3471
+ "type": {
3472
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3473
+ }
3414
3474
  }
3415
3475
  },
3416
3476
  {
3417
- "abstract": true,
3418
3477
  "docs": {
3478
+ "default": "average over 5 minutes",
3479
+ "remarks": "The average number of KPUs used each hour\ndetermines the billing for your application.\n\nUnits: Count\n\nReporting Level: Application",
3419
3480
  "stability": "experimental",
3420
- "summary": "S3 Bucket that stores the Flink application code."
3481
+ "summary": "The number of Kinesis Processing Units that are used to run your stream processing application."
3421
3482
  },
3422
- "immutable": true,
3483
+ "locationInModule": {
3484
+ "filename": "lib/application.ts",
3485
+ "line": 390
3486
+ },
3487
+ "name": "metricKpus",
3488
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3489
+ "parameters": [
3490
+ {
3491
+ "name": "props",
3492
+ "optional": true,
3493
+ "type": {
3494
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3495
+ }
3496
+ }
3497
+ ],
3498
+ "returns": {
3499
+ "type": {
3500
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3501
+ }
3502
+ }
3503
+ },
3504
+ {
3505
+ "docs": {
3506
+ "default": "maximum over 5 minutes",
3507
+ "remarks": "Units: Milliseconds\n\nReporting Level: Application",
3508
+ "stability": "experimental",
3509
+ "summary": "The time it took to complete the last checkpoint."
3510
+ },
3511
+ "locationInModule": {
3512
+ "filename": "lib/application.ts",
3513
+ "line": 457
3514
+ },
3515
+ "name": "metricLastCheckpointDuration",
3516
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3517
+ "parameters": [
3518
+ {
3519
+ "name": "props",
3520
+ "optional": true,
3521
+ "type": {
3522
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3523
+ }
3524
+ }
3525
+ ],
3526
+ "returns": {
3527
+ "type": {
3528
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3529
+ }
3530
+ }
3531
+ },
3532
+ {
3533
+ "docs": {
3534
+ "default": "maximum over 5 minutes",
3535
+ "remarks": "Units: Bytes\n\nReporting Level: Application",
3536
+ "stability": "experimental",
3537
+ "summary": "The total size of the last checkpoint."
3538
+ },
3539
+ "locationInModule": {
3540
+ "filename": "lib/application.ts",
3541
+ "line": 470
3542
+ },
3543
+ "name": "metricLastCheckpointSize",
3544
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3545
+ "parameters": [
3546
+ {
3547
+ "name": "props",
3548
+ "optional": true,
3549
+ "type": {
3550
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3551
+ }
3552
+ }
3553
+ ],
3554
+ "returns": {
3555
+ "type": {
3556
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3557
+ }
3558
+ }
3559
+ },
3560
+ {
3561
+ "docs": {
3562
+ "default": "average over 5 minutes",
3563
+ "remarks": "Units: Bytes\n\nReporting Level: Application, Operator, Task, Parallelism",
3564
+ "stability": "experimental",
3565
+ "summary": "The total amount of managed memory."
3566
+ },
3567
+ "locationInModule": {
3568
+ "filename": "lib/application.ts",
3569
+ "line": 661
3570
+ },
3571
+ "name": "metricManagedMemoryTotal",
3572
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3573
+ "parameters": [
3574
+ {
3575
+ "name": "props",
3576
+ "optional": true,
3577
+ "type": {
3578
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3579
+ }
3580
+ }
3581
+ ],
3582
+ "returns": {
3583
+ "type": {
3584
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3585
+ }
3586
+ }
3587
+ },
3588
+ {
3589
+ "docs": {
3590
+ "default": "average over 5 minutes",
3591
+ "remarks": "Units: Bytes\n\nReporting Level: Application, Operator, Task, Parallelism",
3592
+ "stability": "experimental",
3593
+ "summary": "The amount of managed memory currently used."
3594
+ },
3595
+ "locationInModule": {
3596
+ "filename": "lib/application.ts",
3597
+ "line": 648
3598
+ },
3599
+ "name": "metricManagedMemoryUsed",
3600
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3601
+ "parameters": [
3602
+ {
3603
+ "name": "props",
3604
+ "optional": true,
3605
+ "type": {
3606
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3607
+ }
3608
+ }
3609
+ ],
3610
+ "returns": {
3611
+ "type": {
3612
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3613
+ }
3614
+ }
3615
+ },
3616
+ {
3617
+ "docs": {
3618
+ "default": "average over 5 minutes",
3619
+ "remarks": "Units: Percentage\n\nReporting Level: Application, Operator, Task, Parallelism",
3620
+ "stability": "experimental",
3621
+ "summary": "Derived from managedMemoryUsed/managedMemoryTotal."
3622
+ },
3623
+ "locationInModule": {
3624
+ "filename": "lib/application.ts",
3625
+ "line": 674
3626
+ },
3627
+ "name": "metricManagedMemoryUtilization",
3628
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3629
+ "parameters": [
3630
+ {
3631
+ "name": "props",
3632
+ "optional": true,
3633
+ "type": {
3634
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3635
+ }
3636
+ }
3637
+ ],
3638
+ "returns": {
3639
+ "type": {
3640
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3641
+ }
3642
+ }
3643
+ },
3644
+ {
3645
+ "docs": {
3646
+ "default": "sum over 5 minutes",
3647
+ "remarks": "Units: Count\n\nReporting Level: Application",
3648
+ "stability": "experimental",
3649
+ "summary": "The number of times checkpointing has failed."
3650
+ },
3651
+ "locationInModule": {
3652
+ "filename": "lib/application.ts",
3653
+ "line": 444
3654
+ },
3655
+ "name": "metricNumberOfFailedCheckpoints",
3656
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3657
+ "parameters": [
3658
+ {
3659
+ "name": "props",
3660
+ "optional": true,
3661
+ "type": {
3662
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3663
+ }
3664
+ }
3665
+ ],
3666
+ "returns": {
3667
+ "type": {
3668
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3669
+ }
3670
+ }
3671
+ },
3672
+ {
3673
+ "docs": {
3674
+ "default": "sum over 5 minutes",
3675
+ "remarks": "Units: Count\n\nReporting Level: Application, Operator, Task, Parallelism",
3676
+ "stability": "experimental",
3677
+ "summary": "The number of records this operator or task has dropped due to arriving late."
3678
+ },
3679
+ "locationInModule": {
3680
+ "filename": "lib/application.ts",
3681
+ "line": 609
3682
+ },
3683
+ "name": "metricNumLateRecordsDropped",
3684
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3685
+ "parameters": [
3686
+ {
3687
+ "name": "props",
3688
+ "optional": true,
3689
+ "type": {
3690
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3691
+ }
3692
+ }
3693
+ ],
3694
+ "returns": {
3695
+ "type": {
3696
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3697
+ }
3698
+ }
3699
+ },
3700
+ {
3701
+ "docs": {
3702
+ "default": "average over 5 minutes",
3703
+ "remarks": "Units: Count\n\nReporting Level: Application, Operator, Task, Parallelism",
3704
+ "stability": "experimental",
3705
+ "summary": "The total number of records this application, operator, or task has received."
3706
+ },
3707
+ "locationInModule": {
3708
+ "filename": "lib/application.ts",
3709
+ "line": 554
3710
+ },
3711
+ "name": "metricNumRecordsIn",
3712
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3713
+ "parameters": [
3714
+ {
3715
+ "name": "props",
3716
+ "optional": true,
3717
+ "type": {
3718
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3719
+ }
3720
+ }
3721
+ ],
3722
+ "returns": {
3723
+ "type": {
3724
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3725
+ }
3726
+ }
3727
+ },
3728
+ {
3729
+ "docs": {
3730
+ "default": "average over 5 minutes",
3731
+ "remarks": "Units: Count/Second\n\nReporting Level: Application, Operator, Task, Parallelism",
3732
+ "stability": "experimental",
3733
+ "summary": "The total number of records this application, operator or task has received per second."
3734
+ },
3735
+ "locationInModule": {
3736
+ "filename": "lib/application.ts",
3737
+ "line": 568
3738
+ },
3739
+ "name": "metricNumRecordsInPerSecond",
3740
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3741
+ "parameters": [
3742
+ {
3743
+ "name": "props",
3744
+ "optional": true,
3745
+ "type": {
3746
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3747
+ }
3748
+ }
3749
+ ],
3750
+ "returns": {
3751
+ "type": {
3752
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3753
+ }
3754
+ }
3755
+ },
3756
+ {
3757
+ "docs": {
3758
+ "default": "average over 5 minutes",
3759
+ "remarks": "Units: Count\n\nReporting Level: Application, Operator, Task, Parallelism",
3760
+ "stability": "experimental",
3761
+ "summary": "The total number of records this application, operator or task has emitted."
3762
+ },
3763
+ "locationInModule": {
3764
+ "filename": "lib/application.ts",
3765
+ "line": 581
3766
+ },
3767
+ "name": "metricNumRecordsOut",
3768
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3769
+ "parameters": [
3770
+ {
3771
+ "name": "props",
3772
+ "optional": true,
3773
+ "type": {
3774
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3775
+ }
3776
+ }
3777
+ ],
3778
+ "returns": {
3779
+ "type": {
3780
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3781
+ }
3782
+ }
3783
+ },
3784
+ {
3785
+ "docs": {
3786
+ "default": "average over 5 minutes",
3787
+ "remarks": "Units: Count/Second\n\nReporting Level: Application, Operator, Task, Parallelism",
3788
+ "stability": "experimental",
3789
+ "summary": "The total number of records this application, operator or task has emitted per second."
3790
+ },
3791
+ "locationInModule": {
3792
+ "filename": "lib/application.ts",
3793
+ "line": 595
3794
+ },
3795
+ "name": "metricNumRecordsOutPerSecond",
3796
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3797
+ "parameters": [
3798
+ {
3799
+ "name": "props",
3800
+ "optional": true,
3801
+ "type": {
3802
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3803
+ }
3804
+ }
3805
+ ],
3806
+ "returns": {
3807
+ "type": {
3808
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3809
+ }
3810
+ }
3811
+ },
3812
+ {
3813
+ "docs": {
3814
+ "default": "sum over 5 minutes",
3815
+ "remarks": "Units: Count\n\nReporting Level: Application",
3816
+ "stability": "experimental",
3817
+ "summary": "The total number of old garbage collection operations that have occurred across all task managers."
3818
+ },
3819
+ "locationInModule": {
3820
+ "filename": "lib/application.ts",
3821
+ "line": 527
3822
+ },
3823
+ "name": "metricOldGenerationGCCount",
3824
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3825
+ "parameters": [
3826
+ {
3827
+ "name": "props",
3828
+ "optional": true,
3829
+ "type": {
3830
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3831
+ }
3832
+ }
3833
+ ],
3834
+ "returns": {
3835
+ "type": {
3836
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3837
+ }
3838
+ }
3839
+ },
3840
+ {
3841
+ "docs": {
3842
+ "default": "sum over 5 minutes",
3843
+ "remarks": "Units: Milliseconds\n\nReporting Level: Application",
3844
+ "stability": "experimental",
3845
+ "summary": "The total time spent performing old garbage collection operations."
3846
+ },
3847
+ "locationInModule": {
3848
+ "filename": "lib/application.ts",
3849
+ "line": 513
3850
+ },
3851
+ "name": "metricOldGenerationGCTime",
3852
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3853
+ "parameters": [
3854
+ {
3855
+ "name": "props",
3856
+ "optional": true,
3857
+ "type": {
3858
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3859
+ }
3860
+ }
3861
+ ],
3862
+ "returns": {
3863
+ "type": {
3864
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3865
+ }
3866
+ }
3867
+ },
3868
+ {
3869
+ "docs": {
3870
+ "default": "average over 5 minutes",
3871
+ "remarks": "Units: Count\n\nReporting Level: Application",
3872
+ "stability": "experimental",
3873
+ "summary": "The total number of live threads used by the application."
3874
+ },
3875
+ "locationInModule": {
3876
+ "filename": "lib/application.ts",
3877
+ "line": 540
3878
+ },
3879
+ "name": "metricThreadsCount",
3880
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3881
+ "parameters": [
3882
+ {
3883
+ "name": "props",
3884
+ "optional": true,
3885
+ "type": {
3886
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3887
+ }
3888
+ }
3889
+ ],
3890
+ "returns": {
3891
+ "type": {
3892
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3893
+ }
3894
+ }
3895
+ },
3896
+ {
3897
+ "docs": {
3898
+ "default": "average over 5 minutes",
3899
+ "remarks": "Units: Milliseconds\n\nReporting Level: Application",
3900
+ "stability": "experimental",
3901
+ "summary": "The time that the job has been running without interruption."
3902
+ },
3903
+ "locationInModule": {
3904
+ "filename": "lib/application.ts",
3905
+ "line": 417
3906
+ },
3907
+ "name": "metricUptime",
3908
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3909
+ "parameters": [
3910
+ {
3911
+ "name": "props",
3912
+ "optional": true,
3913
+ "type": {
3914
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3915
+ }
3916
+ }
3917
+ ],
3918
+ "returns": {
3919
+ "type": {
3920
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3921
+ }
3922
+ }
3923
+ }
3924
+ ],
3925
+ "name": "Application",
3926
+ "properties": [
3927
+ {
3928
+ "docs": {
3929
+ "stability": "experimental",
3930
+ "summary": "The application ARN."
3931
+ },
3932
+ "immutable": true,
3933
+ "locationInModule": {
3934
+ "filename": "lib/application.ts",
3935
+ "line": 896
3936
+ },
3937
+ "name": "applicationArn",
3938
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3939
+ "type": {
3940
+ "primitive": "string"
3941
+ }
3942
+ },
3943
+ {
3944
+ "docs": {
3945
+ "stability": "experimental",
3946
+ "summary": "The name of the Flink application."
3947
+ },
3948
+ "immutable": true,
3949
+ "locationInModule": {
3950
+ "filename": "lib/application.ts",
3951
+ "line": 897
3952
+ },
3953
+ "name": "applicationName",
3954
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3955
+ "type": {
3956
+ "primitive": "string"
3957
+ }
3958
+ },
3959
+ {
3960
+ "docs": {
3961
+ "stability": "experimental",
3962
+ "summary": "The principal to grant permissions to."
3963
+ },
3964
+ "immutable": true,
3965
+ "locationInModule": {
3966
+ "filename": "lib/application.ts",
3967
+ "line": 902
3968
+ },
3969
+ "name": "grantPrincipal",
3970
+ "overrides": "aws-cdk-lib.aws_iam.IGrantable",
3971
+ "type": {
3972
+ "fqn": "aws-cdk-lib.aws_iam.IPrincipal"
3973
+ }
3974
+ },
3975
+ {
3976
+ "docs": {
3977
+ "stability": "experimental",
3978
+ "summary": "The application IAM role."
3979
+ },
3980
+ "immutable": true,
3981
+ "locationInModule": {
3982
+ "filename": "lib/application.ts",
3983
+ "line": 900
3984
+ },
3985
+ "name": "role",
3986
+ "optional": true,
3987
+ "overrides": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3988
+ "type": {
3989
+ "fqn": "aws-cdk-lib.aws_iam.IRole"
3990
+ }
3991
+ }
3992
+ ],
3993
+ "symbolId": "lib/application:Application"
3994
+ },
3995
+ "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCode": {
3996
+ "abstract": true,
3997
+ "assembly": "@aws-cdk/aws-kinesisanalytics-flink-alpha",
3998
+ "docs": {
3999
+ "custom": {
4000
+ "exampleMetadata": "lit=test/integ.application.lit.ts ! show infused"
4001
+ },
4002
+ "example": "import * as path from 'path';\nimport * as core from 'aws-cdk-lib';\nimport * as flink from '../lib';\nimport * as cloudwatch from 'aws-cdk-lib/aws-cloudwatch';\n\nconst app = new core.App();\nconst stack = new core.Stack(app, 'FlinkAppTest');\n\nconst flinkApp = new flink.Application(stack, 'App', {\n code: flink.ApplicationCode.fromAsset(path.join(__dirname, 'code-asset')),\n runtime: flink.Runtime.FLINK_1_11,\n});\n\nnew cloudwatch.Alarm(stack, 'Alarm', {\n metric: flinkApp.metricFullRestarts(),\n evaluationPeriods: 1,\n threshold: 3,\n});\n///! hide\n\napp.synth();",
4003
+ "stability": "experimental",
4004
+ "summary": "Code configuration providing the location to a Flink application JAR file."
4005
+ },
4006
+ "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCode",
4007
+ "initializer": {
4008
+ "docs": {
4009
+ "stability": "experimental"
4010
+ }
4011
+ },
4012
+ "kind": "class",
4013
+ "locationInModule": {
4014
+ "filename": "lib/application-code.ts",
4015
+ "line": 26
4016
+ },
4017
+ "methods": [
4018
+ {
4019
+ "docs": {
4020
+ "custom": {
4021
+ "parm": "options - standard s3 AssetOptions"
4022
+ },
4023
+ "stability": "experimental",
4024
+ "summary": "Reference code from a local directory containing a Flink JAR file."
4025
+ },
4026
+ "locationInModule": {
4027
+ "filename": "lib/application-code.ts",
4028
+ "line": 48
4029
+ },
4030
+ "name": "fromAsset",
4031
+ "parameters": [
4032
+ {
4033
+ "docs": {
4034
+ "summary": "- a local directory path."
4035
+ },
4036
+ "name": "path",
4037
+ "type": {
4038
+ "primitive": "string"
4039
+ }
4040
+ },
4041
+ {
4042
+ "name": "options",
4043
+ "optional": true,
4044
+ "type": {
4045
+ "fqn": "aws-cdk-lib.aws_s3_assets.AssetOptions"
4046
+ }
4047
+ }
4048
+ ],
4049
+ "returns": {
4050
+ "type": {
4051
+ "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCode"
4052
+ }
4053
+ },
4054
+ "static": true
4055
+ },
4056
+ {
4057
+ "docs": {
4058
+ "stability": "experimental",
4059
+ "summary": "Reference code from an S3 bucket."
4060
+ },
4061
+ "locationInModule": {
4062
+ "filename": "lib/application-code.ts",
4063
+ "line": 34
4064
+ },
4065
+ "name": "fromBucket",
4066
+ "parameters": [
4067
+ {
4068
+ "docs": {
4069
+ "summary": "- an s3 bucket."
4070
+ },
4071
+ "name": "bucket",
4072
+ "type": {
4073
+ "fqn": "aws-cdk-lib.aws_s3.IBucket"
4074
+ }
4075
+ },
4076
+ {
4077
+ "docs": {
4078
+ "summary": "- a key pointing to a Flink JAR file."
4079
+ },
4080
+ "name": "fileKey",
4081
+ "type": {
4082
+ "primitive": "string"
4083
+ }
4084
+ },
4085
+ {
4086
+ "docs": {
4087
+ "summary": "- an optional version string for the provided fileKey."
4088
+ },
4089
+ "name": "objectVersion",
4090
+ "optional": true,
4091
+ "type": {
4092
+ "primitive": "string"
4093
+ }
4094
+ }
4095
+ ],
4096
+ "returns": {
4097
+ "type": {
4098
+ "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCode"
4099
+ }
4100
+ },
4101
+ "static": true
4102
+ },
4103
+ {
4104
+ "abstract": true,
4105
+ "docs": {
4106
+ "stability": "experimental",
4107
+ "summary": "A method to lazily bind asset resources to the parent FlinkApplication."
4108
+ },
4109
+ "locationInModule": {
4110
+ "filename": "lib/application-code.ts",
4111
+ "line": 55
4112
+ },
4113
+ "name": "bind",
4114
+ "parameters": [
4115
+ {
4116
+ "name": "scope",
4117
+ "type": {
4118
+ "fqn": "constructs.Construct"
4119
+ }
4120
+ }
4121
+ ],
4122
+ "returns": {
4123
+ "type": {
4124
+ "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCodeConfig"
4125
+ }
4126
+ }
4127
+ }
4128
+ ],
4129
+ "name": "ApplicationCode",
4130
+ "symbolId": "lib/application-code:ApplicationCode"
4131
+ },
4132
+ "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCodeConfig": {
4133
+ "assembly": "@aws-cdk/aws-kinesisanalytics-flink-alpha",
4134
+ "datatype": true,
4135
+ "docs": {
4136
+ "stability": "experimental",
4137
+ "summary": "The return type of {@link ApplicationCode.bind}. This represents CloudFormation configuration and an s3 bucket holding the Flink application JAR file.",
4138
+ "example": "// 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};",
4139
+ "custom": {
4140
+ "exampleMetadata": "fixture=_generated"
4141
+ }
4142
+ },
4143
+ "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCodeConfig",
4144
+ "kind": "interface",
4145
+ "locationInModule": {
4146
+ "filename": "lib/application-code.ts",
4147
+ "line": 11
4148
+ },
4149
+ "name": "ApplicationCodeConfig",
4150
+ "properties": [
4151
+ {
4152
+ "abstract": true,
4153
+ "docs": {
4154
+ "stability": "experimental",
4155
+ "summary": "Low-level Cloudformation ApplicationConfigurationProperty."
4156
+ },
4157
+ "immutable": true,
4158
+ "locationInModule": {
4159
+ "filename": "lib/application-code.ts",
4160
+ "line": 15
4161
+ },
4162
+ "name": "applicationCodeConfigurationProperty",
4163
+ "type": {
4164
+ "fqn": "aws-cdk-lib.aws_kinesisanalytics.CfnApplicationV2.ApplicationConfigurationProperty"
4165
+ }
4166
+ },
4167
+ {
4168
+ "abstract": true,
4169
+ "docs": {
4170
+ "stability": "experimental",
4171
+ "summary": "S3 Bucket that stores the Flink application code."
4172
+ },
4173
+ "immutable": true,
3423
4174
  "locationInModule": {
3424
4175
  "filename": "lib/application-code.ts",
3425
4176
  "line": 20
3426
4177
  },
3427
- "name": "bucket",
3428
- "type": {
3429
- "fqn": "aws-cdk-lib.aws_s3.IBucket"
4178
+ "name": "bucket",
4179
+ "type": {
4180
+ "fqn": "aws-cdk-lib.aws_s3.IBucket"
4181
+ }
4182
+ }
4183
+ ],
4184
+ "symbolId": "lib/application-code:ApplicationCodeConfig"
4185
+ },
4186
+ "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationProps": {
4187
+ "assembly": "@aws-cdk/aws-kinesisanalytics-flink-alpha",
4188
+ "datatype": true,
4189
+ "docs": {
4190
+ "custom": {
4191
+ "exampleMetadata": "lit=test/integ.application.lit.ts ! show infused"
4192
+ },
4193
+ "example": "import * as path from 'path';\nimport * as core from 'aws-cdk-lib';\nimport * as flink from '../lib';\nimport * as cloudwatch from 'aws-cdk-lib/aws-cloudwatch';\n\nconst app = new core.App();\nconst stack = new core.Stack(app, 'FlinkAppTest');\n\nconst flinkApp = new flink.Application(stack, 'App', {\n code: flink.ApplicationCode.fromAsset(path.join(__dirname, 'code-asset')),\n runtime: flink.Runtime.FLINK_1_11,\n});\n\nnew cloudwatch.Alarm(stack, 'Alarm', {\n metric: flinkApp.metricFullRestarts(),\n evaluationPeriods: 1,\n threshold: 3,\n});\n///! hide\n\napp.synth();",
4194
+ "stability": "experimental",
4195
+ "summary": "Props for creating an Application construct."
4196
+ },
4197
+ "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationProps",
4198
+ "kind": "interface",
4199
+ "locationInModule": {
4200
+ "filename": "lib/application.ts",
4201
+ "line": 726
4202
+ },
4203
+ "name": "ApplicationProps",
4204
+ "properties": [
4205
+ {
4206
+ "abstract": true,
4207
+ "docs": {
4208
+ "stability": "experimental",
4209
+ "summary": "The Flink code asset to run."
4210
+ },
4211
+ "immutable": true,
4212
+ "locationInModule": {
4213
+ "filename": "lib/application.ts",
4214
+ "line": 742
4215
+ },
4216
+ "name": "code",
4217
+ "type": {
4218
+ "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCode"
4219
+ }
4220
+ },
4221
+ {
4222
+ "abstract": true,
4223
+ "docs": {
4224
+ "stability": "experimental",
4225
+ "summary": "The Flink version to use for this application."
4226
+ },
4227
+ "immutable": true,
4228
+ "locationInModule": {
4229
+ "filename": "lib/application.ts",
4230
+ "line": 737
4231
+ },
4232
+ "name": "runtime",
4233
+ "type": {
4234
+ "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.Runtime"
4235
+ }
4236
+ },
4237
+ {
4238
+ "abstract": true,
4239
+ "docs": {
4240
+ "default": "- CloudFormation-generated name",
4241
+ "stability": "experimental",
4242
+ "summary": "A name for your Application that is unique to an AWS account."
4243
+ },
4244
+ "immutable": true,
4245
+ "locationInModule": {
4246
+ "filename": "lib/application.ts",
4247
+ "line": 732
4248
+ },
4249
+ "name": "applicationName",
4250
+ "optional": true,
4251
+ "type": {
4252
+ "primitive": "string"
4253
+ }
4254
+ },
4255
+ {
4256
+ "abstract": true,
4257
+ "docs": {
4258
+ "default": "true",
4259
+ "stability": "experimental",
4260
+ "summary": "Whether the Kinesis Data Analytics service can increase the parallelism of the application in response to resource usage."
4261
+ },
4262
+ "immutable": true,
4263
+ "locationInModule": {
4264
+ "filename": "lib/application.ts",
4265
+ "line": 789
4266
+ },
4267
+ "name": "autoScalingEnabled",
4268
+ "optional": true,
4269
+ "type": {
4270
+ "primitive": "boolean"
4271
+ }
4272
+ },
4273
+ {
4274
+ "abstract": true,
4275
+ "docs": {
4276
+ "default": "true",
4277
+ "stability": "experimental",
4278
+ "summary": "Whether checkpointing is enabled while your application runs."
4279
+ },
4280
+ "immutable": true,
4281
+ "locationInModule": {
4282
+ "filename": "lib/application.ts",
4283
+ "line": 749
4284
+ },
4285
+ "name": "checkpointingEnabled",
4286
+ "optional": true,
4287
+ "type": {
4288
+ "primitive": "boolean"
4289
+ }
4290
+ },
4291
+ {
4292
+ "abstract": true,
4293
+ "docs": {
4294
+ "default": "1 minute",
4295
+ "stability": "experimental",
4296
+ "summary": "The interval between checkpoints."
4297
+ },
4298
+ "immutable": true,
4299
+ "locationInModule": {
4300
+ "filename": "lib/application.ts",
4301
+ "line": 756
4302
+ },
4303
+ "name": "checkpointInterval",
4304
+ "optional": true,
4305
+ "type": {
4306
+ "fqn": "aws-cdk-lib.Duration"
4307
+ }
4308
+ },
4309
+ {
4310
+ "abstract": true,
4311
+ "docs": {
4312
+ "default": "CDK's default LogGroup",
4313
+ "stability": "experimental",
4314
+ "summary": "The log group to send log entries to."
4315
+ },
4316
+ "immutable": true,
4317
+ "locationInModule": {
4318
+ "filename": "lib/application.ts",
4319
+ "line": 842
4320
+ },
4321
+ "name": "logGroup",
4322
+ "optional": true,
4323
+ "type": {
4324
+ "fqn": "aws-cdk-lib.aws_logs.ILogGroup"
4325
+ }
4326
+ },
4327
+ {
4328
+ "abstract": true,
4329
+ "docs": {
4330
+ "default": "FlinkLogLevel.INFO",
4331
+ "stability": "experimental",
4332
+ "summary": "The level of log verbosity from the Flink application."
4333
+ },
4334
+ "immutable": true,
4335
+ "locationInModule": {
4336
+ "filename": "lib/application.ts",
4337
+ "line": 771
4338
+ },
4339
+ "name": "logLevel",
4340
+ "optional": true,
4341
+ "type": {
4342
+ "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.LogLevel"
4343
+ }
4344
+ },
4345
+ {
4346
+ "abstract": true,
4347
+ "docs": {
4348
+ "default": "MetricsLevel.APPLICATION",
4349
+ "remarks": "Use caution with Parallelism level metrics. Parallelism granularity logs\nmetrics for each parallel thread and can quickly become expensive when\nparallelism is high (e.g. > 64).",
4350
+ "stability": "experimental",
4351
+ "summary": "Describes the granularity of the CloudWatch metrics for an application."
4352
+ },
4353
+ "immutable": true,
4354
+ "locationInModule": {
4355
+ "filename": "lib/application.ts",
4356
+ "line": 781
4357
+ },
4358
+ "name": "metricsLevel",
4359
+ "optional": true,
4360
+ "type": {
4361
+ "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.MetricsLevel"
4362
+ }
4363
+ },
4364
+ {
4365
+ "abstract": true,
4366
+ "docs": {
4367
+ "default": "5 seconds",
4368
+ "stability": "experimental",
4369
+ "summary": "The minimum amount of time in to wait after a checkpoint finishes to start a new checkpoint."
4370
+ },
4371
+ "immutable": true,
4372
+ "locationInModule": {
4373
+ "filename": "lib/application.ts",
4374
+ "line": 764
4375
+ },
4376
+ "name": "minPauseBetweenCheckpoints",
4377
+ "optional": true,
4378
+ "type": {
4379
+ "fqn": "aws-cdk-lib.Duration"
4380
+ }
4381
+ },
4382
+ {
4383
+ "abstract": true,
4384
+ "docs": {
4385
+ "default": "1",
4386
+ "remarks": "Kinesis Data Analytics can\nstop the app, increase the parallelism, and start the app again if\nautoScalingEnabled is true (the default value).",
4387
+ "stability": "experimental",
4388
+ "summary": "The initial parallelism for the application."
4389
+ },
4390
+ "immutable": true,
4391
+ "locationInModule": {
4392
+ "filename": "lib/application.ts",
4393
+ "line": 798
4394
+ },
4395
+ "name": "parallelism",
4396
+ "optional": true,
4397
+ "type": {
4398
+ "primitive": "number"
4399
+ }
4400
+ },
4401
+ {
4402
+ "abstract": true,
4403
+ "docs": {
4404
+ "default": "1",
4405
+ "stability": "experimental",
4406
+ "summary": "The Flink parallelism allowed per Kinesis Processing Unit (KPU)."
4407
+ },
4408
+ "immutable": true,
4409
+ "locationInModule": {
4410
+ "filename": "lib/application.ts",
4411
+ "line": 805
4412
+ },
4413
+ "name": "parallelismPerKpu",
4414
+ "optional": true,
4415
+ "type": {
4416
+ "primitive": "number"
4417
+ }
4418
+ },
4419
+ {
4420
+ "abstract": true,
4421
+ "docs": {
4422
+ "default": "No property group configuration provided to the Flink app",
4423
+ "remarks": "You can use these property groups to pass\narbitrary runtime configuration values to your Flink app.",
4424
+ "stability": "experimental",
4425
+ "summary": "Configuration PropertyGroups."
4426
+ },
4427
+ "immutable": true,
4428
+ "locationInModule": {
4429
+ "filename": "lib/application.ts",
4430
+ "line": 820
4431
+ },
4432
+ "name": "propertyGroups",
4433
+ "optional": true,
4434
+ "type": {
4435
+ "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.PropertyGroups"
4436
+ }
4437
+ },
4438
+ {
4439
+ "abstract": true,
4440
+ "docs": {
4441
+ "default": "RemovalPolicy.DESTROY",
4442
+ "stability": "experimental",
4443
+ "summary": "Provide a RemovalPolicy to override the default."
4444
+ },
4445
+ "immutable": true,
4446
+ "locationInModule": {
4447
+ "filename": "lib/application.ts",
4448
+ "line": 835
4449
+ },
4450
+ "name": "removalPolicy",
4451
+ "optional": true,
4452
+ "type": {
4453
+ "fqn": "aws-cdk-lib.RemovalPolicy"
4454
+ }
4455
+ },
4456
+ {
4457
+ "abstract": true,
4458
+ "docs": {
4459
+ "default": "- a new Role will be created",
4460
+ "remarks": "Prefer omitting\nthis property and using the default role.",
4461
+ "stability": "experimental",
4462
+ "summary": "A role to use to grant permissions to your application."
4463
+ },
4464
+ "immutable": true,
4465
+ "locationInModule": {
4466
+ "filename": "lib/application.ts",
4467
+ "line": 828
4468
+ },
4469
+ "name": "role",
4470
+ "optional": true,
4471
+ "type": {
4472
+ "fqn": "aws-cdk-lib.aws_iam.IRole"
4473
+ }
4474
+ },
4475
+ {
4476
+ "abstract": true,
4477
+ "docs": {
4478
+ "default": "true",
4479
+ "stability": "experimental",
4480
+ "summary": "Determines if Flink snapshots are enabled."
4481
+ },
4482
+ "immutable": true,
4483
+ "locationInModule": {
4484
+ "filename": "lib/application.ts",
4485
+ "line": 812
4486
+ },
4487
+ "name": "snapshotsEnabled",
4488
+ "optional": true,
4489
+ "type": {
4490
+ "primitive": "boolean"
4491
+ }
4492
+ }
4493
+ ],
4494
+ "symbolId": "lib/application:ApplicationProps"
4495
+ },
4496
+ "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication": {
4497
+ "assembly": "@aws-cdk/aws-kinesisanalytics-flink-alpha",
4498
+ "docs": {
4499
+ "stability": "experimental",
4500
+ "summary": "An interface expressing the public properties on both an imported and CDK-created Flink application."
4501
+ },
4502
+ "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
4503
+ "interfaces": [
4504
+ "aws-cdk-lib.IResource",
4505
+ "aws-cdk-lib.aws_iam.IGrantable"
4506
+ ],
4507
+ "kind": "interface",
4508
+ "locationInModule": {
4509
+ "filename": "lib/application.ts",
4510
+ "line": 17
4511
+ },
4512
+ "methods": [
4513
+ {
4514
+ "abstract": true,
4515
+ "docs": {
4516
+ "stability": "experimental",
4517
+ "summary": "Convenience method for adding a policy statement to the application role."
4518
+ },
4519
+ "locationInModule": {
4520
+ "filename": "lib/application.ts",
4521
+ "line": 40
4522
+ },
4523
+ "name": "addToRolePolicy",
4524
+ "parameters": [
4525
+ {
4526
+ "name": "policyStatement",
4527
+ "type": {
4528
+ "fqn": "aws-cdk-lib.aws_iam.PolicyStatement"
4529
+ }
4530
+ }
4531
+ ],
4532
+ "returns": {
4533
+ "type": {
4534
+ "primitive": "boolean"
4535
+ }
4536
+ }
4537
+ },
4538
+ {
4539
+ "abstract": true,
4540
+ "docs": {
4541
+ "stability": "experimental",
4542
+ "summary": "Return a CloudWatch metric associated with this Flink application."
4543
+ },
4544
+ "locationInModule": {
4545
+ "filename": "lib/application.ts",
4546
+ "line": 48
4547
+ },
4548
+ "name": "metric",
4549
+ "parameters": [
4550
+ {
4551
+ "docs": {
4552
+ "summary": "The name of the metric."
4553
+ },
4554
+ "name": "metricName",
4555
+ "type": {
4556
+ "primitive": "string"
4557
+ }
4558
+ },
4559
+ {
4560
+ "docs": {
4561
+ "summary": "Customization properties."
4562
+ },
4563
+ "name": "props",
4564
+ "optional": true,
4565
+ "type": {
4566
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
4567
+ }
4568
+ }
4569
+ ],
4570
+ "returns": {
4571
+ "type": {
4572
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
4573
+ }
3430
4574
  }
3431
- }
3432
- ],
3433
- "symbolId": "lib/application-code:ApplicationCodeConfig"
3434
- },
3435
- "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationProps": {
3436
- "assembly": "@aws-cdk/aws-kinesisanalytics-flink-alpha",
3437
- "datatype": true,
3438
- "docs": {
3439
- "custom": {
3440
- "exampleMetadata": "lit=test/integ.application.lit.ts ! show infused"
3441
4575
  },
3442
- "example": "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();",
3443
- "stability": "experimental",
3444
- "summary": "Props for creating an Application construct."
3445
- },
3446
- "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationProps",
3447
- "kind": "interface",
3448
- "locationInModule": {
3449
- "filename": "lib/application.ts",
3450
- "line": 68
3451
- },
3452
- "name": "ApplicationProps",
3453
- "properties": [
3454
4576
  {
3455
4577
  "abstract": true,
3456
4578
  "docs": {
4579
+ "default": "average over 5 minutes",
4580
+ "remarks": "Units: Milliseconds\n\nReporting Level: Operator, Task, Parallelism",
3457
4581
  "stability": "experimental",
3458
- "summary": "The Flink code asset to run."
4582
+ "summary": "The time (in milliseconds) this task or operator is back pressured per second."
3459
4583
  },
3460
- "immutable": true,
3461
4584
  "locationInModule": {
3462
4585
  "filename": "lib/application.ts",
3463
- "line": 84
4586
+ "line": 326
3464
4587
  },
3465
- "name": "code",
3466
- "type": {
3467
- "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.ApplicationCode"
4588
+ "name": "metricBackPressuredTimeMsPerSecond",
4589
+ "parameters": [
4590
+ {
4591
+ "name": "props",
4592
+ "optional": true,
4593
+ "type": {
4594
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
4595
+ }
4596
+ }
4597
+ ],
4598
+ "returns": {
4599
+ "type": {
4600
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
4601
+ }
3468
4602
  }
3469
4603
  },
3470
4604
  {
3471
4605
  "abstract": true,
3472
4606
  "docs": {
4607
+ "default": "average over 5 minutes",
4608
+ "remarks": "Can be NaN, if the value could not be\ncalculated.\n\nUnits: Milliseconds\n\nReporting Level: Operator, Task, Parallelism",
3473
4609
  "stability": "experimental",
3474
- "summary": "The Flink version to use for this application."
4610
+ "summary": "The time (in milliseconds) this task or operator is busy (neither idle nor back pressured) per second."
3475
4611
  },
3476
- "immutable": true,
3477
4612
  "locationInModule": {
3478
4613
  "filename": "lib/application.ts",
3479
- "line": 79
4614
+ "line": 339
3480
4615
  },
3481
- "name": "runtime",
3482
- "type": {
3483
- "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.Runtime"
4616
+ "name": "metricBusyTimePerMsPerSecond",
4617
+ "parameters": [
4618
+ {
4619
+ "name": "props",
4620
+ "optional": true,
4621
+ "type": {
4622
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
4623
+ }
4624
+ }
4625
+ ],
4626
+ "returns": {
4627
+ "type": {
4628
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
4629
+ }
3484
4630
  }
3485
4631
  },
3486
4632
  {
3487
4633
  "abstract": true,
3488
4634
  "docs": {
3489
- "default": "- CloudFormation-generated name",
4635
+ "default": "average over 5 minutes",
4636
+ "remarks": "For\nexample, if there are five task managers, Kinesis Data Analytics publishes\nfive samples of this metric per reporting interval.\n\nUnits: Percentage\n\nReporting Level: Application",
3490
4637
  "stability": "experimental",
3491
- "summary": "A name for your Application that is unique to an AWS account."
4638
+ "summary": "The overall percentage of CPU utilization across task managers."
3492
4639
  },
3493
- "immutable": true,
3494
4640
  "locationInModule": {
3495
4641
  "filename": "lib/application.ts",
3496
- "line": 74
4642
+ "line": 141
3497
4643
  },
3498
- "name": "applicationName",
3499
- "optional": true,
3500
- "type": {
3501
- "primitive": "string"
4644
+ "name": "metricCpuUtilization",
4645
+ "parameters": [
4646
+ {
4647
+ "name": "props",
4648
+ "optional": true,
4649
+ "type": {
4650
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
4651
+ }
4652
+ }
4653
+ ],
4654
+ "returns": {
4655
+ "type": {
4656
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
4657
+ }
4658
+ }
4659
+ },
4660
+ {
4661
+ "abstract": true,
4662
+ "docs": {
4663
+ "default": "maximum over 5 minutes",
4664
+ "remarks": "Units: Milliseconds\n\nReporting Level: Application, Operator, Task, Parallelism",
4665
+ "stability": "experimental",
4666
+ "summary": "The last watermark this application/operator/task/thread has received."
4667
+ },
4668
+ "locationInModule": {
4669
+ "filename": "lib/application.ts",
4670
+ "line": 257
4671
+ },
4672
+ "name": "metricCurrentInputWatermark",
4673
+ "parameters": [
4674
+ {
4675
+ "name": "props",
4676
+ "optional": true,
4677
+ "type": {
4678
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
4679
+ }
4680
+ }
4681
+ ],
4682
+ "returns": {
4683
+ "type": {
4684
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
4685
+ }
4686
+ }
4687
+ },
4688
+ {
4689
+ "abstract": true,
4690
+ "docs": {
4691
+ "default": "maximum over 5 minutes",
4692
+ "remarks": "Units: Milliseconds\n\nReporting Level: Application, Operator, Task, Parallelism",
4693
+ "stability": "experimental",
4694
+ "summary": "The last watermark this application/operator/task/thread has received."
4695
+ },
4696
+ "locationInModule": {
4697
+ "filename": "lib/application.ts",
4698
+ "line": 268
4699
+ },
4700
+ "name": "metricCurrentOutputWatermark",
4701
+ "parameters": [
4702
+ {
4703
+ "name": "props",
4704
+ "optional": true,
4705
+ "type": {
4706
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
4707
+ }
4708
+ }
4709
+ ],
4710
+ "returns": {
4711
+ "type": {
4712
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
4713
+ }
4714
+ }
4715
+ },
4716
+ {
4717
+ "abstract": true,
4718
+ "docs": {
4719
+ "default": "average over 5 minutes",
4720
+ "remarks": "Units: Milliseconds\n\nReporting Level: Application",
4721
+ "stability": "experimental",
4722
+ "summary": "The time elapsed during an outage for failing/recovering jobs."
4723
+ },
4724
+ "locationInModule": {
4725
+ "filename": "lib/application.ts",
4726
+ "line": 72
4727
+ },
4728
+ "name": "metricDowntime",
4729
+ "parameters": [
4730
+ {
4731
+ "name": "props",
4732
+ "optional": true,
4733
+ "type": {
4734
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
4735
+ }
4736
+ }
4737
+ ],
4738
+ "returns": {
4739
+ "type": {
4740
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
4741
+ }
4742
+ }
4743
+ },
4744
+ {
4745
+ "abstract": true,
4746
+ "docs": {
4747
+ "default": "sum over 5 minutes",
4748
+ "remarks": "This metric does not measure fine-grained restarts.\n\nUnits: Count\n\nReporting Level: Application",
4749
+ "stability": "experimental",
4750
+ "summary": "The total number of times this job has fully restarted since it was submitted."
4751
+ },
4752
+ "locationInModule": {
4753
+ "filename": "lib/application.ts",
4754
+ "line": 95
4755
+ },
4756
+ "name": "metricFullRestarts",
4757
+ "parameters": [
4758
+ {
4759
+ "name": "props",
4760
+ "optional": true,
4761
+ "type": {
4762
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
4763
+ }
4764
+ }
4765
+ ],
4766
+ "returns": {
4767
+ "type": {
4768
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
4769
+ }
4770
+ }
4771
+ },
4772
+ {
4773
+ "abstract": true,
4774
+ "docs": {
4775
+ "default": "average over 5 minutes",
4776
+ "remarks": "For example, if there\nare five task managers, Kinesis Data Analytics publishes five samples of\nthis metric per reporting interval.\n\nUnits: Percentage\n\nReporting Level: Application",
4777
+ "stability": "experimental",
4778
+ "summary": "Overall heap memory utilization across task managers."
4779
+ },
4780
+ "locationInModule": {
4781
+ "filename": "lib/application.ts",
4782
+ "line": 154
4783
+ },
4784
+ "name": "metricHeapMemoryUtilization",
4785
+ "parameters": [
4786
+ {
4787
+ "name": "props",
4788
+ "optional": true,
4789
+ "type": {
4790
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
4791
+ }
4792
+ }
4793
+ ],
4794
+ "returns": {
4795
+ "type": {
4796
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
4797
+ }
4798
+ }
4799
+ },
4800
+ {
4801
+ "abstract": true,
4802
+ "docs": {
4803
+ "default": "average over 5 minutes",
4804
+ "remarks": "Idle time excludes back pressured time, so if the task\nis back pressured it is not idle.\n\nUnits: Milliseconds\n\nReporting Level: Operator, Task, Parallelism",
4805
+ "stability": "experimental",
4806
+ "summary": "The time (in milliseconds) this task or operator is idle (has no data to process) per second."
4807
+ },
4808
+ "locationInModule": {
4809
+ "filename": "lib/application.ts",
4810
+ "line": 314
4811
+ },
4812
+ "name": "metricIdleTimeMsPerSecond",
4813
+ "parameters": [
4814
+ {
4815
+ "name": "props",
4816
+ "optional": true,
4817
+ "type": {
4818
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
4819
+ }
4820
+ }
4821
+ ],
4822
+ "returns": {
4823
+ "type": {
4824
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
4825
+ }
4826
+ }
4827
+ },
4828
+ {
4829
+ "abstract": true,
4830
+ "docs": {
4831
+ "default": "average over 5 minutes",
4832
+ "remarks": "The average number of KPUs used each hour\ndetermines the billing for your application.\n\nUnits: Count\n\nReporting Level: Application",
4833
+ "stability": "experimental",
4834
+ "summary": "The number of Kinesis Processing Units that are used to run your stream processing application."
4835
+ },
4836
+ "locationInModule": {
4837
+ "filename": "lib/application.ts",
4838
+ "line": 61
4839
+ },
4840
+ "name": "metricKpus",
4841
+ "parameters": [
4842
+ {
4843
+ "name": "props",
4844
+ "optional": true,
4845
+ "type": {
4846
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
4847
+ }
4848
+ }
4849
+ ],
4850
+ "returns": {
4851
+ "type": {
4852
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
4853
+ }
4854
+ }
4855
+ },
4856
+ {
4857
+ "abstract": true,
4858
+ "docs": {
4859
+ "default": "maximum over 5 minutes",
4860
+ "remarks": "Units: Milliseconds\n\nReporting Level: Application",
4861
+ "stability": "experimental",
4862
+ "summary": "The time it took to complete the last checkpoint."
4863
+ },
4864
+ "locationInModule": {
4865
+ "filename": "lib/application.ts",
4866
+ "line": 117
4867
+ },
4868
+ "name": "metricLastCheckpointDuration",
4869
+ "parameters": [
4870
+ {
4871
+ "name": "props",
4872
+ "optional": true,
4873
+ "type": {
4874
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
4875
+ }
4876
+ }
4877
+ ],
4878
+ "returns": {
4879
+ "type": {
4880
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
4881
+ }
3502
4882
  }
3503
4883
  },
3504
4884
  {
3505
4885
  "abstract": true,
3506
4886
  "docs": {
3507
- "default": "true",
4887
+ "default": "maximum over 5 minutes",
4888
+ "remarks": "Units: Bytes\n\nReporting Level: Application",
3508
4889
  "stability": "experimental",
3509
- "summary": "Whether the Kinesis Data Analytics service can increase the parallelism of the application in response to resource usage."
4890
+ "summary": "The total size of the last checkpoint."
3510
4891
  },
3511
- "immutable": true,
3512
4892
  "locationInModule": {
3513
4893
  "filename": "lib/application.ts",
3514
- "line": 131
4894
+ "line": 128
3515
4895
  },
3516
- "name": "autoScalingEnabled",
3517
- "optional": true,
3518
- "type": {
3519
- "primitive": "boolean"
4896
+ "name": "metricLastCheckpointSize",
4897
+ "parameters": [
4898
+ {
4899
+ "name": "props",
4900
+ "optional": true,
4901
+ "type": {
4902
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
4903
+ }
4904
+ }
4905
+ ],
4906
+ "returns": {
4907
+ "type": {
4908
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
4909
+ }
3520
4910
  }
3521
4911
  },
3522
4912
  {
3523
4913
  "abstract": true,
3524
4914
  "docs": {
3525
- "default": "true",
4915
+ "default": "average over 5 minutes",
4916
+ "remarks": "Units: Bytes\n\nReporting Level: Application, Operator, Task, Parallelism",
3526
4917
  "stability": "experimental",
3527
- "summary": "Whether checkpointing is enabled while your application runs."
4918
+ "summary": "The total amount of managed memory."
3528
4919
  },
3529
- "immutable": true,
3530
4920
  "locationInModule": {
3531
4921
  "filename": "lib/application.ts",
3532
- "line": 91
4922
+ "line": 290
3533
4923
  },
3534
- "name": "checkpointingEnabled",
3535
- "optional": true,
3536
- "type": {
3537
- "primitive": "boolean"
4924
+ "name": "metricManagedMemoryTotal",
4925
+ "parameters": [
4926
+ {
4927
+ "name": "props",
4928
+ "optional": true,
4929
+ "type": {
4930
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
4931
+ }
4932
+ }
4933
+ ],
4934
+ "returns": {
4935
+ "type": {
4936
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
4937
+ }
3538
4938
  }
3539
4939
  },
3540
4940
  {
3541
4941
  "abstract": true,
3542
4942
  "docs": {
3543
- "default": "1 minute",
4943
+ "default": "average over 5 minutes",
4944
+ "remarks": "Units: Bytes\n\nReporting Level: Application, Operator, Task, Parallelism",
3544
4945
  "stability": "experimental",
3545
- "summary": "The interval between checkpoints."
4946
+ "summary": "The amount of managed memory currently used."
3546
4947
  },
3547
- "immutable": true,
3548
4948
  "locationInModule": {
3549
4949
  "filename": "lib/application.ts",
3550
- "line": 98
4950
+ "line": 279
3551
4951
  },
3552
- "name": "checkpointInterval",
3553
- "optional": true,
3554
- "type": {
3555
- "fqn": "aws-cdk-lib.Duration"
4952
+ "name": "metricManagedMemoryUsed",
4953
+ "parameters": [
4954
+ {
4955
+ "name": "props",
4956
+ "optional": true,
4957
+ "type": {
4958
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
4959
+ }
4960
+ }
4961
+ ],
4962
+ "returns": {
4963
+ "type": {
4964
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
4965
+ }
3556
4966
  }
3557
4967
  },
3558
4968
  {
3559
4969
  "abstract": true,
3560
4970
  "docs": {
3561
- "default": "CDK's default LogGroup",
4971
+ "default": "average over 5 minutes",
4972
+ "remarks": "Units: Percentage\n\nReporting Level: Application, Operator, Task, Parallelism",
3562
4973
  "stability": "experimental",
3563
- "summary": "The log group to send log entries to."
4974
+ "summary": "Derived from managedMemoryUsed/managedMemoryTotal."
3564
4975
  },
3565
- "immutable": true,
3566
4976
  "locationInModule": {
3567
4977
  "filename": "lib/application.ts",
3568
- "line": 184
4978
+ "line": 301
3569
4979
  },
3570
- "name": "logGroup",
3571
- "optional": true,
3572
- "type": {
3573
- "fqn": "aws-cdk-lib.aws_logs.ILogGroup"
4980
+ "name": "metricManagedMemoryUtilization",
4981
+ "parameters": [
4982
+ {
4983
+ "name": "props",
4984
+ "optional": true,
4985
+ "type": {
4986
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
4987
+ }
4988
+ }
4989
+ ],
4990
+ "returns": {
4991
+ "type": {
4992
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
4993
+ }
3574
4994
  }
3575
4995
  },
3576
4996
  {
3577
4997
  "abstract": true,
3578
4998
  "docs": {
3579
- "default": "FlinkLogLevel.INFO",
4999
+ "default": "sum over 5 minutes",
5000
+ "remarks": "Units: Count\n\nReporting Level: Application",
3580
5001
  "stability": "experimental",
3581
- "summary": "The level of log verbosity from the Flink application."
5002
+ "summary": "The number of times checkpointing has failed."
3582
5003
  },
3583
- "immutable": true,
3584
5004
  "locationInModule": {
3585
5005
  "filename": "lib/application.ts",
3586
- "line": 113
5006
+ "line": 106
3587
5007
  },
3588
- "name": "logLevel",
3589
- "optional": true,
3590
- "type": {
3591
- "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.LogLevel"
5008
+ "name": "metricNumberOfFailedCheckpoints",
5009
+ "parameters": [
5010
+ {
5011
+ "name": "props",
5012
+ "optional": true,
5013
+ "type": {
5014
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
5015
+ }
5016
+ }
5017
+ ],
5018
+ "returns": {
5019
+ "type": {
5020
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
5021
+ }
3592
5022
  }
3593
5023
  },
3594
5024
  {
3595
5025
  "abstract": true,
3596
5026
  "docs": {
3597
- "default": "MetricsLevel.APPLICATION",
3598
- "remarks": "Use caution with Parallelism level metrics. Parallelism granularity logs\nmetrics for each parallel thread and can quickly become expensive when\nparallelism is high (e.g. > 64).",
5027
+ "default": "sum over 5 minutes",
5028
+ "remarks": "Units: Count\n\nReporting Level: Application, Operator, Task, Parallelism",
3599
5029
  "stability": "experimental",
3600
- "summary": "Describes the granularity of the CloudWatch metrics for an application."
5030
+ "summary": "The number of records this operator or task has dropped due to arriving late."
3601
5031
  },
3602
- "immutable": true,
3603
5032
  "locationInModule": {
3604
5033
  "filename": "lib/application.ts",
3605
- "line": 123
5034
+ "line": 246
3606
5035
  },
3607
- "name": "metricsLevel",
3608
- "optional": true,
3609
- "type": {
3610
- "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.MetricsLevel"
5036
+ "name": "metricNumLateRecordsDropped",
5037
+ "parameters": [
5038
+ {
5039
+ "name": "props",
5040
+ "optional": true,
5041
+ "type": {
5042
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
5043
+ }
5044
+ }
5045
+ ],
5046
+ "returns": {
5047
+ "type": {
5048
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
5049
+ }
3611
5050
  }
3612
5051
  },
3613
5052
  {
3614
5053
  "abstract": true,
3615
5054
  "docs": {
3616
- "default": "5 seconds",
5055
+ "default": "average over 5 minutes",
5056
+ "remarks": "Units: Count\n\nReporting Level: Application, Operator, Task, Parallelism",
3617
5057
  "stability": "experimental",
3618
- "summary": "The minimum amount of time in to wait after a checkpoint finishes to start a new checkpoint."
5058
+ "summary": "The total number of records this application, operator, or task has received."
3619
5059
  },
3620
- "immutable": true,
3621
5060
  "locationInModule": {
3622
5061
  "filename": "lib/application.ts",
3623
- "line": 106
5062
+ "line": 200
3624
5063
  },
3625
- "name": "minPauseBetweenCheckpoints",
3626
- "optional": true,
3627
- "type": {
3628
- "fqn": "aws-cdk-lib.Duration"
5064
+ "name": "metricNumRecordsIn",
5065
+ "parameters": [
5066
+ {
5067
+ "name": "props",
5068
+ "optional": true,
5069
+ "type": {
5070
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
5071
+ }
5072
+ }
5073
+ ],
5074
+ "returns": {
5075
+ "type": {
5076
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
5077
+ }
3629
5078
  }
3630
5079
  },
3631
5080
  {
3632
5081
  "abstract": true,
3633
5082
  "docs": {
3634
- "default": "1",
3635
- "remarks": "Kinesis Data Analytics can\nstop the app, increase the parallelism, and start the app again if\nautoScalingEnabled is true (the default value).",
5083
+ "default": "average over 5 minutes",
5084
+ "remarks": "Units: Count/Second\n\nReporting Level: Application, Operator, Task, Parallelism",
3636
5085
  "stability": "experimental",
3637
- "summary": "The initial parallelism for the application."
5086
+ "summary": "The total number of records this application, operator or task has received per second."
3638
5087
  },
3639
- "immutable": true,
3640
5088
  "locationInModule": {
3641
5089
  "filename": "lib/application.ts",
3642
- "line": 140
5090
+ "line": 212
3643
5091
  },
3644
- "name": "parallelism",
3645
- "optional": true,
3646
- "type": {
3647
- "primitive": "number"
5092
+ "name": "metricNumRecordsInPerSecond",
5093
+ "parameters": [
5094
+ {
5095
+ "name": "props",
5096
+ "optional": true,
5097
+ "type": {
5098
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
5099
+ }
5100
+ }
5101
+ ],
5102
+ "returns": {
5103
+ "type": {
5104
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
5105
+ }
3648
5106
  }
3649
5107
  },
3650
5108
  {
3651
5109
  "abstract": true,
3652
5110
  "docs": {
3653
- "default": "1",
5111
+ "default": "average over 5 minutes",
5112
+ "remarks": "Units: Count\n\nReporting Level: Application, Operator, Task, Parallelism",
3654
5113
  "stability": "experimental",
3655
- "summary": "The Flink parallelism allowed per Kinesis Processing Unit (KPU)."
5114
+ "summary": "The total number of records this application, operator or task has emitted."
3656
5115
  },
3657
- "immutable": true,
3658
5116
  "locationInModule": {
3659
5117
  "filename": "lib/application.ts",
3660
- "line": 147
5118
+ "line": 223
3661
5119
  },
3662
- "name": "parallelismPerKpu",
3663
- "optional": true,
3664
- "type": {
3665
- "primitive": "number"
5120
+ "name": "metricNumRecordsOut",
5121
+ "parameters": [
5122
+ {
5123
+ "name": "props",
5124
+ "optional": true,
5125
+ "type": {
5126
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
5127
+ }
5128
+ }
5129
+ ],
5130
+ "returns": {
5131
+ "type": {
5132
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
5133
+ }
3666
5134
  }
3667
5135
  },
3668
5136
  {
3669
5137
  "abstract": true,
3670
5138
  "docs": {
3671
- "default": "No property group configuration provided to the Flink app",
3672
- "remarks": "You can use these property groups to pass\narbitrary runtime configuration values to your Flink app.",
5139
+ "default": "average over 5 minutes",
5140
+ "remarks": "Units: Count/Second\n\nReporting Level: Application, Operator, Task, Parallelism",
3673
5141
  "stability": "experimental",
3674
- "summary": "Configuration PropertyGroups."
5142
+ "summary": "The total number of records this application, operator or task has emitted per second."
3675
5143
  },
3676
- "immutable": true,
3677
5144
  "locationInModule": {
3678
5145
  "filename": "lib/application.ts",
3679
- "line": 162
5146
+ "line": 235
3680
5147
  },
3681
- "name": "propertyGroups",
3682
- "optional": true,
3683
- "type": {
3684
- "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.PropertyGroups"
5148
+ "name": "metricNumRecordsOutPerSecond",
5149
+ "parameters": [
5150
+ {
5151
+ "name": "props",
5152
+ "optional": true,
5153
+ "type": {
5154
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
5155
+ }
5156
+ }
5157
+ ],
5158
+ "returns": {
5159
+ "type": {
5160
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
5161
+ }
3685
5162
  }
3686
5163
  },
3687
5164
  {
3688
5165
  "abstract": true,
3689
5166
  "docs": {
3690
- "default": "RemovalPolicy.DESTROY",
5167
+ "default": "sum over 5 minutes",
5168
+ "remarks": "Units: Count\n\nReporting Level: Application",
3691
5169
  "stability": "experimental",
3692
- "summary": "Provide a RemovalPolicy to override the default."
5170
+ "summary": "The total number of old garbage collection operations that have occurred across all task managers."
3693
5171
  },
3694
- "immutable": true,
3695
5172
  "locationInModule": {
3696
5173
  "filename": "lib/application.ts",
3697
5174
  "line": 177
3698
5175
  },
3699
- "name": "removalPolicy",
3700
- "optional": true,
3701
- "type": {
3702
- "fqn": "aws-cdk-lib.RemovalPolicy"
5176
+ "name": "metricOldGenerationGCCount",
5177
+ "parameters": [
5178
+ {
5179
+ "name": "props",
5180
+ "optional": true,
5181
+ "type": {
5182
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
5183
+ }
5184
+ }
5185
+ ],
5186
+ "returns": {
5187
+ "type": {
5188
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
5189
+ }
3703
5190
  }
3704
5191
  },
3705
5192
  {
3706
5193
  "abstract": true,
3707
5194
  "docs": {
3708
- "default": "- a new Role will be created",
3709
- "remarks": "Prefer omitting\nthis property and using the default role.",
5195
+ "default": "sum over 5 minutes",
5196
+ "remarks": "Units: Milliseconds\n\nReporting Level: Application",
3710
5197
  "stability": "experimental",
3711
- "summary": "A role to use to grant permissions to your application."
5198
+ "summary": "The total time spent performing old garbage collection operations."
3712
5199
  },
3713
- "immutable": true,
3714
5200
  "locationInModule": {
3715
5201
  "filename": "lib/application.ts",
3716
- "line": 170
5202
+ "line": 165
3717
5203
  },
3718
- "name": "role",
3719
- "optional": true,
3720
- "type": {
3721
- "fqn": "aws-cdk-lib.aws_iam.IRole"
5204
+ "name": "metricOldGenerationGCTime",
5205
+ "parameters": [
5206
+ {
5207
+ "name": "props",
5208
+ "optional": true,
5209
+ "type": {
5210
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
5211
+ }
5212
+ }
5213
+ ],
5214
+ "returns": {
5215
+ "type": {
5216
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
5217
+ }
3722
5218
  }
3723
5219
  },
3724
5220
  {
3725
5221
  "abstract": true,
3726
5222
  "docs": {
3727
- "default": "true",
5223
+ "default": "average over 5 minutes",
5224
+ "remarks": "Units: Count\n\n Reporting Level: Application",
3728
5225
  "stability": "experimental",
3729
- "summary": "Determines if Flink snapshots are enabled."
5226
+ "summary": "The total number of live threads used by the application."
3730
5227
  },
3731
- "immutable": true,
3732
5228
  "locationInModule": {
3733
5229
  "filename": "lib/application.ts",
3734
- "line": 154
5230
+ "line": 188
3735
5231
  },
3736
- "name": "snapshotsEnabled",
3737
- "optional": true,
3738
- "type": {
3739
- "primitive": "boolean"
5232
+ "name": "metricThreadsCount",
5233
+ "parameters": [
5234
+ {
5235
+ "name": "props",
5236
+ "optional": true,
5237
+ "type": {
5238
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
5239
+ }
5240
+ }
5241
+ ],
5242
+ "returns": {
5243
+ "type": {
5244
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
5245
+ }
3740
5246
  }
3741
- }
3742
- ],
3743
- "symbolId": "lib/application:ApplicationProps"
3744
- },
3745
- "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication": {
3746
- "assembly": "@aws-cdk/aws-kinesisanalytics-flink-alpha",
3747
- "docs": {
3748
- "stability": "experimental",
3749
- "summary": "An interface expressing the public properties on both an imported and CDK-created Flink application."
3750
- },
3751
- "fqn": "@aws-cdk/aws-kinesisanalytics-flink-alpha.IApplication",
3752
- "interfaces": [
3753
- "aws-cdk-lib.IResource",
3754
- "aws-cdk-lib.aws_iam.IGrantable"
3755
- ],
3756
- "kind": "interface",
3757
- "locationInModule": {
3758
- "filename": "lib/application.ts",
3759
- "line": 16
3760
- },
3761
- "methods": [
5247
+ },
3762
5248
  {
3763
5249
  "abstract": true,
3764
5250
  "docs": {
5251
+ "default": "sample count over 5 minutes",
5252
+ "remarks": "Units: Milliseconds\n\nReporting Level: Application",
3765
5253
  "stability": "experimental",
3766
- "summary": "Convenience method for adding a policy statement to the application role."
5254
+ "summary": "The time that the job has been running without interruption."
3767
5255
  },
3768
5256
  "locationInModule": {
3769
5257
  "filename": "lib/application.ts",
3770
- "line": 39
5258
+ "line": 83
3771
5259
  },
3772
- "name": "addToRolePolicy",
5260
+ "name": "metricUptime",
3773
5261
  "parameters": [
3774
5262
  {
3775
- "name": "policyStatement",
5263
+ "name": "props",
5264
+ "optional": true,
3776
5265
  "type": {
3777
- "fqn": "aws-cdk-lib.aws_iam.PolicyStatement"
5266
+ "fqn": "aws-cdk-lib.aws_cloudwatch.MetricOptions"
3778
5267
  }
3779
5268
  }
3780
5269
  ],
3781
5270
  "returns": {
3782
5271
  "type": {
3783
- "primitive": "boolean"
5272
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Metric"
3784
5273
  }
3785
5274
  }
3786
5275
  }
@@ -3799,7 +5288,7 @@
3799
5288
  "immutable": true,
3800
5289
  "locationInModule": {
3801
5290
  "filename": "lib/application.ts",
3802
- "line": 22
5291
+ "line": 23
3803
5292
  },
3804
5293
  "name": "applicationArn",
3805
5294
  "type": {
@@ -3818,7 +5307,7 @@
3818
5307
  "immutable": true,
3819
5308
  "locationInModule": {
3820
5309
  "filename": "lib/application.ts",
3821
- "line": 29
5310
+ "line": 30
3822
5311
  },
3823
5312
  "name": "applicationName",
3824
5313
  "type": {
@@ -3834,7 +5323,7 @@
3834
5323
  "immutable": true,
3835
5324
  "locationInModule": {
3836
5325
  "filename": "lib/application.ts",
3837
- "line": 34
5326
+ "line": 35
3838
5327
  },
3839
5328
  "name": "role",
3840
5329
  "optional": true,
@@ -3969,7 +5458,7 @@
3969
5458
  "custom": {
3970
5459
  "exampleMetadata": "lit=test/integ.application.lit.ts ! show infused"
3971
5460
  },
3972
- "example": "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();",
5461
+ "example": "import * as path from 'path';\nimport * as core from 'aws-cdk-lib';\nimport * as flink from '../lib';\nimport * as cloudwatch from 'aws-cdk-lib/aws-cloudwatch';\n\nconst app = new core.App();\nconst stack = new core.Stack(app, 'FlinkAppTest');\n\nconst flinkApp = new flink.Application(stack, 'App', {\n code: flink.ApplicationCode.fromAsset(path.join(__dirname, 'code-asset')),\n runtime: flink.Runtime.FLINK_1_11,\n});\n\nnew cloudwatch.Alarm(stack, 'Alarm', {\n metric: flinkApp.metricFullRestarts(),\n evaluationPeriods: 1,\n threshold: 3,\n});\n///! hide\n\napp.synth();",
3973
5462
  "stability": "experimental",
3974
5463
  "summary": "Available Flink runtimes for Kinesis Analytics."
3975
5464
  },
@@ -4095,6 +5584,6 @@
4095
5584
  "symbolId": "lib/types:Runtime"
4096
5585
  }
4097
5586
  },
4098
- "version": "2.18.0-alpha.0",
5587
+ "version": "2.21.0-alpha.0",
4099
5588
  "fingerprint": "**********"
4100
5589
  }