@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.204Z") @Stability(value=Stable) public class ReceiptRule extends Resource implements IReceiptRule
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 |
ReceiptRule.Builder
A fluent builder for
ReceiptRule. |
software.amazon.jsii.JsiiObject.InitializationModeIReceiptRule.Jsii$Default, IReceiptRule.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
ReceiptRule(software.constructs.Construct scope,
String id,
ReceiptRuleProps props) |
protected |
ReceiptRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ReceiptRule(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(IReceiptRuleAction action)
Adds an action to this receipt rule.
|
static IReceiptRule |
fromReceiptRuleName(software.constructs.Construct scope,
String id,
String receiptRuleName) |
String |
getReceiptRuleName()
The name of the receipt rule.
|
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 ReceiptRule(software.amazon.jsii.JsiiObjectRef objRef)
protected ReceiptRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public ReceiptRule(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
ReceiptRuleProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public static IReceiptRule fromReceiptRuleName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String receiptRuleName)
scope - This parameter is required.id - This parameter is required.receiptRuleName - This parameter is required.@Stability(value=Stable)
public void addAction(@NotNull
IReceiptRuleAction action)
action - This parameter is required.@Stability(value=Stable) @NotNull public String getReceiptRuleName()
getReceiptRuleName in interface IReceiptRuleCopyright © 2022. All rights reserved.