GetTaskExecutionPlainArgs

data class GetTaskExecutionPlainArgs(val capacityProviderStrategies: List<GetTaskExecutionCapacityProviderStrategy>? = null, val cluster: String, val desiredCount: Int? = null, val enableEcsManagedTags: Boolean? = null, val enableExecuteCommand: Boolean? = null, val group: String? = null, val launchType: String? = null, val networkConfiguration: GetTaskExecutionNetworkConfiguration? = null, val overrides: GetTaskExecutionOverrides? = null, val placementConstraints: List<GetTaskExecutionPlacementConstraint>? = null, val placementStrategies: List<GetTaskExecutionPlacementStrategy>? = null, val platformVersion: String? = null, val propagateTags: String? = null, val referenceId: String? = null, val startedBy: String? = null, val tags: Map<String, String>? = null, val taskDefinition: String) : ConvertibleToJava<GetTaskExecutionPlainArgs>

A collection of arguments for invoking getTaskExecution.

Constructors

Link copied to clipboard
constructor(capacityProviderStrategies: List<GetTaskExecutionCapacityProviderStrategy>? = null, cluster: String, desiredCount: Int? = null, enableEcsManagedTags: Boolean? = null, enableExecuteCommand: Boolean? = null, group: String? = null, launchType: String? = null, networkConfiguration: GetTaskExecutionNetworkConfiguration? = null, overrides: GetTaskExecutionOverrides? = null, placementConstraints: List<GetTaskExecutionPlacementConstraint>? = null, placementStrategies: List<GetTaskExecutionPlacementStrategy>? = null, platformVersion: String? = null, propagateTags: String? = null, referenceId: String? = null, startedBy: String? = null, tags: Map<String, String>? = null, taskDefinition: String)

Properties

Link copied to clipboard

Set of capacity provider strategies to use for the cluster. See below.

Link copied to clipboard

Short name or full Amazon Resource Name (ARN) of the cluster to run the task on.

Link copied to clipboard
val desiredCount: Int? = null

Number of instantiations of the specified task to place on your cluster. You can specify up to 10 tasks for each call.

Link copied to clipboard

Specifies whether to enable Amazon ECS managed tags for the tasks within the service.

Link copied to clipboard

Specifies whether to enable Amazon ECS Exec for the tasks within the service.

Link copied to clipboard
val group: String? = null

Name of the task group to associate with the task. The default value is the family name of the task definition.

Link copied to clipboard
val launchType: String? = null

Launch type on which to run your service. Valid values are EC2, FARGATE, and EXTERNAL.

Link copied to clipboard

Network configuration for the service. This parameter is required for task definitions that use the awsvpc network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. See below.

Link copied to clipboard

A list of container overrides that specify the name of a container in the specified task definition and the overrides it should receive.

Link copied to clipboard

An array of placement constraint objects to use for the task. You can specify up to 10 constraints for each task. See below.

Link copied to clipboard

The placement strategy objects to use for the task. You can specify a maximum of 5 strategy rules for each task. See below.

Link copied to clipboard
val platformVersion: String? = null

The platform version the task uses. A platform version is only specified for tasks hosted on Fargate. If one isn't specified, the LATEST platform version is used.

Link copied to clipboard
val propagateTags: String? = null

Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags aren't propagated. An error will be received if you specify the SERVICE option when running a task. Valid values are TASK_DEFINITION or NONE.

Link copied to clipboard
val referenceId: String? = null

The reference ID to use for the task.

Link copied to clipboard
val startedBy: String? = null

An optional tag specified when a task is started.

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

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard

The family and revision (family:revision) or full ARN of the task definition to run. If a revision isn't specified, the latest ACTIVE revision is used. The following arguments are optional:

Functions

Link copied to clipboard
open override fun toJava(): GetTaskExecutionPlainArgs