CAP Node.js API / cap-transport-aws-sns-sqs/src / AwsSnsSqsTopology
Defined in: cap-transport-aws-sns-sqs/src/aws-topology.ts:20
Optional topology manager for SNS→SQS subscription setup.
When autoProvision is enabled and topic/queue names are provided
(instead of raw ARNs/URLs), this manager can create the SNS topic,
SQS queue, and the subscription between them.
This is conservative by design:
autoProvision: true.new AwsSnsSqsTopology(
logger?):AwsSnsSqsTopology
Defined in: cap-transport-aws-sns-sqs/src/aws-topology.ts:23
AwsSnsSqsTopology
ensureQueue(
sqsClient,queueName):Promise<string>
Defined in: cap-transport-aws-sns-sqs/src/aws-topology.ts:50
string
Promise<string>
ensureSubscription(
snsClient,topicArn,queueArn):Promise<void>
Defined in: cap-transport-aws-sns-sqs/src/aws-topology.ts:75
string
string
Promise<void>
ensureTopic(
snsClient,topicName):Promise<string>
Defined in: cap-transport-aws-sns-sqs/src/aws-topology.ts:25
string
Promise<string>