<reponame>Regrau/pulumi-yandex<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;

namespace Pulumi.Yandex.Outputs
{

    [OutputType]
    public sealed class MdbKafkaClusterTopic
    {
        /// <summary>
        /// The name of the topic.
        /// </summary>
        public readonly string Name;
        /// <summary>
        /// The number of the topic's partitions.
        /// </summary>
        public readonly int Partitions;
        /// <summary>
        /// Amount of data copies (replicas) for the topic in the cluster.
        /// </summary>
        public readonly int ReplicationFactor;
        /// <summary>
        /// User-defined settings for the topic. The structure is documented below.
        /// </summary>
        public readonly Outputs.MdbKafkaClusterTopicTopicConfig? TopicConfig;

        [OutputConstructor]
        private MdbKafkaClusterTopic(
            string name,

            int partitions,

            int replicationFactor,

            Outputs.MdbKafkaClusterTopicTopicConfig? topicConfig)
        {
            Name = name;
            Partitions = partitions;
            ReplicationFactor = replicationFactor;
            TopicConfig = topicConfig;
        }
    }
}
