Skip to main content

subnet_group

Gets an individual subnet_group resource

Overview

Namesubnet_group
TypeResource
Descriptionsubnet_group
Idawscc.elasticache.subnet_group

Fields

NameDatatypeDescription
descriptionstringThe description for the cache subnet group.
subnet_idsarrayThe EC2 subnet IDs for the cache subnet group.
cache_subnet_group_namestringThe name for the cache subnet group. This value is stored as a lowercase string.
tagsarray
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
description,
subnet_ids,
cache_subnet_group_name,
tags
FROM awscc.elasticache.subnet_group
WHERE data__Identifier = '<CacheSubnetGroupName>';

Permissions

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

Read

elasticache:DescribeCacheSubnetGroups,
elasticache:ListTagsForResource

Delete

elasticache:DeleteCacheSubnetGroup,
elasticache:DescribeCacheSubnetGroups,
elasticache:ListTagsForResource

Update

elasticache:ModifyCacheSubnetGroup,
elasticache:DescribeCacheSubnetGroups,
elasticache:AddTagsToResource,
elasticache:RemoveTagsFromResource