# RuleIsInAddressListProperty

The structure type for a boolean condition that provides the address lists and address list attribute to evaluate.

- 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 ruleIsInAddressListProperty: ses.CfnMailManagerRuleSet.RuleIsInAddressListProperty = {
  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_is_in_address_list_property = 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.*;

RuleIsInAddressListProperty ruleIsInAddressListProperty = RuleIsInAddressListProperty.builder()
        .addressLists(List.of("addressLists"))
        .attribute("attribute")
        .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 ruleIsInAddressListProperty = 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"

ruleIsInAddressListProperty := &RuleIsInAddressListProperty{
	AddressLists: []*string{
		jsii.String("addressLists"),
	},
	Attribute: jsii.String("attribute"),
}
```

## Properties

- `addressLists`: string[] (required) — The address lists that will be used for evaluation.

- `attribute`: string (required) — The email attribute that needs to be evaluated against the address list.
