» Resource: aws_ses_receipt_filter

Provides an SES receipt filter resource

» Example Usage

resource "aws_ses_receipt_filter" "filter" {
  name   = "block-spammer"
  cidr   = "10.10.10.10"
  policy = "Block"
}

» Argument Reference

The following arguments are supported:

  • name - (Required) The name of the filter
  • cidr - (Required) The IP address or address range to filter, in CIDR notation
  • policy - (Required) Block or Allow

» Attributes Reference

In addition to the arguments, which are exported, the following attributes are exported:

  • id - The SES receipt filter name.
  • arn - The SES receipt filter ARN.

» Import

SES Receipt Filter can be imported using their name, e.g.

$ terraform import aws_ses_receipt_filter.test some-filter