def _create_sns_subscriptions(self):
     protocol = Parameter(
         'SNSProtocol',
         Type='String',
         Description=('The protocol type for the SNS subscription used '
                      'for pipeline event notifications (e.g "email")'))
     endpoint = Parameter(
         'SNSEndpoint',
         Type='String',
         Description=('The endpoint value for the SNS subscription used '
                      'for pipeline event notifications.  If the protocol '
                      'type is "email" then this value is the email '
                      'address.'))
     self._t.add_parameter([protocol, endpoint])
     return [
         sns.Subscription(
             Protocol=protocol.Ref(),
             Endpoint=endpoint.Ref(),
         )
     ]