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

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import SES Receipt Filter using their name. For example:

import {
  to = aws_ses_receipt_filter.test
  id = "some-filter"
}

Using terraform import, import SES Receipt Filter using their name. For example:

% terraform import aws_ses_receipt_filter.test some-filter