AddHeader

class aws_cdk.aws_ses_actions.AddHeader(*, name, value)

Bases: object

Adds a header to the received email.

Parameters
  • name (str) – The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.

  • value (str) – The value of the header to add. Must be less than 2048 characters, and must not contain newline characters (“r” or “n”).

Methods

bind(_rule)

Returns the receipt rule action specification.

Parameters

_rule (IReceiptRule) –

Return type

ReceiptRuleActionConfig