AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateDBSubnetGroup operation. Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the Amazon Web Services Region.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.RDS.AmazonRDSRequest
      Amazon.RDS.Model.CreateDBSubnetGroupRequest

Namespace: Amazon.RDS.Model
Assembly: AWSSDK.RDS.dll
Version: 3.x.y.z

Syntax

C#
public class CreateDBSubnetGroupRequest : AmazonRDSRequest
         IAmazonWebServiceRequest

The CreateDBSubnetGroupRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property DBSubnetGroupDescription System.String

Gets and sets the property DBSubnetGroupDescription.

The description for the DB subnet group.

Public Property DBSubnetGroupName System.String

Gets and sets the property DBSubnetGroupName.

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.

  • First character must be a letter.

Example: mydbsubnetgroup

Public Property SubnetIds System.Collections.Generic.List<System.String>

Gets and sets the property SubnetIds.

The EC2 Subnet IDs for the DB subnet group.

Public Property Tags System.Collections.Generic.List<Amazon.RDS.Model.Tag>

Gets and sets the property Tags.

Tags to assign to the DB subnet group.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5