AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes overrides for a launch template.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.LaunchTemplateOverrides

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class LaunchTemplateOverrides

The LaunchTemplateOverrides type exposes the following members

Constructors

NameDescription
Public Method LaunchTemplateOverrides()

Properties

NameTypeDescription
Public Property AvailabilityZone System.String

Gets and sets the property AvailabilityZone.

The Availability Zone in which to launch the instances.

Public Property InstanceType Amazon.EC2.InstanceType

Gets and sets the property InstanceType.

The instance type.

Public Property Priority System.Double

Gets and sets the property Priority.

The priority for the launch template override. If OnDemandAllocationStrategy is set to prioritized, Spot Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. Valid values are whole numbers starting at 0. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority.

Public Property SpotPrice System.String

Gets and sets the property SpotPrice.

The maximum price per unit hour that you are willing to pay for a Spot Instance.

Public Property SubnetId System.String

Gets and sets the property SubnetId.

The ID of the subnet in which to launch the instances.

Public Property WeightedCapacity System.Double

Gets and sets the property WeightedCapacity.

The number of units provided by the specified instance type.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms