Skip to content

Delete Db Security Group

rds_delete_db_security_group R Documentation

Deletes a DB security group

Description

Deletes a DB security group.

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

EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that you migrate as soon as possible. For more information, see Migrate from EC2-Classic to a VPC in the Amazon EC2 User Guide, the blog EC2-Classic Networking is Retiring – Here’s How to Prepare, and Moving a DB instance not in a VPC into a VPC in the Amazon RDS User Guide.

Usage

rds_delete_db_security_group(DBSecurityGroupName)

Arguments

DBSecurityGroupName

[required] The name of the DB security group to delete.

You can't delete the default DB security group.

Constraints:

  • Must be 1 to 255 letters, numbers, or hyphens.

  • First character must be a letter

  • Can't end with a hyphen or contain two consecutive hyphens

  • Must not be "Default"

Value

An empty list.

Request syntax

svc$delete_db_security_group(
  DBSecurityGroupName = "string"
)