Skip to content
v2.273.0

CfnPrimaryTaskSetProps Struct ​

Properties for defining a CfnPrimaryTaskSet.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const cfnPrimaryTaskSetProps: ecs.CfnPrimaryTaskSetProps = {
  cluster: 'cluster',
  service: 'service',
  taskSetId: 'taskSetId',
};

Properties ​

clusterstringclusterstrclusterStringClusterstringCluster*stringrequired#
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.
servicestringservicestrserviceStringServicestringService*stringrequired#
The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.
taskSetIdstringtask_set_idstrtaskSetIdStringTaskSetIdstringTaskSetId*stringrequired#
The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.

Used as props by ​