interface RuleIpExpressionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SES.CfnMailManagerRuleSet.RuleIpExpressionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsses#CfnMailManagerRuleSet_RuleIpExpressionProperty |
![]() | software.amazon.awscdk.services.ses.CfnMailManagerRuleSet.RuleIpExpressionProperty |
![]() | aws_cdk.aws_ses.CfnMailManagerRuleSet.RuleIpExpressionProperty |
![]() | aws-cdk-lib » aws_ses » CfnMailManagerRuleSet » 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 { aws_ses as ses } from 'aws-cdk-lib';
const ruleIpExpressionProperty: ses.CfnMailManagerRuleSet.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
The IP address to evaluate in this condition.
operator
Type:
string
The operator to evaluate the IP address.
values
Type:
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.