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

export interface DsEndpointArgs {
  endpointType?: string | core.StringOut;
}

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

  @core.attr(String)
  public endpointType?: string | core.StringOut;

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

  constructor(name: string, args?: DsEndpointArgs) {
    super(name, "aws_iot_endpoint", args);
  }

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