Skip to content
v2.278.0

RuleNumberExpressionProperty Struct ​

A number expression to match numeric conditions with integers from the incoming email.

Example ​

ts
// 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 ruleNumberExpressionProperty: ses.CfnMailManagerRuleSet.RuleNumberExpressionProperty = {
  evaluate: {
    attribute: 'attribute',
  },
  operator: 'operator',
  value: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses as ses

rule_number_expression_property = ses.CfnMailManagerRuleSet.RuleNumberExpressionProperty(
    evaluate=ses.CfnMailManagerRuleSet.RuleNumberToEvaluateProperty(
        attribute="attribute"
    ),
    operator="operator",
    value=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;

RuleNumberExpressionProperty ruleNumberExpressionProperty = RuleNumberExpressionProperty.builder()
        .evaluate(RuleNumberToEvaluateProperty.builder()
                .attribute("attribute")
                .build())
        .operator("operator")
        .value(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;

var ruleNumberExpressionProperty = new RuleNumberExpressionProperty {
    Evaluate = new RuleNumberToEvaluateProperty {
        Attribute = "attribute"
    },
    Operator = "operator",
    Value = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

ruleNumberExpressionProperty := &RuleNumberExpressionProperty{
	Evaluate: &RuleNumberToEvaluateProperty{
		Attribute: jsii.String("attribute"),
	},
	Operator: jsii.String("operator"),
	Value: jsii.Number(123),
}

Properties ​

The number to evaluate in a numeric condition expression.
operatorstringoperatorstroperatorStringOperatorstringOperator*string required #
The operator for a numeric condition expression.
valuenumbervalueint | floatvalueNumberValuedoubleValue*float64 required #
The value to evaluate in a numeric condition expression.