Instance / Action / reset_ramdisk
reset_ramdisk#
- EC2.Instance.reset_ramdisk(**kwargs)#
- Resets an attribute of an instance to its default value. To reset the - kernelor- ramdisk, the instance must be in a stopped state. To reset the- sourceDestCheck, the instance can be either running or stopped.- The - sourceDestCheckattribute controls whether source/destination checking is enabled. The default value is- true, which means checking is enabled. This value must be- falsefor a NAT instance to perform NAT. For more information, see NAT instances in the Amazon VPC User Guide.- See also: AWS API Documentation - Request Syntax- response = instance.reset_ramdisk( DryRun=True|False, ) - Parameters:
- DryRun (boolean) – Checks whether you have the required permissions for the operation, 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.
- Returns:
- None