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

export interface DsOutpostInstanceTypeArgs {
  arn: string | core.StringOut;

  instanceType?: string | core.StringOut;

  preferredInstanceTypes?: core.Array<string> | core.ArrayOut<core.StringOut>;
}

export class DsOutpostInstanceType extends core.Data<DsOutpostInstanceTypeArgs> {
  @core.attr(String)
  public arn!: string | core.StringOut;

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

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

  @core.attr(String, { kind: "array" })
  public preferredInstanceTypes?:
    | core.Array<string>
    | core.ArrayOut<core.StringOut>;

  constructor(name: string, args?: DsOutpostInstanceTypeArgs) {
    super(name, "aws_outposts_outpost_instance_type", args);
  }

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