-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(scheduler): base target methods and lambda invoke target (#26575)
This PR contains implementation for Schedule Targets: 1. Creates a separate module for targets 2. Support imported resources, but not cross account, cross region resources as we discussed in RFC. The unit tests should cover 4 cases (target and role within the same stack, target is imported, role is imported, target and role are imported), 3. I have moved out class `Schedule` from private package to depend on it in `schedule-targets` unit tests. Implementation is based on RFC: https://github.com/aws/aws-cdk-rfcs/blob/master/text/0474-event-bridge-scheduler-l2.md Advances #23394 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
1 parent
9cb395c
commit 39cbd46
Showing
28 changed files
with
1,607 additions
and
247 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ module.exports = { | |
branches: 60, | ||
}, | ||
}, | ||
};; | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export * from './schedule-expression'; | ||
export * from './input'; | ||
export * from './schedule'; | ||
export * from './group'; | ||
export * from './group'; | ||
export * from './target'; |
This file was deleted.
Oops, something went wrong.
70 changes: 0 additions & 70 deletions
70
packages/@aws-cdk/aws-scheduler-alpha/lib/private/schedule.ts
This file was deleted.
Oops, something went wrong.
58 changes: 0 additions & 58 deletions
58
packages/@aws-cdk/aws-scheduler-alpha/lib/private/targets.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.