ModifyInstanceAttributeRequest Class

.NET Framework 3.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Container for the parameters to the ModifyInstanceAttribute operation.

Modifies an attribute of an instance.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.Model.ModifyInstanceAttributeRequest

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class ModifyInstanceAttributeRequest : AmazonWebServiceRequest
         IRequestEvents

The ModifyInstanceAttributeRequest type exposes the following members

Constructors

  Name Description
Public Method ModifyInstanceAttributeRequest()

Properties

  Name Description
Public Property Attribute The name of the attribute being modified. Available attribute names: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDevice, blockDeviceMapping

Constraints:Allowed ValuesinstanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized

Public Property BlockDeviceMappings The new block device mappings for the instance whose attributes are being modified. Only valid when blockDeviceMapping is specified as the attribute being modified.
Public Property DisableApiTermination Boolean value
Public Property EbsOptimized Boolean value
Public Property Groups
Public Property InstanceId The ID of the instance whose attribute is being modified.
Public Property InstanceInitiatedShutdownBehavior String value
Public Property InstanceType String value
Public Property Kernel String value
Public Property Ramdisk String value
Public Property SourceDestCheck Boolean value
Public Property UserData String value
Public Property Value The new value of the instance attribute being modified. Only valid when kernel, ramdisk, userData, disableApiTermination or instanceInitiateShutdownBehavior is specified as the attribute being modified.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8