Class CfnReceiptRule.AddHeaderActionProperty
When included in a receipt rule, this action adds a header to the received email.
Inheritance
System.Object
CfnReceiptRule.AddHeaderActionProperty
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
AddHeaderActionProperty() |
Properties
HeaderName | The name of the header to add to the incoming message. |
HeaderValue | 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.String
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.String
Remarks
This value can contain up to 2048 characters. It can't contain newline ( \n
) or carriage return ( \r
) characters.