import type { SubnetNamePrefix } from "../../vpc/vpc-subnet-config.js"; import { VpcDetails } from "../../vpc/vpc-details.js"; export interface MongoDocumentdbConfig { /** The VPC to deploy into, as returned by `VpcProvisioner.provision()`. */ vpcDetails: VpcDetails; /** Prefix of the VPC subnets the DocumentDB subnet group spans (matches `VpcSubnetConfig.prefix`; see `SubnetNamePrefix`). */ subnetNamePrefix: SubnetNamePrefix; /** Prefixes of the subnets whose CIDR ranges may reach port 27017; they become the security group's ingress rules. */ ingressSubnetNamePrefixes: ReadonlyArray; /** Master username (plain string; appears in the details as-is). */ username: string; /** Master password (plain string). The cluster is created without deletion protection or a final snapshot. */ password: string; }