AWSEC2RunScheduledInstancesRequest

Objective-C

@interface AWSEC2RunScheduledInstancesRequest

Swift

class AWSEC2RunScheduledInstancesRequest

Contains the parameters for RunScheduledInstances.

Required parameters: [LaunchSpecification, ScheduledInstanceId]

  • Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable clientToken;

    Swift

    var clientToken: String? { get set }
  • Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable dryRun;

    Swift

    var dryRun: NSNumber? { get set }
  • The number of instances.

    Default: 1

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable instanceCount;

    Swift

    var instanceCount: NSNumber? { get set }
  • The launch specification. You must match the instance type, Availability Zone, network, and platform of the schedule that you purchased.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2ScheduledInstancesLaunchSpecification *_Nullable launchSpecification;

    Swift

    var launchSpecification: AWSEC2ScheduledInstancesLaunchSpecification? { get set }
  • The Scheduled Instance ID.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable scheduledInstanceId;

    Swift

    var scheduledInstanceId: String? { get set }