Deployment class

The details of an Amazon ECS service deployment. This is used only when a service uses the ECS deployment controller type.

Constructors

Deployment({List<CapacityProviderStrategyItem>? capacityProviderStrategy, DateTime? createdAt, int? desiredCount, int? failedTasks, String? id, LaunchType? launchType, NetworkConfiguration? networkConfiguration, int? pendingCount, String? platformVersion, DeploymentRolloutState? rolloutState, String? rolloutStateReason, int? runningCount, String? status, String? taskDefinition, DateTime? updatedAt})
Deployment.fromJson(Map<String, dynamic> json)
factory

Properties

capacityProviderStrategy List<CapacityProviderStrategyItem>?
The capacity provider strategy that the deployment is using.
final
createdAt DateTime?
The Unix timestamp for when the service deployment was created.
final
desiredCount int?
The most recent desired count of tasks that was specified for the service to deploy or maintain.
final
failedTasks int?
The number of consecutively failed tasks in the deployment. A task is considered a failure if the service scheduler can't launch the task, the task doesn't transition to a RUNNING state, or if it fails any of its defined health checks and is stopped.
final
hashCode int
The hash code for this object.
no setterinherited
id String?
The ID of the deployment.
final
launchType LaunchType?
The launch type the tasks in the service are using. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.
final
networkConfiguration NetworkConfiguration?
The VPC subnet and security group configuration for tasks that receive their own elastic network interface by using the awsvpc networking mode.
final
pendingCount int?
The number of tasks in the deployment that are in the PENDING status.
final
platformVersion String?
The platform version on which your tasks in the service are running. A platform version is only specified for tasks using the Fargate launch type. If one is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.
final
rolloutState DeploymentRolloutState?
IN_PROGRESS
final
rolloutStateReason String?
A description of the rollout state of a deployment.
final
runningCount int?
The number of tasks in the deployment that are in the RUNNING status.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
The status of the deployment. The following describes each state:
final
taskDefinition String?
The most recent task definition that was specified for the tasks in the service to use.
final
updatedAt DateTime?
The Unix timestamp for when the service deployment 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