Safe Haskell | None |
---|---|
Language | Haskell2010 |
The AWS::SNS::Subscription resource subscribes an endpoint to an Amazon Simple Notification Service (Amazon SNS) topic. The owner of the endpoint must confirm the subscription before Amazon SNS creates the subscription.
Documentation
data SNSSubscription Source #
Full data type definition for SNSSubscription. See snsSubscription
for
a more convenient constructor.
snsSubscription :: SNSSubscription Source #
Constructor for SNSSubscription
containing required fields as
arguments.
snssEndpoint :: Lens' SNSSubscription (Maybe (Val Text)) Source #
The endpoint that receives notifications from the Amazon SNS topic. The endpoint value depends on the protocol that you specify. For more information, see the Subscribe Endpoint parameter in the Amazon Simple Notification Service API Reference.
snssProtocol :: Lens' SNSSubscription (Maybe SNSProtocol) Source #
The subscription's protocol. For more information, see the Subscribe Protocol parameter in the Amazon Simple Notification Service API Reference.
snssTopicArn :: Lens' SNSSubscription (Maybe (Val Text)) Source #
The Amazon Resource Name (ARN) of the topic to subscribe to.