import * as core from "@terrascript/core";

export interface VoiceConnectorLoggingArgs extends core.ResourceArgs {
  enableMediaMetricLogs?: boolean | core.BooleanOut;

  enableSipLogs?: boolean | core.BooleanOut;

  voiceConnectorId: string | core.StringOut;
}

export class VoiceConnectorLogging extends core.Resource<VoiceConnectorLoggingArgs> {
  @core.attr(Boolean)
  public enableMediaMetricLogs?: boolean | core.BooleanOut;

  @core.attr(Boolean)
  public enableSipLogs?: boolean | core.BooleanOut;

  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @core.attr(String)
  public voiceConnectorId!: string | core.StringOut;

  constructor(name: string, args?: VoiceConnectorLoggingArgs) {
    super(name, "aws_chime_voice_connector_logging", args);
  }

  public override getNamespace(): string {
    return "aws_chime";
  }
}
