// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/dms_replication_task aws_dms_replication_task}
*/
export class DmsReplicationTask extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_dms_replication_task";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/dms_replication_task aws_dms_replication_task} 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 DmsReplicationTaskConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_dms_replication_task',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._cdcStartPosition = config.cdcStartPosition;
        this._cdcStartTime = config.cdcStartTime;
        this._migrationType = config.migrationType;
        this._replicationInstanceArn = config.replicationInstanceArn;
        this._replicationTaskId = config.replicationTaskId;
        this._replicationTaskSettings = config.replicationTaskSettings;
        this._sourceEndpointArn = config.sourceEndpointArn;
        this._tableMappings = config.tableMappings;
        this._tags = config.tags;
        this._tagsAll = config.tagsAll;
        this._targetEndpointArn = config.targetEndpointArn;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // cdc_start_position - computed: false, optional: true, required: false
    _cdcStartPosition;
    get cdcStartPosition() {
        return this.getStringAttribute('cdc_start_position');
    }
    set cdcStartPosition(value) {
        this._cdcStartPosition = value;
    }
    resetCdcStartPosition() {
        this._cdcStartPosition = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get cdcStartPositionInput() {
        return this._cdcStartPosition;
    }
    // cdc_start_time - computed: false, optional: true, required: false
    _cdcStartTime;
    get cdcStartTime() {
        return this.getStringAttribute('cdc_start_time');
    }
    set cdcStartTime(value) {
        this._cdcStartTime = value;
    }
    resetCdcStartTime() {
        this._cdcStartTime = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get cdcStartTimeInput() {
        return this._cdcStartTime;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // migration_type - computed: false, optional: false, required: true
    _migrationType;
    get migrationType() {
        return this.getStringAttribute('migration_type');
    }
    set migrationType(value) {
        this._migrationType = value;
    }
    // Temporarily expose input value. Use with caution.
    get migrationTypeInput() {
        return this._migrationType;
    }
    // replication_instance_arn - computed: false, optional: false, required: true
    _replicationInstanceArn;
    get replicationInstanceArn() {
        return this.getStringAttribute('replication_instance_arn');
    }
    set replicationInstanceArn(value) {
        this._replicationInstanceArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get replicationInstanceArnInput() {
        return this._replicationInstanceArn;
    }
    // replication_task_arn - computed: true, optional: false, required: false
    get replicationTaskArn() {
        return this.getStringAttribute('replication_task_arn');
    }
    // replication_task_id - computed: false, optional: false, required: true
    _replicationTaskId;
    get replicationTaskId() {
        return this.getStringAttribute('replication_task_id');
    }
    set replicationTaskId(value) {
        this._replicationTaskId = value;
    }
    // Temporarily expose input value. Use with caution.
    get replicationTaskIdInput() {
        return this._replicationTaskId;
    }
    // replication_task_settings - computed: false, optional: true, required: false
    _replicationTaskSettings;
    get replicationTaskSettings() {
        return this.getStringAttribute('replication_task_settings');
    }
    set replicationTaskSettings(value) {
        this._replicationTaskSettings = value;
    }
    resetReplicationTaskSettings() {
        this._replicationTaskSettings = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get replicationTaskSettingsInput() {
        return this._replicationTaskSettings;
    }
    // source_endpoint_arn - computed: false, optional: false, required: true
    _sourceEndpointArn;
    get sourceEndpointArn() {
        return this.getStringAttribute('source_endpoint_arn');
    }
    set sourceEndpointArn(value) {
        this._sourceEndpointArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get sourceEndpointArnInput() {
        return this._sourceEndpointArn;
    }
    // table_mappings - computed: false, optional: false, required: true
    _tableMappings;
    get tableMappings() {
        return this.getStringAttribute('table_mappings');
    }
    set tableMappings(value) {
        this._tableMappings = value;
    }
    // Temporarily expose input value. Use with caution.
    get tableMappingsInput() {
        return this._tableMappings;
    }
    // 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;
    }
    // target_endpoint_arn - computed: false, optional: false, required: true
    _targetEndpointArn;
    get targetEndpointArn() {
        return this.getStringAttribute('target_endpoint_arn');
    }
    set targetEndpointArn(value) {
        this._targetEndpointArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get targetEndpointArnInput() {
        return this._targetEndpointArn;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            cdc_start_position: cdktf.stringToTerraform(this._cdcStartPosition),
            cdc_start_time: cdktf.stringToTerraform(this._cdcStartTime),
            migration_type: cdktf.stringToTerraform(this._migrationType),
            replication_instance_arn: cdktf.stringToTerraform(this._replicationInstanceArn),
            replication_task_id: cdktf.stringToTerraform(this._replicationTaskId),
            replication_task_settings: cdktf.stringToTerraform(this._replicationTaskSettings),
            source_endpoint_arn: cdktf.stringToTerraform(this._sourceEndpointArn),
            table_mappings: cdktf.stringToTerraform(this._tableMappings),
            tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._tags),
            tags_all: cdktf.hashMapper(cdktf.stringToTerraform)(this._tagsAll),
            target_endpoint_arn: cdktf.stringToTerraform(this._targetEndpointArn),
        };
    }
}
//# sourceMappingURL=dms-replication-task.js.map