AWS SDK for .NET Documentation
CopyImage Method (request)
Amazon ► Amazon.EC2 ► AmazonEC2 ► CopyImage(CopyImageRequest)
Did this page help you? Yes No Tell us about it...

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#

    CopyImageResponse CopyImage(
    	CopyImageRequest request
    )

Parameters

request (CopyImageRequest)
  Copy Image request

Return Value
Copy Image response from the service
Exceptions

Exception | Condition
--- | ---
WebException |
AmazonEC2Exception |

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)