interface RuleStringExpressionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SES.Mixins.CfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsses/mixins#CfnMailManagerRuleSetPropsMixin_RuleStringExpressionProperty |
Java | software.amazon.awscdk.mixins.preview.services.ses.mixins.CfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty |
Python | aws_cdk.mixins_preview.aws_ses.mixins.CfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ses » mixins » CfnMailManagerRuleSetPropsMixin » RuleStringExpressionProperty |
A string expression is evaluated against strings or substrings of the email.
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 ruleStringExpressionProperty: ses_mixins.CfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty = {
evaluate: {
analysis: {
analyzer: 'analyzer',
resultField: 'resultField',
},
attribute: 'attribute',
mimeHeaderAttribute: 'mimeHeaderAttribute',
},
operator: 'operator',
values: ['values'],
};
Properties
| Name | Type | Description |
|---|---|---|
| evaluate? | IResolvable | Rule | The string to evaluate in a string condition expression. |
| operator? | string | The matching operator for a string condition expression. |
| values? | string[] | The string(s) to be evaluated in a string condition expression. |
evaluate?
Type:
IResolvable | Rule
(optional)
The string to evaluate in a string condition expression.
operator?
Type:
string
(optional)
The matching operator for a string condition expression.
values?
Type:
string[]
(optional)
The string(s) to be evaluated in a string condition expression.
For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.

.NET
Go
Java
Python
TypeScript