pub struct Service {Show 35 fields
pub service_name: String,
pub service_arn: String,
pub cluster_name: String,
pub cluster_arn: String,
pub task_definition_arn: String,
pub family: String,
pub revision: i32,
pub desired_count: i32,
pub running_count: i32,
pub pending_count: i32,
pub launch_type: String,
pub status: String,
pub scheduling_strategy: String,
pub deployment_controller: String,
pub minimum_healthy_percent: Option<i32>,
pub maximum_percent: Option<i32>,
pub circuit_breaker: Option<CircuitBreakerConfig>,
pub deployments: Vec<Deployment>,
pub load_balancers: Vec<Value>,
pub service_registries: Vec<Value>,
pub placement_constraints: Vec<Value>,
pub placement_strategy: Vec<Value>,
pub network_configuration: Option<Value>,
pub tags: Vec<TagEntry>,
pub created_at: DateTime<Utc>,
pub created_by: Option<String>,
pub role_arn: Option<String>,
pub platform_version: Option<String>,
pub health_check_grace_period_seconds: Option<i32>,
pub enable_execute_command: bool,
pub enable_ecs_managed_tags: bool,
pub propagate_tags: Option<String>,
pub capacity_provider_strategy: Vec<Value>,
pub availability_zone_rebalancing: Option<String>,
pub volume_configurations: Vec<Value>,
}Fields§
§service_name: String§service_arn: String§cluster_name: String§cluster_arn: String§task_definition_arn: String§family: String§revision: i32§desired_count: i32§running_count: i32§pending_count: i32§launch_type: String§status: String§scheduling_strategy: String§deployment_controller: String§minimum_healthy_percent: Option<i32>§maximum_percent: Option<i32>§circuit_breaker: Option<CircuitBreakerConfig>Deployment circuit breaker config (opt-in via deploymentConfiguration).
deployments: Vec<Deployment>§load_balancers: Vec<Value>§service_registries: Vec<Value>§placement_constraints: Vec<Value>§placement_strategy: Vec<Value>§network_configuration: Option<Value>§created_at: DateTime<Utc>§created_by: Option<String>§role_arn: Option<String>§platform_version: Option<String>Fargate platform version label (“LATEST”, “1.4.0”, etc). Echoed back on DescribeServices.
health_check_grace_period_seconds: Option<i32>Seconds an ECS service waits before failing a task on health check failures while a load balancer is still warming up.
enable_execute_command: boolWhether ECS Exec is enabled for tasks launched by this service.
When true, ECS automatically tags tasks/ENIs with cluster + service metadata. Off by default to match AWS.
Tag-propagation source: “TASK_DEFINITION”, “SERVICE”, or “NONE”. We model the AWS shape — None here means “NONE” was the effective value when the service was created.
capacity_provider_strategy: Vec<Value>Mixed capacity-provider weights that the service uses instead of
(or alongside) launch_type. Stored as raw JSON since the field
is a list of { capacityProvider, weight, base } records.
availability_zone_rebalancing: Option<String>AZ-rebalancing toggle for ALB-attached services. ENABLED | DISABLED (default). Surface field for AvailabilityZoneRebalancing.
volume_configurations: Vec<Value>Per-service volume configurations (EBS / FSx) inherited by tasks launched under this service. Stored as raw JSON.