| Did this page help you? Yes No Tell us about it... |
Resets an attribute of an instance to its default value. To reset the kernel or
RAM disk, the instance must be in a stopped state. To reset the
SourceDestCheck, the instance can be either running or stopped.
The SourceDestCheck attribute exists to enable a Network Address
Translation (NAT) instance in a VPC to perform NAT. The attribute controls whether
source/destination checking is enabled on the instance. The default value is
true, which means checking is enabled. The value must be
false for the instance to perform NAT. For more information, go to
NAT Instances in
the Amazon Virtual Private Cloud User Guide.
| Name | Description | Required |
|---|---|---|
|
|
ID of the instance. Type: String Default: None |
Yes |
|
|
Attribute to reset. Type: String Default: None Valid Values: |
Yes |
The elements in the following table are wrapped in a
ResetInstanceAttributeResponse structure.
| Name | Description |
|---|---|
|
|
The ID of the request. Type: xsd:string |
|
|
Returns true if the request succeeds. Otherwise, returns an error. Type: xsd:boolean |
This example resets the kernel attribute.
https://ec2.amazonaws.com/?Action=ResetInstanceAttribute &InstanceId=i-10a64379 &Attribute=kernel &AUTHPARAMS
<ResetInstanceAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2011-12-15/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <return>true</return> </ResetInstanceAttributeResponse>