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

export interface DsOriginAccessIdentitiesArgs {
  comments?: core.Array<string> | core.ArrayOut<core.StringOut>;
}

export class DsOriginAccessIdentities extends core.Data<DsOriginAccessIdentitiesArgs> {
  @core.attr(String, { kind: "array" })
  public comments?: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(String, { computed: true, kind: "array" })
  public iamArns!: 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 ids!: core.Array<string> | core.ArrayOut<core.StringOut>;

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

  constructor(name: string, args?: DsOriginAccessIdentitiesArgs) {
    super(name, "aws_cloudfront_origin_access_identities", args);
  }

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