docdb_create_db_subnet_group: Creates a new subnet group

Description Usage Arguments Value Request syntax

View source: R/docdb_operations.R

Description

Creates a new subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region.

Usage

1
2
docdb_create_db_subnet_group(DBSubnetGroupName,
  DBSubnetGroupDescription, SubnetIds, Tags)

Arguments

DBSubnetGroupName

[required] The name for the 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 subnet group.

SubnetIds

[required] The Amazon EC2 subnet IDs for the subnet group.

Tags

The tags to be assigned to the subnet group.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
svc$create_db_subnet_group(
  DBSubnetGroupName = "string",
  DBSubnetGroupDescription = "string",
  SubnetIds = list(
    "string"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

paws.database documentation built on March 9, 2021, 5:11 p.m.