ConnectionConfiguration class
Provides the information necessary to connect to a database.
Constructors
- ConnectionConfiguration({required String databaseHost, required String databaseName, required int databasePort, required String secretArn, required String tableName})
-
ConnectionConfiguration.fromJson(Map<
String, dynamic> json) -
factory
Properties
- databaseHost → String
-
The name of the host for the database. Can be either a string
(host.subdomain.domain.tld) or an IPv4 or IPv6 address.
final
- databaseName → String
-
The name of the database containing the document data.
final
- databasePort → int
-
The port that the database uses for connections.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secretArn → String
-
The Amazon Resource Name (ARN) of credentials stored in AWS Secrets Manager.
The credentials should be a user/password pair. For more information, see Using
a Database Data Source. For more information about AWS Secrets Manager,
see
What Is AWS Secrets Manager in the AWS Secrets Manager user
guide.
final
- tableName → String
-
The name of the table that contains the document data.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited