Struct rusoto_ecs::Service [] [src]

pub struct Service {
    pub cluster_arn: Option<String>,
    pub created_at: Option<f64>,
    pub deployment_configuration: Option<DeploymentConfiguration>,
    pub deployments: Option<Vec<Deployment>>,
    pub desired_count: Option<i64>,
    pub events: Option<Vec<ServiceEvent>>,
    pub load_balancers: Option<Vec<LoadBalancer>>,
    pub pending_count: Option<i64>,
    pub placement_constraints: Option<Vec<PlacementConstraint>>,
    pub placement_strategy: Option<Vec<PlacementStrategy>>,
    pub role_arn: Option<String>,
    pub running_count: Option<i64>,
    pub service_arn: Option<String>,
    pub service_name: Option<String>,
    pub status: Option<String>,
    pub task_definition: Option<String>,
}

Details on a service within a cluster

Fields

The Amazon Resource Name (ARN) of the cluster that hosts the service.

The Unix timestamp for when the service was created.

Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.

The current state of deployments for the service.

The desired number of instantiations of the task definition to keep running on the service. This value is specified when the service is created with CreateService, and it can be modified with UpdateService.

The event stream for your service. A maximum of 100 of the latest events are displayed.

A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the container name (as it appears in a container definition), and the container port to access from the load balancer.

The number of tasks in the cluster that are in the PENDING state.

The placement constraints for the tasks in the service.

The placement strategy that determines how tasks for the service are placed.

The Amazon Resource Name (ARN) of the IAM role associated with the service that allows the Amazon ECS container agent to register container instances with an Elastic Load Balancing load balancer.

The number of tasks in the cluster that are in the RUNNING state.

The Amazon Resource Name (ARN) that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region:012345678910:service/my-service .

The name of your service. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. Service names must be unique within a cluster, but you can have similarly named services in multiple clusters within a region or across multiple regions.

The status of the service. The valid values are ACTIVE, DRAINING, or INACTIVE.

The task definition to use for tasks in the service. This value is specified when the service is created with CreateService, and it can be modified with UpdateService.

Trait Implementations

impl Default for Service
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for Service
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Service
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Service

impl Sync for Service