AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.
Creates a data provider using the provided settings. A data provider stores a data store type and location information about your database.
See also: AWS API Documentation
create-data-provider
[--data-provider-name <value>]
[--description <value>]
--engine <value>
--settings <value>
[--tags <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
--data-provider-name
(string)
A user-friendly name for the data provider.
--description
(string)
A user-friendly description of the data provider.
--engine
(string)
The type of database engine for the data provider. Valid values include"aurora"
,"aurora-postgresql"
,"mysql"
,"oracle"
,"postgres"
,"sqlserver"
,redshift
,mariadb
,mongodb
, anddocdb
. A value of"aurora"
represents Amazon Aurora MySQL-Compatible Edition.
--settings
(tagged union structure)
The settings in JSON format for a data provider.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:RedshiftSettings
,PostgreSqlSettings
,MySqlSettings
,OracleSettings
,MicrosoftSqlServerSettings
,DocDbSettings
,MariaDbSettings
,MongoDbSettings
.RedshiftSettings -> (structure)
Provides information that defines an Amazon Redshift data provider.
ServerName -> (string)
The name of the Amazon Redshift server.Port -> (integer)
The port value for the Amazon Redshift data provider.DatabaseName -> (string)
The database name on the Amazon Redshift data provider.PostgreSqlSettings -> (structure)
Provides information that defines a PostgreSQL data provider.
ServerName -> (string)
The name of the PostgreSQL server.Port -> (integer)
The port value for the PostgreSQL data provider.DatabaseName -> (string)
The database name on the PostgreSQL data provider.SslMode -> (string)
The SSL mode used to connect to the PostgreSQL data provider. The default value isnone
.CertificateArn -> (string)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.MySqlSettings -> (structure)
Provides information that defines a MySQL data provider.
ServerName -> (string)
The name of the MySQL server.Port -> (integer)
The port value for the MySQL data provider.SslMode -> (string)
The SSL mode used to connect to the MySQL data provider. The default value isnone
.CertificateArn -> (string)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.OracleSettings -> (structure)
Provides information that defines an Oracle data provider.
ServerName -> (string)
The name of the Oracle server.Port -> (integer)
The port value for the Oracle data provider.DatabaseName -> (string)
The database name on the Oracle data provider.SslMode -> (string)
The SSL mode used to connect to the Oracle data provider. The default value isnone
.CertificateArn -> (string)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.AsmServer -> (string)
The address of your Oracle Automatic Storage Management (ASM) server. You can set this value from theasm_server
value. You setasm_server
as part of the extra connection attribute string to access an Oracle server with Binary Reader that uses ASM. For more information, see Configuration for change data capture (CDC) on an Oracle source database .SecretsManagerOracleAsmSecretId -> (string)
The identifier of the secret in Secrets Manager that contains the Oracle ASM connection details.
Required only if your data provider uses the Oracle ASM server.
SecretsManagerOracleAsmAccessRoleArn -> (string)
The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the Oracle ASM connection details.SecretsManagerSecurityDbEncryptionSecretId -> (string)
The identifier of the secret in Secrets Manager that contains the transparent data encryption (TDE) password. DMS requires this password to access Oracle redo logs encrypted by TDE using Binary Reader.SecretsManagerSecurityDbEncryptionAccessRoleArn -> (string)
The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the TDE password.MicrosoftSqlServerSettings -> (structure)
Provides information that defines a Microsoft SQL Server data provider.
ServerName -> (string)
The name of the Microsoft SQL Server server.Port -> (integer)
The port value for the Microsoft SQL Server data provider.DatabaseName -> (string)
The database name on the Microsoft SQL Server data provider.SslMode -> (string)
The SSL mode used to connect to the Microsoft SQL Server data provider. The default value isnone
.CertificateArn -> (string)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.DocDbSettings -> (structure)
Provides information that defines a DocumentDB data provider.
ServerName -> (string)
The name of the source DocumentDB server.Port -> (integer)
The port value for the DocumentDB data provider.DatabaseName -> (string)
The database name on the DocumentDB data provider.SslMode -> (string)
The SSL mode used to connect to the DocumentDB data provider. The default value isnone
.CertificateArn -> (string)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.MariaDbSettings -> (structure)
Provides information that defines a MariaDB data provider.
ServerName -> (string)
The name of the MariaDB server.Port -> (integer)
The port value for the MariaDB data providerSslMode -> (string)
The SSL mode used to connect to the MariaDB data provider. The default value isnone
.CertificateArn -> (string)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.MongoDbSettings -> (structure)
Provides information that defines a MongoDB data provider.
ServerName -> (string)
The name of the MongoDB server.Port -> (integer)
The port value for the MongoDB data provider.DatabaseName -> (string)
The database name on the MongoDB data provider.SslMode -> (string)
The SSL mode used to connect to the MongoDB data provider. The default value isnone
.CertificateArn -> (string)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.AuthType -> (string)
The authentication type for the database connection. Valid values are PASSWORD or NO.AuthSource -> (string)
The MongoDB database name. This setting isn't used when
AuthType
is set to"no"
.The default is
"admin"
.AuthMechanism -> (string)
The authentication method for connecting to the data provider. Valid values are DEFAULT, MONGODB_CR, or SCRAM_SHA_1.
Shorthand Syntax:
RedshiftSettings={ServerName=string,Port=integer,DatabaseName=string},PostgreSqlSettings={ServerName=string,Port=integer,DatabaseName=string,SslMode=string,CertificateArn=string},MySqlSettings={ServerName=string,Port=integer,SslMode=string,CertificateArn=string},OracleSettings={ServerName=string,Port=integer,DatabaseName=string,SslMode=string,CertificateArn=string,AsmServer=string,SecretsManagerOracleAsmSecretId=string,SecretsManagerOracleAsmAccessRoleArn=string,SecretsManagerSecurityDbEncryptionSecretId=string,SecretsManagerSecurityDbEncryptionAccessRoleArn=string},MicrosoftSqlServerSettings={ServerName=string,Port=integer,DatabaseName=string,SslMode=string,CertificateArn=string},DocDbSettings={ServerName=string,Port=integer,DatabaseName=string,SslMode=string,CertificateArn=string},MariaDbSettings={ServerName=string,Port=integer,SslMode=string,CertificateArn=string},MongoDbSettings={ServerName=string,Port=integer,DatabaseName=string,SslMode=string,CertificateArn=string,AuthType=string,AuthSource=string,AuthMechanism=string}
JSON Syntax:
{
"RedshiftSettings": {
"ServerName": "string",
"Port": integer,
"DatabaseName": "string"
},
"PostgreSqlSettings": {
"ServerName": "string",
"Port": integer,
"DatabaseName": "string",
"SslMode": "none"|"require"|"verify-ca"|"verify-full",
"CertificateArn": "string"
},
"MySqlSettings": {
"ServerName": "string",
"Port": integer,
"SslMode": "none"|"require"|"verify-ca"|"verify-full",
"CertificateArn": "string"
},
"OracleSettings": {
"ServerName": "string",
"Port": integer,
"DatabaseName": "string",
"SslMode": "none"|"require"|"verify-ca"|"verify-full",
"CertificateArn": "string",
"AsmServer": "string",
"SecretsManagerOracleAsmSecretId": "string",
"SecretsManagerOracleAsmAccessRoleArn": "string",
"SecretsManagerSecurityDbEncryptionSecretId": "string",
"SecretsManagerSecurityDbEncryptionAccessRoleArn": "string"
},
"MicrosoftSqlServerSettings": {
"ServerName": "string",
"Port": integer,
"DatabaseName": "string",
"SslMode": "none"|"require"|"verify-ca"|"verify-full",
"CertificateArn": "string"
},
"DocDbSettings": {
"ServerName": "string",
"Port": integer,
"DatabaseName": "string",
"SslMode": "none"|"require"|"verify-ca"|"verify-full",
"CertificateArn": "string"
},
"MariaDbSettings": {
"ServerName": "string",
"Port": integer,
"SslMode": "none"|"require"|"verify-ca"|"verify-full",
"CertificateArn": "string"
},
"MongoDbSettings": {
"ServerName": "string",
"Port": integer,
"DatabaseName": "string",
"SslMode": "none"|"require"|"verify-ca"|"verify-full",
"CertificateArn": "string",
"AuthType": "no"|"password",
"AuthSource": "string",
"AuthMechanism": "default"|"mongodb_cr"|"scram_sha_1"
}
}
--tags
(list)
One or more tags to be assigned to the data provider.
(structure)
A user-defined key-value pair that describes metadata added to an DMS resource and that is used by operations such as the following:
AddTagsToResource
ListTagsForResource
RemoveTagsFromResource
Key -> (string)
A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\p{Z}\p{N}_.:/=+\-]*)$").Value -> (string)
A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular expressions: "^([\p{L}\p{Z}\p{N}_.:/=+\-]*)$").ResourceArn -> (string)
The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.
Shorthand Syntax:
Key=string,Value=string,ResourceArn=string ...
JSON Syntax:
[
{
"Key": "string",
"Value": "string",
"ResourceArn": "string"
}
...
]
--cli-input-json
(string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
--debug
(boolean)
Turn on debug logging.
--endpoint-url
(string)
Override command's default URL with the given URL.
--no-verify-ssl
(boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate
(boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output
(string)
The formatting style for command output.
--query
(string)
A JMESPath query to use in filtering the response data.
--profile
(string)
Use a specific profile from your credential file.
--region
(string)
The region to use. Overrides config/env settings.
--version
(string)
Display the version of this tool.
--color
(string)
Turn on/off color output.
--no-sign-request
(boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle
(string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout
(int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout
(int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
DataProvider -> (structure)
The data provider that was created.
DataProviderName -> (string)
The name of the data provider.DataProviderArn -> (string)
The Amazon Resource Name (ARN) string that uniquely identifies the data provider.DataProviderCreationTime -> (timestamp)
The time the data provider was created.Description -> (string)
A description of the data provider. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.Engine -> (string)
The type of database engine for the data provider. Valid values include"aurora"
,"aurora-postgresql"
,"mysql"
,"oracle"
,"postgres"
,"sqlserver"
,redshift
,mariadb
,mongodb
, anddocdb
. A value of"aurora"
represents Amazon Aurora MySQL-Compatible Edition.Settings -> (tagged union structure)
The settings in JSON format for a data provider.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:RedshiftSettings
,PostgreSqlSettings
,MySqlSettings
,OracleSettings
,MicrosoftSqlServerSettings
,DocDbSettings
,MariaDbSettings
,MongoDbSettings
.RedshiftSettings -> (structure)
Provides information that defines an Amazon Redshift data provider.
ServerName -> (string)
The name of the Amazon Redshift server.Port -> (integer)
The port value for the Amazon Redshift data provider.DatabaseName -> (string)
The database name on the Amazon Redshift data provider.PostgreSqlSettings -> (structure)
Provides information that defines a PostgreSQL data provider.
ServerName -> (string)
The name of the PostgreSQL server.Port -> (integer)
The port value for the PostgreSQL data provider.DatabaseName -> (string)
The database name on the PostgreSQL data provider.SslMode -> (string)
The SSL mode used to connect to the PostgreSQL data provider. The default value isnone
.CertificateArn -> (string)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.MySqlSettings -> (structure)
Provides information that defines a MySQL data provider.
ServerName -> (string)
The name of the MySQL server.Port -> (integer)
The port value for the MySQL data provider.SslMode -> (string)
The SSL mode used to connect to the MySQL data provider. The default value isnone
.CertificateArn -> (string)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.OracleSettings -> (structure)
Provides information that defines an Oracle data provider.
ServerName -> (string)
The name of the Oracle server.Port -> (integer)
The port value for the Oracle data provider.DatabaseName -> (string)
The database name on the Oracle data provider.SslMode -> (string)
The SSL mode used to connect to the Oracle data provider. The default value isnone
.CertificateArn -> (string)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.AsmServer -> (string)
The address of your Oracle Automatic Storage Management (ASM) server. You can set this value from theasm_server
value. You setasm_server
as part of the extra connection attribute string to access an Oracle server with Binary Reader that uses ASM. For more information, see Configuration for change data capture (CDC) on an Oracle source database .SecretsManagerOracleAsmSecretId -> (string)
The identifier of the secret in Secrets Manager that contains the Oracle ASM connection details.
Required only if your data provider uses the Oracle ASM server.
SecretsManagerOracleAsmAccessRoleArn -> (string)
The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the Oracle ASM connection details.SecretsManagerSecurityDbEncryptionSecretId -> (string)
The identifier of the secret in Secrets Manager that contains the transparent data encryption (TDE) password. DMS requires this password to access Oracle redo logs encrypted by TDE using Binary Reader.SecretsManagerSecurityDbEncryptionAccessRoleArn -> (string)
The ARN of the IAM role that provides access to the secret in Secrets Manager that contains the TDE password.MicrosoftSqlServerSettings -> (structure)
Provides information that defines a Microsoft SQL Server data provider.
ServerName -> (string)
The name of the Microsoft SQL Server server.Port -> (integer)
The port value for the Microsoft SQL Server data provider.DatabaseName -> (string)
The database name on the Microsoft SQL Server data provider.SslMode -> (string)
The SSL mode used to connect to the Microsoft SQL Server data provider. The default value isnone
.CertificateArn -> (string)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.DocDbSettings -> (structure)
Provides information that defines a DocumentDB data provider.
ServerName -> (string)
The name of the source DocumentDB server.Port -> (integer)
The port value for the DocumentDB data provider.DatabaseName -> (string)
The database name on the DocumentDB data provider.SslMode -> (string)
The SSL mode used to connect to the DocumentDB data provider. The default value isnone
.CertificateArn -> (string)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.MariaDbSettings -> (structure)
Provides information that defines a MariaDB data provider.
ServerName -> (string)
The name of the MariaDB server.Port -> (integer)
The port value for the MariaDB data providerSslMode -> (string)
The SSL mode used to connect to the MariaDB data provider. The default value isnone
.CertificateArn -> (string)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.MongoDbSettings -> (structure)
Provides information that defines a MongoDB data provider.
ServerName -> (string)
The name of the MongoDB server.Port -> (integer)
The port value for the MongoDB data provider.DatabaseName -> (string)
The database name on the MongoDB data provider.SslMode -> (string)
The SSL mode used to connect to the MongoDB data provider. The default value isnone
.CertificateArn -> (string)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.AuthType -> (string)
The authentication type for the database connection. Valid values are PASSWORD or NO.AuthSource -> (string)
The MongoDB database name. This setting isn't used when
AuthType
is set to"no"
.The default is
"admin"
.AuthMechanism -> (string)
The authentication method for connecting to the data provider. Valid values are DEFAULT, MONGODB_CR, or SCRAM_SHA_1.