AWS::SMSVOICE::PhoneNumber OptionalKeyword - AWS CloudFormation

This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::SMSVOICE::PhoneNumber OptionalKeyword

The OptionalKeyword configuration. For more information, see Keywords in the AWS End User Messaging SMS User Guide.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Action" : String, "Keyword" : String, "Message" : String }

YAML

Action: String Keyword: String Message: String

Properties

Action

The action to perform when the keyword is used.

Required: Yes

Type: String

Allowed values: AUTOMATIC_RESPONSE | OPT_OUT | OPT_IN

Update requires: No interruption

Keyword

The new keyword to add.

Required: Yes

Type: String

Pattern: ^(?!.*(?i)(stop|help))[ \S]+

Maximum: 30

Update requires: No interruption

Message

The message associated with the keyword.

Required: Yes

Type: String

Pattern: ^(?!\s*$)[\s\S]+$

Maximum: 1600

Update requires: No interruption