UNPKG

@altostra/core

Version:

Core library for shared types and logic

12 lines (11 loc) 587 B
import type { FifoMessageQueueType, MessageQueueType, ResourceId } from "../../Resources"; import type { BlueprintHelper } from "../BlueprintHelper"; import type { ResourceHelperByType } from "../ResourceHelper"; export declare function getMessageQueueUtils(blueprint: BlueprintHelper, resource: ResourceHelperByType<FifoMessageQueueType | MessageQueueType>): MessageQueueUtils; export interface MessageQueueUtils { isValidDeadLetterTarget(targetId: ResourceId): DeadLetterTargetValidation; } export interface DeadLetterTargetValidation { isValid: boolean; reason: string; }