AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::ECS::TaskDefinition

CfnTaskDefinition

L1 CloudFormation construct for AWS::ECS::TaskDefinition

Import

import { CfnTaskDefinition } from 'aws-cdk-lib/aws-ecs';

Or use the module namespace:

import * as ecs from 'aws-cdk-lib/aws-ecs';
// ecs.CfnTaskDefinition

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon ECS Cheat Sheet

Everything you need to know about Amazon ECS on one page. HD quality, print-friendly.

Download Free Infographic