AWS::SES::ReceiptRule AddHeaderAction - 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.

AWS::SES::ReceiptRule AddHeaderAction

When included in a receipt rule, this action adds a header to the received email.

For information about adding a header using a receipt rule, see the Amazon SES Developer Guide.


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


{ "HeaderName" : String, "HeaderValue" : String }


HeaderName: String HeaderValue: String



The name of the header to add to the incoming message. The name must contain at least one character, and can contain up to 50 characters. It consists of alphanumeric (a–z, A–Z, 0–9) characters and dashes.

Required: Yes

Type: String

Update requires: No interruption


The content to include in the header. This value can contain up to 2048 characters. It can't contain newline (\n) or carriage return (\r) characters.

Required: Yes

Type: String

Update requires: No interruption