pub struct Deployment {
pub capacity_provider_strategy: Option<Vec<CapacityProviderStrategyItem>>,
pub created_at: Option<f64>,
pub desired_count: Option<i64>,
pub id: Option<String>,
pub launch_type: Option<String>,
pub network_configuration: Option<NetworkConfiguration>,
pub pending_count: Option<i64>,
pub platform_version: Option<String>,
pub running_count: Option<i64>,
pub status: Option<String>,
pub task_definition: Option<String>,
pub updated_at: Option<f64>,
}
Expand description
The details of an Amazon ECS service deployment. This is used only when a service uses the ECS
deployment controller type.
Fields§
§capacity_provider_strategy: Option<Vec<CapacityProviderStrategyItem>>
The capacity provider strategy that the deployment is using.
created_at: Option<f64>
The Unix timestamp for when the service deployment was created.
desired_count: Option<i64>
The most recent desired count of tasks that was specified for the service to deploy or maintain.
id: Option<String>
The ID of the deployment.
launch_type: Option<String>
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.
network_configuration: Option<NetworkConfiguration>
The VPC subnet and security group configuration for tasks that receive their own elastic network interface by using the awsvpc
networking mode.
pending_count: Option<i64>
The number of tasks in the deployment that are in the PENDING
status.
platform_version: Option<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.
running_count: Option<i64>
The number of tasks in the deployment that are in the RUNNING
status.
status: Option<String>
The status of the deployment. The following describes each state:
- PRIMARY
-
The most recent deployment of a service.
- ACTIVE
-
A service deployment that still has running tasks, but are in the process of being replaced with a new
PRIMARY
deployment. - INACTIVE
-
A deployment that has been completely replaced.
task_definition: Option<String>
The most recent task definition that was specified for the tasks in the service to use.
updated_at: Option<f64>
The Unix timestamp for when the service deployment was last updated.
Trait Implementations§
Source§impl Clone for Deployment
impl Clone for Deployment
Source§fn clone(&self) -> Deployment
fn clone(&self) -> Deployment
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more