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

export interface ClusterEndpointArgs extends core.ResourceArgs {
  clusterEndpointIdentifier: string | core.StringOut;

  clusterIdentifier: string | core.StringOut;

  endpointType: string | core.StringOut;

  excludedMembers?: core.Array<string> | core.ArrayOut<core.StringOut>;

  staticMembers?: core.Array<string> | core.ArrayOut<core.StringOut>;

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

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

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

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

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

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

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

  @core.attr(String, { kind: "array" })
  public excludedMembers?: core.Array<string> | core.ArrayOut<core.StringOut>;

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

  @core.attr(String, { kind: "array" })
  public staticMembers?: core.Array<string> | core.ArrayOut<core.StringOut>;

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

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

  constructor(name: string, args?: ClusterEndpointArgs) {
    super(name, "aws_neptune_cluster_endpoint", args);
  }

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