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 an instance attribute.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.InstanceAttribute

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

Syntax

C#
public class InstanceAttribute

The InstanceAttribute type exposes the following members

Constructors

NameDescription
Public Method InstanceAttribute()

Properties

NameTypeDescription
Public Property BlockDeviceMappings System.Collections.Generic.List<Amazon.EC2.Model.InstanceBlockDeviceMapping>

Gets and sets the property BlockDeviceMappings.

The block device mapping of the instance.

Public Property DisableApiTermination System.Boolean

Gets and sets the property DisableApiTermination.

If the value is true, you can't terminate the instance through the Amazon EC2 console, CLI, or API; otherwise, you can.

Public Property EbsOptimized System.Boolean

Gets and sets the property EbsOptimized.

Indicates whether the instance is optimized for Amazon EBS I/O.

Public Property EnaSupport System.Boolean

Gets and sets the property EnaSupport.

Indicates whether enhanced networking with ENA is enabled.

Public Property Groups System.Collections.Generic.List<Amazon.EC2.Model.GroupIdentifier>

Gets and sets the property Groups.

The security groups associated with the instance.

Public Property InstanceId System.String

Gets and sets the property InstanceId.

The ID of the instance.

Public Property 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).

Public Property InstanceType System.String

Gets and sets the property InstanceType.

The instance type.

Public Property KernelId System.String

Gets and sets the property KernelId.

The kernel ID.

Public Property ProductCodes System.Collections.Generic.List<Amazon.EC2.Model.ProductCode>

Gets and sets the property ProductCodes.

A list of product codes.

Public Property RamdiskId System.String

Gets and sets the property RamdiskId.

The RAM disk ID.

Public Property RootDeviceName System.String

Gets and sets the property RootDeviceName.

The name of the root device (for example, /dev/sda1 or /dev/xvda).

Public Property SourceDestCheck System.Boolean

Gets and sets the property SourceDestCheck.

Indicates whether source/destination checking is enabled. A value of true means that checking is enabled, and false means that checking is disabled. This value must be false for a NAT instance to perform NAT.

Public Property SriovNetSupport System.String

Gets and sets the property SriovNetSupport.

Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

Public Property UserData System.String

Gets and sets the property UserData.

The user data.

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