UNPKG

@altostra/core

Version:

Core library for shared types and logic

20 lines (19 loc) 967 B
import type { DocDBCluster, DocDBClusterType } from "./DocDBCluster"; import type { DocDBClusterParameterGroup, DocDBClusterParameterGroupType } from "./DocDBClusterParameterGroup"; import type { DocDBInstance, DocDBInstanceType } from "./DocDBInstance"; import type { DocDBSubnetGroup, DocDBSubnetGroupType } from "./DocDBSubnetGroup"; export * from "./DocDBCluster"; export * from "./DocDBClusterParameterGroup"; export * from "./DocDBInstance"; export * from "./DocDBSubnetGroup"; export declare type DocDBResourceType = DocDBClusterParameterGroupType | DocDBClusterType | DocDBInstanceType | DocDBSubnetGroupType; export declare type DocDBResourceByType = { [K in DocDBClusterParameterGroupType]: DocDBClusterParameterGroup; } & { [K in DocDBClusterType]: DocDBCluster; } & { [K in DocDBInstanceType]: DocDBInstance; } & { [K in DocDBSubnetGroupType]: DocDBSubnetGroup; }; export declare type RDSResource = DocDBResourceByType[DocDBResourceType];