AWS::SES::ReceiptFilter - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS 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 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