// *** 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;

namespace Pulumi.AliCloud.ActionTrail.Outputs
{

    [OutputType]
    public sealed class GetTrailsActiontrailResult
    {
        /// <summary>
        /// Indicates whether the event is a read or a write event.
        /// </summary>
        public readonly string EventRw;
        /// <summary>
        /// The id of the ActionTrail Trail. It is the same as trail name.
        /// </summary>
        public readonly string Id;
        public readonly bool IsOrganizationTrail;
        /// <summary>
        /// The name of the specified OSS bucket.
        /// </summary>
        public readonly string OssBucketName;
        /// <summary>
        /// The prefix of the specified OSS bucket name.
        /// </summary>
        public readonly string OssKeyPrefix;
        public readonly string OssWriteRoleArn;
        /// <summary>
        /// The unique ARN of the Log Service project.
        /// </summary>
        public readonly string SlsProjectArn;
        /// <summary>
        /// The unique ARN of the Log Service role.
        /// </summary>
        public readonly string SlsWriteRoleArn;
        /// <summary>
        /// Filter the results by status of the ActionTrail Trail. Valid values: `Disable`, `Enable`, `Fresh`.
        /// </summary>
        public readonly string Status;
        /// <summary>
        /// The name of the ActionTrail Trail.
        /// </summary>
        public readonly string TrailName;
        /// <summary>
        /// The regions to which the trail is applied.
        /// </summary>
        public readonly string TrailRegion;

        [OutputConstructor]
        private GetTrailsActiontrailResult(
            string eventRw,

            string id,

            bool isOrganizationTrail,

            string ossBucketName,

            string ossKeyPrefix,

            string ossWriteRoleArn,

            string slsProjectArn,

            string slsWriteRoleArn,

            string status,

            string trailName,

            string trailRegion)
        {
            EventRw = eventRw;
            Id = id;
            IsOrganizationTrail = isOrganizationTrail;
            OssBucketName = ossBucketName;
            OssKeyPrefix = ossKeyPrefix;
            OssWriteRoleArn = ossWriteRoleArn;
            SlsProjectArn = slsProjectArn;
            SlsWriteRoleArn = slsWriteRoleArn;
            Status = status;
            TrailName = trailName;
            TrailRegion = trailRegion;
        }
    }
}
