/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * DevOps Guru insight severities to filter for * * @minItems 1 * @maxItems 3 */ export type InsightSeveritiesFilterList = | [InsightSeverity] | [InsightSeverity, InsightSeverity] | [InsightSeverity, InsightSeverity, InsightSeverity]; /** * DevOps Guru Insight Severity Enum */ export type InsightSeverity = "LOW" | "MEDIUM" | "HIGH"; /** * DevOps Guru message types to filter for * * @minItems 1 * @maxItems 5 */ export type NotificationMessageTypesFilterList = | [NotificationMessageType] | [NotificationMessageType, NotificationMessageType] | [NotificationMessageType, NotificationMessageType, NotificationMessageType] | [NotificationMessageType, NotificationMessageType, NotificationMessageType, NotificationMessageType] | [ NotificationMessageType, NotificationMessageType, NotificationMessageType, NotificationMessageType, NotificationMessageType ]; /** * DevOps Guru NotificationMessageType Enum */ export type NotificationMessageType = | "NEW_INSIGHT" | "CLOSED_INSIGHT" | "NEW_ASSOCIATION" | "SEVERITY_UPGRADED" | "NEW_RECOMMENDATION"; /** * This resource schema represents the NotificationChannel resource in the Amazon DevOps Guru. */ export interface AwsDevopsguruNotificationchannel { Config: NotificationChannelConfig; /** * The ID of a notification channel. */ Id?: string; } /** * Information about notification channels you have configured with DevOps Guru. */ export interface NotificationChannelConfig { Sns?: SnsChannelConfig; Filters?: NotificationFilterConfig; } /** * Information about a notification channel configured in DevOps Guru to send notifications when insights are created. */ export interface SnsChannelConfig { TopicArn?: string; } /** * Information about filters of a notification channel configured in DevOpsGuru to filter for insights. */ export interface NotificationFilterConfig { Severities?: InsightSeveritiesFilterList; MessageTypes?: NotificationMessageTypesFilterList; }