Deregisters the specified AMI. Once deregistered,
the AMI cannot be used to launch new instances.

C# |
public class DeregisterImageRequest : EC2Request

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | DeregisterImageRequest()()()() | Initializes a new instance of the DeregisterImageRequest class |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the type of the current instance. (Inherited from Object.) |
![]() | ImageId |
Unique ID of the AMI which was assigned during registration.
|
![]() | IsSetImageId()()()() |
Checks if ImageId property is set
|
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WithImageId(String) | Obsolete.
Sets the unique ID of the AMI to deregister.
|

This command does not delete the AMI from Amazon S3.

Object | ||
![]() | EC2Request | |
![]() | DeregisterImageRequest |