Skip to content

/AWS1/CL_MEM=>CREATESUBNETGROUP()

About CreateSubnetGroup

Creates a subnet group. A subnet group is a collection of subnets (typically private) that you can designate for your clusters running in an Amazon Virtual Private Cloud (VPC) environment. When you create a cluster in an Amazon VPC, you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes. For more information, see Subnets and subnet groups.

Method Signature

IMPORTING

Required arguments:

IV_SUBNETGROUPNAME TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING

The name of the subnet group.

IT_SUBNETIDS TYPE /AWS1/CL_MEMSUBNETIDLIST_W=>TT_SUBNETIDENTIFIERLIST TT_SUBNETIDENTIFIERLIST

A list of VPC subnet IDs for the subnet group.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING

A description for the subnet group.

IT_TAGS TYPE /AWS1/CL_MEMTAG=>TT_TAGLIST TT_TAGLIST

A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MEMCREATESNETGROUPRSP /AWS1/CL_MEMCREATESNETGROUPRSP