Class CfnMailManagerTrafficPolicy.PolicyConditionProperty
The email traffic filtering conditions which are contained in a traffic policy resource.
Inheritance
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PolicyConditionProperty : Object, CfnMailManagerTrafficPolicy.IPolicyConditionProperty
Syntax (vb)
Public Class PolicyConditionProperty
Inherits Object
Implements CfnMailManagerTrafficPolicy.IPolicyConditionProperty
Remarks
This data type is a UNION, so only one of the following members can be specified when used or returned.
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 policyConditionProperty = new PolicyConditionProperty {
BooleanExpression = new IngressBooleanExpressionProperty {
Evaluate = new IngressBooleanToEvaluateProperty {
Analysis = new IngressAnalysisProperty {
Analyzer = "analyzer",
ResultField = "resultField"
}
},
Operator = "operator"
},
IpExpression = new IngressIpv4ExpressionProperty {
Evaluate = new IngressIpToEvaluateProperty {
Attribute = "attribute"
},
Operator = "operator",
Values = new [] { "values" }
},
StringExpression = new IngressStringExpressionProperty {
Evaluate = new IngressStringToEvaluateProperty {
Attribute = "attribute"
},
Operator = "operator",
Values = new [] { "values" }
},
TlsExpression = new IngressTlsProtocolExpressionProperty {
Evaluate = new IngressTlsProtocolToEvaluateProperty {
Attribute = "attribute"
},
Operator = "operator",
Value = "value"
}
};
Synopsis
Constructors
PolicyConditionProperty() |
Properties
BooleanExpression | This represents a boolean type condition matching on the incoming mail. |
IpExpression | This represents an IP based condition matching on the incoming mail. |
StringExpression | This represents a string based condition matching on the incoming mail. |
TlsExpression | This represents a TLS based condition matching on the incoming mail. |
Constructors
PolicyConditionProperty()
public PolicyConditionProperty()
Properties
BooleanExpression
This represents a boolean type condition matching on the incoming mail.
public object BooleanExpression { get; set; }
Property Value
System.Object
Remarks
It performs the boolean operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
IpExpression
This represents an IP based condition matching on the incoming mail.
public object IpExpression { get; set; }
Property Value
System.Object
Remarks
It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
StringExpression
This represents a string based condition matching on the incoming mail.
public object StringExpression { get; set; }
Property Value
System.Object
Remarks
It performs the string operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
TlsExpression
This represents a TLS based condition matching on the incoming mail.
public object TlsExpression { get; set; }
Property Value
System.Object
Remarks
It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.