Show / Hide Table of Contents

Class CfnMailManagerTrafficPolicy.PolicyStatementProperty

The structure containing traffic policy conditions and actions.

Inheritance
object
CfnMailManagerTrafficPolicy.PolicyStatementProperty
Implements
CfnMailManagerTrafficPolicy.IPolicyStatementProperty
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 CfnMailManagerTrafficPolicy.PolicyStatementProperty : CfnMailManagerTrafficPolicy.IPolicyStatementProperty
Syntax (vb)
Public Class CfnMailManagerTrafficPolicy.PolicyStatementProperty Implements CfnMailManagerTrafficPolicy.IPolicyStatementProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policystatement.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 policyStatementProperty = 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"
                     }
                 } }
             };

Synopsis

Constructors

PolicyStatementProperty()

The structure containing traffic policy conditions and actions.

Properties

Action

The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.

Conditions

The list of conditions to apply to incoming messages for filtering email traffic.

Constructors

PolicyStatementProperty()

The structure containing traffic policy conditions and actions.

public PolicyStatementProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policystatement.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 policyStatementProperty = 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"
                     }
                 } }
             };

Properties

Action

The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.

public string Action { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policystatement.html#cfn-ses-mailmanagertrafficpolicy-policystatement-action

Conditions

The list of conditions to apply to incoming messages for filtering email traffic.

public object Conditions { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policystatement.html#cfn-ses-mailmanagertrafficpolicy-policystatement-conditions

Implements

CfnMailManagerTrafficPolicy.IPolicyStatementProperty
Back to top Generated by DocFX