RuleBooleanExpressionProperty Struct
A boolean expression to be used in a rule condition.
| Source | |
|---|---|
| Type last changed |
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 ruleBooleanExpressionProperty: ses.CfnMailManagerRuleSet.RuleBooleanExpressionProperty = {
evaluate: {
analysis: {
analyzer: 'analyzer',
resultField: 'resultField',
},
attribute: 'attribute',
isInAddressList: {
addressLists: ['addressLists'],
attribute: 'attribute',
},
},
operator: 'operator',
};
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_boolean_expression_property = ses.CfnMailManagerRuleSet.RuleBooleanExpressionProperty(
evaluate=ses.CfnMailManagerRuleSet.RuleBooleanToEvaluateProperty(
analysis=ses.CfnMailManagerRuleSet.AnalysisProperty(
analyzer="analyzer",
result_field="resultField"
),
attribute="attribute",
is_in_address_list=ses.CfnMailManagerRuleSet.RuleIsInAddressListProperty(
address_lists=["addressLists"],
attribute="attribute"
)
),
operator="operator"
)
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.*;
RuleBooleanExpressionProperty ruleBooleanExpressionProperty = RuleBooleanExpressionProperty.builder()
.evaluate(RuleBooleanToEvaluateProperty.builder()
.analysis(AnalysisProperty.builder()
.analyzer("analyzer")
.resultField("resultField")
.build())
.attribute("attribute")
.isInAddressList(RuleIsInAddressListProperty.builder()
.addressLists(List.of("addressLists"))
.attribute("attribute")
.build())
.build())
.operator("operator")
.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 ruleBooleanExpressionProperty = new RuleBooleanExpressionProperty {
Evaluate = new RuleBooleanToEvaluateProperty {
Analysis = new AnalysisProperty {
Analyzer = "analyzer",
ResultField = "resultField"
},
Attribute = "attribute",
IsInAddressList = new RuleIsInAddressListProperty {
AddressLists = new [] { "addressLists" },
Attribute = "attribute"
}
},
Operator = "operator"
};
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"
ruleBooleanExpressionProperty := &RuleBooleanExpressionProperty{
Evaluate: &RuleBooleanToEvaluateProperty{
Analysis: &AnalysisProperty{
Analyzer: jsii.String("analyzer"),
ResultField: jsii.String("resultField"),
},
Attribute: jsii.String("attribute"),
IsInAddressList: &RuleIsInAddressListProperty{
AddressLists: []*string{
jsii.String("addressLists"),
},
Attribute: jsii.String("attribute"),
},
},
Operator: jsii.String("operator"),
}
Properties
evaluateIResolvable | CfnMailManagerRuleSet.evaluatetyping.Union[IResolvable, RuleBooleanToEvaluateProperty]evaluateIResolvableEvaluateIResolvableEvaluateinterface{} required #The operand on which to perform a boolean condition operation.
The matching operator for a boolean condition expression.