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

export interface DsOpenidConnectProviderArgs {
  arn?: string | core.StringOut;

  tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  url?: string | core.StringOut;
}

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

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

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

  @core.attr(String, { computed: true, kind: "map" })
  public tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

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

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

  constructor(name: string, args?: DsOpenidConnectProviderArgs) {
    super(name, "aws_iam_openid_connect_provider", args);
  }

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