Show / Hide Table of Contents

Class CfnReceiptRuleProps

Properties for defining a CfnReceiptRule.

Inheritance
System.Object
CfnReceiptRuleProps
Implements
ICfnReceiptRuleProps
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.AWS.SES.dll
Syntax (csharp)
public class CfnReceiptRuleProps : Object, ICfnReceiptRuleProps
Syntax (vb)
Public Class CfnReceiptRuleProps
    Inherits Object
    Implements ICfnReceiptRuleProps
Remarks

Link: 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

Constructors

CfnReceiptRuleProps()

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.

Constructors

CfnReceiptRuleProps()

public CfnReceiptRuleProps()

Properties

After

The name of an existing rule after which the new rule is placed.

public string After { get; set; }
Property Value

System.String

Remarks

If this parameter is null, the new rule is inserted at the beginning of the rule list.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptrule.html#cfn-ses-receiptrule-after

Rule

A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.

public object Rule { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptrule.html#cfn-ses-receiptrule-rule

RuleSetName

The name of the rule set where the receipt rule is added.

public string RuleSetName { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptrule.html#cfn-ses-receiptrule-rulesetname

Implements

ICfnReceiptRuleProps
Back to top Generated by DocFX