Class: Aws::EC2::Types::RunScheduledInstancesRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Contains the parameters for RunScheduledInstances.

Constant Summary collapse

SENSITIVE =
[:launch_specification]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

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

**A suitable default value is auto-generated.** You should normally not need to pass this option.

[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html

Returns:

  • (String)


63691
63692
63693
63694
63695
63696
63697
63698
63699
# File 'lib/aws-sdk-ec2/types.rb', line 63691

class RunScheduledInstancesRequest < Struct.new(
  :client_token,
  :dry_run,
  :instance_count,
  :launch_specification,
  :scheduled_instance_id)
  SENSITIVE = [:launch_specification]
  include Aws::Structure
end

#dry_runBoolean

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`.

Returns:

  • (Boolean)


63691
63692
63693
63694
63695
63696
63697
63698
63699
# File 'lib/aws-sdk-ec2/types.rb', line 63691

class RunScheduledInstancesRequest < Struct.new(
  :client_token,
  :dry_run,
  :instance_count,
  :launch_specification,
  :scheduled_instance_id)
  SENSITIVE = [:launch_specification]
  include Aws::Structure
end

#instance_countInteger

The number of instances.

Default: 1

Returns:

  • (Integer)


63691
63692
63693
63694
63695
63696
63697
63698
63699
# File 'lib/aws-sdk-ec2/types.rb', line 63691

class RunScheduledInstancesRequest < Struct.new(
  :client_token,
  :dry_run,
  :instance_count,
  :launch_specification,
  :scheduled_instance_id)
  SENSITIVE = [:launch_specification]
  include Aws::Structure
end

#launch_specificationTypes::ScheduledInstancesLaunchSpecification

The launch specification. You must match the instance type, Availability Zone, network, and platform of the schedule that you purchased.



63691
63692
63693
63694
63695
63696
63697
63698
63699
# File 'lib/aws-sdk-ec2/types.rb', line 63691

class RunScheduledInstancesRequest < Struct.new(
  :client_token,
  :dry_run,
  :instance_count,
  :launch_specification,
  :scheduled_instance_id)
  SENSITIVE = [:launch_specification]
  include Aws::Structure
end

#scheduled_instance_idString

The Scheduled Instance ID.

Returns:

  • (String)


63691
63692
63693
63694
63695
63696
63697
63698
63699
# File 'lib/aws-sdk-ec2/types.rb', line 63691

class RunScheduledInstancesRequest < Struct.new(
  :client_token,
  :dry_run,
  :instance_count,
  :launch_specification,
  :scheduled_instance_id)
  SENSITIVE = [:launch_specification]
  include Aws::Structure
end