AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Find the Amazon machine image identified by the version-independent key name.

Namespace: Amazon.EC2.Util
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public Image FindImage(
         IAmazonEC2 ec2Client,
         String imageKey
)
Parameters
ec2Client
Type: Amazon.EC2.IAmazonEC2

The EC2 client used to search for the image.

imageKey
Type: System.String

The keyname used to identify the image.

Return Value
Type: Image
The Amazon machine image.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5