Interface ICfnReceiptRuleProps
Properties for defining a CfnReceiptRule
.
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnReceiptRuleProps
Syntax (vb)
Public Interface ICfnReceiptRuleProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptrule.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
var cfnReceiptRuleProps = new CfnReceiptRuleProps {
Rule = new RuleProperty {
Actions = new [] { new ActionProperty {
AddHeaderAction = new AddHeaderActionProperty {
HeaderName = "headerName",
HeaderValue = "headerValue"
},
BounceAction = new BounceActionProperty {
Message = "message",
Sender = "sender",
SmtpReplyCode = "smtpReplyCode",
// the properties below are optional
StatusCode = "statusCode",
TopicArn = "topicArn"
},
LambdaAction = new LambdaActionProperty {
FunctionArn = "functionArn",
// the properties below are optional
InvocationType = "invocationType",
TopicArn = "topicArn"
},
S3Action = new S3ActionProperty {
BucketName = "bucketName",
// the properties below are optional
KmsKeyArn = "kmsKeyArn",
ObjectKeyPrefix = "objectKeyPrefix",
TopicArn = "topicArn"
},
SnsAction = new SNSActionProperty {
Encoding = "encoding",
TopicArn = "topicArn"
},
StopAction = new StopActionProperty {
Scope = "scope",
// the properties below are optional
TopicArn = "topicArn"
},
WorkmailAction = new WorkmailActionProperty {
OrganizationArn = "organizationArn",
// the properties below are optional
TopicArn = "topicArn"
}
} },
Enabled = false,
Name = "name",
Recipients = new [] { "recipients" },
ScanEnabled = false,
TlsPolicy = "tlsPolicy"
},
RuleSetName = "ruleSetName",
// the properties below are optional
After = "after"
};
Synopsis
Properties
After | The name of an existing rule after which the new rule is placed. |
Rule | A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy. |
RuleSetName | The name of the rule set where the receipt rule is added. |
Properties
After
The name of an existing rule after which the new rule is placed.
virtual string After { get; }
Property Value
System.String
Remarks
If this parameter is null, the new rule is inserted at the beginning of the rule list.
Rule
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
object Rule { get; }
Property Value
System.Object
Remarks
RuleSetName
The name of the rule set where the receipt rule is added.
string RuleSetName { get; }
Property Value
System.String