ReceiptFilterProps

class aws_cdk.aws_ses.ReceiptFilterProps(*, ip=None, policy=None, receipt_filter_name=None)

Bases: object

Construction properties for a ReceiptFilter.

Parameters:
  • ip (Optional[str]) – The ip address or range to filter. Default: 0.0.0.0/0

  • policy (Optional[ReceiptFilterPolicy]) – The policy for the filter. Default: Block

  • receipt_filter_name (Optional[str]) – The name for the receipt filter. Default: a CloudFormation generated name

ExampleMetadata:

infused

Example:

ses.ReceiptFilter(self, "Filter",
    ip="1.2.3.4/16"
)

Attributes

ip

The ip address or range to filter.

Default:

0.0.0.0/0

policy

The policy for the filter.

Default:

Block

receipt_filter_name

The name for the receipt filter.

Default:

a CloudFormation generated name