Modifies an attribute of an instance.
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 ModifyInstanceAttributeRequest
Public Class ModifyInstanceAttributeRequest
public ref class ModifyInstanceAttributeRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| ModifyInstanceAttributeRequest()()()() | Initializes a new instance of the ModifyInstanceAttributeRequest class | |
| Attribute |
Gets and sets the Attribute property.
Name of the attribute to modify. Values are
"instanceType", "kernel", "ramdisk",
"userData", "disableApiTermination",
"instanceInitiatedShutdownBehavior",
"sourceDestCheck",
"rootDeviceName", and "blockDeviceMapping"
| |
| BlockDeviceMapping |
Gets and sets the BlockDeviceMapping property.
Modifies the mapping that defines native device names
to use when exposing virtual devices.
| |
| 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.
This is applicable only to instances running in a VPC. Use
this parameter when you want to change the security
groups an instance is in. The new set of groups you specify
replaces the current set. You must specify at least one
group, even if it's just the default security group in the VPC.
| |
| InstanceId |
Gets and sets the InstanceId property.
The instance ID.
| |
| IsSetAttribute()()()() |
Checks if Attribute property is set
| |
| IsSetBlockDeviceMapping()()()() |
Checks if BlockDeviceMapping property is set
| |
| IsSetGroupId()()()() |
Checks if GroupId property is set
| |
| IsSetInstanceId()()()() |
Checks if InstanceId property is set
| |
| IsSetValue()()()() |
Checks if Value property is set
| |
| ToString()()()() | (Inherited from Object.) | |
| Value |
Gets and sets the Value property.
New value of the attribute.
| |
| WithAttribute(String) |
Sets the Attribute property
| |
| WithBlockDeviceMapping(array<InstanceBlockDeviceMappingParameter>[]()[][]) |
Sets the BlockDeviceMapping property
| |
| WithGroupId(array<String>[]()[][]) |
Sets the GroupId property
| |
| WithInstanceId(String) |
Sets the InstanceId property
| |
| WithValue(String) |
Sets the Value property
|