aws/aws-cdk

(ecs-patterns): QueueProcessingFargateService - Allow task role to be specified

Open

#16,297 建立於 2021年8月31日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)TypeScript (3,530 fork)batch import
@aws-cdk/aws-ecs-patternseffort/smallfeature-requestgood first issuep2

倉庫指標

Star
 (10,710 star)
PR 合併指標
 (平均合併 14天 11小時) (30 天內合併 68 個 PR)

描述

Allow the Role used by the Task created by the service to be specified in configuration

Use Case

Allow for customization of the Role such as setting the role name.

Proposed Solution

I'm torn here. What is really needed is come consistency between the ECS patterns when it comes to configuration. ApplicationLoadBalancedFargateService provides an imageOptions configuration property that contains an optional Role property. QueueProcessingFargateService only has an image property, so it would appear that taskRole would need to be defined on the configuration root.

  • :wave: I may be able to implement this feature request
  • :warning: This feature might incur a breaking change

This is a :rocket: Feature Request

貢獻者指南