Class CfnMailManagerRuleSet.AddHeaderActionProperty
The action to add a header to a message.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMailManagerRuleSet.AddHeaderActionProperty : CfnMailManagerRuleSet.IAddHeaderActionProperty
Syntax (vb)
Public Class CfnMailManagerRuleSet.AddHeaderActionProperty Implements CfnMailManagerRuleSet.IAddHeaderActionProperty
Remarks
When executed, this action will add the given header to the message.
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() | The action to add a header to a message. |
Properties
HeaderName | The name of the header to add to an email. |
HeaderValue | The value of the header to add to the email. |
Constructors
AddHeaderActionProperty()
The action to add a header to a message.
public AddHeaderActionProperty()
Remarks
When executed, this action will add the given header to the message.
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"
};
Properties
HeaderName
The name of the header to add to an email.
public string HeaderName { get; set; }
Property Value
Remarks
The header must be prefixed with "X-". Headers are added regardless of whether the header name pre-existed in the email.
HeaderValue
The value of the header to add to the email.
public string HeaderValue { get; set; }