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 | This represents an IPv6 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()
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'.
Type union: either IResolvable or CfnMailManagerTrafficPolicy.IIngressBooleanExpressionProperty
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'.
Type union: either IResolvable or CfnMailManagerTrafficPolicy.IIngressIpv4ExpressionProperty
Ipv6Expression
This represents an IPv6 based condition matching on the incoming mail.
public object? Ipv6Expression { get; set; }
Property Value
Remarks
It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
Type union: either IResolvable or CfnMailManagerTrafficPolicy.IIngressIpv6ExpressionProperty
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'.
Type union: either IResolvable or CfnMailManagerTrafficPolicy.IIngressStringExpressionProperty
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'.
Type union: either IResolvable or CfnMailManagerTrafficPolicy.IIngressTlsProtocolExpressionProperty