CfnReceiptFilterProps

class aws_cdk.aws_ses.CfnReceiptFilterProps(*, filter)

Bases: object

Properties for defining a CfnReceiptFilter.

Parameters:

filter (Union[IResolvable, FilterProperty, Dict[str, Any]]) – A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptfilter.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 import aws_ses as ses

cfn_receipt_filter_props = ses.CfnReceiptFilterProps(
    filter=ses.CfnReceiptFilter.FilterProperty(
        ip_filter=ses.CfnReceiptFilter.IpFilterProperty(
            cidr="cidr",
            policy="policy"
        ),

        # the properties below are optional
        name="name"
    )
)

Attributes

filter

A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptfilter.html#cfn-ses-receiptfilter-filter