@Stability(value=Stable)
public static interface CfnReceiptRule.AddHeaderActionProperty
extends software.amazon.jsii.JsiiSerializable
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() |
String |
getHeaderName()
The name of the header to add to the incoming message.
|
String |
getHeaderValue()
The content to include in the header.
|
@Stability(value=Stable) @NotNull 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.
@Stability(value=Stable) @NotNull String getHeaderValue()
This value can contain up to 2048 characters. It can't contain newline ( \n ) or carriage return ( \r ) characters.
@Stability(value=Stable) static CfnReceiptRule.AddHeaderActionProperty.Builder builder()
Copyright © 2022. All rights reserved.