/* 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. */ export type HealthCheck = string; export type Route = string; export type ReplicationState = "ENABLED" | "DISABLED"; /** * @minItems 2 * @maxItems 2 */ export type EventBuses = [EndpointEventBus, EndpointEventBus]; export type EventBusArn = string; /** * Resource Type definition for AWS::Events::Endpoint. */ export interface AwsEventsEndpoint { Name?: string; Arn?: string; RoleArn?: string; Description?: string; RoutingConfig: RoutingConfig; ReplicationConfig?: ReplicationConfig; EventBuses: EventBuses; EndpointId?: string; EndpointUrl?: string; State?: "ACTIVE" | "CREATING" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED"; StateReason?: string; } export interface RoutingConfig { FailoverConfig: FailoverConfig; } export interface FailoverConfig { Primary: Primary; Secondary: Secondary; } export interface Primary { HealthCheck: HealthCheck; } export interface Secondary { Route: Route; } export interface ReplicationConfig { State: ReplicationState; } export interface EndpointEventBus { EventBusArn: EventBusArn; }