Skip to main content
Version: Next

service

Table to manage AWS ECS services. You can use an Amazon ECS service to run and maintain a specified number of instances of a task definition simultaneously in an Amazon ECS cluster. If one of your tasks fails or stops, the Amazon ECS service scheduler launches another instance of your task definition to replace it. This helps maintain your desired number of tasks in the service.

See

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html

Columns

Optional arn: string

AWS ARN for the service

assign_public_ip: assign_public_ip

Whether to assign a public IP to the service

Optional cluster: cluster

Reference to the cluster where the service belongs to

Optional desired_count: number

The desired number of instantiations of the task definition to keep running on the service.

name: string

Name of the container definition

region: string

Region for the ECS service

security_groups: security_group[]

Reference to all the security groups used by the service

See

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ecs/interfaces/service.html#networkconfiguration

Optional status: string

Current status of the service

subnets: string[]

Ids of all the VPC subnets used by the service

See

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ecs/interfaces/service.html#networkconfiguration

Optional target_group: target_group

Reference of the target group that will be associated with the service, to expose it via load balancers

See

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html

Optional task: task_definition

Reference to the task definition that uses the service