aws.redshift.describe_cluster_subnet_groups
Example SQL Queries
SELECT * FROMaws.redshift.describe_cluster_subnet_groups;Description
Returns one or more cluster subnet group objects, which contain metadata about your cluster subnet groups. By default, this operation returns information about all cluster subnet groups that are defined in your Amazon Web Services account.
If you specify both tag keys and tag values in the same request, Amazon Redshift returns all subnet 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 subnet groups that have any combination of those values are returned.
If both tag keys and values are omitted from the request, subnet groups are returned regardless of whether they have tag keys or values associated with them.
Table Definition
| Column Name | Column Data Type |
|---|---|
| cluster_subnet_group_name Input Column The name of the cluster subnet group. | VARCHAR |
| tag_keys Input Column A tag key or keys for which you want to return all matching cluster subnet groups that are associated with the specified key or keys. For example, suppose that you have subnet groups that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the subnet groups that have either or both of these tag keys associated with them. | VARCHAR[] |
Show child fields
| |
| tag_values Input Column A tag value or values for which you want to return all matching cluster subnet groups that are associated with the specified tag value or values. For example, suppose that you have subnet groups that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the subnet groups that have either or both of these tag values associated with them. | VARCHAR[] |
Show child fields
| |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| description The description of the cluster subnet group. | VARCHAR |
| subnet_group_status The status of the cluster subnet group. Possible values are Complete, Incomplete and Invalid. | VARCHAR |
| subnets A list of the VPC Subnet elements. | STRUCT( |
Show child fields
| |
| supported_cluster_ip_address_types The IP address types supported by this cluster subnet group. Possible values are ipv4 and dualstack. | VARCHAR[] |
Show child fields
| |
| tags The list of tags for the cluster subnet group. | STRUCT( |
Show child fields
| |
| vpc_id The VPC ID of the cluster subnet group. | VARCHAR |