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