Skip to content

Deletes a DB subnet group

Description

Deletes a DB subnet group.

The specified database subnet group must not be associated with any DB instances.

Usage

rds_delete_db_subnet_group(DBSubnetGroupName)

Arguments

  • DBSubnetGroupName

    [required] The name of the database subnet group to delete.

    You can't delete the default subnet group.

    Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

    Example: mydbsubnetgroup

Value

An empty list.

Request syntax

svc$delete_db_subnet_group(
  DBSubnetGroupName = "string"
)

Examples

# This example deletes the specified DB subnetgroup.
svc$delete_db_subnet_group(
  DBSubnetGroupName = "mydbsubnetgroup"
)