AddHeaderActionConfig

class aws_cdk.aws_ses.AddHeaderActionConfig(*, header_name, header_value)

Bases: object

AddHeaderAction configuration.

Parameters:
  • header_name (str) – The name of the header that you want to add to the incoming message.

  • header_value (str) – The content that you want to include in the header.

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

add_header_action_config = ses.AddHeaderActionConfig(
    header_name="headerName",
    header_value="headerValue"
)

Attributes

header_name

The name of the header that you want to add to the incoming message.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-addheaderaction.html#cfn-ses-receiptrule-addheaderaction-headername

header_value

The content that you want to include in the header.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-addheaderaction.html#cfn-ses-receiptrule-addheaderaction-headervalue