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.
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.
For .NET Core this operation is only available in asynchronous form. Please refer to DeleteClusterSecurityGroupAsync.
Namespace: Amazon.Redshift
Assembly: AWSSDK.Redshift.dll
Version: 3.x.y.z
public virtual DeleteClusterSecurityGroupResponse DeleteClusterSecurityGroup( DeleteClusterSecurityGroupRequest request )
Container for the necessary parameters to execute the DeleteClusterSecurityGroup service method.
Exception | Condition |
---|---|
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. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5