After you create the IAM role and the CloudWatch group, you can create the event destination.
To create an event destination using the AWS End User Messaging SMS console, follow these steps:
Open the AWS End User Messaging SMS console at https://console.aws.amazon.com/sms-voice/
. -
In the navigation pane, under Configurations, choose Configuration sets.
-
On the Configuration sets page ,choose the configuration set to add an event destination to.
-
On the Configuration set details page, choose Add destination event.
-
Under the Event details section, enter a friendly name for Event destination name.
-
From the Destination type dropdown choose Amazon CloudWatch.
-
For IAM role arn enter the ARN of the IAM role. For more information on the IAM role arn, see IAM policy for Amazon CloudWatch.
-
For Log group arn enter the ARN of the Amazon CloudWatch log group to deliver the events to.
Turn on Event publishing.
Under Event types, choose:
-
All SMS events (Recommended) – Choose this option to send all SMS events listed in Event types to Amazon CloudWatch.
-
Custom SMS events – Choose specific SMS events to send to CloudWatch. To edit the list of events choose Edit SMS event selection. On Edit SMS event selection check only the events you want to send to Amazon CloudWatch. Choose Save selection.
-
All voice events (Recommended) – Choose this option to send all voice events listed in Event types to Amazon CloudWatch.
-
Custom voice events – Choose specific voice events to send to CloudWatch. To edit the list of events choose Edit voice event selection. On Edit voice event selection check only the events you want to send to Amazon CloudWatch. Choose Save selection.
-
All MMS events (Recommended) – Choose this option to send all MMS events listed in Event types to Amazon CloudWatch.
-
Custom MMS events – Choose specific MMS events to send to CloudWatch. To edit the list of events choose Edit MMS event selection. On Edit MMS event selection check only the events you want to send to Amazon CloudWatch. Choose Save selection.
-
Choose Create event.