Container for the parameters to the CopyImage operation.
Initiates the copy of an AMI from the specified source region to the region in which the request was made. You specify the destination region by using its endpoint when making the request. AMIs that use encrypted Amazon EBS snapshots cannot be copied with this method.
For more information, see Copying AMIs in the Amazon Elastic Compute Cloud User Guide .
Declaration Syntax
C# |
public class CopyImageRequest : EC2Request
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
CopyImageRequest()()()() | Initializes a new instance of the CopyImageRequest class | |
ClientToken |
A unique, case-sensitive identifier you provide to ensure
idempotency of the copy.
| |
Description |
Description of the image copy.
| |
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.) | |
IsSetClientToken()()()() |
Checks if ClientToken property is set
| |
IsSetDescription()()()() |
Checks if Description property is set
| |
IsSetName()()()() |
Checks if Name property is set
| |
IsSetSourceImageId()()()() |
Checks if SourceImageId property is set
| |
IsSetSourceRegion()()()() |
Checks if SourceRegion property is set
| |
Name |
Name of the image copy.
| |
SourceImageId |
Id of the source image to copy.
| |
SourceRegion |
Source region to copy the image from.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithClientToken(String) | Obsolete.
Sets the ClientToken property.
| |
WithDescription(String) | Obsolete.
Sets the description of the image copy.
| |
WithName(String) | Obsolete.
Sets the name of the image copy.
| |
WithSourceImageId(String) | Obsolete.
Sets the id of the source image to copy.
| |
WithSourceRegion(String) | Obsolete.
Sets the source region to copy the image from.
|
Inheritance Hierarchy
Object | ||
EC2Request | ||
CopyImageRequest |