UserArgs class
The set of arguments for User. The set of arguments for User.
Constructors
-
UserArgs({required Input<
String> accessString, Input<UserAuthenticationMode?> ? authenticationMode, required Input<String> engine, Input<bool?> ? noPasswordRequired, Input<List< ? passwords, Input<String> ?>String?> ? passwordsWo, Input<int?> ? passwordsWoVersion, Input<String?> ? region, Input<Map< ? tags, required Input<String, String> ?>String> userId, required Input<String> userName}) -
Creates a new UserArgs.
accessStringAccess permissions string used for this user. See Specifying Permissions Using an Access String for more details.authenticationModeDenotes the user's authentication properties. Detailed below.engineThe current supported values areredis,valkey(case insensitive).noPasswordRequiredIndicates a password is not required for this user.passwordsPasswords used for this user. You can create up to two passwords for each user.passwordsWoNOTE: This field is write-only and its value will not be updated in state as part of read operations.passwordsWoVersionVersion number forpasswordsWo. Increment this value to trigger a password update. Required when usingpasswordsWo.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsA list of tags to be added to this resource. A tag is a key-value pair.userIdThe ID of the user.userNameThe username of the user.const -
UserArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
accessString
→ Input<
String> -
Access permissions string used for this user. See Specifying Permissions Using an Access String for more details.
final
-
authenticationMode
→ Input<
UserAuthenticationMode?> ? -
Denotes the user's authentication properties. Detailed below.
final
-
engine
→ Input<
String> -
The current supported values are
redis,valkey(case insensitive).final - hashCode → int
-
The hash code for this object.
no setterinherited
-
noPasswordRequired
→ Input<
bool?> ? -
Indicates a password is not required for this user.
final
-
passwords
→ Input<
List< ?String> ?> -
Passwords used for this user. You can create up to two passwords for each user.
final
-
passwordsWo
→ Input<
String?> ? -
NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only password for this user. This argument is not stored in state. Conflicts with
passwordsandauthenticationMode. See Write-Only Arguments for more information. Requires Terraform 1.11+.final -
passwordsWoVersion
→ Input<
int?> ? -
Version number for
passwordsWo. Increment this value to trigger a password update. Required when usingpasswordsWo.final -
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
-
A list of tags to be added to this resource. A tag is a key-value pair.
final
-
userId
→ Input<
String> -
The ID of the user.
final
-
userName
→ Input<
String> -
The username of the user.
final
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