class Aws::SES::Types::ReceiptIpFilter
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].
[1]: docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-ip-filters.html
@note When making an API call, you may pass ReceiptIpFilter
data as a hash: { policy: "Block", # required, accepts Block, Allow cidr: "Cidr", # required }
@!attribute [rw] policy
Indicates whether to block or allow incoming mail from the specified IP addresses. @return [String]
@!attribute [rw] cidr
A single IP address or a range of IP addresses that you want to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation. An example of a single email address is 10.0.0.1. An example of a range of IP addresses is 10.0.0.1/24. For more information about CIDR notation, see [RFC 2317][1]. [1]: https://tools.ietf.org/html/rfc2317 @return [String]
@see docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReceiptIpFilter AWS API Documentation
Constants
- SENSITIVE