Class: Aws::EC2::Types::RunScheduledInstancesRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::RunScheduledInstancesRequest
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
Contains the parameters for RunScheduledInstances.
Constant Summary collapse
- SENSITIVE =
[:launch_specification]
Instance Attribute Summary collapse
-
#client_token ⇒ String
Unique, case-sensitive identifier that ensures the idempotency of the request.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#instance_count ⇒ Integer
The number of instances.
-
#launch_specification ⇒ Types::ScheduledInstancesLaunchSpecification
The launch specification.
-
#scheduled_instance_id ⇒ String
The Scheduled Instance ID.
Instance Attribute Details
#client_token ⇒ String
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.
59236 59237 59238 59239 59240 59241 59242 59243 59244 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 59236 class RunScheduledInstancesRequest < Struct.new( :client_token, :dry_run, :instance_count, :launch_specification, :scheduled_instance_id) SENSITIVE = [:launch_specification] include Aws::Structure end |
#dry_run ⇒ Boolean
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
.
59236 59237 59238 59239 59240 59241 59242 59243 59244 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 59236 class RunScheduledInstancesRequest < Struct.new( :client_token, :dry_run, :instance_count, :launch_specification, :scheduled_instance_id) SENSITIVE = [:launch_specification] include Aws::Structure end |
#instance_count ⇒ Integer
The number of instances.
Default: 1
59236 59237 59238 59239 59240 59241 59242 59243 59244 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 59236 class RunScheduledInstancesRequest < Struct.new( :client_token, :dry_run, :instance_count, :launch_specification, :scheduled_instance_id) SENSITIVE = [:launch_specification] include Aws::Structure end |
#launch_specification ⇒ Types::ScheduledInstancesLaunchSpecification
The launch specification. You must match the instance type, Availability Zone, network, and platform of the schedule that you purchased.
59236 59237 59238 59239 59240 59241 59242 59243 59244 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 59236 class RunScheduledInstancesRequest < Struct.new( :client_token, :dry_run, :instance_count, :launch_specification, :scheduled_instance_id) SENSITIVE = [:launch_specification] include Aws::Structure end |
#scheduled_instance_id ⇒ String
The Scheduled Instance ID.
59236 59237 59238 59239 59240 59241 59242 59243 59244 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 59236 class RunScheduledInstancesRequest < Struct.new( :client_token, :dry_run, :instance_count, :launch_specification, :scheduled_instance_id) SENSITIVE = [:launch_specification] include Aws::Structure end |