Class CfnReceiptRule.AddHeaderActionProperty
When included in a receipt rule, this action adds a header to the received email.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AddHeaderActionProperty : Object, CfnReceiptRule.IAddHeaderActionProperty
Syntax (vb)
Public Class AddHeaderActionProperty
Inherits Object
Implements CfnReceiptRule.IAddHeaderActionProperty
Remarks
For information about adding a header using a receipt rule, see the Amazon SES Developer Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
var addHeaderActionProperty = new AddHeaderActionProperty {
HeaderName = "headerName",
HeaderValue = "headerValue"
};
Synopsis
Constructors
Add |
Properties
Header |
The name of the header to add to the incoming message. |
Header |
The content to include in the header. |
Constructors
AddHeaderActionProperty()
public AddHeaderActionProperty()
Properties
HeaderName
The name of the header to add to the incoming message.
public string HeaderName { get; set; }
Property Value
System.
Remarks
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.
HeaderValue
The content to include in the header.
public string HeaderValue { get; set; }
Property Value
System.
Remarks
This value can contain up to 2048 characters. It can't contain newline ( \n
) or carriage return ( \r
) characters.