@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:15.080Z") @Stability(value=Experimental) public interface ReceiptRuleOptions extends software.amazon.jsii.JsiiSerializable
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.*;
ReceiptRule receiptRule;
IReceiptRuleAction receiptRuleAction;
ReceiptRuleOptions receiptRuleOptions = ReceiptRuleOptions.builder()
.actions(List.of(receiptRuleAction))
.after(receiptRule)
.enabled(false)
.receiptRuleName("receiptRuleName")
.recipients(List.of("recipients"))
.scanEnabled(false)
.tlsPolicy(TlsPolicy.OPTIONAL)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ReceiptRuleOptions.Builder
A builder for
ReceiptRuleOptions |
static class |
ReceiptRuleOptions.Jsii$Proxy
An implementation for
ReceiptRuleOptions |
| Modifier and Type | Method and Description |
|---|---|
static ReceiptRuleOptions.Builder |
builder() |
default List<IReceiptRuleAction> |
getActions()
(experimental) An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule.
|
default IReceiptRule |
getAfter()
(experimental) An existing rule after which the new rule will be placed.
|
default Boolean |
getEnabled()
(experimental) Whether the rule is active.
|
default String |
getReceiptRuleName()
(experimental) The name for the rule.
|
default List<String> |
getRecipients()
(experimental) The recipient domains and email addresses that the receipt rule applies to.
|
default Boolean |
getScanEnabled()
(experimental) Whether to scan for spam and viruses.
|
default TlsPolicy |
getTlsPolicy()
(experimental) Whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS).
|
@Stability(value=Experimental) @Nullable default List<IReceiptRuleAction> getActions()
Default: - No actions.
@Stability(value=Experimental) @Nullable default IReceiptRule getAfter()
Default: - The new rule is inserted at the beginning of the rule list.
@Stability(value=Experimental) @Nullable default Boolean getEnabled()
Default: true
@Stability(value=Experimental) @Nullable default String getReceiptRuleName()
Default: - A CloudFormation generated name.
@Stability(value=Experimental) @Nullable default List<String> getRecipients()
Default: - Match all recipients under all verified domains.
@Stability(value=Experimental) @Nullable default Boolean getScanEnabled()
Default: false
@Stability(value=Experimental) @Nullable default TlsPolicy getTlsPolicy()
Default: - Optional which will not check for TLS.
@Stability(value=Experimental) static ReceiptRuleOptions.Builder builder()
ReceiptRuleOptions.Builder of ReceiptRuleOptionsCopyright © 2022. All rights reserved.