RuleIsInAddressListProperty Struct
The structure type for a boolean condition that provides the address lists and address list attribute to evaluate.
| 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 ruleIsInAddressListProperty: ses.CfnMailManagerRuleSet.RuleIsInAddressListProperty = {
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_is_in_address_list_property = 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.*;
RuleIsInAddressListProperty ruleIsInAddressListProperty = RuleIsInAddressListProperty.builder()
.addressLists(List.of("addressLists"))
.attribute("attribute")
.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 ruleIsInAddressListProperty = 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"
ruleIsInAddressListProperty := &RuleIsInAddressListProperty{
AddressLists: []*string{
jsii.String("addressLists"),
},
Attribute: jsii.String("attribute"),
}
Properties
addressListsstring[]address_liststyping.List[str]addressListsList<String>AddressListsstring[]AddressLists*[]*string required #The address lists that will be used for evaluation.
The email attribute that needs to be evaluated against the address list.