interface RuleConditionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SES.CfnMailManagerRuleSet.RuleConditionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsses#CfnMailManagerRuleSet_RuleConditionProperty |
![]() | software.amazon.awscdk.services.ses.CfnMailManagerRuleSet.RuleConditionProperty |
![]() | aws_cdk.aws_ses.CfnMailManagerRuleSet.RuleConditionProperty |
![]() | aws-cdk-lib » aws_ses » CfnMailManagerRuleSet » RuleConditionProperty |
The conditional expression used to evaluate an email for determining if a rule action should be taken.
This data type is a UNION, so only one of the following members can be specified when used or returned.
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 ruleConditionProperty: ses.CfnMailManagerRuleSet.RuleConditionProperty = {
booleanExpression: {
evaluate: {
attribute: 'attribute',
},
operator: 'operator',
},
dmarcExpression: {
operator: 'operator',
values: ['values'],
},
ipExpression: {
evaluate: {
attribute: 'attribute',
},
operator: 'operator',
values: ['values'],
},
numberExpression: {
evaluate: {
attribute: 'attribute',
},
operator: 'operator',
value: 123,
},
stringExpression: {
evaluate: {
attribute: 'attribute',
},
operator: 'operator',
values: ['values'],
},
verdictExpression: {
evaluate: {
analysis: {
analyzer: 'analyzer',
resultField: 'resultField',
},
attribute: 'attribute',
},
operator: 'operator',
values: ['values'],
},
};
Properties
Name | Type | Description |
---|---|---|
boolean | IResolvable | Rule | The condition applies to a boolean expression passed in this field. |
dmarc | IResolvable | Rule | The condition applies to a DMARC policy expression passed in this field. |
ip | IResolvable | Rule | The condition applies to an IP address expression passed in this field. |
number | IResolvable | Rule | The condition applies to a number expression passed in this field. |
string | IResolvable | Rule | The condition applies to a string expression passed in this field. |
verdict | IResolvable | Rule | The condition applies to a verdict expression passed in this field. |
booleanExpression?
Type:
IResolvable
|
Rule
(optional)
The condition applies to a boolean expression passed in this field.
dmarcExpression?
Type:
IResolvable
|
Rule
(optional)
The condition applies to a DMARC policy expression passed in this field.
ipExpression?
Type:
IResolvable
|
Rule
(optional)
The condition applies to an IP address expression passed in this field.
numberExpression?
Type:
IResolvable
|
Rule
(optional)
The condition applies to a number expression passed in this field.
stringExpression?
Type:
IResolvable
|
Rule
(optional)
The condition applies to a string expression passed in this field.
verdictExpression?
Type:
IResolvable
|
Rule
(optional)
The condition applies to a verdict expression passed in this field.