in terms of specifying a Target Capacity for a Spot Fleet the documentation is clear:
You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O
However, when it comes to cloudformation, the TargetCapacity property is simply an Integer, as can be seen in the docs.
If I can specify only a simple integer, how is it possible to differentiate between a number of instances versus a number of vCPU for example? Is there any other property that complements the value of TargetCapacity?
I am finding the documentation very vague when it comes to practical terms on how to properly specify Target Capacity in a more ‘advanced’ way in Cloudformation.
Any advise/guidance is appreciate.
Thanks.