TaskSetState class
Input properties used for looking up and filtering TaskSet resources.
Constructors
-
TaskSetState({Input<
String?> ? arn, Input<List< ? capacityProviderStrategies, Input<TaskSetCapacityProviderStrategy> ?>String?> ? cluster, Input<String?> ? externalId, Input<bool?> ? forceDelete, Input<String?> ? launchType, Input<List< ? loadBalancers, Input<TaskSetLoadBalancer> ?>TaskSetNetworkConfiguration?> ? networkConfiguration, Input<String?> ? platformVersion, Input<String?> ? region, Input<TaskSetScale?> ? scale, Input<String?> ? service, Input<TaskSetServiceRegistries?> ? serviceRegistries, Input<String?> ? stabilityStatus, Input<String?> ? status, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>String?> ? taskDefinition, Input<String?> ? taskSetId, Input<bool?> ? waitUntilStable, Input<String?> ? waitUntilStableTimeout}) -
Creates a new TaskSetState.
arnARN that identifies the task set.capacityProviderStrategiesCapacity provider strategy to use for the service. Can be one or more. Defined below.clusterShort name or ARN of the cluster that hosts the service to create the task set in.externalIdExternal ID associated with the task set.forceDeleteWhether 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.launchTypeLaunch type on which to run your service. Valid values areEC2,FARGATE, andEXTERNAL. Defaults toEC2.loadBalancersDetails on load balancers that are used with a task set. Detailed below.networkConfigurationNetwork configuration for the service. Required for task definitions that use theawsvpcnetwork mode to receive their own Elastic Network Interface, and not supported for other network modes. Detailed below.platformVersionPlatform version on which to run your service. Only applicable forlaunchTypeset toFARGATE. Defaults toLATEST. More information about Fargate platform versions can be found in the AWS ECS User Guide.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.scaleFloating-point percentage of the desired number of tasks to place and keep running in the task set. Detailed below.serviceShort name or ARN of the ECS service.serviceRegistriesService discovery registries for the service. The maximum number ofserviceRegistriesblocks is1. Detailed below.stabilityStatusStability status. This indicates whether the task set has reached a steady state.statusStatus of the task set.tagsMap of tags to assign to the file system. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. If you have setcopyTagsToBackupsto true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.tagsAllMap of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.taskDefinitionFamily and revision (family:revision) or full ARN of the task definition to run in your service.taskSetIdID of the task set.waitUntilStableWhether the provider should wait until the task set has reachedSTEADY_STATE.waitUntilStableTimeoutWait timeout for task set to reachSTEADY_STATE. Valid time units includens,us(orµs),ms,s,m, andh. Default10m.const -
TaskSetState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
arn
→ Input<
String?> ? -
ARN that identifies the task set.
final
-
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, andEXTERNAL. Defaults toEC2.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
awsvpcnetwork 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
launchTypeset toFARGATE. Defaults toLATEST. 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
serviceRegistriesblocks is1. Detailed below.final -
stabilityStatus
→ Input<
String?> ? -
Stability status. This indicates whether the task set has reached a steady state.
final
-
status
→ Input<
String?> ? -
Status of the task set.
final
-
Map of tags to assign to the file system. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. If you have setcopyTagsToBackupsto true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.final -
Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.final -
taskDefinition
→ Input<
String?> ? -
Family and revision (
family:revision) or full ARN of the task definition to run in your service.final -
taskSetId
→ Input<
String?> ? -
ID of the task set.
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 includens,us(orµs),ms,s,m, andh. Default10m.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