Interface CfnMailManagerRuleSet.IRuleIpExpressionProperty
An IP address expression matching certain IP addresses within a given range of IP addresses.
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IRuleIpExpressionProperty
Syntax (vb)
Public Interface IRuleIpExpressionProperty
Remarks
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 ruleIpExpressionProperty = new RuleIpExpressionProperty {
Evaluate = new RuleIpToEvaluateProperty {
Attribute = "attribute"
},
Operator = "operator",
Values = new [] { "values" }
};
Synopsis
Properties
Evaluate | The IP address to evaluate in this condition. |
Operator | The operator to evaluate the IP address. |
Values | The IP CIDR blocks in format "x.y.z.w/n" (eg 10.0.0.0/8) to match with the email's IP address. For the operator CIDR_MATCHES, if multiple values are given, they are evaluated as an OR. That is, if the IP address is contained within any of the given CIDR ranges, the condition is deemed to match. For NOT_CIDR_MATCHES, if multiple CIDR ranges are given, the condition is deemed to match if the IP address is not contained in any of the given CIDR ranges. |
Properties
Evaluate
The IP address to evaluate in this condition.
object Evaluate { get; }
Property Value
System.Object
Remarks
Operator
The operator to evaluate the IP address.
string Operator { get; }
Property Value
System.String
Remarks
Values
The IP CIDR blocks in format "x.y.z.w/n" (eg 10.0.0.0/8) to match with the email's IP address. For the operator CIDR_MATCHES, if multiple values are given, they are evaluated as an OR. That is, if the IP address is contained within any of the given CIDR ranges, the condition is deemed to match. For NOT_CIDR_MATCHES, if multiple CIDR ranges are given, the condition is deemed to match if the IP address is not contained in any of the given CIDR ranges.
string[] Values { get; }
Property Value
System.String[]