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.
Returns information about Amazon Redshift security groups. If the name of a security group is specified, the response will contain only information about only that security group.
For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.
If you specify both tag keys and tag values in the same request, Amazon Redshift returns
all security groups that match any combination of the specified keys and values. For
example, if you have owner
and environment
for tag keys, and admin
and test
for tag values, all security groups that have any combination of those
values are returned.
If both tag keys and values are omitted from the request, security groups are returned regardless of whether they have tag keys or values associated with them.
For .NET Core this operation is only available in asynchronous form. Please refer to DescribeClusterSecurityGroupsAsync.
Namespace: Amazon.Redshift
Assembly: AWSSDK.Redshift.dll
Version: 3.x.y.z
public abstract DescribeClusterSecurityGroupsResponse DescribeClusterSecurityGroups()
Exception | Condition |
---|---|
ClusterSecurityGroupNotFoundException | The cluster security group name does not refer to an existing cluster security group. |
InvalidTagException | The tag is invalid. |
.NET Framework:
Supported in: 4.5 and newer, 3.5