ScheduleTargetEcsParameters

data class ScheduleTargetEcsParameters(val capacityProviderStrategies: List<ScheduleTargetEcsParametersCapacityProviderStrategy>? = null, val enableEcsManagedTags: Boolean? = null, val enableExecuteCommand: Boolean? = null, val group: String? = null, val launchType: String? = null, val networkConfiguration: ScheduleTargetEcsParametersNetworkConfiguration? = null, val placementConstraints: List<ScheduleTargetEcsParametersPlacementConstraint>? = null, val placementStrategies: List<ScheduleTargetEcsParametersPlacementStrategy>? = null, val platformVersion: String? = null, val propagateTags: String? = null, val referenceId: String? = null, val tags: Map<String, String>? = null, val taskCount: Int? = null, val taskDefinitionArn: String)

Constructors

Link copied to clipboard
constructor(capacityProviderStrategies: List<ScheduleTargetEcsParametersCapacityProviderStrategy>? = null, enableEcsManagedTags: Boolean? = null, enableExecuteCommand: Boolean? = null, group: String? = null, launchType: String? = null, networkConfiguration: ScheduleTargetEcsParametersNetworkConfiguration? = null, placementConstraints: List<ScheduleTargetEcsParametersPlacementConstraint>? = null, placementStrategies: List<ScheduleTargetEcsParametersPlacementStrategy>? = null, platformVersion: String? = null, propagateTags: String? = null, referenceId: String? = null, tags: Map<String, String>? = null, taskCount: Int? = null, taskDefinitionArn: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Up to 6 capacity provider strategies to use for the task. Detailed below.

Link copied to clipboard

Specifies whether to enable Amazon ECS managed tags for the task. For more information, see Tagging Your Amazon ECS Resources in the Amazon ECS Developer Guide.

Link copied to clipboard

Specifies whether to enable the execute command functionality for the containers in this task.

Link copied to clipboard
val group: String? = null

Specifies an ECS task group for the task. At most 255 characters.

Link copied to clipboard
val launchType: String? = null

Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. One of: EC2, FARGATE, EXTERNAL.

Link copied to clipboard

Configures the networking associated with the task. Detailed below.

Link copied to clipboard

A set of up to 10 placement constraints to use for the task. Detailed below.

Link copied to clipboard

A set of up to 5 placement strategies. Detailed below.

Link copied to clipboard
val platformVersion: String? = null

Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0.

Link copied to clipboard
val propagateTags: String? = null

Specifies whether to propagate the tags from the task definition to the task. One of: TASK_DEFINITION.

Link copied to clipboard
val referenceId: String? = null

Reference ID to use for the task.

Link copied to clipboard
val tags: Map<String, String>? = null

The metadata that you apply to the task. Each tag consists of a key and an optional value. For more information, see RunTask in the Amazon ECS API Reference.

Link copied to clipboard
val taskCount: Int? = null

The number of tasks to create. Ranges from 1 (default) to 10.

Link copied to clipboard

ARN of the task definition to use. The following arguments are optional: