Skip to content
v2.278.0

IngressBooleanToEvaluateProperty 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 ingressBooleanToEvaluateProperty: ses.CfnMailManagerTrafficPolicy.IngressBooleanToEvaluateProperty = {
  analysis: {
    analyzer: 'analyzer',
    resultField: 'resultField',
  },
  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

ingress_boolean_to_evaluate_property = ses.CfnMailManagerTrafficPolicy.IngressBooleanToEvaluateProperty(
    analysis=ses.CfnMailManagerTrafficPolicy.IngressAnalysisProperty(
        analyzer="analyzer",
        result_field="resultField"
    ),
    is_in_address_list=ses.CfnMailManagerTrafficPolicy.IngressIsInAddressListProperty(
        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.*;

IngressBooleanToEvaluateProperty ingressBooleanToEvaluateProperty = IngressBooleanToEvaluateProperty.builder()
        .analysis(IngressAnalysisProperty.builder()
                .analyzer("analyzer")
                .resultField("resultField")
                .build())
        .isInAddressList(IngressIsInAddressListProperty.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 ingressBooleanToEvaluateProperty = new IngressBooleanToEvaluateProperty {
    Analysis = new IngressAnalysisProperty {
        Analyzer = "analyzer",
        ResultField = "resultField"
    },
    IsInAddressList = new IngressIsInAddressListProperty {
        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"

ingressBooleanToEvaluateProperty := &IngressBooleanToEvaluateProperty{
	Analysis: &IngressAnalysisProperty{
		Analyzer: jsii.String("analyzer"),
		ResultField: jsii.String("resultField"),
	},
	IsInAddressList: &IngressIsInAddressListProperty{
		AddressLists: []*string{
			jsii.String("addressLists"),
		},
		Attribute: jsii.String("attribute"),
	},
}

Properties ​

analysisoptionalIResolvable | CfnMailManagerTrafficPolicy.IngressAnalysisPropertyanalysisoptionaltyping.Union[IResolvable, IngressAnalysisProperty]analysisoptionalIResolvableAnalysisoptionalIResolvableAnalysisoptionalinterface{} #
The structure type for a boolean condition stating the Add On ARN and its returned value.
isInAddressListoptionalIResolvable | CfnMailManagerTrafficPolicy.IngressIsInAddressListPropertyis_in_address_listoptionaltyping.Union[IResolvable, IngressIsInAddressListProperty]isInAddressListoptionalIResolvableIsInAddressListoptionalIResolvableIsInAddressListoptionalinterface{} #
The structure type for a boolean condition that provides the address lists to evaluate incoming traffic on.