-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[Step Functions] Run ECS Task with dynamic Task Definition #5931
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-stepfunctionsRelated to AWS StepFunctionsRelated to AWS StepFunctionsclosing-soonThis issue will automatically close in 4 days unless further comments are made.This issue will automatically close in 4 days unless further comments are made.feature-requestA feature should be added or improved.A feature should be added or improved.
Description
❓ Run ECS Task in Step Functions with dynamic Task Definition
The Question
I'm wondering why this can't be an ITaskDefinition, since I'd like to dynamically pull the task definition from the input. According to the Step Functions UI it's possible to do so
aws-cdk/packages/@aws-cdk/aws-stepfunctions-tasks/lib/run-ecs-task-base.ts
Lines 18 to 24 in 0f0e205
| /** | |
| * Task Definition used for running tasks in the service. | |
| * | |
| * Note: this must be TaskDefinition, and not ITaskDefinition, | |
| * as it requires properties that are not known for imported task definitions | |
| */ | |
| readonly taskDefinition: ecs.TaskDefinition; |
Environment
- CDK CLI Version:
1.21.1 (build 842cc5f) - Module Version:
@aws-cdk/aws-stepfunctions-tasks": "1.19.0 - OS:
OSX Catalina - Language:
TypeScript
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-stepfunctionsRelated to AWS StepFunctionsRelated to AWS StepFunctionsclosing-soonThis issue will automatically close in 4 days unless further comments are made.This issue will automatically close in 4 days unless further comments are made.feature-requestA feature should be added or improved.A feature should be added or improved.
