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

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

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

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

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

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

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

  constructor(name: string, args?: DsCloudwatchEventConnectionArgs) {
    super(name, "aws_cloudwatch_event_connection", args);
  }

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