// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/chime_voice_connector_streaming aws_chime_voice_connector_streaming}
*/
export class ChimeVoiceConnectorStreaming extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_chime_voice_connector_streaming";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/chime_voice_connector_streaming aws_chime_voice_connector_streaming} 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 ChimeVoiceConnectorStreamingConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_chime_voice_connector_streaming',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._dataRetention = config.dataRetention;
        this._disabled = config.disabled;
        this._streamingNotificationTargets = config.streamingNotificationTargets;
        this._voiceConnectorId = config.voiceConnectorId;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // data_retention - computed: false, optional: false, required: true
    _dataRetention;
    get dataRetention() {
        return this.getNumberAttribute('data_retention');
    }
    set dataRetention(value) {
        this._dataRetention = value;
    }
    // Temporarily expose input value. Use with caution.
    get dataRetentionInput() {
        return this._dataRetention;
    }
    // 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');
    }
    // streaming_notification_targets - computed: false, optional: true, required: false
    _streamingNotificationTargets;
    get streamingNotificationTargets() {
        return cdktf.Fn.tolist(this.getListAttribute('streaming_notification_targets'));
    }
    set streamingNotificationTargets(value) {
        this._streamingNotificationTargets = value;
    }
    resetStreamingNotificationTargets() {
        this._streamingNotificationTargets = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get streamingNotificationTargetsInput() {
        return this._streamingNotificationTargets;
    }
    // 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 {
            data_retention: cdktf.numberToTerraform(this._dataRetention),
            disabled: cdktf.booleanToTerraform(this._disabled),
            streaming_notification_targets: cdktf.listMapper(cdktf.stringToTerraform)(this._streamingNotificationTargets),
            voice_connector_id: cdktf.stringToTerraform(this._voiceConnectorId),
        };
    }
}
//# sourceMappingURL=chime-voice-connector-streaming.js.map