Class ReceiptRule
A new receipt rule.
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ReceiptRule : Resource, IReceiptRule, IResource
Syntax (vb)
Public Class ReceiptRule
Inherits Resource
Implements IReceiptRule, IResource
Remarks
ExampleMetadata: infused
Examples
var ruleSet = new ReceiptRuleSet(this, "RuleSet");
var awsRule = ruleSet.AddRule("Aws", new ReceiptRuleOptions {
Recipients = new [] { "aws.com" }
});
Synopsis
Constructors
ReceiptRule(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ReceiptRule(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
ReceiptRule(Construct, String, IReceiptRuleProps) |
Properties
ReceiptRuleName | The name of the receipt rule. |
Methods
AddAction(IReceiptRuleAction) | Adds an action to this receipt rule. |
FromReceiptRuleName(Construct, String, String) |
Constructors
ReceiptRule(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ReceiptRule(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ReceiptRule(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ReceiptRule(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
ReceiptRule(Construct, String, IReceiptRuleProps)
public ReceiptRule(Construct scope, string id, IReceiptRuleProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IReceiptRuleProps
Properties
ReceiptRuleName
The name of the receipt rule.
public virtual string ReceiptRuleName { get; }
Property Value
System.String
Methods
AddAction(IReceiptRuleAction)
Adds an action to this receipt rule.
public virtual void AddAction(IReceiptRuleAction action)
Parameters
- action IReceiptRuleAction
FromReceiptRuleName(Construct, String, String)
public static IReceiptRule FromReceiptRuleName(Construct scope, string id, string receiptRuleName)
Parameters
- scope Constructs.Construct
- id System.String
- receiptRuleName System.String
Returns
Implements
Constructs.IConstruct
Constructs.IDependable