(aws-scheduler-targets-alpha): Add KinesisStreamPutRecord Target #27451
Labels
@aws-cdk/aws-kinesis
Related to Amazon Kinesis
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
Work to support L2 constructs for AWS Scheduler is in progress (#23394). See the approved RFC. RFC planned to add 12 templates targets, but only Lambda Invoke is currently implemented (#26575).
This issue tracks implementation of
KinesisStreamPutRecord
target to put a record to a Kinesis Stream.Use Case
Customers would like to use templated target
KinesisStreamPutRecord
to be able to put a record to a Kinesis Stream on schedule. L2 target construct should grant required permissions to theAWS Scheduler
to put records to a Kinesis Stream.Proposed Solution
The proposed solution needs to be adopted to the recent examples of
LambdaInvoke
(https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk/aws-scheduler-targets-alpha/lib/lambda-invoke.ts).Solution should also include unit and integration tests.
Class
KinesisStreamPutRecord
should:addTargetActionToRole
bindBaseTargetConfig
to returnkinesisParameters
as part ofScheduleTargetConfig
.Other Information
No response
Acknowledgements
CDK version used
2.99.1
Environment details (OS name and version, etc.)
MacOS
The text was updated successfully, but these errors were encountered: