UNPKG

@altostra/core

Version:

Core library for shared types and logic

28 lines (27 loc) 962 B
import type { Arn } from "../../../CustomTypes/Arn"; import type { AwsResourceCommon, CloudFormationTags } from "../../common"; import type { CloudFormationString, CloudFormationValue } from "../../IntrinsicFunctions/common"; export declare type DBProxyType = 'AWS::RDS::DBProxy'; export interface DBProxy extends AwsResourceCommon { Type: DBProxyType; Properties: DBProxyProperties; } export interface DBProxyProperties { Auth: DBProxyAuthFormat[]; DBProxyName: CloudFormationString; DebugLogging?: boolean; EngineFamily: 'MYSQL' | 'POSTGRESQL'; IdleClientTimeout?: number; RequireTLS?: boolean; RoleArn: CloudFormationValue<Arn>; Tags?: CloudFormationTags; VpcSecurityGroupIds?: string[]; VpcSubnetIds: string[]; } export interface DBProxyAuthFormat { AuthScheme?: 'SECRETS'; Description?: string; IAMAuth?: 'DISABLED' | 'REQUIRED'; SecretArn?: CloudFormationValue<Arn>; UserName?: string; }