Show / Hide Table of Contents

Class CfnMailManagerTrafficPolicyProps

Properties for defining a CfnMailManagerTrafficPolicy.

Inheritance
object
CfnMailManagerTrafficPolicyProps
Implements
ICfnMailManagerTrafficPolicyProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMailManagerTrafficPolicyProps : ICfnMailManagerTrafficPolicyProps
Syntax (vb)
Public Class CfnMailManagerTrafficPolicyProps Implements ICfnMailManagerTrafficPolicyProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.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 cfnMailManagerTrafficPolicyProps = new CfnMailManagerTrafficPolicyProps {
                 DefaultAction = "defaultAction",
                 PolicyStatements = new [] { new PolicyStatementProperty {
                     Action = "action",
                     Conditions = new [] { new PolicyConditionProperty {
                         BooleanExpression = new IngressBooleanExpressionProperty {
                             Evaluate = new IngressBooleanToEvaluateProperty {
                                 Analysis = new IngressAnalysisProperty {
                                     Analyzer = "analyzer",
                                     ResultField = "resultField"
                                 },
                                 IsInAddressList = new IngressIsInAddressListProperty {
                                     AddressLists = new [] { "addressLists" },
                                     Attribute = "attribute"
                                 }
                             },
                             Operator = "operator"
                         },
                         IpExpression = new IngressIpv4ExpressionProperty {
                             Evaluate = new IngressIpToEvaluateProperty {
                                 Attribute = "attribute"
                             },
                             Operator = "operator",
                             Values = new [] { "values" }
                         },
                         Ipv6Expression = new IngressIpv6ExpressionProperty {
                             Evaluate = new IngressIpv6ToEvaluateProperty {
                                 Attribute = "attribute"
                             },
                             Operator = "operator",
                             Values = new [] { "values" }
                         },
                         StringExpression = new IngressStringExpressionProperty {
                             Evaluate = new IngressStringToEvaluateProperty {
                                 Analysis = new IngressAnalysisProperty {
                                     Analyzer = "analyzer",
                                     ResultField = "resultField"
                                 },
                                 Attribute = "attribute"
                             },
                             Operator = "operator",
                             Values = new [] { "values" }
                         },
                         TlsExpression = new IngressTlsProtocolExpressionProperty {
                             Evaluate = new IngressTlsProtocolToEvaluateProperty {
                                 Attribute = "attribute"
                             },
                             Operator = "operator",
                             Value = "value"
                         }
                     } }
                 } },

                 // the properties below are optional
                 MaxMessageSizeBytes = 123,
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 TrafficPolicyName = "trafficPolicyName"
             };

Synopsis

Constructors

CfnMailManagerTrafficPolicyProps()

Properties for defining a CfnMailManagerTrafficPolicy.

Properties

DefaultAction

Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements.

MaxMessageSizeBytes

The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.

PolicyStatements

Conditional statements for filtering email traffic.

Tags

The tags used to organize, track, or control access for the resource.

TrafficPolicyName

The name of the policy.

Constructors

CfnMailManagerTrafficPolicyProps()

Properties for defining a CfnMailManagerTrafficPolicy.

public CfnMailManagerTrafficPolicyProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.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 cfnMailManagerTrafficPolicyProps = new CfnMailManagerTrafficPolicyProps {
                 DefaultAction = "defaultAction",
                 PolicyStatements = new [] { new PolicyStatementProperty {
                     Action = "action",
                     Conditions = new [] { new PolicyConditionProperty {
                         BooleanExpression = new IngressBooleanExpressionProperty {
                             Evaluate = new IngressBooleanToEvaluateProperty {
                                 Analysis = new IngressAnalysisProperty {
                                     Analyzer = "analyzer",
                                     ResultField = "resultField"
                                 },
                                 IsInAddressList = new IngressIsInAddressListProperty {
                                     AddressLists = new [] { "addressLists" },
                                     Attribute = "attribute"
                                 }
                             },
                             Operator = "operator"
                         },
                         IpExpression = new IngressIpv4ExpressionProperty {
                             Evaluate = new IngressIpToEvaluateProperty {
                                 Attribute = "attribute"
                             },
                             Operator = "operator",
                             Values = new [] { "values" }
                         },
                         Ipv6Expression = new IngressIpv6ExpressionProperty {
                             Evaluate = new IngressIpv6ToEvaluateProperty {
                                 Attribute = "attribute"
                             },
                             Operator = "operator",
                             Values = new [] { "values" }
                         },
                         StringExpression = new IngressStringExpressionProperty {
                             Evaluate = new IngressStringToEvaluateProperty {
                                 Analysis = new IngressAnalysisProperty {
                                     Analyzer = "analyzer",
                                     ResultField = "resultField"
                                 },
                                 Attribute = "attribute"
                             },
                             Operator = "operator",
                             Values = new [] { "values" }
                         },
                         TlsExpression = new IngressTlsProtocolExpressionProperty {
                             Evaluate = new IngressTlsProtocolToEvaluateProperty {
                                 Attribute = "attribute"
                             },
                             Operator = "operator",
                             Value = "value"
                         }
                     } }
                 } },

                 // the properties below are optional
                 MaxMessageSizeBytes = 123,
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 TrafficPolicyName = "trafficPolicyName"
             };

Properties

DefaultAction

Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements.

public string DefaultAction { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html#cfn-ses-mailmanagertrafficpolicy-defaultaction

MaxMessageSizeBytes

The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.

public double? MaxMessageSizeBytes { get; set; }
Property Value

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html#cfn-ses-mailmanagertrafficpolicy-maxmessagesizebytes

PolicyStatements

Conditional statements for filtering email traffic.

public object PolicyStatements { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html#cfn-ses-mailmanagertrafficpolicy-policystatements

Tags

The tags used to organize, track, or control access for the resource.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

For example, { "tags": {"key1":"value1", "key2":"value2"} }.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html#cfn-ses-mailmanagertrafficpolicy-tags

TrafficPolicyName

The name of the policy.

public string? TrafficPolicyName { get; set; }
Property Value

string

Remarks

The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html#cfn-ses-mailmanagertrafficpolicy-trafficpolicyname

Implements

ICfnMailManagerTrafficPolicyProps
Back to top Generated by DocFX