interface RuleVerdictExpressionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SES.CfnMailManagerRuleSet.RuleVerdictExpressionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsses#CfnMailManagerRuleSet_RuleVerdictExpressionProperty |
![]() | software.amazon.awscdk.services.ses.CfnMailManagerRuleSet.RuleVerdictExpressionProperty |
![]() | aws_cdk.aws_ses.CfnMailManagerRuleSet.RuleVerdictExpressionProperty |
![]() | aws-cdk-lib » aws_ses » CfnMailManagerRuleSet » RuleVerdictExpressionProperty |
A verdict expression is evaluated against verdicts of the email.
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 ruleVerdictExpressionProperty: ses.CfnMailManagerRuleSet.RuleVerdictExpressionProperty = {
evaluate: {
analysis: {
analyzer: 'analyzer',
resultField: 'resultField',
},
attribute: 'attribute',
},
operator: 'operator',
values: ['values'],
};
Properties
Name | Type | Description |
---|---|---|
evaluate | IResolvable | Rule | The verdict to evaluate in a verdict condition expression. |
operator | string | The matching operator for a verdict condition expression. |
values | string[] | The values to match with the email's verdict using the given operator. |
evaluate
Type:
IResolvable
|
Rule
The verdict to evaluate in a verdict condition expression.
operator
Type:
string
The matching operator for a verdict condition expression.
values
Type:
string[]
The values to match with the email's verdict using the given operator.
For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.