<gh_stars>0// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using Pulumi;

namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Mps.Outputs
{

    [OutputType]
    public sealed class WorkflowTriggerCosFileUploadTrigger
    {
        /// <summary>
        /// The name of the COS Bucket bound to the workflow.
        /// </summary>
        public readonly string Bucket;
        /// <summary>
        /// The input path directory of the workflow binding must be an absolute path, that is, start and end with `/`.
        /// </summary>
        public readonly string? Dir;
        /// <summary>
        /// A list of file formats that are allowed to be triggered by the workflow, if not filled in, it means that files of all formats can trigger the workflow.
        /// </summary>
        public readonly ImmutableArray<string> Formats;
        /// <summary>
        /// The park to which the COS Bucket bound to the workflow belongs.
        /// </summary>
        public readonly string Region;

        [OutputConstructor]
        private WorkflowTriggerCosFileUploadTrigger(
            string bucket,

            string? dir,

            ImmutableArray<string> formats,

            string region)
        {
            Bucket = bucket;
            Dir = dir;
            Formats = formats;
            Region = region;
        }
    }
}
