v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14130373603.9 KB

Updates the instance protection settings of the specified instances. This operation cannot be called on instances in a warm pool.

For more information about preventing instances that are part of an Auto Scaling group from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.

If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call fails.

post/#Action=SetInstanceProtection

Query parameters

Action'SetInstanceProtection' required
Version'2011-01-01' required

Response

Success