import * as core from "@terrascript/core"; export interface ReceiptFilterArgs extends core.ResourceArgs { /** * (Required) The IP address or address range to filter, in CIDR notation */ cidr: string | core.StringOut; /** * (Required) The name of the filter */ name: string | core.StringOut; /** * (Required) Block or Allow */ policy: string | core.StringOut; } export class ReceiptFilter extends core.Resource { /** * The SES receipt filter ARN. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The IP address or address range to filter, in CIDR notation */ @core.attr(String) public cidr!: string | core.StringOut; /** * The SES receipt filter name. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the filter */ @core.attr(String) public name!: string | core.StringOut; /** * (Required) Block or Allow */ @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"; } }