AWS SDK Version 2 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.

.NET Framework 4.5
 
Describes the launch specification for an instance.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.LaunchSpecification

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class LaunchSpecification : Object

The LaunchSpecification type exposes the following members

Constructors

NameDescription
Public Method LaunchSpecification()

Properties

NameTypeDescription
Public Property AddressingType System.String Gets and sets the property AddressingType.

Deprecated.

Public Property AllSecurityGroups System.Collections.Generic.List<Amazon.EC2.Model.GroupIdentifier> Gets and sets the property AllSecurityGroups.

One or more security groups. To request an instance in a nondefault VPC, you must specify the ID of the security group. To request an instance in EC2-Classic or a default VPC, you can specify the name or the ID of the security group.

Public Property BlockDeviceMappings System.Collections.Generic.List<Amazon.EC2.Model.BlockDeviceMapping> Gets and sets the property BlockDeviceMappings.

One or more block device mapping entries.

Public Property EbsOptimized System.Boolean Gets and sets the property EbsOptimized.

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

Public Property IamInstanceProfile Amazon.EC2.Model.IamInstanceProfileSpecification Gets and sets the property IamInstanceProfile.

The IAM instance profile.

Public Property ImageId System.String Gets and sets the property ImageId.

The ID of the AMI.

Public Property InstanceType Amazon.EC2.InstanceType Gets and sets the property InstanceType.

The instance type.

Public Property KernelId System.String Gets and sets the property KernelId.

The ID of the kernel.

Public Property KeyName System.String Gets and sets the property KeyName.

The name of the key pair.

Public Property MonitoringEnabled System.Boolean Gets and sets the property MonitoringEnabled.
Public Property NetworkInterfaces System.Collections.Generic.List<Amazon.EC2.Model.InstanceNetworkInterfaceSpecification> Gets and sets the property NetworkInterfaces.

One or more network interfaces.

Public Property Placement Amazon.EC2.Model.SpotPlacement Gets and sets the property Placement.

The placement information for the instance.

Public Property RamdiskId System.String Gets and sets the property RamdiskId.

The ID of the RAM disk.

Public Property SecurityGroups System.Collections.Generic.List<System.String> Gets and sets the property SecurityGroups.

One or more security group names.

Public Property SubnetId System.String Gets and sets the property SubnetId.

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

Public Property UserData System.String Gets and sets the property UserData.

The Base64-encoded MIME user data to make available to the instances.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8