AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::ECS::CapacityProvider

CfnCapacityProvider

L1 CloudFormation construct for AWS::ECS::CapacityProvider

Import

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

Or use the module namespace:

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

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