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.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class InstanceAttribute
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. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
DisableApiStop | System.Nullable<System.Boolean> |
Gets and sets the property DisableApiStop. Indicates whether stop protection is enabled for the instance. |
![]() |
DisableApiTermination | System.Nullable<System.Boolean> |
Gets and sets the property DisableApiTermination.
Indicates whether termination protection is enabled. If the value is |
![]() |
EbsOptimized | System.Nullable<System.Boolean> |
Gets and sets the property EbsOptimized. Indicates whether the instance is optimized for Amazon EBS I/O. |
![]() |
EnaSupport | System.Nullable<System.Boolean> |
Gets and sets the property EnaSupport. Indicates whether enhanced networking with ENA is enabled. |
![]() |
EnclaveOptions | Amazon.EC2.Model.EnclaveOptions |
Gets and sets the property EnclaveOptions. Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. |
![]() |
Groups | System.Collections.Generic.List<Amazon.EC2.Model.GroupIdentifier> |
Gets and sets the property Groups. The security groups associated with the instance. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
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. The product codes. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
RamdiskId | System.String |
Gets and sets the property RamdiskId. The RAM disk ID. |
![]() |
RootDeviceName | System.String |
Gets and sets the property RootDeviceName.
The device name of the root device volume (for example, |
![]() |
SourceDestCheck | System.Nullable<System.Boolean> |
Gets and sets the property SourceDestCheck. Indicates whether source/destination checks are enabled. |
![]() |
SriovNetSupport | System.String |
Gets and sets the property SriovNetSupport. Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled. |
![]() |
UserData | System.String |
Gets and sets the property UserData. The user data. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer