We recommend new projects start with resources from the AWS provider.
aws-native.memorydb.User
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::MemoryDB::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: Optional[UserArgs] = None,
         opts: Optional[ResourceOptions] = None)
@overload
def User(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         access_string: Optional[str] = None,
         authentication_mode: Optional[AuthenticationModePropertiesArgs] = 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 = null, CustomResourceOptions? opts = null)type: aws-native:memorydb: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:
- AccessString string
- Access permissions string used for this user account.
- AuthenticationMode Pulumi.Aws Native. Memory Db. Inputs. Authentication Mode Properties 
- Denotes whether the user requires a password to authenticate. - Example: - mynewdbuser: Type: AWS::MemoryDB::User Properties: AccessString: on ~* &* +@all AuthenticationMode: Passwords: '1234567890123456' Type: password UserName: mynewdbuser AuthenticationMode: { "Passwords": ["1234567890123456"], "Type": "Password" }
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this user.
- UserName string
- The name of the user.
- AccessString string
- Access permissions string used for this user account.
- AuthenticationMode AuthenticationMode Properties Args 
- Denotes whether the user requires a password to authenticate. - Example: - mynewdbuser: Type: AWS::MemoryDB::User Properties: AccessString: on ~* &* +@all AuthenticationMode: Passwords: '1234567890123456' Type: password UserName: mynewdbuser AuthenticationMode: { "Passwords": ["1234567890123456"], "Type": "Password" }
- 
TagArgs 
- An array of key-value pairs to apply to this user.
- UserName string
- The name of the user.
- accessString String
- Access permissions string used for this user account.
- authenticationMode AuthenticationMode Properties 
- Denotes whether the user requires a password to authenticate. - Example: - mynewdbuser: Type: AWS::MemoryDB::User Properties: AccessString: on ~* &* +@all AuthenticationMode: Passwords: '1234567890123456' Type: password UserName: mynewdbuser AuthenticationMode: { "Passwords": ["1234567890123456"], "Type": "Password" }
- List<Tag>
- An array of key-value pairs to apply to this user.
- userName String
- The name of the user.
- accessString string
- Access permissions string used for this user account.
- authenticationMode AuthenticationMode Properties 
- Denotes whether the user requires a password to authenticate. - Example: - mynewdbuser: Type: AWS::MemoryDB::User Properties: AccessString: on ~* &* +@all AuthenticationMode: Passwords: '1234567890123456' Type: password UserName: mynewdbuser AuthenticationMode: { "Passwords": ["1234567890123456"], "Type": "Password" }
- Tag[]
- An array of key-value pairs to apply to this user.
- userName string
- The name of the user.
- access_string str
- Access permissions string used for this user account.
- authentication_mode AuthenticationMode Properties Args 
- Denotes whether the user requires a password to authenticate. - Example: - mynewdbuser: Type: AWS::MemoryDB::User Properties: AccessString: on ~* &* +@all AuthenticationMode: Passwords: '1234567890123456' Type: password UserName: mynewdbuser AuthenticationMode: { "Passwords": ["1234567890123456"], "Type": "Password" }
- 
Sequence[TagArgs] 
- An array of key-value pairs to apply to this user.
- user_name str
- The name of the user.
- accessString String
- Access permissions string used for this user account.
- authenticationMode Property Map
- Denotes whether the user requires a password to authenticate. - Example: - mynewdbuser: Type: AWS::MemoryDB::User Properties: AccessString: on ~* &* +@all AuthenticationMode: Passwords: '1234567890123456' Type: password UserName: mynewdbuser AuthenticationMode: { "Passwords": ["1234567890123456"], "Type": "Password" }
- List<Property Map>
- An array of key-value pairs to apply to this user.
- userName String
- The name 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      
- Passwords List<string>
- Passwords used for this user account. You can create up to two passwords for each user.
- Type
Pulumi.Aws Native. Memory Db. User Authentication Mode Properties Type 
- Type of authentication strategy for this user.
- Passwords []string
- Passwords used for this user account. You can create up to two passwords for each user.
- Type
UserAuthentication Mode Properties Type 
- Type of authentication strategy for this user.
- passwords List<String>
- Passwords used for this user account. You can create up to two passwords for each user.
- type
UserAuthentication Mode Properties Type 
- Type of authentication strategy for this user.
- passwords string[]
- Passwords used for this user account. You can create up to two passwords for each user.
- type
UserAuthentication Mode Properties Type 
- Type of authentication strategy for this user.
- passwords Sequence[str]
- Passwords used for this user account. You can create up to two passwords for each user.
- type
UserAuthentication Mode Properties Type 
- Type of authentication strategy for this user.
- passwords List<String>
- Passwords used for this user account. You can create up to two passwords for each user.
- type "password" | "iam"
- Type of authentication strategy for this user.
Tag, TagArgs  
UserAuthenticationModePropertiesType, UserAuthenticationModePropertiesTypeArgs          
- Password
- password
- Iam
- iam
- UserAuthentication Mode Properties Type Password 
- password
- UserAuthentication Mode Properties Type Iam 
- iam
- Password
- password
- Iam
- iam
- Password
- password
- Iam
- iam
- PASSWORD
- password
- IAM
- iam
- "password"
- password
- "iam"
- iam
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.