// *** 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.Tcmq.Outputs
{

    [OutputType]
    public sealed class GetQueueQueueListDeadLetterPolicyResult
    {
        /// <summary>
        /// Dead letter queue.
        /// </summary>
        public readonly string DeadLetterQueue;
        /// <summary>
        /// Maximum number of receipts.
        /// </summary>
        public readonly int MaxReceiveCount;
        /// <summary>
        /// Maximum period in seconds before an unconsumed message expires, which is required if `Policy` is 1. Value range: 300-43200. This value should be smaller than `MsgRetentionSeconds` (maximum message retention period).
        /// </summary>
        public readonly int MaxTimeToLive;
        /// <summary>
        /// Dead letter queue policy.
        /// </summary>
        public readonly int Policy;

        [OutputConstructor]
        private GetQueueQueueListDeadLetterPolicyResult(
            string deadLetterQueue,

            int maxReceiveCount,

            int maxTimeToLive,

            int policy)
        {
            DeadLetterQueue = deadLetterQueue;
            MaxReceiveCount = maxReceiveCount;
            MaxTimeToLive = maxTimeToLive;
            Policy = policy;
        }
    }
}
