Skip to content

(aws-cdk-lib/aws-ecs-patterns): Add ability to set healthCheck property for ApplicationLoadBalancedFargateService #28796

@Nikola-Milovic

Description

@Nikola-Milovic

Describe the feature

Similar request as #15636

ApplicationLoadBalancedFargateService currently does not offer healthCheck options property

Use Case

I want to set custom healthcheck property on my container

Proposed Solution

Add the healthcheck property to ApplicationLoadBalancedFargateService and pass it to the container

https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-ecs-patterns/lib/fargate/application-load-balanced-fargate-service.ts#L83

Something like https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-ecs-patterns/lib/fargate/queue-processing-fargate-service.ts#L26 from QueueProcessingFargateServiceProps

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.94.0 (build 987c329)

Environment details (OS name and version, etc.)

22.04 Ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions