AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Finds available schedules that meet the specified criteria.

You can search for an available schedule no more than 3 months in advance. You must meet the minimum required duration of 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours.

After you find a schedule that meets your needs, call PurchaseScheduledInstances to purchase Scheduled Instances with that schedule.


For .NET Core this operation is only available in asynchronous form. Please refer to DescribeScheduledInstanceAvailabilityAsync.

Namespace: Amazon.EC2
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z


public virtual DescribeScheduledInstanceAvailabilityResponse DescribeScheduledInstanceAvailability(
         DescribeScheduledInstanceAvailabilityRequest request


Type: Amazon.EC2.Model.DescribeScheduledInstanceAvailabilityRequest

Container for the necessary parameters to execute the DescribeScheduledInstanceAvailability service method.

Return Value

The response from the DescribeScheduledInstanceAvailability service method, as returned by EC2.


This example describes a schedule that occurs every week on Sunday, starting on the specified date. Note that the output contains a single schedule as an example.

To describe an available schedule

var client = new AmazonEC2Client();
var response = client.DescribeScheduledInstanceAvailability(new DescribeScheduledInstanceAvailabilityRequest 
    FirstSlotStartTimeRange = new SlotDateTimeRangeRequest {
        EarliestTimeUtc = new DateTime(2016, 1, 30, 4, 0, 0, DateTimeKind.Utc),
        LatestTimeUtc = new DateTime(2016, 1, 30, 8, 0, 0, DateTimeKind.Utc)
    Recurrence = new ScheduledInstanceRecurrenceRequest {
        Frequency = "Weekly",
        Interval = 1,
        OccurrenceDays = new List<int> {

List<ScheduledInstanceAvailability> scheduledInstanceAvailabilitySet = response.ScheduledInstanceAvailabilitySet;


Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also