Created
July 11, 2019 02:42
-
-
Save sangdongvan/686d8de0a79bb9a06e6d9c212e6daee3 to your computer and use it in GitHub Desktop.
excerpt CF setup a flink job in Kinesis Analytics service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KinesisAnalyticsFlinkApplication: | |
Type: AWS::KinesisAnalyticsV2::Application | |
Properties: | |
RuntimeEnvironment: FLINK-1_6 | |
ServiceExecutionRole: !Sub ${KinesisAnalyticsServiceRole.Arn} | |
ApplicationConfiguration: | |
ApplicationCodeConfiguration: | |
CodeContent: | |
S3ContentLocation: | |
BucketARN: !Ref FlinkApplicationS3BucketArn | |
FileKey: !Ref FlinkApplicationS3Path | |
CodeContentType: ZIPFILE | |
EnvironmentProperties: | |
PropertyGroups: | |
- PropertyGroupId: FlinkApplicationProperties | |
PropertyMap: | |
ElasticsearchEndpoint: !Sub https://${ElasticsearchService.DomainEndpoint} | |
EventTime: true | |
InputStreamName: !Sub ${KinesisStream} | |
Region: !Sub ${AWS::Region} | |
FlinkApplicationConfiguration: | |
MonitoringConfiguration: | |
ConfigurationType: CUSTOM | |
LogLevel: INFO | |
MetricsLevel: TASK | |
ApplicationSnapshotConfiguration: | |
SnapshotsEnabled: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment