# RuleBooleanToEvaluateProperty

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

- Source: Generated at build time
- Type last changed: v2.200.0 · 2 Jun 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    }
};
```

Golang:

```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

- `analysis`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMailManagerRuleSet.AnalysisProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ses.CfnMailManagerRuleSet.AnalysisProperty.html) — The Add On ARN and its returned value to evaluate in a boolean condition expression.

- `attribute`: string — The boolean type representing the allowed attribute types for an email.

- `isInAddressList`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMailManagerRuleSet.RuleIsInAddressListProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ses.CfnMailManagerRuleSet.RuleIsInAddressListProperty.html) — The structure representing the address lists and address list attribute that will be used in evaluation of boolean expression.
