using System; using System.Collections.Generic; using System.Text; namespace Amazon.Lambda.Tools { /// /// Is class is serialized as the description of the layer. Space in the description is limited /// so property names are kept short. Enum are also stored as numbers. /// public class LayerDescriptionManifest { public LayerDescriptionManifest() { } public LayerDescriptionManifest(ManifestType type) { this.Nlt = type; } public enum ManifestType { RuntimePackageStore=1 } public enum OptimizedState { NoOptimized=0, Optimized=1} /// /// .NET Layer Type /// public ManifestType Nlt { get; set; } /// /// The sub directory in the packages zip file that NuGet packages will be placed. This /// will be the sub folder under the /opt directory in the Lambda environment. /// public string Dir { get; set; } /// /// Indicates whether the packages were pre-jitted when the store was created. /// public OptimizedState Op { get; set; } /// /// The S3 bucket containing the artifact.xml file. /// public string Buc { get; set; } /// /// THe S3 object key for the artifact.xml file. /// public string Key { get; set; } } }