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

export interface ClusterActivityStreamArgs extends core.ResourceArgs {
  engineNativeAuditFieldsIncluded?: boolean | core.BooleanOut;

  kmsKeyId: string | core.StringOut;

  mode: string | core.StringOut;

  resourceArn: string | core.StringOut;
}

export class ClusterActivityStream extends core.Resource<ClusterActivityStreamArgs> {
  @core.attr(Boolean)
  public engineNativeAuditFieldsIncluded?: boolean | core.BooleanOut;

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

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

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

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

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

  constructor(name: string, args?: ClusterActivityStreamArgs) {
    super(name, "aws_rds_cluster_activity_stream", args);
  }

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