aws / aws/aws-cdk

AWS Batch: Add Container Insights

Open
#21,698 13 comments 41 reactions 0 assignees View on GitHub
@aws-cdk/aws-batch feature-request needs-cfn p1
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the feature

In AWS Batch console it is possible to enable container insights for compute environments.
This configuration is missing in CDK compute environments for Batch.

### Use Case

I want to enable container insights programmatically for all my compute environments.

### Proposed Solution

Ideally this could be added in ComputeEnvironmentProps: https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk/aws-batch/lib/compute-environment.ts#L251

### Other Information

_No response_

### Acknowledgements

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

### CDK version used

2.38.1

### Environment details (OS name and version, etc.)

NA

Contributor guide

Open the contributing guide

Research direction

Start in packages/@aws-cdk/aws-batch/lib/compute-environment.ts, especially ComputeEnvironmentProps and the compute-environment configuration path. Determine how the AWS Batch console's container insights setting should be represented there, then verify that synthesized compute environments include the requested configuration.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.