-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
L2 construct for Synthetics Canary #7687
Comments
When will it release 👯 , somehow terraform will release it in next version. 😢 |
@jogold Hi, did you start implementing this? Otherwise, I could look into it. |
Not yet, feel free to start working on this! |
We picked this up, @kaizen3031593 will be working on this for the next few months, we will share our high level design and would love to get your feedback. |
@NetaNir @kaizen3031593 wonderful. I am happy to give feedback. Ping me whenever you need something. We can jump on a call if you like. |
Same here. |
This PR specifies an implementation for a CloudWatch Canary. It will be implemented in milestones specified below. Closes #7687. Currently, this PR implements up to **Milestone 2**. **Milestone 1**: This implementation allows customers to specify a canary with these properties: - [x] `artifactBucket: IBucket` - [x] `role: IRole` - [x] `timeToLive: Duration` - [x] `schedule: Schedule` - [x] `startAfterCreation: boolean` - [x] `successRetentionPeriod: Duration` - [x] `failureRetentionPeriod: Duration` - [x] `canaryName: string` And: - [x] generate `name` for users if not specified - [x] metric methods that reference those emitted by CloudWatch **Milestone 2**: This is the next step needed to allow customers to specify their own canary scripts: - [x] `test:Test` - [x] `Test` class with static method `Test.custom()` - [x] `Code` class with static method `Code.inline()` - [x] `Code.fromAsset()` - [x] validate correct folder structure for assets `nodejs/node_modules` - [x] validate correct file name - [x] `Code.fromBucket()` **Milestone 3**: These are features that make a more robust Canary API: - [ ] static method `Test.apiEndpoint()` - [ ] additional static method templates for `Test` - [ ] support runConfig properties - `memorySize` and `timeout` [README Rendered version](https://github.com/aws/aws-cdk/blob/feca976ed2dbd0dc1e2416210cc967fa53a4309a/packages/%40aws-cdk/aws-synthetics/README.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Add a L2 construct for
AWS::Synthetics::Canary
(needs #7664).For the code property there's a lot in common with Lambda.
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: