CfnPrimaryTaskSetProps

class aws_cdk.aws_ecs.CfnPrimaryTaskSetProps(*, cluster, service, task_set_id)

Bases: object

Properties for defining a CfnPrimaryTaskSet.

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

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

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

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-primarytaskset.html

ExampleMetadata

fixture=_generated

Example:

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

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

Attributes

cluster

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

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-primarytaskset.html#cfn-ecs-primarytaskset-cluster

Return type

str

service

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

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-primarytaskset.html#cfn-ecs-primarytaskset-service

Return type

str

task_set_id

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

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-primarytaskset.html#cfn-ecs-primarytaskset-tasksetid

Return type

str