-AvailabilityZoneGroup <
String>
The user-specified name for a logical grouping of requests.When you specify an Availability Zone group in a Spot Instance request, all Spot Instances in the request are launched in the same Availability Zone. Instance proximity is maintained with this parameter, but the choice of Availability Zone is not. The group applies only to requests for Spot Instances of the same instance type. Any additional Spot Instance requests that are specified with the same Availability Zone group name are launched in that same Availability Zone, as long as at least one instance from the group is still active.If there is no active instance running in the Availability Zone group that you specify for a new Spot Instance request (all instances are terminated, the request is expired, or the maximum price you specified falls below current Spot price), then Amazon EC2 launches the instance in any Availability Zone where the constraint can be met. Consequently, the subsequent set of Spot Instances could be placed in a different zone from the original request, even if you specified the same Availability Zone group.Default: Instances are launched in any available Availability Zone.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-BlockDurationMinute <Int32>
The required duration for the Spot Instances (also known as Spot blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).The duration period starts as soon as your Spot Instance receives its instance ID. At the end of the duration period, Amazon EC2 marks the Spot Instance for termination and provides a Spot Instance termination notice, which gives the instance a two-minute warning before it terminates.You can't specify an Availability Zone group or a launch group if you specify a duration.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see
How to Ensure Idempotency in the
Amazon EC2 User Guide for Linux Instances.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-Force <SwitchParameter>
This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-IamInstanceProfile_Arn <
String>
The Amazon Resource Name (ARN) of the instance profile.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-IamInstanceProfile_Name <
String>
The name of the instance profile.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-InstanceCount <Int32>
The maximum number of Spot Instances to launch.Default: 1
Required? | False |
Position? | Named |
Accept pipeline input? | False |
The behavior when a Spot Instance is interrupted. The default is terminate
.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
The instance launch group. Launch groups are Spot Instances that launch together and terminate together.Default: Instances are launched and terminated individually
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-LaunchSpecification_AddressingType <
String>
Deprecated.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
One or more block device mapping entries.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-LaunchSpecification_EbsOptimized <Boolean>
Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.Default: false
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-LaunchSpecification_ImageId <
String>
The ID of the AMI.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
The instance type.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-LaunchSpecification_KernelId <
String>
The ID of the kernel.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-LaunchSpecification_KeyName <
String>
The name of the key pair.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-LaunchSpecification_MonitoringEnabled <Boolean>
The service has not provided documentation for this parameter; please refer to the service's API reference documentation for the latest available information.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-LaunchSpecification_RamdiskId <
String>
The ID of the RAM disk.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-LaunchSpecification_SecurityGroup <
String[]>
One or more security group names.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-LaunchSpecification_SubnetId <
String>
The ID of the subnet in which to launch the instance.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-LaunchSpecification_UserData <
String>
The Base64-encoded user data for the instance.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-Placement_AvailabilityZone <
String>
The Availability Zone.[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".
Required? | False |
Position? | Named |
Accept pipeline input? | False |
The name of the placement group.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated
runs on single-tenant hardware. The host
tenancy is not supported for Spot Instances.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
The maximum price per hour that you are willing to pay for a Spot Instance. The default is the On-Demand price.
Required? | False |
Position? | 1 |
Accept pipeline input? | True (ByValue, ) |
The Spot Instance request type.Default: one-time
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-UtcValidFrom <DateTime>
The start date of the request. If this is a one-time request, the request becomes active at this date and time and remains active until all instances launch, the request expires, or the request is canceled. If the request is persistent, the request becomes active at this date and time and remains active until it expires or is canceled.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-UtcValidUntil <DateTime>
The end date of the request. If this is a one-time request, the request 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. The default end date is 7 days from the current date.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-ValidFrom <DateTime>
This property is deprecated. Setting this property results in non-UTC DateTimes not being marshalled correctly. Use ValidFromUtc instead. Setting either ValidFrom or ValidFromUtc results in both ValidFrom and ValidFromUtc being assigned, the latest assignment to either one of the two property is reflected in the value of both. ValidFrom is provided for backwards compatibility only and assigning a non-Utc DateTime to it results in the wrong timestamp being passed to the service.The start date of the request. If this is a one-time request, the request becomes active at this date and time and remains active until all instances launch, the request expires, or the request is canceled. If the request is persistent, the request becomes active at this date and time and remains active until it expires or is canceled.This parameter is deprecated.
Required? | False |
Position? | Named |
Accept pipeline input? | False |
-ValidUntil <DateTime>
This property is deprecated. Setting this property results in non-UTC DateTimes not being marshalled correctly. Use ValidUntilUtc instead. Setting either ValidUntil or ValidUntilUtc results in both ValidUntil and ValidUntilUtc being assigned, the latest assignment to either one of the two property is reflected in the value of both. ValidUntil is provided for backwards compatibility only and assigning a non-Utc DateTime to it results in the wrong timestamp being passed to the service.The end date of the request. If this is a one-time request, the request 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. The default end date is 7 days from the current date.This parameter is deprecated.
Required? | False |
Position? | Named |
Accept pipeline input? | False |