An instance fleet dropped the LaunchSpecifications, ResizeSpecifications
and Context that RunJobFlow and AddInstanceFleet gave it, and
ModifyInstanceFleet changed its target capacities alone, ignoring the
ResizeSpecifications, InstanceTypeConfigs and Context it took.
- A fleet keeps its LaunchSpecifications, ResizeSpecifications and
Context, and ListInstanceFleets gives them back.
- ModifyInstanceFleet changes the ResizeSpecifications, InstanceTypeConfigs
and Context it gives. The configs replace the fleet's own, as the
Management Guide warns that "Not including fields can result in
overwriting specifications you declared at launch", and must name
every instance type the fleet has, as "You must include all instance
types that are part of your instance fleet in the modify request". A
request that leaves one out is refused with InvalidRequestException.
Its configs are checked as AddInstanceFleet checks them, and on both
calls specifications that are not an object, or a Context that is not
a string, are refused with SerializationException.
- AWS::EMR::Cluster no longer warns that a fleet's launch and resize
specifications are not stored, and AWS::EMR::InstanceFleetConfig now
applies a change to InstanceTypeConfigs or ResizeSpecifications in
place rather than warning. A rollback puts them back, but not an
instance type the update added, which every later request must
include, nor resize specifications where the fleet had none, which no
request can clear. The update is checked as ModifyInstanceFleet checks
its request, before anything changes, and dropped configs or resize
specifications are kept.