Skip to main content

cluster_subnet_groups

Retrieves a list of cluster_subnet_groups in a region

Overview

Namecluster_subnet_groups
TypeResource
Descriptioncluster_subnet_groups
Idawscc.redshift.cluster_subnet_groups

Fields

NameDatatypeDescription
cluster_subnet_group_namestringThis name must be unique for all subnet groups that are created by your AWS account. If costumer do not provide it, cloudformation will generate it. Must not be "Default".
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
cluster_subnet_group_name
FROM awscc.redshift.cluster_subnet_groups
WHERE region = 'us-east-1'

Permissions

To operate on the cluster_subnet_groups resource, the following permissions are required:

Create

redshift:CreateClusterSubnetGroup,
redshift:CreateTags,
redshift:DescribeClusterSubnetGroups,
redshift:DescribeTags,
ec2:AllocateAddress,
ec2:AssociateAddress,
ec2:AttachNetworkInterface,
ec2:DescribeAccountAttributes,
ec2:DescribeAddresses,
ec2:DescribeAvailabilityZones,
ec2:DescribeInternetGateways,
ec2:DescribeSecurityGroups,
ec2:DescribeSubnets,
ec2:DescribeVpcs

List

redshift:DescribeClusterSubnetGroups,
redshift:DescribeTags,
ec2:AllocateAddress,
ec2:AssociateAddress,
ec2:AttachNetworkInterface,
ec2:DescribeAccountAttributes,
ec2:DescribeAddresses,
ec2:DescribeAvailabilityZones,
ec2:DescribeInternetGateways,
ec2:DescribeSecurityGroups,
ec2:DescribeSubnets,
ec2:DescribeVpcs