Skip to content

Create Db Subnet Group

neptune_create_db_subnet_group R Documentation

Creates a new DB subnet group

Description

Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the Amazon Region.

Usage

neptune_create_db_subnet_group(DBSubnetGroupName,
  DBSubnetGroupDescription, SubnetIds, Tags)

Arguments

DBSubnetGroupName

[required] The name for the DB subnet group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.

Example: mySubnetgroup

DBSubnetGroupDescription

[required] The description for the DB subnet group.

SubnetIds

[required] The EC2 Subnet IDs for the DB subnet group.

Tags

The tags to be assigned to the new DB subnet group.

Value

A list with the following syntax:

list(
  DBSubnetGroup = list(
    DBSubnetGroupName = "string",
    DBSubnetGroupDescription = "string",
    VpcId = "string",
    SubnetGroupStatus = "string",
    Subnets = list(
      list(
        SubnetIdentifier = "string",
        SubnetAvailabilityZone = list(
          Name = "string"
        ),
        SubnetStatus = "string"
      )
    ),
    DBSubnetGroupArn = "string"
  )
)

Request syntax

svc$create_db_subnet_group(
  DBSubnetGroupName = "string",
  DBSubnetGroupDescription = "string",
  SubnetIds = list(
    "string"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)