// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/chime_voice_connector aws_chime_voice_connector}
*/
export class ChimeVoiceConnector extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_chime_voice_connector";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/chime_voice_connector aws_chime_voice_connector} 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 ChimeVoiceConnectorConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_chime_voice_connector',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._awsRegion = config.awsRegion;
        this._name = config.name;
        this._requireEncryption = config.requireEncryption;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // aws_region - computed: false, optional: true, required: false
    _awsRegion;
    get awsRegion() {
        return this.getStringAttribute('aws_region');
    }
    set awsRegion(value) {
        this._awsRegion = value;
    }
    resetAwsRegion() {
        this._awsRegion = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get awsRegionInput() {
        return this._awsRegion;
    }
    // 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;
    }
    // outbound_host_name - computed: true, optional: false, required: false
    get outboundHostName() {
        return this.getStringAttribute('outbound_host_name');
    }
    // require_encryption - computed: false, optional: false, required: true
    _requireEncryption;
    get requireEncryption() {
        return this.getBooleanAttribute('require_encryption');
    }
    set requireEncryption(value) {
        this._requireEncryption = value;
    }
    // Temporarily expose input value. Use with caution.
    get requireEncryptionInput() {
        return this._requireEncryption;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            aws_region: cdktf.stringToTerraform(this._awsRegion),
            name: cdktf.stringToTerraform(this._name),
            require_encryption: cdktf.booleanToTerraform(this._requireEncryption),
        };
    }
}
//# sourceMappingURL=chime-voice-connector.js.map