Skip to main content

primary_task_set

Gets an individual primary_task_set resource

Overview

Nameprimary_task_set
TypeResource
Descriptionprimary_task_set
Idawscc.ecs.primary_task_set

Fields

NameDatatypeDescription
clusterstringThe short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.
task_set_idstringThe ID or full Amazon Resource Name (ARN) of the task set.
servicestringThe short name or full Amazon Resource Name (ARN) of the service to create the task set in.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
cluster,
task_set_id,
service
FROM awscc.ecs.primary_task_set
WHERE data__Identifier = '<Cluster>|<Service>';

Permissions

To operate on the primary_task_set resource, the following permissions are required:

Update

ecs:DescribeTaskSets,
ecs:UpdateServicePrimaryTaskSet