Skip to content

Deletes a cache subnet group

Description

Deletes a cache subnet group.

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

Usage

elasticache_delete_cache_subnet_group(CacheSubnetGroupName)

Arguments

  • CacheSubnetGroupName

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

    Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

Value

An empty list.

Request syntax

svc$delete_cache_subnet_group(
  CacheSubnetGroupName = "string"
)

Examples

# Deletes the Amazon ElastiCache subnet group my-subnet-group.
svc$delete_cache_subnet_group(
  CacheSubnetGroupName = "my-subnet-group"
)