Class | AWS::SNS::Subscription |
In: |
lib/aws/sns/subscription.rb
|
Parent: | Object |
Represents a subscription of a single endpoint to an SNS topic. To create a subscription, use the {Topic#subscribe} method. Depending on the endpoint type, you may also need to use {Topic#confirm_subscription}.
arn | [R] | @return [String] The ARN of the subscription. |
endpoint | [R] | @return [String] The endpoint. This can be an HTTP or HTTPS URL, an e-mail address, or a queue ARN. |
owner_id | [R] | @return [String] The AWS account ID of the subscription owner. |
protocol | [R] |
@return [String] The protocol. Possible values:
* +:http+ * +:https+ * +:email+ * +:email_json+ * +:sqs+ |
topic | [R] | @return [Topic] The topic to which the endpoint is subscribed. |