GetClusterCredentialsArgs class
Arguments for getClusterCredentials. Arguments for getClusterCredentials.
Constructors
-
GetClusterCredentialsArgs({Input<
bool?> ? autoCreate, required Input<String> clusterIdentifier, Input<List< ? dbGroups, Input<String> ?>String?> ? dbName, required Input<String> dbUser, Input<int?> ? durationSeconds, Input<String?> ? region}) -
Creates a new GetClusterCredentialsArgs.
autoCreateCreate a database user with the name specified for the user named indbUserif one does not exist.clusterIdentifierUnique identifier of the cluster that contains the database for which your are requesting credentials.dbGroupsList of the names of existing database groups that the user named indbUserwill join for the current session, in addition to any group memberships for an existing user. If not specified, a new user is added only toPUBLIC.dbNameName of a database that DbUser is authorized to log on to. IfdbNameis not specified,dbUsercan log on to any existing database.dbUserName of a database user. If a user name matchingdbUserexists in the database, the temporary user credentials have the same permissions as the existing user. IfdbUserdoesn't exist in the database andautoCreateisTrue, a new user is created using the value fordbUserwithPUBLICpermissions. If a database user matching the value fordbUserdoesn't exist andnotisFalse, then the command succeeds but the connection attempt will fail because the user doesn't exist in the database.durationSecondsThe number of seconds until the returned temporary password expires. Valid values are between900and3600. Default value is900.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.const -
GetClusterCredentialsArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
autoCreate
→ Input<
bool?> ? -
Create a database user with the name specified for the user named in
dbUserif one does not exist.final -
clusterIdentifier
→ Input<
String> -
Unique identifier of the cluster that contains the database for which your are requesting credentials.
final
-
dbGroups
→ Input<
List< ?String> ?> -
List of the names of existing database groups that the user named in
dbUserwill join for the current session, in addition to any group memberships for an existing user. If not specified, a new user is added only toPUBLIC.final -
dbName
→ Input<
String?> ? -
Name of a database that DbUser is authorized to log on to. If
dbNameis not specified,dbUsercan log on to any existing database.final -
dbUser
→ Input<
String> -
Name of a database user. If a user name matching
dbUserexists in the database, the temporary user credentials have the same permissions as the existing user. IfdbUserdoesn't exist in the database andautoCreateisTrue, a new user is created using the value fordbUserwithPUBLICpermissions. If a database user matching the value fordbUserdoesn't exist andnotisFalse, then the command succeeds but the connection attempt will fail because the user doesn't exist in the database.final -
durationSeconds
→ Input<
int?> ? -
The number of seconds until the returned temporary password expires. Valid values are between
900and3600. Default value is900.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited