Class ReceiptRuleSet
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.ses.ReceiptRuleSet
- All Implemented Interfaces:
IResource,IReceiptRuleSet,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:48.964Z")
@Stability(Stable)
public class ReceiptRuleSet
extends Resource
implements IReceiptRuleSet
A new receipt rule set.
Example:
ReceiptRuleSet ruleSet = new ReceiptRuleSet(this, "RuleSet");
ReceiptRule awsRule = ruleSet.addRule("Aws", ReceiptRuleOptions.builder()
.recipients(List.of("aws.com"))
.build());
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.ses.IReceiptRuleSet
IReceiptRuleSet.Jsii$Default, IReceiptRuleSet.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedReceiptRuleSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedReceiptRuleSet(software.amazon.jsii.JsiiObjectRef objRef) ReceiptRuleSet(software.constructs.Construct scope, String id) ReceiptRuleSet(software.constructs.Construct scope, String id, ReceiptRuleSetProps props) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAdds a drop spam rule.Adds a new receipt rule in this rule set.addRule(String id, ReceiptRuleOptions options) Adds a new receipt rule in this rule set.static IReceiptRuleSetfromReceiptRuleSetName(software.constructs.Construct scope, String id, String receiptRuleSetName) Import an exported receipt rule set.The receipt rule set name.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
Uniquely identifies this class.
-
-
Constructor Details
-
ReceiptRuleSet
protected ReceiptRuleSet(software.amazon.jsii.JsiiObjectRef objRef) -
ReceiptRuleSet
protected ReceiptRuleSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ReceiptRuleSet
@Stability(Stable) public ReceiptRuleSet(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ReceiptRuleSetProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props-
-
ReceiptRuleSet
@Stability(Stable) public ReceiptRuleSet(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- This parameter is required.id- This parameter is required.
-
-
Method Details
-
fromReceiptRuleSetName
@Stability(Stable) @NotNull public static IReceiptRuleSet fromReceiptRuleSetName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String receiptRuleSetName) Import an exported receipt rule set.- Parameters:
scope- This parameter is required.id- This parameter is required.receiptRuleSetName- This parameter is required.
-
addDropSpamRule
@Stability(Stable) protected void addDropSpamRule()Adds a drop spam rule. -
addRule
@Stability(Stable) @NotNull public ReceiptRule addRule(@NotNull String id, @Nullable ReceiptRuleOptions options) Adds a new receipt rule in this rule set.The new rule is added after the last added rule unless
afteris specified.- Specified by:
addRulein interfaceIReceiptRuleSet- Parameters:
id- This parameter is required.options-
-
addRule
Adds a new receipt rule in this rule set.The new rule is added after the last added rule unless
afteris specified.- Specified by:
addRulein interfaceIReceiptRuleSet- Parameters:
id- This parameter is required.
-
getReceiptRuleSetName
The receipt rule set name.- Specified by:
getReceiptRuleSetNamein interfaceIReceiptRuleSet
-