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

export interface DsInstanceProfilesArgs {
  roleName: string | core.StringOut;
}

export class DsInstanceProfiles extends core.Data<DsInstanceProfilesArgs> {
  @core.attr(String, { computed: true, kind: "array" })
  public arns!: core.Array<string> | core.ArrayOut<core.StringOut>;

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

  @core.attr(String, { computed: true, kind: "array" })
  public names!: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(String, { computed: true, kind: "array" })
  public paths!: core.Array<string> | core.ArrayOut<core.StringOut>;

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

  constructor(name: string, args?: DsInstanceProfilesArgs) {
    super(name, "aws_iam_instance_profiles", args);
  }

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