AWS::ECS::PrimaryTaskSetModifies which task set in a service is the primary task set. Any parameters that are updated on the primary task set in a service will transition to the service. This is used when a service uses the `EXTERNAL` deployment controller type. For more information, see [Amazon ECS Deployment Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) in the *Amazon Elastic Container Service Developer Guide* .
import { CfnPrimaryTaskSet } from 'aws-cdk-lib/aws-ecs';Or use the module namespace:
import * as ecs from 'aws-cdk-lib/aws-ecs';
// ecs.CfnPrimaryTaskSetConfiguration passed to the constructor as CfnPrimaryTaskSetProps.
clusterRequiredstringThe short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.
serviceRequiredstringThe short name or full Amazon Resource Name (ARN) of the service that the task set exists in.
taskSetIdRequiredstringThe short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon ECS on one page. HD quality, print-friendly.
Download Free Infographicaws-ecsAWS::ECS::PrimaryTaskSet