AWS SDK for .NET Documentation
InstanceAttribute Class
AmazonAmazon.EC2.ModelInstanceAttribute Did this page help you?   Yes   No    Tell us about it...
A list of instance attributes.
Declaration Syntax
C#
public class InstanceAttribute
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
InstanceAttribute()()()()
Initializes a new instance of the InstanceAttribute class

BlockDeviceMapping
Block device mapping set.

DisableApiTermination
Whether the instance can be terminated. You must modify this attribute before you can terminate any "locked" instances.

EbsOptimized
Whether to use the EBS IOPS optimized option.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
GroupId
IDs of the security groups.

GroupName
Names of the security group.

InstanceId
The ID of the instance.

InstanceInitiatedShutdownBehavior
Whether the instance's Amazon EBS volumes are deleted when the instance is shut down.

InstanceType
The instance type (e.g., m1.small, c1.medium, m2.2xlarge, and so on).

IsSetBlockDeviceMapping()()()()
Checks if BlockDeviceMapping property is set

IsSetDisableApiTermination()()()()
Checks if DisableApiTermination property is set

IsSetEbsOptimized()()()()
Checks if EbsOptimized property is set

IsSetGroupId()()()()
Checks if the GroupId property is set

IsSetGroupName()()()()
Checks if the GroupName property is set

IsSetInstanceId()()()()
Checks if InstanceId property is set

IsSetInstanceInitiatedShutdownBehavior()()()()
Checks if InstanceInitiatedShutdownBehavior property is set

IsSetInstanceType()()()()
Checks if InstanceType property is set

IsSetKernelId()()()()
Checks if KernelId property is set

IsSetProductCodes()()()()
Checks if the ProductCodes property is set

IsSetRamdiskId()()()()
Checks if RamdiskId property is set

IsSetRootDeviceName()()()()
Checks if RootDeviceName property is set

IsSetSourceDestCheck()()()()
Checks if the SourceDestCheck property is set

IsSetUserData()()()()
Checks if UserData property is set

KernelId
The kernel ID.

ProductCodes
Product codes.

RamdiskId
The RAM disk ID.

RootDeviceName
The root device name (e.g., /dev/sda1).

SourceDestCheck
Whether source/destination checking is enabled on the instance. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the instance to perform NAT.

SriovNetSupport
Enhanced networking for the instance. A value of simple means that enhanced networking is enabled

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
UserData
MIME, Base64-encoded user data.

WithBlockDeviceMapping(array<InstanceBlockDeviceMapping>[]()[][]) Obsolete.
Sets the block device mapping set.

WithDisableApiTermination(Boolean) Obsolete.
Sets whether the instance can be terminated.

WithEbsOptimized(Boolean) Obsolete.
Sets whether to use the EBS IOPS optimized option.

WithGroupId(array<String>[]()[][]) Obsolete.
Sets IDs of the security groups.

WithGroupName(array<String>[]()[][]) Obsolete.
Sets names of the security group.

WithInstanceId(String) Obsolete.
Set the ID of the instance.

WithInstanceInitiatedShutdownBehavior(String) Obsolete.
Sets whether the instance's Amazon EBS volumes are deleted when the instance is shut down.

WithInstanceType(String) Obsolete.
Sets the instance type.

WithKernelId(String) Obsolete.
Sets the kernel ID.

WithProductCodes(array<ProductCode>[]()[][]) Obsolete.
Sets the product codes.

WithRamdiskId(String) Obsolete.
Sets the RAM disk ID.

WithRootDeviceName(String) Obsolete.
Sets the root device name (e.g., /dev/sda1).

WithSourceDestCheck(Boolean) Obsolete.
Sets whether source/destination checking is enabled on the instance.

WithSriovNetSupport(String) Obsolete.
Sets whether enhanced networking is enabled for the instance.

WithUserData(String) Obsolete.
Sets the MIME, Base64-encoded user data.

Inheritance Hierarchy
Object
InstanceAttribute

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)