aws / aws/aws-cdk

(cli): Add hot-swap support for AWS Synthetics Canaries

Open
#18,581 0 comments 7 reactions 0 assignees View on GitHub
effort/medium feature-request feature/enhancement hotswap p2 package/tools
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Description

I'd like to hot-swap the code for AWS Synthetics Canaries.

### Use Case

The development experience for canary scripts would be much faster.

![image](https://user-images.githubusercontent.com/644092/150435472-53ee42e2-ac70-4e01-89eb-c34995dc72d5.png)

### Proposed Solution

I'm not too familiar with the hot-swapping code, but hot-swap likely boils down to uploading the code asset and calling the [UpdateCanary](https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_UpdateCanary.html) API.

### Other information

_No response_

### Acknowledge

- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Start by reviewing the existing hot-swap implementation and the AWS Synthetics UpdateCanary API, then determine how the canary code asset is uploaded. Done means hot-swapping a canary script updates its code through the requested API without a full deployment.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cli, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.