// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/msk_configuration aws_msk_configuration}
*/
export class MskConfiguration extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_msk_configuration";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/msk_configuration aws_msk_configuration} Resource
    *
    * @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 MskConfigurationConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_msk_configuration',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._description = config.description;
        this._kafkaVersions = config.kafkaVersions;
        this._name = config.name;
        this._serverProperties = config.serverProperties;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // description - computed: false, optional: true, required: false
    _description;
    get description() {
        return this.getStringAttribute('description');
    }
    set description(value) {
        this._description = value;
    }
    resetDescription() {
        this._description = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get descriptionInput() {
        return this._description;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // kafka_versions - computed: false, optional: true, required: false
    _kafkaVersions;
    get kafkaVersions() {
        return cdktf.Fn.tolist(this.getListAttribute('kafka_versions'));
    }
    set kafkaVersions(value) {
        this._kafkaVersions = value;
    }
    resetKafkaVersions() {
        this._kafkaVersions = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get kafkaVersionsInput() {
        return this._kafkaVersions;
    }
    // latest_revision - computed: true, optional: false, required: false
    get latestRevision() {
        return this.getNumberAttribute('latest_revision');
    }
    // name - computed: false, optional: false, required: true
    _name;
    get name() {
        return this.getStringAttribute('name');
    }
    set name(value) {
        this._name = value;
    }
    // Temporarily expose input value. Use with caution.
    get nameInput() {
        return this._name;
    }
    // server_properties - computed: false, optional: false, required: true
    _serverProperties;
    get serverProperties() {
        return this.getStringAttribute('server_properties');
    }
    set serverProperties(value) {
        this._serverProperties = value;
    }
    // Temporarily expose input value. Use with caution.
    get serverPropertiesInput() {
        return this._serverProperties;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            description: cdktf.stringToTerraform(this._description),
            kafka_versions: cdktf.listMapper(cdktf.stringToTerraform)(this._kafkaVersions),
            name: cdktf.stringToTerraform(this._name),
            server_properties: cdktf.stringToTerraform(this._serverProperties),
        };
    }
}
//# sourceMappingURL=msk-configuration.js.map