src/subnet_groups.js
function buildSubnetGroups(numZones = 0) {
  if (numZones < 2) {
    return {};
  }
  return Object.assign(
    {},
    buildRDSSubnetGroup(numZones),
    buildRedshiftSubnetGroup(numZones),
    buildElastiCacheSubnetGroup(numZones),
    buildDAXSubnetGroup(numZones),
  );
}
function buildSubnetGroups(numZones = 0) {
  if (numZones < 2) {
    return {};
  }
  return Object.assign(
    {},
    buildRDSSubnetGroup(numZones),
    buildRedshiftSubnetGroup(numZones),
    buildElastiCacheSubnetGroup(numZones),
    buildDAXSubnetGroup(numZones),
  );
}
function buildSubnetGroups ( numZones = 0 ) { if ( numZones < 2 ) { return { } ; } return Object . assign ( { } , buildRDSSubnetGroup ( numZones ) , buildRedshiftSubnetGroup ( numZones ) , buildElastiCacheSubnetGroup ( numZones ) , buildDAXSubnetGroup ( numZones ) , ) ; }
Build the database subnet groups

@param {Number} numZones Number of availability zones
@return {Object}
Build the database subnet groups