Skip to content
v2.274.0

AddHeaderActionProperty Struct ​

The action to add a header to a message.

When executed, this action will add the given header to the message.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from 'aws-cdk-lib';
const addHeaderActionProperty: ses.CfnMailManagerRuleSet.AddHeaderActionProperty = {
  headerName: 'headerName',
  headerValue: 'headerValue',
};

Properties ​

headerNamestringheader_namestrheaderNameStringHeaderNamestringHeaderName*stringrequired#
The name of the header to add to an email.

The header must be prefixed with "X-". Headers are added regardless of whether the header name pre-existed in the email.

headerValuestringheader_valuestrheaderValueStringHeaderValuestringHeaderValue*stringrequired#
The value of the header to add to the email.