AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS::SES::ReceiptFilter

The AWS::SES::ReceiptFilter resource whether to accept or reject mail originating from an IP address or range of IP addresses for Amazon SES. For more information, see Creating IP Address Filters for Amazon SES Email Receiving in the Amazon Simple Email Service Developer Guide.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::SES::ReceiptFilter", "Properties" : { "Filter" : Filter } }

YAML

Type: "AWS::SES::ReceiptFilter" Properties: Filter: Filter

Properties

Filter

The IP addresses to block or allow, and whether to block or allow incoming mail from them.

Required: Yes

Type: Amazon SES ReceiptFilter Filter

Update requires: Replacement

Example

JSON

{ "AWSTemplateFormatVersion": "2010-09-09", "Description": "AWS SES ReceiptFilter Sample Template", "Parameters": { "FilterName": { "Type": "String" }, "Policy": { "Type": "String" }, "Cidr": { "Type": "String" } }, "Resources": { "ReceiptFilter": { "Type": "AWS::SES::ReceiptFilter", "Properties": { "Filter": { "Name": { "Ref": "FilterName" }, "IpFilter": { "Policy": { "Ref": "Policy" }, "Cidr": { "Ref": "Cidr" } } } } } } }

YAML

AWSTemplateFormatVersion: 2010-09-09 Description: 'AWS SES ReceiptFilter Sample Template' Parameters: FilterName: Type: String Policy: Type: String Cidr: Type: String Resources: ReceiptFilter: Type: AWS::SES::ReceiptFilter Properties: Filter: Name: !Ref FilterName IpFilter: Policy: !Ref Policy Cidr: !Ref Cidr

See Also