@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.220Z") @Stability(value=Stable) public class ReceiptRuleSet extends Resource implements IReceiptRuleSet
Example:
ReceiptRuleSet ruleSet = new ReceiptRuleSet(this, "RuleSet");
ReceiptRule awsRule = ruleSet.addRule("Aws", ReceiptRuleOptions.builder()
.recipients(List.of("aws.com"))
.build());
| Modifier and Type | Class and Description |
|---|---|
static class |
ReceiptRuleSet.Builder
A fluent builder for
ReceiptRuleSet. |
software.amazon.jsii.JsiiObject.InitializationModeIReceiptRuleSet.Jsii$Default, IReceiptRuleSet.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
ReceiptRuleSet(software.constructs.Construct scope,
String id) |
|
ReceiptRuleSet(software.constructs.Construct scope,
String id,
ReceiptRuleSetProps props) |
protected |
ReceiptRuleSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ReceiptRuleSet(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDropSpamRule()
Adds a drop spam rule.
|
ReceiptRule |
addRule(String id)
Adds a new receipt rule in this rule set.
|
ReceiptRule |
addRule(String id,
ReceiptRuleOptions options)
Adds a new receipt rule in this rule set.
|
static IReceiptRuleSet |
fromReceiptRuleSetName(software.constructs.Construct scope,
String id,
String receiptRuleSetName)
Import an exported receipt rule set.
|
String |
getReceiptRuleSetName()
The receipt rule set name.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected ReceiptRuleSet(software.amazon.jsii.JsiiObjectRef objRef)
protected ReceiptRuleSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public ReceiptRuleSet(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
ReceiptRuleSetProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Stable)
public ReceiptRuleSet(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Stable) @NotNull public static IReceiptRuleSet fromReceiptRuleSetName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String receiptRuleSetName)
scope - This parameter is required.id - This parameter is required.receiptRuleSetName - This parameter is required.@Stability(value=Stable) protected void addDropSpamRule()
@Stability(value=Stable) @NotNull public ReceiptRule addRule(@NotNull String id, @Nullable ReceiptRuleOptions options)
The new rule is added after
the last added rule unless after is specified.
addRule in interface IReceiptRuleSetid - This parameter is required.options - @Stability(value=Stable) @NotNull public ReceiptRule addRule(@NotNull String id)
The new rule is added after
the last added rule unless after is specified.
addRule in interface IReceiptRuleSetid - This parameter is required.@Stability(value=Stable) @NotNull public String getReceiptRuleSetName()
getReceiptRuleSetName in interface IReceiptRuleSetCopyright © 2022. All rights reserved.