Skip to main content

subnet_group

Gets an individual subnet_group resource

Overview

Namesubnet_group
TypeResource
Descriptionsubnet_group
Idawscc.memorydb.subnet_group

Fields

NameDatatypeDescription
subnet_group_namestringThe name of the subnet group. This value must be unique as it also serves as the subnet group identifier.
descriptionstringAn optional description of the subnet group.
subnet_idsarrayA list of VPC subnet IDs for the subnet group.
tagsarrayAn array of key-value pairs to apply to this subnet group.
arnstringThe Amazon Resource Name (ARN) of the subnet group.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
subnet_group_name,
description,
subnet_ids,
tags,
arn
FROM awscc.memorydb.subnet_group
WHERE data__Identifier = '<SubnetGroupName>';

Permissions

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

Read

memorydb:DescribeSubnetGroups,
memorydb:ListTags

Update

memorydb:UpdateSubnetGroup,
memorydb:DescribeSubnetGroups,
memorydb:ListTags,
memorydb:TagResource,
memorydb:UntagResource

Delete

memorydb:DeleteSubnetGroup,
memorydb:DescribeSubnetGroups