@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:36:55.119Z")
public interface ReceiptRuleOptions
Example:
ReceiptRuleSet ruleSet = new ReceiptRuleSet(this, "RuleSet"); ReceiptRule awsRule = ruleSet.addRule("Aws", ReceiptRuleOptions.builder() .recipients(List.of("aws.com")) .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 java.util.List<IReceiptRuleAction> |
getActions()
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()
An existing rule after which the new rule will be placed.
|
default java.lang.Boolean |
getEnabled()
Whether the rule is active.
|
default java.lang.String |
getReceiptRuleName()
The name for the rule.
|
default java.util.List<java.lang.String> |
getRecipients()
The recipient domains and email addresses that the receipt rule applies to.
|
default java.lang.Boolean |
getScanEnabled()
Whether to scan for spam and viruses.
|
default TlsPolicy |
getTlsPolicy()
Whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS).
|
default java.util.List<IReceiptRuleAction> getActions()
Default: - No actions.
default IReceiptRule getAfter()
Default: - The new rule is inserted at the beginning of the rule list.
default java.lang.Boolean getEnabled()
Default: true
default java.lang.String getReceiptRuleName()
Default: - A CloudFormation generated name.
default java.util.List<java.lang.String> getRecipients()
Default: - Match all recipients under all verified domains.
default java.lang.Boolean getScanEnabled()
Default: false
default TlsPolicy getTlsPolicy()
Default: - Optional which will not check for TLS.
static ReceiptRuleOptions.Builder builder()
ReceiptRuleOptions.Builder
of ReceiptRuleOptions