@altostra/core
Version:
Core library for shared types and logic
16 lines (15 loc) • 711 B
TypeScript
import type { DBProxy, DBProxyType } from "./DBProxy";
import type { DBProxyEndpoint, DBProxyEndpointType } from "./DBProxyEndpoint";
import type { DBProxyTargetGroup, DBProxyTargetGroupType } from "./DBProxyTargetGroup";
export * from "./DBProxy";
export * from "./DBProxyEndpoint";
export * from "./DBProxyTargetGroup";
export declare type RDSProxyResourceTypes = DBProxyEndpointType | DBProxyTargetGroupType | DBProxyType;
export declare type RDSProxyResourceByType = {
[K in DBProxyEndpointType]: DBProxyEndpoint;
} & {
[K in DBProxyTargetGroupType]: DBProxyTargetGroup;
} & {
[K in DBProxyType]: DBProxy;
};
export declare type DBProxyResources = RDSProxyResourceByType[RDSProxyResourceTypes];