# CfnPrimaryTaskSetProps

Properties for defining a `CfnPrimaryTaskSet`.

Used as props by: [CfnPrimaryTaskSet](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.CfnPrimaryTaskSet.html)

- Source: Generated at build time

## Example

TypeScript:

```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',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ecs as ecs

cfn_primary_task_set_props = ecs.CfnPrimaryTaskSetProps(
    cluster="cluster",
    service="service",
    task_set_id="taskSetId"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ecs.*;

CfnPrimaryTaskSetProps cfnPrimaryTaskSetProps = CfnPrimaryTaskSetProps.builder()
        .cluster("cluster")
        .service("service")
        .taskSetId("taskSetId")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;

var cfnPrimaryTaskSetProps = new CfnPrimaryTaskSetProps {
    Cluster = "cluster",
    Service = "service",
    TaskSetId = "taskSetId"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnPrimaryTaskSetProps := &CfnPrimaryTaskSetProps{
	Cluster: jsii.String("cluster"),
	Service: jsii.String("service"),
	TaskSetId: jsii.String("taskSetId"),
}
```

## Properties

- `cluster`: string (required) — The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.

- `service`: string (required) — The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.

- `taskSetId`: string (required) — The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.
