Interface CfnReceiptRule.AddHeaderActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnReceiptRule.AddHeaderActionProperty.Jsii$Proxy
- Enclosing class:
- CfnReceiptRule
@Stability(Stable)
public static interface CfnReceiptRule.AddHeaderActionProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ses.*; AddHeaderActionProperty addHeaderActionProperty = AddHeaderActionProperty.builder() .headerName("headerName") .headerValue("headerValue") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnReceiptRule.AddHeaderActionProperty
static final class
An implementation forCfnReceiptRule.AddHeaderActionProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The name of the header to add to the incoming message.The content to include in the header.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHeaderName
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.
-
getHeaderValue
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. -
builder
-