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

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

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

  @core.attr(String, { computed: true })
  public createDate!: 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 path!: string | core.StringOut;

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

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

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

  constructor(name: string, args?: DsInstanceProfileArgs) {
    super(name, "aws_iam_instance_profile", args);
  }

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