POST /#Action=ResetInstanceAttribute

Resets an attribute of an instance to its default value. To reset the kernel or ramdisk, the instance must be in a stopped state. To reset the sourceDestCheck, the instance can be either running or stopped.

The sourceDestCheck attribute controls whether source/destination checking is enabled. The default value is true, which means checking is enabled. This value must be false for a NAT instance to perform NAT. For more information, see NAT Instances in the Amazon VPC User Guide.

Servers

Request headers

Name Type Required Description
X-Amz-Content-Sha256 String No
X-Amz-Credential String No
Content-Type String Yes The media type of the request body.

Default value: "text/xml"

X-Amz-Date String No
X-Amz-Algorithm String No
X-Amz-SignedHeaders String No
X-Amz-Security-Token String No
X-Amz-Signature String No

Query parameters

Name Type Required Description
Version String Yes

Possible values:

  • "2016-11-15"
Action String Yes

Possible values:

  • "ResetInstanceAttribute"

Request body fields

Name Type Required Description
InstanceId String Yes

The ID of the instance.

Attribute String Yes

The attribute to reset.

You can only reset the following attributes: kernel | ramdisk | sourceDestCheck.

Possible values:

  • "enclaveOptions"
  • "productCodes"
  • "instanceType"
  • "ramdisk"
  • "groupSet"
  • "disableApiTermination"
  • "enaSupport"
  • "sourceDestCheck"
  • "userData"
  • "instanceInitiatedShutdownBehavior"
  • "kernel"
  • "rootDeviceName"
  • "sriovNetSupport"
  • "disableApiStop"
  • "ebsOptimized"
  • "blockDeviceMapping"
DryRun Boolean No

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.