Amazon ECS · Schema

CreateServiceRequest

AmazonAwsContainersDockerEcsOrchestration

Properties

Name Type Description
serviceName string The name of your service (up to 255 characters).
cluster string The short name or full ARN of the cluster to run the service on.
taskDefinition string The family and revision or full ARN of the task definition.
desiredCount integer The number of instantiations of the specified task definition to place and keep running.
launchType string The launch type on which to run your service.
capacityProviderStrategy array
platformVersion string The platform version that your tasks in the service are running on (Fargate only).
loadBalancers array A load balancer object representing the load balancers to use with your service.
schedulingStrategy string The scheduling strategy to use for the service.
placementConstraints array
placementStrategy array
healthCheckGracePeriodSeconds integer The period of time, in seconds, that the ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started.
enableECSManagedTags boolean
enableExecuteCommand boolean Whether to enable Amazon ECS Exec for the tasks within the service.
propagateTags string
role string The IAM role that allows Amazon ECS to make calls to your load balancer.
serviceRegistries array
tags array
clientToken string An identifier you provide to ensure the idempotency of the request.
View JSON Schema on GitHub