Interface CfnMailManagerTrafficPolicy.IPolicyConditionProperty
The email traffic filtering conditions which are contained in a traffic policy resource.
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnMailManagerTrafficPolicy.IPolicyConditionProperty
Syntax (vb)
Public Interface 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"
},
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
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. |
Ipv6Expression | The email traffic filtering conditions which are contained in a traffic policy resource. |
StringExpression | This represents a string based condition matching on the incoming mail. |
TlsExpression | This represents a TLS based condition matching on the incoming mail. |
Properties
BooleanExpression
This represents a boolean type condition matching on the incoming mail.
object? BooleanExpression { get; }
Property Value
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.
object? IpExpression { get; }
Property Value
Remarks
It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
Ipv6Expression
The email traffic filtering conditions which are contained in a traffic policy resource.
object? Ipv6Expression { get; }
Property Value
Remarks
StringExpression
This represents a string based condition matching on the incoming mail.
object? StringExpression { get; }
Property Value
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.
object? TlsExpression { get; }
Property Value
Remarks
It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.