// generated from terraform resource schema
import * as cdktf from 'cdktf';
export class DataAwsMskBrokerNodesNodeInfoList extends cdktf.ComplexComputedList {
    // attached_eni_id - computed: true, optional: false, required: false
    get attachedEniId() {
        return this.getStringAttribute('attached_eni_id');
    }
    // broker_id - computed: true, optional: false, required: false
    get brokerId() {
        return this.getNumberAttribute('broker_id');
    }
    // client_subnet - computed: true, optional: false, required: false
    get clientSubnet() {
        return this.getStringAttribute('client_subnet');
    }
    // client_vpc_ip_address - computed: true, optional: false, required: false
    get clientVpcIpAddress() {
        return this.getStringAttribute('client_vpc_ip_address');
    }
    // endpoints - computed: true, optional: false, required: false
    get endpoints() {
        return cdktf.Fn.tolist(this.getListAttribute('endpoints'));
    }
    // node_arn - computed: true, optional: false, required: false
    get nodeArn() {
        return this.getStringAttribute('node_arn');
    }
}
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/d/msk_broker_nodes aws_msk_broker_nodes}
*/
export class DataAwsMskBrokerNodes extends cdktf.TerraformDataSource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_msk_broker_nodes";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/d/msk_broker_nodes aws_msk_broker_nodes} Data Source
    *
    * @param scope The scope in which to define this construct
    * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
    * @param options DataAwsMskBrokerNodesConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_msk_broker_nodes',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._clusterArn = config.clusterArn;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // cluster_arn - computed: false, optional: false, required: true
    _clusterArn;
    get clusterArn() {
        return this.getStringAttribute('cluster_arn');
    }
    set clusterArn(value) {
        this._clusterArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get clusterArnInput() {
        return this._clusterArn;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // node_info_list - computed: true, optional: false, required: false
    nodeInfoList(index) {
        return new DataAwsMskBrokerNodesNodeInfoList(this, 'node_info_list', index, false);
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            cluster_arn: cdktf.stringToTerraform(this._clusterArn),
        };
    }
}
//# sourceMappingURL=data-aws-msk-broker-nodes.js.map