CfnMailManagerTrafficPolicyPropsMixin

class aws_cdk.mixins_preview.aws_ses.mixins.CfnMailManagerTrafficPolicyPropsMixin(props, *, strategy=None)

Bases: Mixin

Resource to create a traffic policy for a Mail Manager ingress endpoint which contains policy statements used to evaluate whether incoming emails should be allowed or denied.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-mailmanagertrafficpolicy.html

CloudformationResource:

AWS::SES::MailManagerTrafficPolicy

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_ses import mixins as ses_mixins

cfn_mail_manager_traffic_policy_props_mixin = ses_mixins.CfnMailManagerTrafficPolicyPropsMixin(ses_mixins.CfnMailManagerTrafficPolicyMixinProps(
    default_action="defaultAction",
    max_message_size_bytes=123,
    policy_statements=[ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.PolicyStatementProperty(
        action="action",
        conditions=[ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.PolicyConditionProperty(
            boolean_expression=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressBooleanExpressionProperty(
                evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressBooleanToEvaluateProperty(
                    analysis=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressAnalysisProperty(
                        analyzer="analyzer",
                        result_field="resultField"
                    ),
                    is_in_address_list=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIsInAddressListProperty(
                        address_lists=["addressLists"],
                        attribute="attribute"
                    )
                ),
                operator="operator"
            ),
            ip_expression=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpv4ExpressionProperty(
                evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpToEvaluateProperty(
                    attribute="attribute"
                ),
                operator="operator",
                values=["values"]
            ),
            ipv6_expression=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpv6ExpressionProperty(
                evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpv6ToEvaluateProperty(
                    attribute="attribute"
                ),
                operator="operator",
                values=["values"]
            ),
            string_expression=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressStringExpressionProperty(
                evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressStringToEvaluateProperty(
                    analysis=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressAnalysisProperty(
                        analyzer="analyzer",
                        result_field="resultField"
                    ),
                    attribute="attribute"
                ),
                operator="operator",
                values=["values"]
            ),
            tls_expression=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressTlsProtocolExpressionProperty(
                evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressTlsProtocolToEvaluateProperty(
                    attribute="attribute"
                ),
                operator="operator",
                value="value"
            )
        )]
    )],
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    traffic_policy_name="trafficPolicyName"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::SES::MailManagerTrafficPolicy.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['defaultAction', 'maxMessageSizeBytes', 'policyStatements', 'tags', 'trafficPolicyName']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

IngressAnalysisProperty

class CfnMailManagerTrafficPolicyPropsMixin.IngressAnalysisProperty(*, analyzer=None, result_field=None)

Bases: object

The Add On ARN and its returned value that is evaluated in a policy statement’s conditional expression to either deny or block the incoming email.

Parameters:
  • analyzer (Optional[str]) – The Amazon Resource Name (ARN) of an Add On.

  • result_field (Optional[str]) – The returned value from an Add On.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressanalysis.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ses import mixins as ses_mixins

ingress_analysis_property = ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressAnalysisProperty(
    analyzer="analyzer",
    result_field="resultField"
)

Attributes

analyzer

The Amazon Resource Name (ARN) of an Add On.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressanalysis.html#cfn-ses-mailmanagertrafficpolicy-ingressanalysis-analyzer

result_field

The returned value from an Add On.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressanalysis.html#cfn-ses-mailmanagertrafficpolicy-ingressanalysis-resultfield

IngressBooleanExpressionProperty

class CfnMailManagerTrafficPolicyPropsMixin.IngressBooleanExpressionProperty(*, evaluate=None, operator=None)

Bases: object

The structure for a boolean condition matching on the incoming mail.

Parameters:
  • evaluate (Union[IResolvable, IngressBooleanToEvaluateProperty, Dict[str, Any], None]) – The operand on which to perform a boolean condition operation.

  • operator (Optional[str]) – The matching operator for a boolean condition expression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressbooleanexpression.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ses import mixins as ses_mixins

ingress_boolean_expression_property = ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressBooleanExpressionProperty(
    evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressBooleanToEvaluateProperty(
        analysis=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressAnalysisProperty(
            analyzer="analyzer",
            result_field="resultField"
        ),
        is_in_address_list=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIsInAddressListProperty(
            address_lists=["addressLists"],
            attribute="attribute"
        )
    ),
    operator="operator"
)

Attributes

evaluate

The operand on which to perform a boolean condition operation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressbooleanexpression.html#cfn-ses-mailmanagertrafficpolicy-ingressbooleanexpression-evaluate

operator

The matching operator for a boolean condition expression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressbooleanexpression.html#cfn-ses-mailmanagertrafficpolicy-ingressbooleanexpression-operator

IngressBooleanToEvaluateProperty

class CfnMailManagerTrafficPolicyPropsMixin.IngressBooleanToEvaluateProperty(*, analysis=None, is_in_address_list=None)

Bases: object

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

Parameters:
  • analysis (Union[IResolvable, IngressAnalysisProperty, Dict[str, Any], None]) – The structure type for a boolean condition stating the Add On ARN and its returned value.

  • is_in_address_list (Union[IResolvable, IngressIsInAddressListProperty, Dict[str, Any], None]) – The structure type for a boolean condition that provides the address lists to evaluate incoming traffic on.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressbooleantoevaluate.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ses import mixins as ses_mixins

ingress_boolean_to_evaluate_property = ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressBooleanToEvaluateProperty(
    analysis=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressAnalysisProperty(
        analyzer="analyzer",
        result_field="resultField"
    ),
    is_in_address_list=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIsInAddressListProperty(
        address_lists=["addressLists"],
        attribute="attribute"
    )
)

Attributes

analysis

The structure type for a boolean condition stating the Add On ARN and its returned value.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressbooleantoevaluate.html#cfn-ses-mailmanagertrafficpolicy-ingressbooleantoevaluate-analysis

is_in_address_list

The structure type for a boolean condition that provides the address lists to evaluate incoming traffic on.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressbooleantoevaluate.html#cfn-ses-mailmanagertrafficpolicy-ingressbooleantoevaluate-isinaddresslist

IngressIpToEvaluateProperty

class CfnMailManagerTrafficPolicyPropsMixin.IngressIpToEvaluateProperty(*, attribute=None)

Bases: object

The structure for an IP based condition matching on the incoming mail.

Parameters:

attribute (Optional[str]) – An enum type representing the allowed attribute types for an IP condition.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressiptoevaluate.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ses import mixins as ses_mixins

ingress_ip_to_evaluate_property = ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpToEvaluateProperty(
    attribute="attribute"
)

Attributes

attribute

An enum type representing the allowed attribute types for an IP condition.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressiptoevaluate.html#cfn-ses-mailmanagertrafficpolicy-ingressiptoevaluate-attribute

IngressIpv4ExpressionProperty

class CfnMailManagerTrafficPolicyPropsMixin.IngressIpv4ExpressionProperty(*, evaluate=None, operator=None, values=None)

Bases: object

The union type representing the allowed types for the left hand side of an IP condition.

Parameters:
  • evaluate (Union[IResolvable, IngressIpToEvaluateProperty, Dict[str, Any], None]) – The left hand side argument of an IP condition expression.

  • operator (Optional[str]) – The matching operator for an IP condition expression.

  • values (Optional[Sequence[str]]) – The right hand side argument of an IP condition expression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressipv4expression.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ses import mixins as ses_mixins

ingress_ipv4_expression_property = ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpv4ExpressionProperty(
    evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpToEvaluateProperty(
        attribute="attribute"
    ),
    operator="operator",
    values=["values"]
)

Attributes

evaluate

The left hand side argument of an IP condition expression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressipv4expression.html#cfn-ses-mailmanagertrafficpolicy-ingressipv4expression-evaluate

operator

The matching operator for an IP condition expression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressipv4expression.html#cfn-ses-mailmanagertrafficpolicy-ingressipv4expression-operator

values

The right hand side argument of an IP condition expression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressipv4expression.html#cfn-ses-mailmanagertrafficpolicy-ingressipv4expression-values

IngressIpv6ExpressionProperty

class CfnMailManagerTrafficPolicyPropsMixin.IngressIpv6ExpressionProperty(*, evaluate=None, operator=None, values=None)

Bases: object

The union type representing the allowed types for the left hand side of an IPv6 condition.

Parameters:
  • evaluate (Union[IResolvable, IngressIpv6ToEvaluateProperty, Dict[str, Any], None]) – The left hand side argument of an IPv6 condition expression.

  • operator (Optional[str]) – The matching operator for an IPv6 condition expression.

  • values (Optional[Sequence[str]]) – The right hand side argument of an IPv6 condition expression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressipv6expression.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ses import mixins as ses_mixins

ingress_ipv6_expression_property = ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpv6ExpressionProperty(
    evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpv6ToEvaluateProperty(
        attribute="attribute"
    ),
    operator="operator",
    values=["values"]
)

Attributes

evaluate

The left hand side argument of an IPv6 condition expression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressipv6expression.html#cfn-ses-mailmanagertrafficpolicy-ingressipv6expression-evaluate

operator

The matching operator for an IPv6 condition expression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressipv6expression.html#cfn-ses-mailmanagertrafficpolicy-ingressipv6expression-operator

values

The right hand side argument of an IPv6 condition expression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressipv6expression.html#cfn-ses-mailmanagertrafficpolicy-ingressipv6expression-values

IngressIpv6ToEvaluateProperty

class CfnMailManagerTrafficPolicyPropsMixin.IngressIpv6ToEvaluateProperty(*, attribute=None)

Bases: object

The structure for an IPv6 based condition matching on the incoming mail.

Parameters:

attribute (Optional[str]) – An enum type representing the allowed attribute types for an IPv6 condition.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressipv6toevaluate.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ses import mixins as ses_mixins

ingress_ipv6_to_evaluate_property = ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpv6ToEvaluateProperty(
    attribute="attribute"
)

Attributes

attribute

An enum type representing the allowed attribute types for an IPv6 condition.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressipv6toevaluate.html#cfn-ses-mailmanagertrafficpolicy-ingressipv6toevaluate-attribute

IngressIsInAddressListProperty

class CfnMailManagerTrafficPolicyPropsMixin.IngressIsInAddressListProperty(*, address_lists=None, attribute=None)

Bases: object

The address lists and the address list attribute value that is evaluated in a policy statement’s conditional expression to either deny or block the incoming email.

Parameters:
  • address_lists (Optional[Sequence[str]]) – The address lists that will be used for evaluation.

  • attribute (Optional[str]) – The email attribute that needs to be evaluated against the address list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressisinaddresslist.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ses import mixins as ses_mixins

ingress_is_in_address_list_property = ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIsInAddressListProperty(
    address_lists=["addressLists"],
    attribute="attribute"
)

Attributes

address_lists

The address lists that will be used for evaluation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressisinaddresslist.html#cfn-ses-mailmanagertrafficpolicy-ingressisinaddresslist-addresslists

attribute

The email attribute that needs to be evaluated against the address list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressisinaddresslist.html#cfn-ses-mailmanagertrafficpolicy-ingressisinaddresslist-attribute

IngressStringExpressionProperty

class CfnMailManagerTrafficPolicyPropsMixin.IngressStringExpressionProperty(*, evaluate=None, operator=None, values=None)

Bases: object

The structure for a string based condition matching on the incoming mail.

Parameters:
  • evaluate (Union[IResolvable, IngressStringToEvaluateProperty, Dict[str, Any], None]) – The left hand side argument of a string condition expression.

  • operator (Optional[str])

  • values (Optional[Sequence[str]]) – The right hand side argument of a string condition expression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressstringexpression.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ses import mixins as ses_mixins

ingress_string_expression_property = ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressStringExpressionProperty(
    evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressStringToEvaluateProperty(
        analysis=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressAnalysisProperty(
            analyzer="analyzer",
            result_field="resultField"
        ),
        attribute="attribute"
    ),
    operator="operator",
    values=["values"]
)

Attributes

evaluate

The left hand side argument of a string condition expression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressstringexpression.html#cfn-ses-mailmanagertrafficpolicy-ingressstringexpression-evaluate

operator

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressstringexpression.html#cfn-ses-mailmanagertrafficpolicy-ingressstringexpression-operator

Type:

see

values

The right hand side argument of a string condition expression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressstringexpression.html#cfn-ses-mailmanagertrafficpolicy-ingressstringexpression-values

IngressStringToEvaluateProperty

class CfnMailManagerTrafficPolicyPropsMixin.IngressStringToEvaluateProperty(*, analysis=None, attribute=None)

Bases: object

The union type representing the allowed types for the left hand side of a string condition.

Parameters:
  • analysis (Union[IResolvable, IngressAnalysisProperty, Dict[str, Any], None]) – The structure type for a string condition stating the Add On ARN and its returned value.

  • attribute (Optional[str]) – The enum type representing the allowed attribute types for a string condition.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressstringtoevaluate.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ses import mixins as ses_mixins

ingress_string_to_evaluate_property = ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressStringToEvaluateProperty(
    analysis=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressAnalysisProperty(
        analyzer="analyzer",
        result_field="resultField"
    ),
    attribute="attribute"
)

Attributes

analysis

The structure type for a string condition stating the Add On ARN and its returned value.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressstringtoevaluate.html#cfn-ses-mailmanagertrafficpolicy-ingressstringtoevaluate-analysis

attribute

The enum type representing the allowed attribute types for a string condition.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingressstringtoevaluate.html#cfn-ses-mailmanagertrafficpolicy-ingressstringtoevaluate-attribute

IngressTlsProtocolExpressionProperty

class CfnMailManagerTrafficPolicyPropsMixin.IngressTlsProtocolExpressionProperty(*, evaluate=None, operator=None, value=None)

Bases: object

The structure for a TLS related condition matching on the incoming mail.

Parameters:
  • evaluate (Union[IResolvable, IngressTlsProtocolToEvaluateProperty, Dict[str, Any], None]) – The left hand side argument of a TLS condition expression.

  • operator (Optional[str]) – The matching operator for a TLS condition expression.

  • value (Optional[str]) – The right hand side argument of a TLS condition expression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingresstlsprotocolexpression.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ses import mixins as ses_mixins

ingress_tls_protocol_expression_property = ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressTlsProtocolExpressionProperty(
    evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressTlsProtocolToEvaluateProperty(
        attribute="attribute"
    ),
    operator="operator",
    value="value"
)

Attributes

evaluate

The left hand side argument of a TLS condition expression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingresstlsprotocolexpression.html#cfn-ses-mailmanagertrafficpolicy-ingresstlsprotocolexpression-evaluate

operator

The matching operator for a TLS condition expression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingresstlsprotocolexpression.html#cfn-ses-mailmanagertrafficpolicy-ingresstlsprotocolexpression-operator

value

The right hand side argument of a TLS condition expression.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingresstlsprotocolexpression.html#cfn-ses-mailmanagertrafficpolicy-ingresstlsprotocolexpression-value

IngressTlsProtocolToEvaluateProperty

class CfnMailManagerTrafficPolicyPropsMixin.IngressTlsProtocolToEvaluateProperty(*, attribute=None)

Bases: object

The union type representing the allowed types for the left hand side of a TLS condition.

Parameters:

attribute (Optional[str]) – The enum type representing the allowed attribute types for the TLS condition.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingresstlsprotocoltoevaluate.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ses import mixins as ses_mixins

ingress_tls_protocol_to_evaluate_property = ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressTlsProtocolToEvaluateProperty(
    attribute="attribute"
)

Attributes

attribute

The enum type representing the allowed attribute types for the TLS condition.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-ingresstlsprotocoltoevaluate.html#cfn-ses-mailmanagertrafficpolicy-ingresstlsprotocoltoevaluate-attribute

PolicyConditionProperty

class CfnMailManagerTrafficPolicyPropsMixin.PolicyConditionProperty(*, boolean_expression=None, ip_expression=None, ipv6_expression=None, string_expression=None, tls_expression=None)

Bases: object

The email traffic filtering conditions which are contained in a traffic policy resource.

This data type is a UNION, so only one of the following members can be specified when used or returned.

Parameters:
  • boolean_expression (Union[IResolvable, IngressBooleanExpressionProperty, Dict[str, Any], None]) – This represents a boolean type condition matching on the incoming mail. It performs the boolean operation configured in ‘Operator’ and evaluates the ‘Protocol’ object against the ‘Value’.

  • ip_expression (Union[IResolvable, IngressIpv4ExpressionProperty, Dict[str, Any], None]) – This represents an IP based condition matching on the incoming mail. It performs the operation configured in ‘Operator’ and evaluates the ‘Protocol’ object against the ‘Value’.

  • ipv6_expression (Union[IResolvable, IngressIpv6ExpressionProperty, Dict[str, Any], None]) – This represents an IPv6 based condition matching on the incoming mail. It performs the operation configured in ‘Operator’ and evaluates the ‘Protocol’ object against the ‘Value’.

  • string_expression (Union[IResolvable, IngressStringExpressionProperty, Dict[str, Any], None]) – This represents a string based condition matching on the incoming mail. It performs the string operation configured in ‘Operator’ and evaluates the ‘Protocol’ object against the ‘Value’.

  • tls_expression (Union[IResolvable, IngressTlsProtocolExpressionProperty, Dict[str, Any], None]) – This represents a TLS based condition matching on the incoming mail. It performs the operation configured in ‘Operator’ and evaluates the ‘Protocol’ object against the ‘Value’.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policycondition.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ses import mixins as ses_mixins

policy_condition_property = ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.PolicyConditionProperty(
    boolean_expression=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressBooleanExpressionProperty(
        evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressBooleanToEvaluateProperty(
            analysis=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressAnalysisProperty(
                analyzer="analyzer",
                result_field="resultField"
            ),
            is_in_address_list=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIsInAddressListProperty(
                address_lists=["addressLists"],
                attribute="attribute"
            )
        ),
        operator="operator"
    ),
    ip_expression=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpv4ExpressionProperty(
        evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpToEvaluateProperty(
            attribute="attribute"
        ),
        operator="operator",
        values=["values"]
    ),
    ipv6_expression=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpv6ExpressionProperty(
        evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpv6ToEvaluateProperty(
            attribute="attribute"
        ),
        operator="operator",
        values=["values"]
    ),
    string_expression=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressStringExpressionProperty(
        evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressStringToEvaluateProperty(
            analysis=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressAnalysisProperty(
                analyzer="analyzer",
                result_field="resultField"
            ),
            attribute="attribute"
        ),
        operator="operator",
        values=["values"]
    ),
    tls_expression=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressTlsProtocolExpressionProperty(
        evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressTlsProtocolToEvaluateProperty(
            attribute="attribute"
        ),
        operator="operator",
        value="value"
    )
)

Attributes

boolean_expression

This represents a boolean type condition matching on the incoming mail.

It performs the boolean operation configured in ‘Operator’ and evaluates the ‘Protocol’ object against the ‘Value’.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policycondition.html#cfn-ses-mailmanagertrafficpolicy-policycondition-booleanexpression

ip_expression

This represents an IP based condition matching on the incoming mail.

It performs the operation configured in ‘Operator’ and evaluates the ‘Protocol’ object against the ‘Value’.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policycondition.html#cfn-ses-mailmanagertrafficpolicy-policycondition-ipexpression

ipv6_expression

This represents an IPv6 based condition matching on the incoming mail.

It performs the operation configured in ‘Operator’ and evaluates the ‘Protocol’ object against the ‘Value’.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policycondition.html#cfn-ses-mailmanagertrafficpolicy-policycondition-ipv6expression

string_expression

This represents a string based condition matching on the incoming mail.

It performs the string operation configured in ‘Operator’ and evaluates the ‘Protocol’ object against the ‘Value’.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policycondition.html#cfn-ses-mailmanagertrafficpolicy-policycondition-stringexpression

tls_expression

This represents a TLS based condition matching on the incoming mail.

It performs the operation configured in ‘Operator’ and evaluates the ‘Protocol’ object against the ‘Value’.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policycondition.html#cfn-ses-mailmanagertrafficpolicy-policycondition-tlsexpression

PolicyStatementProperty

class CfnMailManagerTrafficPolicyPropsMixin.PolicyStatementProperty(*, action=None, conditions=None)

Bases: object

The structure containing traffic policy conditions and actions.

Parameters:
  • action (Optional[str]) – The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.

  • conditions (Union[IResolvable, Sequence[Union[IResolvable, PolicyConditionProperty, Dict[str, Any]]], None]) – The list of conditions to apply to incoming messages for filtering email traffic.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policystatement.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ses import mixins as ses_mixins

policy_statement_property = ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.PolicyStatementProperty(
    action="action",
    conditions=[ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.PolicyConditionProperty(
        boolean_expression=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressBooleanExpressionProperty(
            evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressBooleanToEvaluateProperty(
                analysis=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressAnalysisProperty(
                    analyzer="analyzer",
                    result_field="resultField"
                ),
                is_in_address_list=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIsInAddressListProperty(
                    address_lists=["addressLists"],
                    attribute="attribute"
                )
            ),
            operator="operator"
        ),
        ip_expression=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpv4ExpressionProperty(
            evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpToEvaluateProperty(
                attribute="attribute"
            ),
            operator="operator",
            values=["values"]
        ),
        ipv6_expression=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpv6ExpressionProperty(
            evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressIpv6ToEvaluateProperty(
                attribute="attribute"
            ),
            operator="operator",
            values=["values"]
        ),
        string_expression=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressStringExpressionProperty(
            evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressStringToEvaluateProperty(
                analysis=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressAnalysisProperty(
                    analyzer="analyzer",
                    result_field="resultField"
                ),
                attribute="attribute"
            ),
            operator="operator",
            values=["values"]
        ),
        tls_expression=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressTlsProtocolExpressionProperty(
            evaluate=ses_mixins.CfnMailManagerTrafficPolicyPropsMixin.IngressTlsProtocolToEvaluateProperty(
                attribute="attribute"
            ),
            operator="operator",
            value="value"
        )
    )]
)

Attributes

action

The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policystatement.html#cfn-ses-mailmanagertrafficpolicy-policystatement-action

conditions

The list of conditions to apply to incoming messages for filtering email traffic.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagertrafficpolicy-policystatement.html#cfn-ses-mailmanagertrafficpolicy-policystatement-conditions