@aws-cdk/aws-kinesisanalytics-flink-alpha 2.27.0-alpha.0 → 2.28.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.27.0",
11
+ "aws-cdk-lib": "^2.28.0",
12
12
  "constructs": "^10.0.0"
13
13
  },
14
14
  "dependencyClosure": {
@@ -3011,7 +3011,7 @@
3011
3011
  "stability": "experimental"
3012
3012
  },
3013
3013
  "homepage": "https://github.com/aws/aws-cdk",
3014
- "jsiiVersion": "1.58.0 (build f8ba112)",
3014
+ "jsiiVersion": "1.60.1 (build 2799dc8)",
3015
3015
  "keywords": [
3016
3016
  "aws",
3017
3017
  "cdk",
@@ -3034,7 +3034,7 @@
3034
3034
  },
3035
3035
  "name": "@aws-cdk/aws-kinesisanalytics-flink-alpha",
3036
3036
  "readme": {
3037
- "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"
3037
+ "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 cloudwatch from 'aws-cdk-lib/aws-cloudwatch';\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\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"
3038
3038
  },
3039
3039
  "repository": {
3040
3040
  "directory": "packages/individual-packages/aws-kinesisanalytics-flink",
@@ -3080,7 +3080,7 @@
3080
3080
  "exampleMetadata": "lit=test/integ.application.lit.ts ! show infused",
3081
3081
  "resource": "AWS::KinesisAnalyticsV2::Application"
3082
3082
  },
3083
- "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();",
3083
+ "example": "import * as path from 'path';\nimport * as cloudwatch from 'aws-cdk-lib/aws-cloudwatch';\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\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();",
3084
3084
  "stability": "experimental",
3085
3085
  "summary": "The L2 construct for Flink Kinesis Data Applications."
3086
3086
  },
@@ -4038,7 +4038,7 @@
4038
4038
  "custom": {
4039
4039
  "exampleMetadata": "lit=test/integ.application.lit.ts ! show infused"
4040
4040
  },
4041
- "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();",
4041
+ "example": "import * as path from 'path';\nimport * as cloudwatch from 'aws-cdk-lib/aws-cloudwatch';\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\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();",
4042
4042
  "stability": "experimental",
4043
4043
  "summary": "Code configuration providing the location to a Flink application JAR file."
4044
4044
  },
@@ -4174,7 +4174,7 @@
4174
4174
  "docs": {
4175
4175
  "stability": "experimental",
4176
4176
  "summary": "The return type of {@link ApplicationCode.bind}. This represents CloudFormation configuration and an s3 bucket holding the Flink application JAR file.",
4177
- "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};",
4177
+ "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;\nconst applicationCodeConfig: kinesisanalytics_flink_alpha.ApplicationCodeConfig = {\n applicationCodeConfigurationProperty: {\n applicationCodeConfiguration: {\n codeContent: {\n s3ContentLocation: {\n bucketArn: 'bucketArn',\n fileKey: 'fileKey',\n\n // the properties below are optional\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: {\n propertyMapKey: 'propertyMap',\n },\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\n // the properties below are optional\n objectVersion: 'objectVersion',\n },\n }],\n deployAsApplicationConfiguration: {\n s3ContentLocation: {\n bucketArn: 'bucketArn',\n\n // the properties below are optional\n basePath: 'basePath',\n },\n },\n monitoringConfiguration: {\n logLevel: 'logLevel',\n },\n },\n },\n bucket: bucket,\n};",
4178
4178
  "custom": {
4179
4179
  "exampleMetadata": "fixture=_generated"
4180
4180
  }
@@ -4229,7 +4229,7 @@
4229
4229
  "custom": {
4230
4230
  "exampleMetadata": "lit=test/integ.application.lit.ts ! show infused"
4231
4231
  },
4232
- "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();",
4232
+ "example": "import * as path from 'path';\nimport * as cloudwatch from 'aws-cdk-lib/aws-cloudwatch';\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\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();",
4233
4233
  "stability": "experimental",
4234
4234
  "summary": "Props for creating an Application construct."
4235
4235
  },
@@ -5497,7 +5497,7 @@
5497
5497
  "custom": {
5498
5498
  "exampleMetadata": "lit=test/integ.application.lit.ts ! show infused"
5499
5499
  },
5500
- "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();",
5500
+ "example": "import * as path from 'path';\nimport * as cloudwatch from 'aws-cdk-lib/aws-cloudwatch';\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\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();",
5501
5501
  "stability": "experimental",
5502
5502
  "summary": "Available Flink runtimes for Kinesis Analytics."
5503
5503
  },
@@ -5623,6 +5623,6 @@
5623
5623
  "symbolId": "lib/types:Runtime"
5624
5624
  }
5625
5625
  },
5626
- "version": "2.27.0-alpha.0",
5626
+ "version": "2.28.0-alpha.0",
5627
5627
  "fingerprint": "**********"
5628
5628
  }