// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/chime_voice_connector_termination aws_chime_voice_connector_termination}
*/
export class ChimeVoiceConnectorTermination extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_chime_voice_connector_termination";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/chime_voice_connector_termination aws_chime_voice_connector_termination} 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 ChimeVoiceConnectorTerminationConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_chime_voice_connector_termination',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._callingRegions = config.callingRegions;
        this._cidrAllowList = config.cidrAllowList;
        this._cpsLimit = config.cpsLimit;
        this._defaultPhoneNumber = config.defaultPhoneNumber;
        this._disabled = config.disabled;
        this._voiceConnectorId = config.voiceConnectorId;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // calling_regions - computed: false, optional: false, required: true
    _callingRegions;
    get callingRegions() {
        return cdktf.Fn.tolist(this.getListAttribute('calling_regions'));
    }
    set callingRegions(value) {
        this._callingRegions = value;
    }
    // Temporarily expose input value. Use with caution.
    get callingRegionsInput() {
        return this._callingRegions;
    }
    // cidr_allow_list - computed: false, optional: false, required: true
    _cidrAllowList;
    get cidrAllowList() {
        return cdktf.Fn.tolist(this.getListAttribute('cidr_allow_list'));
    }
    set cidrAllowList(value) {
        this._cidrAllowList = value;
    }
    // Temporarily expose input value. Use with caution.
    get cidrAllowListInput() {
        return this._cidrAllowList;
    }
    // cps_limit - computed: false, optional: true, required: false
    _cpsLimit;
    get cpsLimit() {
        return this.getNumberAttribute('cps_limit');
    }
    set cpsLimit(value) {
        this._cpsLimit = value;
    }
    resetCpsLimit() {
        this._cpsLimit = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get cpsLimitInput() {
        return this._cpsLimit;
    }
    // default_phone_number - computed: false, optional: true, required: false
    _defaultPhoneNumber;
    get defaultPhoneNumber() {
        return this.getStringAttribute('default_phone_number');
    }
    set defaultPhoneNumber(value) {
        this._defaultPhoneNumber = value;
    }
    resetDefaultPhoneNumber() {
        this._defaultPhoneNumber = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get defaultPhoneNumberInput() {
        return this._defaultPhoneNumber;
    }
    // disabled - computed: false, optional: true, required: false
    _disabled;
    get disabled() {
        return this.getBooleanAttribute('disabled');
    }
    set disabled(value) {
        this._disabled = value;
    }
    resetDisabled() {
        this._disabled = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get disabledInput() {
        return this._disabled;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // voice_connector_id - computed: false, optional: false, required: true
    _voiceConnectorId;
    get voiceConnectorId() {
        return this.getStringAttribute('voice_connector_id');
    }
    set voiceConnectorId(value) {
        this._voiceConnectorId = value;
    }
    // Temporarily expose input value. Use with caution.
    get voiceConnectorIdInput() {
        return this._voiceConnectorId;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            calling_regions: cdktf.listMapper(cdktf.stringToTerraform)(this._callingRegions),
            cidr_allow_list: cdktf.listMapper(cdktf.stringToTerraform)(this._cidrAllowList),
            cps_limit: cdktf.numberToTerraform(this._cpsLimit),
            default_phone_number: cdktf.stringToTerraform(this._defaultPhoneNumber),
            disabled: cdktf.booleanToTerraform(this._disabled),
            voice_connector_id: cdktf.stringToTerraform(this._voiceConnectorId),
        };
    }
}
//# sourceMappingURL=chime-voice-connector-termination.js.map