TaskSet class
Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or
an EXTERNAL deployment. An Amazon ECS task set includes details
such as the desired number of tasks, how many tasks are running, and whether
the task set serves production traffic.
Constructors
-
TaskSet({List<
CapacityProviderStrategyItem> ? capacityProviderStrategy, String? clusterArn, int? computedDesiredCount, DateTime? createdAt, String? externalId, String? id, LaunchType? launchType, List<LoadBalancer> ? loadBalancers, NetworkConfiguration? networkConfiguration, int? pendingCount, String? platformVersion, int? runningCount, Scale? scale, String? serviceArn, List<ServiceRegistry> ? serviceRegistries, StabilityStatus? stabilityStatus, DateTime? stabilityStatusAt, String? startedBy, String? status, List<Tag> ? tags, String? taskDefinition, String? taskSetArn, DateTime? updatedAt}) -
TaskSet.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
capacityProviderStrategy
→ List<
CapacityProviderStrategyItem> ? -
The capacity provider strategy associated with the task set.
final
- clusterArn → String?
-
The Amazon Resource Name (ARN) of the cluster that the service that hosts
the task set exists in.
final
- computedDesiredCount → int?
-
The computed desired count for the task set. This is calculated by
multiplying the service's
desiredCountby the task set'sscalepercentage. The result is always rounded up. For example, if the computed desired count is 1.2, it rounds up to 2 tasks.final - createdAt → DateTime?
-
The Unix timestamp for when the task set was created.
final
- externalId → String?
-
The external ID associated with the task set.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The ID of the task set.
final
- launchType → LaunchType?
-
The launch type the tasks in the task set are using. For more information,
see Amazon
ECS Launch Types in the Amazon Elastic Container Service Developer
Guide.
final
-
loadBalancers
→ List<
LoadBalancer> ? -
Details on a load balancer that is used with a task set.
final
- networkConfiguration → NetworkConfiguration?
-
The network configuration for the task set.
final
- pendingCount → int?
-
The number of tasks in the task set that are in the
PENDINGstatus during a deployment. A task in thePENDINGstate is preparing to enter theRUNNINGstate. A task set enters thePENDINGstatus when it launches for the first time or when it is restarted after being in theSTOPPEDstate.final - platformVersion → String?
-
The platform version on which the tasks in the task set are running. A
platform version is only specified for tasks using the Fargate launch type.
If one is not specified, the
LATESTplatform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.final - runningCount → int?
-
The number of tasks in the task set that are in the
RUNNINGstatus during a deployment. A task in theRUNNINGstate is running and ready for use.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → Scale?
-
A floating-point percentage of the desired number of tasks to place and keep
running in the task set.
final
- serviceArn → String?
-
The Amazon Resource Name (ARN) of the service the task set exists in.
final
-
serviceRegistries
→ List<
ServiceRegistry> ? -
The details of the service discovery registries to assign to this task set.
For more information, see Service
Discovery.
final
- stabilityStatus → StabilityStatus?
-
The stability status, which indicates whether the task set has reached a
steady state. If the following conditions are met, the task set will be in
STEADY_STATE:final - stabilityStatusAt → DateTime?
-
The Unix timestamp for when the task set stability status was retrieved.
final
- startedBy → String?
-
The tag specified when a task set is started. If the task set is created by
an AWS CodeDeploy deployment, the
startedByparameter isCODE_DEPLOY. For a task set created for an external deployment, the startedBy field isn't used.final - status → String?
-
The status of the task set. The following describes each state:
final
-
The metadata that you apply to the task set to help you categorize and
organize them. Each tag consists of a key and an optional value, both of
which you define.
final
- taskDefinition → String?
-
The task definition the task set is using.
final
- taskSetArn → String?
-
The Amazon Resource Name (ARN) of the task set.
final
- updatedAt → DateTime?
-
The Unix timestamp for when the task set was last updated.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited