Instance Methodswift-cloud 0.31.0CloudAWS
subscribe(_:)
Topic.swift:30@discardableResult func subscribe(_ function: AWS.Function) -> AWS.Topic
@discardableResult func subscribe(_ function: AWS.Function) -> AWS.Topic
import CloudAWS
struct Topic
enum AWS
struct Function
init(_ name: String, fifo: Bool = false, options: Resource.Options? = nil)
var actions: [String] { get }
var name: Output<String> { get }
var properties: LinkProperties? { get }
var resources: [Output<String>] { get }
let topic: Resource
@discardableResult func subscribe(_ queue: AWS.Queue) -> AWS.Topic