<filename>sdk/dotnet/Oss/Outputs/GetBucketsBucketLifecycleRuleResult.cs// *** 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.Oss.Outputs
{

    [OutputType]
    public sealed class GetBucketsBucketLifecycleRuleResult
    {
        /// <summary>
        /// Indicate whether the rule is enabled or not.
        /// </summary>
        public readonly bool Enabled;
        /// <summary>
        /// A list of one element containing expiration attributes of an object. It contains the following attributes:
        /// </summary>
        public readonly Outputs.GetBucketsBucketLifecycleRuleExpirationResult Expiration;
        /// <summary>
        /// Unique ID of the rule.
        /// </summary>
        public readonly string Id;
        /// <summary>
        /// Prefix applicable to a rule. Only those objects with a matching prefix can be affected by the rule.
        /// </summary>
        public readonly string Prefix;

        [OutputConstructor]
        private GetBucketsBucketLifecycleRuleResult(
            bool enabled,

            Outputs.GetBucketsBucketLifecycleRuleExpirationResult expiration,

            string id,

            string prefix)
        {
            Enabled = enabled;
            Expiration = expiration;
            Id = id;
            Prefix = prefix;
        }
    }
}
