dsc/ext/Grani/GraniResource.3.7.8.3/DSCResources/Grani_S3Content/Grani_S3Content.schema.mof

 
[ClassVersion("1.0.0.0"), FriendlyName("cS3Content")]
class Grani_S3Content : OMI_BaseResource
{
    [Key, Description("Path to output Donwloaded item.")] String DestinationPath;
    [Required, Description("S3 Bucket name to access.")] String S3BucketName;
    [Write, Description("S3 Object Key which identify content. You can't use both Key and KeyPrefix at once.")] String Key;
    [Read, Description("Describe File is exist on DestinationPath or not."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
    [Write, Description("Pre Action of Download Content. It only run when Test false.")] String PreAction;
    [Write, Description("Post Action of Download Content. It only run when Test false.")] String PostAction;
    [Write, EmbeddedInstance("MSFT_Credential"), Description("Action execute Credential. You can ignore it if run as SYSTEM.")] String Credential;
    [Write, Description("Checksum to compare S3Object and Local Content. Default is FileHash."), ValueMap{"FileHash","FileName"}, Values{"FileHash","FileName"}] String CheckSum;
};