// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/securityhub_finding_aggregator aws_securityhub_finding_aggregator}
*/
export class SecurityhubFindingAggregator extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_securityhub_finding_aggregator";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/securityhub_finding_aggregator aws_securityhub_finding_aggregator} 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 SecurityhubFindingAggregatorConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_securityhub_finding_aggregator',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._linkingMode = config.linkingMode;
        this._specifiedRegions = config.specifiedRegions;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // linking_mode - computed: false, optional: false, required: true
    _linkingMode;
    get linkingMode() {
        return this.getStringAttribute('linking_mode');
    }
    set linkingMode(value) {
        this._linkingMode = value;
    }
    // Temporarily expose input value. Use with caution.
    get linkingModeInput() {
        return this._linkingMode;
    }
    // specified_regions - computed: false, optional: true, required: false
    _specifiedRegions;
    get specifiedRegions() {
        return cdktf.Fn.tolist(this.getListAttribute('specified_regions'));
    }
    set specifiedRegions(value) {
        this._specifiedRegions = value;
    }
    resetSpecifiedRegions() {
        this._specifiedRegions = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get specifiedRegionsInput() {
        return this._specifiedRegions;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            linking_mode: cdktf.stringToTerraform(this._linkingMode),
            specified_regions: cdktf.listMapper(cdktf.stringToTerraform)(this._specifiedRegions),
        };
    }
}
//# sourceMappingURL=securityhub-finding-aggregator.js.map