Learn R Programming

paws.database (version 0.1.12)

rds_create_db_subnet_group: 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 AWS Region.

Usage

rds_create_db_subnet_group(DBSubnetGroupName, DBSubnetGroupDescription,
  SubnetIds, Tags)

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"
        ),
        SubnetOutpost = list(
          Arn = "string"
        ),
        SubnetStatus = "string"
      )
    ),
    DBSubnetGroupArn = "string"
  )
)

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

Tags to assign to the DB subnet group.

Request syntax

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