Skip to content

Resource: awsSesReceiptFilter

Provides an SES receipt filter resource

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.sesReceiptFilter.SesReceiptFilter(this, "filter", {
  cidr: "10.10.10.10",
  name: "block-spammer",
  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 all arguments above, 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