Skip to main content

subnet_groups

Retrieves a list of subnet_groups in a region

Overview

Namesubnet_groups
TypeResource
Descriptionsubnet_groups
Idawscc.elasticache.subnet_groups

Fields

NameDatatypeDescription
cache_subnet_group_namestringThe name for the cache subnet group. This value is stored as a lowercase string.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
cache_subnet_group_name
FROM awscc.elasticache.subnet_groups
WHERE region = 'us-east-1'

Permissions

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

Create

elasticache:CreateCacheSubnetGroup,
elasticache:AddTagsToResource,
elasticache:DescribeCacheSubnetGroups,
elasticache:ListTagsForResource

List

elasticache:DescribeCacheSubnetGroups