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

export interface ReceiptFilterArgs extends core.ResourceArgs {
  cidr: string | core.StringOut;

  name: string | core.StringOut;

  policy: string | core.StringOut;
}

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

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

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

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

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

  constructor(name: string, args?: ReceiptFilterArgs) {
    super(name, "aws_ses_receipt_filter", args);
  }

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