We recommend new projects start with resources from the AWS provider.
aws-native.elasticache.User
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::ElastiCache::User
Create User Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new User(name: string, args: UserArgs, opts?: CustomResourceOptions);@overload
def User(resource_name: str,
         args: UserArgs,
         opts: Optional[ResourceOptions] = None)
@overload
def User(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         engine: Optional[UserEngine] = None,
         user_id: Optional[str] = None,
         access_string: Optional[str] = None,
         authentication_mode: Optional[AuthenticationModePropertiesArgs] = None,
         no_password_required: Optional[bool] = None,
         passwords: Optional[Sequence[str]] = None,
         tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
         user_name: Optional[str] = None)func NewUser(ctx *Context, name string, args UserArgs, opts ...ResourceOption) (*User, error)public User(string name, UserArgs args, CustomResourceOptions? opts = null)type: aws-native:elasticache:User
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
User Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The User resource accepts the following input properties:
- Engine
Pulumi.Aws Native. Elasti Cache. User Engine 
- The target cache engine for the user.
- UserId string
- The ID of the user.
- AccessString string
- Access permissions string used for this user account.
- AuthenticationMode Pulumi.Aws Native. Elasti Cache. Inputs. Authentication Mode Properties 
- Specifies the authentication mode to use. Below is an example of the possible JSON values:{ Passwords: ["*****", "******"] // If Type is password. }
- NoPassword boolRequired 
- Indicates a password is not required for this user account.
- Passwords List<string>
- Passwords used for this user account. You can create up to two passwords for each user.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this user.
- UserName string
- The username of the user.
- Engine
UserEngine 
- The target cache engine for the user.
- UserId string
- The ID of the user.
- AccessString string
- Access permissions string used for this user account.
- AuthenticationMode AuthenticationMode Properties Args 
- Specifies the authentication mode to use. Below is an example of the possible JSON values:{ Passwords: ["*****", "******"] // If Type is password. }
- NoPassword boolRequired 
- Indicates a password is not required for this user account.
- Passwords []string
- Passwords used for this user account. You can create up to two passwords for each user.
- 
TagArgs 
- An array of key-value pairs to apply to this user.
- UserName string
- The username of the user.
- engine
UserEngine 
- The target cache engine for the user.
- userId String
- The ID of the user.
- accessString String
- Access permissions string used for this user account.
- authenticationMode AuthenticationMode Properties 
- Specifies the authentication mode to use. Below is an example of the possible JSON values:{ Passwords: ["*****", "******"] // If Type is password. }
- noPassword BooleanRequired 
- Indicates a password is not required for this user account.
- passwords List<String>
- Passwords used for this user account. You can create up to two passwords for each user.
- List<Tag>
- An array of key-value pairs to apply to this user.
- userName String
- The username of the user.
- engine
UserEngine 
- The target cache engine for the user.
- userId string
- The ID of the user.
- accessString string
- Access permissions string used for this user account.
- authenticationMode AuthenticationMode Properties 
- Specifies the authentication mode to use. Below is an example of the possible JSON values:{ Passwords: ["*****", "******"] // If Type is password. }
- noPassword booleanRequired 
- Indicates a password is not required for this user account.
- passwords string[]
- Passwords used for this user account. You can create up to two passwords for each user.
- Tag[]
- An array of key-value pairs to apply to this user.
- userName string
- The username of the user.
- engine
UserEngine 
- The target cache engine for the user.
- user_id str
- The ID of the user.
- access_string str
- Access permissions string used for this user account.
- authentication_mode AuthenticationMode Properties Args 
- Specifies the authentication mode to use. Below is an example of the possible JSON values:{ Passwords: ["*****", "******"] // If Type is password. }
- no_password_ boolrequired 
- Indicates a password is not required for this user account.
- passwords Sequence[str]
- Passwords used for this user account. You can create up to two passwords for each user.
- 
Sequence[TagArgs] 
- An array of key-value pairs to apply to this user.
- user_name str
- The username of the user.
- engine "redis" | "valkey"
- The target cache engine for the user.
- userId String
- The ID of the user.
- accessString String
- Access permissions string used for this user account.
- authenticationMode Property Map
- Specifies the authentication mode to use. Below is an example of the possible JSON values:{ Passwords: ["*****", "******"] // If Type is password. }
- noPassword BooleanRequired 
- Indicates a password is not required for this user account.
- passwords List<String>
- Passwords used for this user account. You can create up to two passwords for each user.
- List<Property Map>
- An array of key-value pairs to apply to this user.
- userName String
- The username of the user.
Outputs
All input properties are implicitly available as output properties. Additionally, the User resource produces the following output properties:
Supporting Types
AuthenticationModeProperties, AuthenticationModePropertiesArgs      
- Type
Pulumi.Aws Native. Elasti Cache. User Authentication Mode Properties Type 
- Authentication Type
- Passwords List<string>
- Passwords used for this user account. You can create up to two passwords for each user.
- Type
UserAuthentication Mode Properties Type 
- Authentication Type
- Passwords []string
- Passwords used for this user account. You can create up to two passwords for each user.
- type
UserAuthentication Mode Properties Type 
- Authentication Type
- passwords List<String>
- Passwords used for this user account. You can create up to two passwords for each user.
- type
UserAuthentication Mode Properties Type 
- Authentication Type
- passwords string[]
- Passwords used for this user account. You can create up to two passwords for each user.
- type
UserAuthentication Mode Properties Type 
- Authentication Type
- passwords Sequence[str]
- Passwords used for this user account. You can create up to two passwords for each user.
- type "password" | "no-password-required" | "iam"
- Authentication Type
- passwords List<String>
- Passwords used for this user account. You can create up to two passwords for each user.
Tag, TagArgs  
UserAuthenticationModePropertiesType, UserAuthenticationModePropertiesTypeArgs          
- Password
- password
- NoPassword Required 
- no-password-required
- Iam
- iam
- UserAuthentication Mode Properties Type Password 
- password
- UserAuthentication Mode Properties Type No Password Required 
- no-password-required
- UserAuthentication Mode Properties Type Iam 
- iam
- Password
- password
- NoPassword Required 
- no-password-required
- Iam
- iam
- Password
- password
- NoPassword Required 
- no-password-required
- Iam
- iam
- PASSWORD
- password
- NO_PASSWORD_REQUIRED
- no-password-required
- IAM
- iam
- "password"
- password
- "no-password-required"
- no-password-required
- "iam"
- iam
UserEngine, UserEngineArgs    
- Redis
- redis
- Valkey
- valkey
- UserEngine Redis 
- redis
- UserEngine Valkey 
- valkey
- Redis
- redis
- Valkey
- valkey
- Redis
- redis
- Valkey
- valkey
- REDIS
- redis
- VALKEY
- valkey
- "redis"
- redis
- "valkey"
- valkey
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.