Cluster |
String
|
Required: No. The name or Amazon Resource Name (ARN) of the cluster that you want to run your
service on. If you do not specify a cluster, Amazon ECS uses the default
cluster.Update requires: Replacement |
DeploymentConfiguration |
AmazonEC2ContainerServiceServiceDeploymentConfiguration
|
Required: No. Configures how many tasks run during a deployment.Update requires: No interruption |
DesiredCount |
String
|
Required: Yes. The number of simultaneous tasks, which you specify by using the
TaskDefinition property, that you want to run on the
cluster.Update requires: No interruption |
LoadBalancers |
AmazonEC2ContainerServiceServiceLoadBalancers
|
Required: No. A list of load balancer objects to associate with the cluster. For information about the number of load balancers you can specify per service, see Service Load Balancing in the Amazon EC2 Container Service Developer Guide.Update requires: Replacement |
Role |
String
|
Required: Conditional. The name or ARN of an AWS Identity and Access Management (IAM) role that allows your Amazon ECS container
agent to make calls to your load balancer.NoteIn some cases, you might need to add a dependency on the service role's
policy. For more information, see IAM role policy in DependsOn Attribute.Update requires: Replacement |
TaskDefinition |
String
|
Required: Yes. The ARN of the task definition that you want to run on the cluster.Update requires: Some interruptions |