aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

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

Open
#1,904 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

### 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](https://awscli.amazonaws.com/v2/documentation/api/2.0.33/reference/cloudformation/package.html) 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](https://awscli.amazonaws.com/v2/documentation/api/2.0.33/reference/cloudformation/package.html)
```
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_

Contributor guide

Open the contributing guide

Research direction

Use the AWS CloudFormation package command as the entry point and compare its existing AWS::Lambda::Function handling with the requested AWS::KinesisAnalyticsV2::Application behavior. Verify that CodeContent is uploaded and rewritten to S3ContentLocation with ZIPFILE, while preserving the surrounding resource properties, and confirm the packaged output matches the example.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.