CfnPrimaryTaskSetMixinProps

class aws_cdk.mixins_preview.aws_ecs.mixins.CfnPrimaryTaskSetMixinProps(*, cluster=None, service=None, task_set_id=None)

Bases: object

Properties for CfnPrimaryTaskSetPropsMixin.

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

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

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

See:

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.
from aws_cdk.mixins_preview.aws_ecs import mixins as ecs_mixins

cfn_primary_task_set_mixin_props = ecs_mixins.CfnPrimaryTaskSetMixinProps(
    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.

See:

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

service

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

See:

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

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.

See:

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