interface AddHeaderActionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SES.CfnReceiptRule.AddHeaderActionProperty |
Java | software.amazon.awscdk.services.ses.CfnReceiptRule.AddHeaderActionProperty |
Python | aws_cdk.aws_ses.CfnReceiptRule.AddHeaderActionProperty |
TypeScript | @aws-cdk/aws-ses » CfnReceiptRule » AddHeaderActionProperty |
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 .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ses from '@aws-cdk/aws-ses';
const addHeaderActionProperty: ses.CfnReceiptRule.AddHeaderActionProperty = {
headerName: 'headerName',
headerValue: 'headerValue',
};
Properties
Name | Type | Description |
---|---|---|
header | string | The name of the header to add to the incoming message. |
header | string | The content to include in the header. |
headerName
Type:
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.
headerValue
Type:
string
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.