❓ Guidance Question
I am trying to create a ecs.FargateService with existing fargateTaskDefinitionArn. However, the taskDefinition property expects ecs.TaskDefintion but fromFargateTaskDefinitionArn() returns ecs.IFargateTaskDefinition.
Any sample or guidance is appreciated.


The Question
Environment
- CDK CLI Version: 1.6.1 (build a09203a)
- Example:
- Example Version:
- OS: OSX Mojave
- Language: TypeScript
Other information
❓ Guidance Question
I am trying to create a
ecs.FargateServicewith existingfargateTaskDefinitionArn. However, thetaskDefinitionproperty expectsecs.TaskDefintionbutfromFargateTaskDefinitionArn()returnsecs.IFargateTaskDefinition.Any sample or guidance is appreciated.
The Question
Environment
Other information