AWS SDK Version 2 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.

.NET Framework 3.5
 
Instantiates CreateDBInstanceRequest with the parameterized properties

Namespace: Amazon.RDS.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public CreateDBInstanceRequest(
         String dbInstanceIdentifier,
         Int32 allocatedStorage,
         String dbInstanceClass,
         String engine,
         String masterUsername,
         String masterUserPassword
)

Parameters

dbInstanceIdentifier
Type: System.String

The DB instance identifier. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens (1 to 15 for SQL Server).First character must be a letter.Cannot end with a hyphen or contain two consecutive hyphens. Example: mydbinstance

allocatedStorage
Type: System.Int32

The amount of storage (in gigabytes) to be initially allocated for the database instance. Type: Integer MySQL Constraints: Must be an integer from 5 to 6144. MariaDB Constraints: Must be an integer from 5 to 6144. PostgreSQL Constraints: Must be an integer from 5 to 6144. Oracle Constraints: Must be an integer from 10 to 6144. SQL Server Constraints: Must be an integer from 200 to 4096 (Standard Edition and Enterprise Edition) or from 20 to 4096 (Express Edition and Web Edition)

dbInstanceClass
Type: System.String

The compute and memory capacity of the DB instance. Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.xlarge |db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large

engine
Type: System.String

The name of the database engine to be used for this instance. Valid Values: MySQL | mariadb | oracle-se1 | oracle-se | oracle-ee | sqlserver-ee | sqlserver-se | sqlserver-ex | sqlserver-web | postgres | aurora Not every database engine is available for every AWS region.

masterUsername
Type: System.String

The name of master user for the client DB instance. MySQL Constraints: Must be 1 to 16 alphanumeric characters.First character must be a letter.Cannot be a reserved word for the chosen database engine.MariaDB Constraints: Must be 1 to 16 alphanumeric characters.Cannot be a reserved word for the chosen database engine. Type: String Oracle Constraints: Must be 1 to 30 alphanumeric characters.First character must be a letter.Cannot be a reserved word for the chosen database engine.SQL Server Constraints: Must be 1 to 128 alphanumeric characters.First character must be a letter.Cannot be a reserved word for the chosen database engine.PostgreSQL Constraints: Must be 1 to 63 alphanumeric characters.First character must be a letter.Cannot be a reserved word for the chosen database engine.

masterUserPassword
Type: System.String

The password for the master database user. Can be any printable ASCII character except "/", """, or "@". Type: String MySQL Constraints: Must contain from 8 to 41 characters. MariaDB Constraints: Must contain from 8 to 41 characters. Oracle Constraints: Must contain from 8 to 30 characters. SQL Server Constraints: Must contain from 8 to 128 characters. PostgreSQL Constraints: Must contain from 8 to 128 characters. Amazon Aurora Constraints: Must contain from 8 to 41 characters.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1