SNSActionConfig

class aws_cdk.aws_ses.SNSActionConfig(*, encoding=None, topic_arn=None)

Bases: object

SNSAction configuration.

Parameters:
  • encoding (Optional[str]) – The encoding to use for the email within the Amazon SNS notification. Default: ‘UTF-8’

  • topic_arn (Optional[str]) – The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. Default: - No notification is sent to SNS.

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

s_nSAction_config = ses.SNSActionConfig(
    encoding="encoding",
    topic_arn="topicArn"
)

Attributes

encoding

The encoding to use for the email within the Amazon SNS notification.

Default:

‘UTF-8’

Link:

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

topic_arn

The Amazon Resource Name (ARN) of the Amazon SNS topic to notify.

Default:
  • No notification is sent to SNS.

Link:

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