aws-cloudformation / cloudformation-coverage-roadmap

The AWS CloudFormation Public Coverage Roadmap
https://aws.amazon.com/cloudformation/
Creative Commons Attribution Share Alike 4.0 International
1.1k stars 53 forks source link

AWS CloudFormation 'package' support for AWS::KinesisAnalyticsV2::Application #1904

Open cmogeni opened 6 months ago

cmogeni commented 6 months ago

Name of the resource

AWS::KinesisAnalyticsV2::Application

Resource name

No response

Description

The aws cloudformation package command should support packaging code in the AWS::KinesisAnalyticsV2::Application, for example the package command should covert the below resource from:

MyApplication:
    Type: AWS::KinesisAnalyticsV2::Application
    Properties:
      RuntimeEnvironment: FLINK-1_15
      ServiceExecutionRole: !GetAtt ServiceExecutionRole.Arn
      ApplicationConfiguration:
        ApplicationCodeConfiguration:
          CodeContent: ./index.py
          CodeContentType: 'PLAINTEXT'​

to the below after packaging

MyApplication:
    Type: AWS::KinesisAnalyticsV2::Application
    Properties:
      RuntimeEnvironment: FLINK-1_15
      ServiceExecutionRole: !GetAtt ServiceExecutionRole.Arn
      ApplicationConfiguration:
        ApplicationCodeConfiguration:
          CodeContent:
            S3ContentLocation:
              BucketARN: arn:aws:s3:::testusecasecxxxx
              FileKey: a059a71a55e13083f3fc510fc1050bd2
          CodeContentType: 'ZIPFILE'
​

This should work in a similar way to the AWS::Lambda::Function resource

Other Details

No response