AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
Deletes an Amazon Redshift security group. You cannot delete a security group that is associated with any clusters. You cannot delete the default security group.

For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.

Namespace: Amazon.Redshift
Assembly: AWSSDK.dll
Version: (assembly version)


public virtual DeleteClusterSecurityGroupResponse DeleteClusterSecurityGroup(
         DeleteClusterSecurityGroupRequest request


Type: Amazon.Redshift.Model.DeleteClusterSecurityGroupRequest

Container for the necessary parameters to execute the DeleteClusterSecurityGroup service method.

Return Value
Type: Amazon.Redshift.Model.DeleteClusterSecurityGroupResponse
The response from the DeleteClusterSecurityGroup service method, as returned by Redshift.


ClusterSecurityGroupNotFoundException The cluster security group name does not refer to an existing cluster security group.
InvalidClusterSecurityGroupStateException The state of the cluster security group is not available.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5