You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SES::Types::ReceiptFilter

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ReceiptFilter as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "ReceiptFilterName", # required
  ip_filter: { # required
    policy: "Block", # required, accepts Block, Allow
    cidr: "Cidr", # required
  },
}

A receipt IP address filter enables you to specify whether to accept or reject mail originating from an IP address or range of IP addresses.

For information about setting up IP address filters, see the Amazon SES Developer Guide.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#ip_filterTypes::ReceiptIpFilter

A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.

Returns:

  • (Types::ReceiptIpFilter)

    A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.

#nameString

The name of the IP address filter. The name must:

  • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).

  • Start and end with a letter or number.

  • Contain less than 64 characters.

Returns:

  • (String)

    The name of the IP address filter.