CmdID

CmdID / aws / aws ec2

aws ec2 modify-instance-event-start-time

Modifies the start time for a scheduled Amazon EC2 instance event. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To modify the event start time for an instance

The following modify-instance-event-start-time example modifies the event start time for the specified instance. Specify the event ID by using the --instance-event-id parameter. Specify the new date and time by using the --not-before parameter.

aws ec2 modify-instance-event-start-time --instance-id i-1234567890abcdef0 --instance-event-id instance-event-0abcdef1234567890 --not-before 2019-03-25T10:00:00.000Identify
--instance-idThe ID of the instance with the scheduled event.
--instance-event-idThe ID of the event whose date and time you are modifying.
--not-beforeThe new date and time when the event will take place.
Its output
{
    "Event": {
        "InstanceEventId": "instance-event-0abcdef1234567890",
        "Code": "system-reboot",
        "Description": "scheduled reboot",
        "NotAfter": "2019-03-25T12:00:00.000Z",
        "NotBefore": "2019-03-25T10:00:00.000Z",
        "NotBeforeDeadline": "2019-04-22T21:00:00.000Z"
    }
}

For more information, see Reschedule a scheduled event for an EC2 instance in the Amazon EC2 User Guide.

Options

4 in the AWS CLI reference
--dry-runChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response.
--instance-event-idThe ID of the event whose date and time you are modifying.
--instance-idThe ID of the instance with the scheduled event.
--not-beforeThe new date and time when the event will take place.