Creates an AMI that uses an Amazon EBS root device from a "running" or
"stopped" instance. AMIs that use an Amazon EBS root device boot
faster than AMIs that use instance stores. They can be up to 1 TiB in size,
use storage that persists on instance failure, and can be stopped
and started.
| C# |
public class CreateImageRequest : EC2Request
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| CreateImageRequest()()()() | Initializes a new instance of the CreateImageRequest class | |
| BlockDeviceMapping |
Block device mapping information for the image.
| |
| Description |
A description of the new image.
| |
| 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.) | |
| InstanceId |
The ID of the instance.
| |
| IsSetBlockDeviceMapping()()()() |
Checks if BlockDeviceMapping property is set
| |
| IsSetDescription()()()() |
Checks if Description property is set
| |
| IsSetInstanceId()()()() |
Checks if InstanceId property is set
| |
| IsSetName()()()() |
Checks if Name property is set
| |
| IsSetNoReboot()()()() |
Checks if NoReboot property is set
| |
| Name |
The name for the new image.
| |
| NoReboot |
Whether Amazon EC2 should not shut down an instance before
image creation.
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithBlockDeviceMapping(array<BlockDeviceMapping>[]()[][]) | Obsolete.
Sets the block device mapping information for the image.
| |
| WithDescription(String) | Obsolete.
Sets the description of the new image.
| |
| WithInstanceId(String) | Obsolete.
Sets the ID of the instance.
| |
| WithName(String) | Obsolete.
Sets the name for the new image.
| |
| WithNoReboot(Boolean) | Obsolete.
Sets whether Amazon EC2 should not shut down an instance before
image creation.
|
| Object | ||
| EC2Request | ||
| CreateImageRequest | ||