public static interface CfnReceiptRule.AddHeaderActionProperty
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 software.amazon.awscdk.services.ses.*; AddHeaderActionProperty addHeaderActionProperty = AddHeaderActionProperty.builder() .headerName("headerName") .headerValue("headerValue") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnReceiptRule.AddHeaderActionProperty.Builder
A builder for
CfnReceiptRule.AddHeaderActionProperty |
static class |
CfnReceiptRule.AddHeaderActionProperty.Jsii$Proxy
An implementation for
CfnReceiptRule.AddHeaderActionProperty |
Modifier and Type | Method and Description |
---|---|
static CfnReceiptRule.AddHeaderActionProperty.Builder |
builder() |
java.lang.String |
getHeaderName()
The name of the header to add to the incoming message.
|
java.lang.String |
getHeaderValue()
The content to include in the header.
|
java.lang.String getHeaderName()
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.
java.lang.String getHeaderValue()
This value can contain up to 2048 characters. It can't contain newline ( \n
) or carriage return ( \r
) characters.
static CfnReceiptRule.AddHeaderActionProperty.Builder builder()