UserState class
Input properties used for looking up and filtering User resources.
Constructors
-
UserState({Input<
String?> ? accessString, Input<String?> ? arn, Input<UserAuthenticationMode?> ? authenticationMode, Input<String?> ? engine, Input<bool?> ? noPasswordRequired, Input<List< ? passwords, Input<String> ?>String?> ? passwordsWo, Input<int?> ? passwordsWoVersion, Input<String?> ? region, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>String?> ? userId, Input<String?> ? userName}) -
Creates a new UserState.
accessStringAccess permissions string used for this user. See Specifying Permissions Using an Access String for more details.arnThe ARN of the created ElastiCache User.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.tagsAllOptional.userIdThe ID of the user.userNameThe username of the user.const -
UserState.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
-
arn
→ Input<
String?> ? -
The ARN of the created ElastiCache User.
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
-
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