$opt
|
array
|
Optional
|
An associative array of parameters that can have the following keys:
Attribute - string - Optional - The name of the attribute being modified. Available attribute names: instanceType , kernel , ramdisk , userData , disableApiTermination , instanceInitiatedShutdownBehavior , rootDevice , blockDeviceMapping [Allowed values: instanceType , kernel , ramdisk , userData , disableApiTermination , instanceInitiatedShutdownBehavior , rootDeviceName , blockDeviceMapping , productCodes , sourceDestCheck , groupSet , ebsOptimized ]Value - string - Optional - 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.BlockDeviceMapping - array - Optional - The new block device mappings for the instance whose attributes are being modified. Only valid when blockDeviceMapping is specified as the attribute being modified. x - array - Optional - This represents a simple array index. DeviceName - string - Optional - The device name (e.g., /dev/sdh ) at which the block device is exposed on the instance.Ebs - array - Optional - The EBS instance block device specification describing the EBS block device to map to the specified device name on a running instance. x - array - Optional - This represents a simple array index. VolumeId - string - Optional - The ID of the EBS volume that should be mounted as a block device on an Amazon EC2 instance.DeleteOnTermination - boolean - Optional - Specifies whether the Amazon EBS volume is deleted on instance termination.
VirtualName - string - Optional - The virtual device name.NoDevice - string - Optional - When set to the empty string, specifies that the device name in this object should not be mapped to any real device.
SourceDestCheck.Value - boolean - Optional - Boolean valueDisableApiTermination.Value - boolean - Optional - Boolean valueInstanceType.Value - string - Optional - String valueKernel.Value - string - Optional - String valueRamdisk.Value - string - Optional - String valueUserData.Value - string - Optional - String valueInstanceInitiatedShutdownBehavior.Value - string - Optional - String valueGroupId - string|array - Optional - Pass a string for a single value, or an indexed array for multiple values.EbsOptimized.Value - boolean - Optional - Boolean valuecurlopts - array - Optional - A set of values to pass directly into curl_setopt() , where the key is a pre-defined CURLOPT_* constant.returnCurlHandle - boolean - Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests. |