TaskSetArgs class

The set of arguments for TaskSet. The set of arguments for TaskSet.

Constructors

TaskSetArgs({Input<List<TaskSetCapacityProviderStrategy>?>? capacityProviderStrategies, required Input<String> cluster, Input<String?>? externalId, Input<bool?>? forceDelete, Input<String?>? launchType, Input<List<TaskSetLoadBalancer>?>? loadBalancers, Input<TaskSetNetworkConfiguration?>? networkConfiguration, Input<String?>? platformVersion, Input<String?>? region, Input<TaskSetScale?>? scale, required Input<String> service, Input<TaskSetServiceRegistries?>? serviceRegistries, Input<Map<String, String>?>? tags, required Input<String> taskDefinition, Input<bool?>? waitUntilStable, Input<String?>? waitUntilStableTimeout})
Creates a new TaskSetArgs. capacityProviderStrategies Capacity provider strategy to use for the service. Can be one or more. Defined below. cluster Short name or ARN of the cluster that hosts the service to create the task set in. externalId External ID associated with the task set. forceDelete Whether to allow deleting the task set without waiting for scaling down to 0. You can force a task set to delete even if it's in the process of scaling a resource. Normally, the provider drains all the tasks before deleting the task set. This bypasses that behavior and potentially leaves resources dangling. launchType Launch type on which to run your service. Valid values are EC2, FARGATE, and EXTERNAL. Defaults to EC2. loadBalancers Details on load balancers that are used with a task set. Detailed below. networkConfiguration Network configuration for the service. Required for task definitions that use the awsvpc network mode to receive their own Elastic Network Interface, and not supported for other network modes. Detailed below. platformVersion Platform version on which to run your service. Only applicable for launchType set to FARGATE. Defaults to LATEST. More information about Fargate platform versions can be found in the AWS ECS User Guide. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. scale Floating-point percentage of the desired number of tasks to place and keep running in the task set. Detailed below. service Short name or ARN of the ECS service. serviceRegistries Service discovery registries for the service. The maximum number of serviceRegistries blocks is 1. Detailed below. tags Map of tags to assign to the file system. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set copyTagsToBackups to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup. taskDefinition Family and revision (family:revision) or full ARN of the task definition to run in your service. waitUntilStable Whether the provider should wait until the task set has reached STEADY_STATE. waitUntilStableTimeout Wait timeout for task set to reach STEADY_STATE. Valid time units include ns, us (or µs), ms, s, m, and h. Default 10m.
const
TaskSetArgs.fromMap(Map<String, dynamic> map)
factory

Properties

capacityProviderStrategies → Input<List<TaskSetCapacityProviderStrategy>?>?
Capacity provider strategy to use for the service. Can be one or more. Defined below.
final
cluster → Input<String>
Short name or ARN of the cluster that hosts the service to create the task set in.
final
externalId → Input<String?>?
External ID associated with the task set.
final
forceDelete → Input<bool?>?
Whether to allow deleting the task set without waiting for scaling down to 0. You can force a task set to delete even if it's in the process of scaling a resource. Normally, the provider drains all the tasks before deleting the task set. This bypasses that behavior and potentially leaves resources dangling.
final
hashCode → int
The hash code for this object.
no setterinherited
launchType → Input<String?>?
Launch type on which to run your service. Valid values are EC2, FARGATE, and EXTERNAL. Defaults to EC2.
final
loadBalancers → Input<List<TaskSetLoadBalancer>?>?
Details on load balancers that are used with a task set. Detailed below.
final
networkConfiguration → Input<TaskSetNetworkConfiguration?>?
Network configuration for the service. Required for task definitions that use the awsvpc network mode to receive their own Elastic Network Interface, and not supported for other network modes. Detailed below.
final
platformVersion → Input<String?>?
Platform version on which to run your service. Only applicable for launchType set to FARGATE. Defaults to LATEST. More information about Fargate platform versions can be found in the AWS ECS User Guide.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scale → Input<TaskSetScale?>?
Floating-point percentage of the desired number of tasks to place and keep running in the task set. Detailed below.
final
service → Input<String>
Short name or ARN of the ECS service.
final
serviceRegistries → Input<TaskSetServiceRegistries?>?
Service discovery registries for the service. The maximum number of serviceRegistries blocks is 1. Detailed below.
final
tags → Input<Map<String, String>?>?
Map of tags to assign to the file system. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set copyTagsToBackups to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.
final
taskDefinition → Input<String>
Family and revision (family:revision) or full ARN of the task definition to run in your service.
final
waitUntilStable → Input<bool?>?
Whether the provider should wait until the task set has reached STEADY_STATE.
final
waitUntilStableTimeout → Input<String?>?
Wait timeout for task set to reach STEADY_STATE. Valid time units include ns, us (or µs), ms, s, m, and h. Default 10m.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited