Skip to content

Create FargateService with existing FargateTaskDefinitionArn #112

@pahud

Description

@pahud

❓ 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

Metadata

Metadata

Assignees

Labels

@aws-cdk/aws-ecsRelated to Amazon Elastic ContainerbugThis issue is a bug.effort/mediumMedium work item – a couple days of effortguidanceQuestion that needs advice or information.p1

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions