Class: Aws::EC2::Types::SpotInstanceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::SpotInstanceRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Describes a Spot instance request.
Instance Attribute Summary collapse
-
#actual_block_hourly_price ⇒ String
If you specified a duration and your Spot instance request was fulfilled, this is the fixed hourly price in effect for the Spot instance while it runs.
-
#availability_zone_group ⇒ String
The Availability Zone group.
-
#block_duration_minutes ⇒ Integer
The duration for the Spot instance, in minutes.
-
#create_time ⇒ Time
The date and time when the Spot instance request was created, in UTC format (for example, YYYY-MM-*DD*T*HH*:MM:*SS*Z).
-
#fault ⇒ Types::SpotInstanceStateFault
The fault codes for the Spot instance request, if any.
-
#instance_id ⇒ String
The instance ID, if an instance has been launched to fulfill the Spot instance request.
-
#launch_group ⇒ String
The instance launch group.
-
#launch_specification ⇒ Types::LaunchSpecification
Additional information for launching instances.
-
#launched_availability_zone ⇒ String
The Availability Zone in which the bid is launched.
-
#product_description ⇒ String
The product description associated with the Spot instance.
-
#spot_instance_request_id ⇒ String
The ID of the Spot instance request.
-
#spot_price ⇒ String
The maximum hourly price (bid) for the Spot instance launched to fulfill the request.
-
#state ⇒ String
The state of the Spot instance request.
-
#status ⇒ Types::SpotInstanceStatus
The status code and status message describing the Spot instance request.
-
#tags ⇒ Array<Types::Tag>
Any tags assigned to the resource.
-
#type ⇒ String
The Spot instance request type.
-
#valid_from ⇒ Time
The start date of the request, in UTC format (for example, YYYY-MM-*DD*T*HH*:MM:*SS*Z).
-
#valid_until ⇒ Time
The end date of the request, in UTC format (for example, YYYY-MM-*DD*T*HH*:MM:*SS*Z).
Instance Attribute Details
#actual_block_hourly_price ⇒ String
If you specified a duration and your Spot instance request was fulfilled, this is the fixed hourly price in effect for the Spot instance while it runs.
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |
#availability_zone_group ⇒ String
The Availability Zone group. If you specify the same Availability Zone group for all Spot instance requests, all Spot instances are launched in the same Availability Zone.
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |
#block_duration_minutes ⇒ Integer
The duration for the Spot instance, in minutes.
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |
#create_time ⇒ Time
The date and time when the Spot instance request was created, in UTC format (for example, YYYY-MM-*DD*T*HH*:MM:*SS*Z).
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |
#fault ⇒ Types::SpotInstanceStateFault
The fault codes for the Spot instance request, if any.
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |
#instance_id ⇒ String
The instance ID, if an instance has been launched to fulfill the Spot instance request.
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |
#launch_group ⇒ String
The instance launch group. Launch groups are Spot instances that launch together and terminate together.
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |
#launch_specification ⇒ Types::LaunchSpecification
Additional information for launching instances.
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |
#launched_availability_zone ⇒ String
The Availability Zone in which the bid is launched.
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |
#product_description ⇒ String
The product description associated with the Spot instance.
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |
#spot_instance_request_id ⇒ String
The ID of the Spot instance request.
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |
#spot_price ⇒ String
The maximum hourly price (bid) for the Spot instance launched to fulfill the request.
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |
#state ⇒ String
The state of the Spot instance request. Spot bid status information can help you track your Spot instance requests. For more information, see [Spot Bid Status] in the *Amazon Elastic Compute Cloud User Guide*.
[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |
#status ⇒ Types::SpotInstanceStatus
The status code and status message describing the Spot instance request.
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
Any tags assigned to the resource.
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |
#type ⇒ String
The Spot instance request type.
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |
#valid_from ⇒ Time
The start date of the request, in UTC format (for example, YYYY-MM-*DD*T*HH*:MM:*SS*Z). The request becomes active at this date and time.
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |
#valid_until ⇒ Time
The end date of the request, in UTC format (for example, YYYY-MM-*DD*T*HH*:MM:*SS*Z). If this is a one-time request, it remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date is reached.
23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/aws-sdk-ec2/types.rb', line 23270 class SpotInstanceRequest < Struct.new( :actual_block_hourly_price, :availability_zone_group, :block_duration_minutes, :create_time, :fault, :instance_id, :launch_group, :launch_specification, :launched_availability_zone, :product_description, :spot_instance_request_id, :spot_price, :state, :status, :tags, :type, :valid_from, :valid_until) include Aws::Structure end |