interface RuleIpExpressionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SES.Mixins.CfnMailManagerRuleSetPropsMixin.RuleIpExpressionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsses/mixins#CfnMailManagerRuleSetPropsMixin_RuleIpExpressionProperty |
Java | software.amazon.awscdk.mixins.preview.services.ses.mixins.CfnMailManagerRuleSetPropsMixin.RuleIpExpressionProperty |
Python | aws_cdk.mixins_preview.aws_ses.mixins.CfnMailManagerRuleSetPropsMixin.RuleIpExpressionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ses » mixins » CfnMailManagerRuleSetPropsMixin » RuleIpExpressionProperty |
An IP address expression matching certain IP addresses within a given range of IP addresses.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ses_mixins } from '@aws-cdk/mixins-preview/aws-ses';
const ruleIpExpressionProperty: ses_mixins.CfnMailManagerRuleSetPropsMixin.RuleIpExpressionProperty = {
evaluate: {
attribute: 'attribute',
},
operator: 'operator',
values: ['values'],
};
Properties
| Name | Type | Description |
|---|---|---|
| evaluate? | IResolvable | Rule | The IP address to evaluate in this condition. |
| operator? | string | The operator to evaluate the IP address. |
| values? | string[] | 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. |
evaluate?
Type:
IResolvable | Rule
(optional)
The IP address to evaluate in this condition.
operator?
Type:
string
(optional)
The operator to evaluate the IP address.
values?
Type:
string[]
(optional)
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.

.NET
Go
Java
Python
TypeScript