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.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class InstanceAttribute : Object
The InstanceAttribute type exposes the following members
Name | Description | |
---|---|---|
InstanceAttribute() |
Name | Type | Description | |
---|---|---|---|
BlockDeviceMappings | System.Collections.Generic.List<Amazon.EC2.Model.InstanceBlockDeviceMapping> |
Gets and sets the property BlockDeviceMappings.
The block device mapping of the instance. |
|
DisableApiTermination | System.Boolean |
Gets and sets the property DisableApiTermination.
If the value is |
|
EbsOptimized | System.Boolean |
Gets and sets the property EbsOptimized.
Indicates whether the instance is optimized for EBS I/O. |
|
Groups | System.Collections.Generic.List<Amazon.EC2.Model.GroupIdentifier> |
Gets and sets the property Groups.
The security groups associated with the instance. |
|
InstanceId | System.String |
Gets and sets the property InstanceId.
The ID of the instance. |
|
InstanceInitiatedShutdownBehavior | System.String |
Gets and sets the property InstanceInitiatedShutdownBehavior.
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown). |
|
InstanceType | System.String |
Gets and sets the property InstanceType.
The instance type. |
|
KernelId | System.String |
Gets and sets the property KernelId.
The kernel ID. |
|
ProductCodes | System.Collections.Generic.List<Amazon.EC2.Model.ProductCode> |
Gets and sets the property ProductCodes.
A list of product codes. |
|
RamdiskId | System.String |
Gets and sets the property RamdiskId.
The RAM disk ID. |
|
RootDeviceName | System.String |
Gets and sets the property RootDeviceName.
The name of the root device (for example, |
|
SourceDestCheck | System.Boolean |
Gets and sets the property SourceDestCheck.
Indicates whether source/destination checking is enabled. A value of |
|
SriovNetSupport | System.String | Gets and sets the property SriovNetSupport. | |
UserData | System.String |
Gets and sets the property UserData.
The Base64-encoded MIME user data. |
.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