AWS SDK for .NET Documentation
DeleteCacheSecurityGroup Method (deleteCacheSecurityGroupRequest)
AmazonAmazon.ElastiCacheAmazonElastiCacheClientDeleteCacheSecurityGroup(DeleteCacheSecurityGroupRequest) Did this page help you?   Yes   No    Tell us about it...

The DeleteCacheSecurityGroup operation deletes a cache security group.

NOTE:You cannot delete a cache security group if it is associated with any cache clusters.

Declaration Syntax
C#
public DeleteCacheSecurityGroupResponse DeleteCacheSecurityGroup(
	DeleteCacheSecurityGroupRequest deleteCacheSecurityGroupRequest
)
Parameters
deleteCacheSecurityGroupRequest (DeleteCacheSecurityGroupRequest)
Container for the necessary parameters to execute the DeleteCacheSecurityGroup service method on AmazonElastiCache.
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)