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

export interface DsCloudwatchEventBusArgs {
  name: string | core.StringOut;
}

export class DsCloudwatchEventBus extends core.Data<DsCloudwatchEventBusArgs> {
  @core.attr(String, { computed: true })
  public arn!: string | core.StringOut;

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

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

  constructor(name: string, args?: DsCloudwatchEventBusArgs) {
    super(name, "aws_cloudwatch_event_bus", args);
  }

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