interface AddHeaderActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SES.Mixins.CfnMailManagerRuleSetPropsMixin.AddHeaderActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsses/mixins#CfnMailManagerRuleSetPropsMixin_AddHeaderActionProperty |
Java | software.amazon.awscdk.mixins.preview.services.ses.mixins.CfnMailManagerRuleSetPropsMixin.AddHeaderActionProperty |
Python | aws_cdk.mixins_preview.aws_ses.mixins.CfnMailManagerRuleSetPropsMixin.AddHeaderActionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ses » mixins » CfnMailManagerRuleSetPropsMixin » 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 { mixins as ses_mixins } from '@aws-cdk/mixins-preview/aws-ses';
const addHeaderActionProperty: ses_mixins.CfnMailManagerRuleSetPropsMixin.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
(optional)
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
(optional)
The value of the header to add to the email.

.NET
Go
Java
Python
TypeScript