public void AutoScalingSetInstanceProtection() { #region autoscaling-set-instance-protection-2 var client = new AmazonAutoScalingClient(); var response = client.SetInstanceProtection(new SetInstanceProtectionRequest { AutoScalingGroupName = "my-auto-scaling-group", InstanceIds = new List <string> { "i-93633f9b" }, ProtectedFromScaleIn = false }); #endregion }