aws / aws-cdk

The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
https://aws.amazon.com/cdk
Apache License 2.0
11.57k stars 3.88k forks source link

(events): L2 for EventBridge Scheduler #23394

Closed tmokmss closed 7 months ago

tmokmss commented 1 year ago

Describe the feature

EventBridge Scheduler was released on 2022/11. It is basically a powerful version of the existing EventBridge scheduled rules, with more scalability, timezone support, time window schedules, etc. Introducing Amazon EventBridge Scheduler

It would be great if we have a user friendly interface for this resource just like the existing L2 constructs in aws-events module. CloudFormation reference is here.

NOTE: L1 constructs are already available: doc

Use Case

It will improve most of the use cases that currently use EventBridge scheduled rules.

Proposed Solution

No response

Other Information

The RFC process is completed: https://github.com/aws/aws-cdk-rfcs/pull/486

See the referenced PRs to check the progress of implementation.

Acknowledgements

CDK version used

2.52.0

Environment details (OS name and version, etc.)

n/a

mascur commented 1 year ago

Hi @tmokmss,

Thank you for this feature request! I think this would be a great addition! If you would like to contribute then you'll need to submit an RFC first because this is a new L2 construct.

I've marked this issue as a p2. We most likely won't be able to get to this issue. However, if you or another community member would like to submit a PR we might be able to review that. You can refer to the Contribution Guide here to get started.

We use +1s to help prioritize our work, and are happy to revaluate this issue based on community feedback. You can reach out to the cdk.dev community on Slack to solicit support for reprioritization.

yaojiach commented 1 year ago

+1

yaojiach commented 1 year ago

+1

filletofish commented 1 year ago

Hey all, have started a RFC for this construct: https://github.com/aws/aws-cdk-rfcs/issues/474.

wilhen01 commented 1 year ago

+1!

anamariad commented 1 year ago

+1

vitaliknet commented 1 year ago

+1

github-actions[bot] commented 1 year ago

This issue has received a significant amount of attention so we are automatically upgrading its priority. A member of the community will see the re-prioritization and provide an update on the issue.

toshitanaa commented 1 year ago

+1

ElliotWhiley commented 1 year ago

+1

andriimykhailovsumup commented 1 year ago

+1

filletofish commented 1 year ago

Hi all,

RFC for L2 EB Scheduler Constructs was approved by bar-raiser. We are currently waiting for community feedback until April 19th. Please do take a look if interested.

https://github.com/aws/aws-cdk-rfcs/pull/486

meowsick commented 1 year ago

+1

roshni06 commented 1 year ago

Hi what is the status of this feature? When will this be merged?

bharatjoshi11 commented 1 year ago

Hey everyone. I want to create eventbridge scheduler using golang is there any sdk available for that?

weijiany commented 1 year ago

+1 aws-cdk version 2.83.1 doesn't support. 😢

filletofish commented 12 months ago

Hi all,

We have added recently a first L2 target class LambdaInvoke to scheduler-targets-alpha package. See example at https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk/aws-scheduler-targets-alpha/lib/lambda-invoke.ts.

We need to implement other 11 templated targets as L2 CDK constructs. These targets could be implemented in parallel and could be a good beginner / first issue to work on.

I have created a bunch of issues to track the work on targets:

  1. https://github.com/aws/aws-cdk/issues/27448
  2. https://github.com/aws/aws-cdk/issues/27449
  3. https://github.com/aws/aws-cdk/issues/27450
  4. https://github.com/aws/aws-cdk/issues/27451
  5. https://github.com/aws/aws-cdk/issues/27453
  6. https://github.com/aws/aws-cdk/issues/27454
  7. https://github.com/aws/aws-cdk/issues/27456
  8. https://github.com/aws/aws-cdk/issues/27457
  9. https://github.com/aws/aws-cdk/issues/27458
  10. https://github.com/aws/aws-cdk/issues/27459
WtfJoke commented 12 months ago

For completeness:

  1. (aws-scheduler-targets-alpha): Add StepFunctionsStartExecution #27377

And the corresponding PR #27424

filletofish commented 11 months ago

One more subtask is to support customer-managed KMS Keys in Schedules - https://github.com/aws/aws-cdk/issues/27543

filletofish commented 11 months ago

Also tracking feature to override target properties in https://github.com/aws/aws-cdk/issues/27545

kaizencc commented 7 months ago

I am going to close this as completed. We have a full-blown alpha module and targets now for eventbridge scheduler. all additional work can be tracked individually, we have followed through on the ask for an L2 for EventBridge. Lets create new issues for any feature requests and bug fixes and go from there! Excited to see this one in.

github-actions[bot] commented 7 months ago

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.