UNPKG

event-message-broker

Version:

A Message Bus that uses AWS Stack and RabbitMQ

27 lines (26 loc) 755 B
import { CreateQueueOutput } from '../utils/types'; import { Span } from '@opentelemetry/api'; export declare class SQSInfrastructure { private readonly client; constructor(); create(queueName: string, span: Span): Promise<CreateQueueOutput>; linkTopicQueuePolicy(queueName: string, topicName: string): Promise<{ Version: string; Statement: { Effect: string; Principal: { Service: string; }; Action: string; Resource: string; Condition: { ArnEquals: { "aws:SourceArn": string; }; }; }[]; }>; private createDlqPolicy; private tag; private check; }