

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# `AWS-PublishSNSNotification`
<a name="automation-aws-publishsnsnotification"></a>

 **描述** 

向 Amazon SNS 发布一个通知。

 [运行此自动化（控制台）](https://console.aws.amazon.com/systems-manager/automation/execute/AWS-PublishSNSNotification) 

**文档类型**

自动化

**所有者**

Amazon

**平台**

Linux、macOS、Windows

**参数**
+ AutomationAssumeRole

  类型：字符串

  描述：（可选）允许 Systems Manager Automation 代表您执行操作 AWS Identity and Access Management (IAM) 角色的 Amazon 资源名称（ARN）。如果未指定角色，Systems Manager Automation 将使用启动此运行手册的用户的权限。
+ Message

  类型：字符串

  描述：（必需）包含在 SNS 通知中的消息。
+ TopicArn

  类型：字符串

  描述：（必需）向其发布通知的 SNS 主题的 ARN。