subnet_group
Gets an individual subnet_group
resource
Overview
Name | subnet_group |
Type | Resource |
Description | subnet_group |
Id | awscc.elasticache.subnet_group |
Fields
Name | Datatype | Description |
---|---|---|
description | string | The description for the cache subnet group. |
subnet_ids | array | The EC2 subnet IDs for the cache subnet group. |
cache_subnet_group_name | string | The name for the cache subnet group. This value is stored as a lowercase string. |
tags | array | |
region | string | AWS 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