ScheduleEcsParameters

data class ScheduleEcsParameters(val capacityProviderStrategy: List<ScheduleCapacityProviderStrategyItem>? = null, val enableEcsManagedTags: Boolean? = null, val enableExecuteCommand: Boolean? = null, val group: String? = null, val launchType: ScheduleLaunchType? = null, val networkConfiguration: ScheduleNetworkConfiguration? = null, val placementConstraints: List<SchedulePlacementConstraint>? = null, val placementStrategy: List<SchedulePlacementStrategy>? = null, val platformVersion: String? = null, val propagateTags: SchedulePropagateTags? = null, val referenceId: String? = null, val tags: List<Map<String, String>>? = null, val taskCount: Double? = null, val taskDefinitionArn: String)

The custom parameters to be used when the target is an Amazon ECS task.

Constructors

Link copied to clipboard
constructor(capacityProviderStrategy: List<ScheduleCapacityProviderStrategyItem>? = null, enableEcsManagedTags: Boolean? = null, enableExecuteCommand: Boolean? = null, group: String? = null, launchType: ScheduleLaunchType? = null, networkConfiguration: ScheduleNetworkConfiguration? = null, placementConstraints: List<SchedulePlacementConstraint>? = null, placementStrategy: List<SchedulePlacementStrategy>? = null, platformVersion: String? = null, propagateTags: SchedulePropagateTags? = null, referenceId: String? = null, tags: List<Map<String, String>>? = null, taskCount: Double? = null, taskDefinitionArn: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The capacity provider strategy to use for the task.

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 Elastic Container Service Developer Guide.

Link copied to clipboard

Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task.

Link copied to clipboard
val group: String? = null

Specifies an ECS task group for the task. The maximum length is 255 characters.

Link copied to clipboard

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. The FARGATE value is supported only in the Regions where Fargate with Amazon ECS is supported. For more information, see AWS Fargate on Amazon ECS in the Amazon ECS Developer Guide .

Link copied to clipboard

This structure specifies the network configuration for an ECS task.

Link copied to clipboard

An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime).

Link copied to clipboard

The placement strategy objects to use for the task. You can specify a maximum of five strategy rules per task.

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

Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation. To add tags to a task after task creation, use the Amazon ECS TagResource API action.

Link copied to clipboard
val referenceId: String? = null

The reference ID to use for the task.

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

The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. To learn more, see RunTask in the Amazon ECS API Reference.

Link copied to clipboard
val taskCount: Double? = null

The number of tasks to create based on TaskDefinition. The default is 1.

Link copied to clipboard

The ARN of the task definition to use if the event target is an Amazon ECS task.