UserState class

Input properties used for looking up and filtering User resources.

Constructors

UserState({Input<String?>? arn, Input<bool?>? forceDestroy, Input<String?>? name, Input<String?>? path, Input<String?>? permissionsBoundary, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll, Input<String?>? uniqueId})
Creates a new UserState. arn The ARN assigned by AWS for this user. forceDestroy When destroying this user, destroy even if it name The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-_.. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser". path Path in which to create the user. permissionsBoundary The ARN of the policy that is used to set the permissions boundary for the user. tags Key-value mapping of tags for the IAM user. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. uniqueId The unique ID assigned by AWS.
const
UserState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
The ARN assigned by AWS for this user.
final
forceDestroy → Input<bool?>?
When destroying this user, destroy even if it has non-provider-managed IAM access keys, login profile or MFA devices. Without forceDestroy a user with non-provider-managed access keys and login profile will fail to be destroyed. This only deletes objects when the user is destroyed, not when setting this parameter to true. Once this parameter is set to true, there must be a successful pulumi up run before a destroy is required to update this value in the resource state. Without a successful pulumi up after this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the user or destroying the user, this flag will not work. Additionally when importing a user, a successful pulumi up is required to set this value in state before it will take effect on a destroy operation.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-_.. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser".
final
path → Input<String?>?
Path in which to create the user.
final
permissionsBoundary → Input<String?>?
The ARN of the policy that is used to set the permissions boundary for the user.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
Key-value mapping of tags for the IAM user. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
tagsAll → Input<Map<String, String>?>?
A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
final
uniqueId → Input<String?>?
The unique ID assigned by AWS.
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