Amazon Simple Notification Service (SNS) | Raw Message Delivery Flashcards
Are there TCP ports that should be used for cross-region communication between SNS and EC2?
Raw Message Delivery
Amazon Simple Notification Service (SNS) | Application Integration
Yes, cross-region communication between SNS and EC2 on ports other than 80/443/4080/8443 is not guaranteed to work and should be avoided.
What is raw message delivery?
Raw Message Delivery
Amazon Simple Notification Service (SNS) | Application Integration
You can opt-in to get your messages delivered in raw form, i.e. exactly as you published them. By default, messages are delivered encoded in JSON that provides metadata about the message and topic. Raw message delivery can be enabled by setting the “RawMessageDelivery” property on the subscriptions. This property can be set by using the AWS Management Console, or by using the API SetSubscriptionAttributes.
What is the default behavior if the raw message delivery property on the subscription is not set?
Raw Message Delivery
Amazon Simple Notification Service (SNS) | Application Integration
By default, if this property is not set, messages will be delivered in JSON format, which is the current behavior. This ensures existing applications will continue to operate as expected.
Which types of endpoints support raw message delivery?
Raw Message Delivery
Amazon Simple Notification Service (SNS) | Application Integration
Raw message delivery support is supported with SQS and HTTP(S) endpoints. Deliveries to Lambda, email, and SMS endpoints will behave the same independent of the “RawMessageDelivery” property.