Example #1
0
        public void AutoScalingPutScheduledUpdateGroupAction()
        {
            #region autoscaling-put-scheduled-update-group-action-1

            var client   = new AmazonAutoScalingClient();
            var response = client.PutScheduledUpdateGroupAction(new PutScheduledUpdateGroupActionRequest
            {
                AutoScalingGroupName = "my-auto-scaling-group",
                DesiredCapacity      = 4,
                EndTimeUtc           = new DateTime(2014, 5, 12, 1, 0, 0, DateTimeKind.Utc),
                MaxSize             = 6,
                MinSize             = 2,
                ScheduledActionName = "my-scheduled-action",
                StartTimeUtc        = new DateTime(2014, 5, 12, 1, 0, 0, DateTimeKind.Utc)
            });


            #endregion
        }