Skip to content
v2.278.0

RuleBooleanToEvaluateProperty Struct ​

The union type representing the allowed types of operands for a boolean condition.

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 ruleBooleanToEvaluateProperty: ses.CfnMailManagerRuleSet.RuleBooleanToEvaluateProperty = {
  analysis: {
    analyzer: 'analyzer',
    resultField: 'resultField',
  },
  attribute: 'attribute',
  isInAddressList: {
    addressLists: ['addressLists'],
    attribute: 'attribute',
  },
};
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_to_evaluate_property = 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"
    )
)
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.*;

RuleBooleanToEvaluateProperty ruleBooleanToEvaluateProperty = RuleBooleanToEvaluateProperty.builder()
        .analysis(AnalysisProperty.builder()
                .analyzer("analyzer")
                .resultField("resultField")
                .build())
        .attribute("attribute")
        .isInAddressList(RuleIsInAddressListProperty.builder()
                .addressLists(List.of("addressLists"))
                .attribute("attribute")
                .build())
        .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 ruleBooleanToEvaluateProperty = new RuleBooleanToEvaluateProperty {
    Analysis = new AnalysisProperty {
        Analyzer = "analyzer",
        ResultField = "resultField"
    },
    Attribute = "attribute",
    IsInAddressList = new RuleIsInAddressListProperty {
        AddressLists = new [] { "addressLists" },
        Attribute = "attribute"
    }
};
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"

ruleBooleanToEvaluateProperty := &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"),
	},
}

Properties ​

analysisoptionalIResolvable | CfnMailManagerRuleSet.AnalysisPropertyanalysisoptionaltyping.Union[IResolvable, AnalysisProperty]analysisoptionalIResolvableAnalysisoptionalIResolvableAnalysisoptionalinterface{} #
The Add On ARN and its returned value to evaluate in a boolean condition expression.
attributeoptionalstringattributeoptionalstrattributeoptionalStringAttributeoptionalstringAttributeoptional*string #
The boolean type representing the allowed attribute types for an email.
isInAddressListoptionalIResolvable | CfnMailManagerRuleSet.RuleIsInAddressListPropertyis_in_address_listoptionaltyping.Union[IResolvable, RuleIsInAddressListProperty]isInAddressListoptionalIResolvableIsInAddressListoptionalIResolvableIsInAddressListoptionalinterface{} #
The structure representing the address lists and address list attribute that will be used in evaluation of boolean expression.