aws / aws/aws-cdk

(aws_ecs_patterns): daemon construct prop for NetworkLoadBalancedEc2Service

Open
#18,200 1 comment 1 reaction 0 assignees View on GitHub
@aws-cdk/aws-ecs-patterns effort/small feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Description

Create an ECS service with the daemon scheduling strategy via NetworkLoadBalancedEc2Service by setting the `daemon` construct prop to true, similar to how this can be done for a regular Ec2Service from aws-ecs.

### Use Case

I want to use NetworkLoadBalancedEc2Service to create an ECS service with the daemon scheduling strategy.

### Proposed Solution

```
const loadBalancedEcsService = new ecsPatterns.NetworkLoadBalancedEc2Service(this, 'Service', {
deamon: true,
...
}
```

### Other information

_No response_

### Acknowledge

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

Contributor guide

Open the contributing guide

Research direction

Start at the NetworkLoadBalancedEc2Service construct in the aws-ecs-patterns module and compare its service configuration with the regular Ec2Service from aws-ecs. Confirm how the daemon scheduling strategy is represented, then verify that setting the requested construct prop produces a daemon-scheduled service.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.