A list of instance attributes.
Namespace: Amazon.EC2.ModelAssembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class InstanceAttribute
Public Class InstanceAttribute
public ref class InstanceAttribute
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| InstanceAttribute()()()() | Initializes a new instance of the InstanceAttribute class | |
| BlockDeviceMapping |
Gets and sets the BlockDeviceMapping property.
Block device mapping set.
| |
| DisableApiTermination |
Gets and sets the DisableApiTermination property.
Specifies whether the instance can be
terminated. You must
modify this attribute before you can
terminate any "locked" instances.
| |
| Equals(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 |
Gets and sets the GroupId property.
IDs of the security groups.
| |
| GroupName |
Gets and sets the SecurityGroup property.
Names of the security group.
| |
| InstanceId |
Gets and sets the InstanceId property.
The ID of the instance.
| |
| InstanceInitiatedShutdownBehavior |
Gets and sets the InstanceInitiatedShutdownBehavior property.
Specifies whether the instance's Amazon EBS
volumes are deleted when the instance is shut down.
Type:
NullableAttributeBooleanValueType
| |
| InstanceType |
Gets and sets the InstanceType property.
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
| |
| 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 |
Gets and sets the KernelId property.
The kernel ID.
| |
| ProductCodes |
Gets and sets the ProductCodes property.
| |
| RamdiskId |
Gets and sets the RamdiskId property.
The RAM disk ID.
| |
| RootDeviceName |
Gets and sets the RootDeviceName property.
The root device name (e.g., /dev/sda1).
| |
| SourceDestCheck |
Gets and sets the SourceDestCheck property.
Controls 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.
| |
| ToString()()()() | (Inherited from Object.) | |
| UserData |
Gets and sets the UserData property.
MIME, Base64-encoded user data.
| |
| WithBlockDeviceMapping(array<InstanceBlockDeviceMapping>[]()[][]) |
Sets the BlockDeviceMapping property
| |
| WithDisableApiTermination(Boolean) |
Sets the DisableApiTermination property
| |
| WithGroupId(array<String>[]()[][]) |
Sets the GroupId property
| |
| WithGroupName(array<String>[]()[][]) |
Sets the GroupName property
| |
| WithInstanceId(String) |
Sets the InstanceId property
| |
| WithInstanceInitiatedShutdownBehavior(String) |
Sets the InstanceInitiatedShutdownBehavior property
| |
| WithInstanceType(String) |
Sets the InstanceType property
| |
| WithKernelId(String) |
Sets the KernelId property
| |
| WithProductCodes(array<ProductCode>[]()[][]) |
Sets the ProductCodes property
| |
| WithRamdiskId(String) |
Sets the RamdiskId property
| |
| WithRootDeviceName(String) |
Sets the RootDeviceName property
| |
| WithSourceDestCheck(Boolean) |
Sets the SourceDestCheck property.
| |
| WithUserData(String) |
Sets the UserData property
|