UNPKG

@altostra/core

Version:

Core library for shared types and logic

32 lines (31 loc) 1.43 kB
import type { DBCluster, DBClusterType } from "./Cluster"; import type { DBClusterParameterGroup, DBClusterParameterGroupType } from "./ClusterParameterGroup"; import type { DBInstance, DBInstanceType } from "./Instance"; import type { DBParameterGroup, DBParameterGroupType } from "./ParameterGroup"; import type { DBProxy, DBProxyEndpoint, DBProxyEndpointType, DBProxyTargetGroup, DBProxyTargetGroupType, DBProxyType } from "./Proxy"; import type { DBSubnetGroup, DBSubnetGroupType } from "./SubnetGroup"; export * from "./Cluster"; export * from "./ClusterParameterGroup"; export * from "./Instance"; export * from "./ParameterGroup"; export * from "./Proxy"; export * from "./SubnetGroup"; export declare type RDSResourceType = DBClusterParameterGroupType | DBClusterType | DBInstanceType | DBParameterGroupType | DBProxyEndpointType | DBProxyTargetGroupType | DBProxyType | DBSubnetGroupType; export declare type RDSResourceByType = { [K in DBClusterParameterGroupType]: DBClusterParameterGroup; } & { [K in DBClusterType]: DBCluster; } & { [K in DBInstanceType]: DBInstance; } & { [K in DBParameterGroupType]: DBParameterGroup; } & { [K in DBProxyEndpointType]: DBProxyEndpoint; } & { [K in DBProxyTargetGroupType]: DBProxyTargetGroup; } & { [K in DBProxyType]: DBProxy; } & { [K in DBSubnetGroupType]: DBSubnetGroup; }; export declare type RDSResource = RDSResourceByType[RDSResourceType];