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

export interface DsCallerIdentityArgs {}

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

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

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

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

  constructor(name: string, args?: DsCallerIdentityArgs) {
    super(name, "aws_caller_identity", args);
  }

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