SnsFunctions

Functions

Link copied to clipboard
suspend fun getTopic(argument: GetTopicPlainArgs): GetTopicResult

Use this data source to get the ARN of a topic in AWS Simple Notification Service (SNS). By using this data source, you can reference SNS topics without having to hard code the ARNs as input.

suspend fun getTopic(name: String): GetTopicResult
suspend fun getTopic(argument: suspend GetTopicPlainArgsBuilder.() -> Unit): GetTopicResult