interface AddHeaderActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SES.CfnMailManagerRuleSet.AddHeaderActionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsses#CfnMailManagerRuleSet_AddHeaderActionProperty |
Java | software.amazon.awscdk.services.ses.CfnMailManagerRuleSet.AddHeaderActionProperty |
Python | aws_cdk.aws_ses.CfnMailManagerRuleSet.AddHeaderActionProperty |
TypeScript | aws-cdk-lib » aws_ses » CfnMailManagerRuleSet » AddHeaderActionProperty |
The action to add a header to a message.
When executed, this action will add the given header to the message.
Example
// 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
| Name | Type | Description |
|---|---|---|
| header | string | The name of the header to add to an email. |
| header | string | The value of the header to add to the email. |
headerName
Type:
string
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.
headerValue
Type:
string
The value of the header to add to the email.

.NET
Go
Java
Python
TypeScript