Amazon.EC2.Import.DiskImageImporter.ConstructManifestArtifactKey C# (CSharp) Method

ConstructManifestArtifactKey() private method

Constructs the S3 object key for the manifest artifact. This will combine the root key, any optional prefix the user has requested be applied and the filename of the artifact, plus a fixed extension.
private ConstructManifestArtifactKey ( string imageFilepath ) : void
imageFilepath string The path to the image file
return void
        void ConstructManifestArtifactKey(string imageFilepath)
        {
            if (string.IsNullOrEmpty(ManifestFileKey))

            ManifestFileKey = string.Format(CultureInfo.InvariantCulture,
                                            "{0}/{1}{2}",
                                            ArtifactsKeyPrefix,
                                            Path.GetFileName(imageFilepath),
                                            ManifestSuffix);
        }