// https://www.terraform.io/docs/providers/aws/r/account_alternate_contact
// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/account_alternate_contact aws_account_alternate_contact}
*/
export class AccountAlternateContact extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_account_alternate_contact";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/account_alternate_contact aws_account_alternate_contact} 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 AccountAlternateContactConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_account_alternate_contact',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._accountId = config.accountId;
        this._alternateContactType = config.alternateContactType;
        this._emailAddress = config.emailAddress;
        this._name = config.name;
        this._phoneNumber = config.phoneNumber;
        this._title = config.title;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // account_id - computed: false, optional: true, required: false
    _accountId;
    get accountId() {
        return this.getStringAttribute('account_id');
    }
    set accountId(value) {
        this._accountId = value;
    }
    resetAccountId() {
        this._accountId = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get accountIdInput() {
        return this._accountId;
    }
    // alternate_contact_type - computed: false, optional: false, required: true
    _alternateContactType;
    get alternateContactType() {
        return this.getStringAttribute('alternate_contact_type');
    }
    set alternateContactType(value) {
        this._alternateContactType = value;
    }
    // Temporarily expose input value. Use with caution.
    get alternateContactTypeInput() {
        return this._alternateContactType;
    }
    // email_address - computed: false, optional: false, required: true
    _emailAddress;
    get emailAddress() {
        return this.getStringAttribute('email_address');
    }
    set emailAddress(value) {
        this._emailAddress = value;
    }
    // Temporarily expose input value. Use with caution.
    get emailAddressInput() {
        return this._emailAddress;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // 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;
    }
    // phone_number - computed: false, optional: false, required: true
    _phoneNumber;
    get phoneNumber() {
        return this.getStringAttribute('phone_number');
    }
    set phoneNumber(value) {
        this._phoneNumber = value;
    }
    // Temporarily expose input value. Use with caution.
    get phoneNumberInput() {
        return this._phoneNumber;
    }
    // title - computed: false, optional: false, required: true
    _title;
    get title() {
        return this.getStringAttribute('title');
    }
    set title(value) {
        this._title = value;
    }
    // Temporarily expose input value. Use with caution.
    get titleInput() {
        return this._title;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            account_id: cdktf.stringToTerraform(this._accountId),
            alternate_contact_type: cdktf.stringToTerraform(this._alternateContactType),
            email_address: cdktf.stringToTerraform(this._emailAddress),
            name: cdktf.stringToTerraform(this._name),
            phone_number: cdktf.stringToTerraform(this._phoneNumber),
            title: cdktf.stringToTerraform(this._title),
        };
    }
}
//# sourceMappingURL=account-alternate-contact.js.map