// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/macie2_custom_data_identifier aws_macie2_custom_data_identifier}
*/
export class Macie2CustomDataIdentifier extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_macie2_custom_data_identifier";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/macie2_custom_data_identifier aws_macie2_custom_data_identifier} 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 Macie2CustomDataIdentifierConfig = {}
    */
    constructor(scope, id, config = {}) {
        super(scope, id, {
            terraformResourceType: 'aws_macie2_custom_data_identifier',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._description = config.description;
        this._ignoreWords = config.ignoreWords;
        this._keywords = config.keywords;
        this._maximumMatchDistance = config.maximumMatchDistance;
        this._name = config.name;
        this._namePrefix = config.namePrefix;
        this._regex = config.regex;
        this._tags = config.tags;
        this._tagsAll = config.tagsAll;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // created_at - computed: true, optional: false, required: false
    get createdAt() {
        return this.getStringAttribute('created_at');
    }
    // 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');
    }
    // ignore_words - computed: false, optional: true, required: false
    _ignoreWords;
    get ignoreWords() {
        return cdktf.Fn.tolist(this.getListAttribute('ignore_words'));
    }
    set ignoreWords(value) {
        this._ignoreWords = value;
    }
    resetIgnoreWords() {
        this._ignoreWords = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get ignoreWordsInput() {
        return this._ignoreWords;
    }
    // keywords - computed: false, optional: true, required: false
    _keywords;
    get keywords() {
        return cdktf.Fn.tolist(this.getListAttribute('keywords'));
    }
    set keywords(value) {
        this._keywords = value;
    }
    resetKeywords() {
        this._keywords = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get keywordsInput() {
        return this._keywords;
    }
    // maximum_match_distance - computed: true, optional: true, required: false
    _maximumMatchDistance;
    get maximumMatchDistance() {
        return this.getNumberAttribute('maximum_match_distance');
    }
    set maximumMatchDistance(value) {
        this._maximumMatchDistance = value;
    }
    resetMaximumMatchDistance() {
        this._maximumMatchDistance = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get maximumMatchDistanceInput() {
        return this._maximumMatchDistance;
    }
    // name - computed: true, optional: true, required: false
    _name;
    get name() {
        return this.getStringAttribute('name');
    }
    set name(value) {
        this._name = value;
    }
    resetName() {
        this._name = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get nameInput() {
        return this._name;
    }
    // name_prefix - computed: true, optional: true, required: false
    _namePrefix;
    get namePrefix() {
        return this.getStringAttribute('name_prefix');
    }
    set namePrefix(value) {
        this._namePrefix = value;
    }
    resetNamePrefix() {
        this._namePrefix = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get namePrefixInput() {
        return this._namePrefix;
    }
    // regex - computed: false, optional: true, required: false
    _regex;
    get regex() {
        return this.getStringAttribute('regex');
    }
    set regex(value) {
        this._regex = value;
    }
    resetRegex() {
        this._regex = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get regexInput() {
        return this._regex;
    }
    // tags - computed: false, optional: true, required: false
    _tags;
    get tags() {
        return this.getStringMapAttribute('tags');
    }
    set tags(value) {
        this._tags = value;
    }
    resetTags() {
        this._tags = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get tagsInput() {
        return this._tags;
    }
    // tags_all - computed: true, optional: true, required: false
    _tagsAll;
    get tagsAll() {
        return this.getStringMapAttribute('tags_all');
    }
    set tagsAll(value) {
        this._tagsAll = value;
    }
    resetTagsAll() {
        this._tagsAll = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get tagsAllInput() {
        return this._tagsAll;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            description: cdktf.stringToTerraform(this._description),
            ignore_words: cdktf.listMapper(cdktf.stringToTerraform)(this._ignoreWords),
            keywords: cdktf.listMapper(cdktf.stringToTerraform)(this._keywords),
            maximum_match_distance: cdktf.numberToTerraform(this._maximumMatchDistance),
            name: cdktf.stringToTerraform(this._name),
            name_prefix: cdktf.stringToTerraform(this._namePrefix),
            regex: cdktf.stringToTerraform(this._regex),
            tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._tags),
            tags_all: cdktf.hashMapper(cdktf.stringToTerraform)(this._tagsAll),
        };
    }
}
//# sourceMappingURL=macie2-custom-data-identifier.js.map