deleteCacheSubnetGroup

Deletes a cache subnet group.

You cannot delete a default cache subnet group or one that is associated with any clusters.

Samples


fun main() { 
   //sampleStart 
   // Deletes the Amazon ElastiCache subnet group my subnet group.
elastiCacheClient.deleteCacheSubnetGroup {
    cacheSubnetGroupName = "my-subnet-group"
} 
   //sampleEnd
}