aws-cdk-lib.aws_ecs.CfnPrimaryTaskSetProps

interface CfnPrimaryTaskSetProps

LanguageType name
.NETAmazon.CDK.AWS.ECS.CfnPrimaryTaskSetProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnPrimaryTaskSetProps
Javasoftware.amazon.awscdk.services.ecs.CfnPrimaryTaskSetProps
Pythonaws_cdk.aws_ecs.CfnPrimaryTaskSetProps
TypeScript aws-cdk-lib » aws_ecs » CfnPrimaryTaskSetProps

Properties for defining a CfnPrimaryTaskSet.

Example

// 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

NameTypeDescription
clusterstringThe short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.
servicestringThe short name or full Amazon Resource Name (ARN) of the service that the task set exists in.
taskSetIdstringThe short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.

cluster

Type: string

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.


service

Type: string

The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.


taskSetId

Type: string

The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.