AWS::SES::ReceiptFilter - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::SES::ReceiptFilter

Specify a new IP address filter. You use IP address filters when you receive email with Amazon SES.

Syntax

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

JSON

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

YAML

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

Properties

Filter

A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.

Required: Yes

Type: Filter

Update requires: Replacement

Return values

Fn::GetAtt

Examples

Specifies an IP address filter for incoming email.

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