// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/ses_domain_mail_from aws_ses_domain_mail_from}
*/
export class SesDomainMailFrom extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_ses_domain_mail_from";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/ses_domain_mail_from aws_ses_domain_mail_from} 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 SesDomainMailFromConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_ses_domain_mail_from',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._behaviorOnMxFailure = config.behaviorOnMxFailure;
        this._domain = config.domain;
        this._mailFromDomain = config.mailFromDomain;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // behavior_on_mx_failure - computed: false, optional: true, required: false
    _behaviorOnMxFailure;
    get behaviorOnMxFailure() {
        return this.getStringAttribute('behavior_on_mx_failure');
    }
    set behaviorOnMxFailure(value) {
        this._behaviorOnMxFailure = value;
    }
    resetBehaviorOnMxFailure() {
        this._behaviorOnMxFailure = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get behaviorOnMxFailureInput() {
        return this._behaviorOnMxFailure;
    }
    // domain - computed: false, optional: false, required: true
    _domain;
    get domain() {
        return this.getStringAttribute('domain');
    }
    set domain(value) {
        this._domain = value;
    }
    // Temporarily expose input value. Use with caution.
    get domainInput() {
        return this._domain;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // mail_from_domain - computed: false, optional: false, required: true
    _mailFromDomain;
    get mailFromDomain() {
        return this.getStringAttribute('mail_from_domain');
    }
    set mailFromDomain(value) {
        this._mailFromDomain = value;
    }
    // Temporarily expose input value. Use with caution.
    get mailFromDomainInput() {
        return this._mailFromDomain;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            behavior_on_mx_failure: cdktf.stringToTerraform(this._behaviorOnMxFailure),
            domain: cdktf.stringToTerraform(this._domain),
            mail_from_domain: cdktf.stringToTerraform(this._mailFromDomain),
        };
    }
}
//# sourceMappingURL=ses-domain-mail-from.js.map