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:
- Access
String string - Access permissions string used for this user account.
- Authentication
Mode 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.
- User
Name string - The name of the user.
- Access
String string - 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" }
- Tag
Args - An array of key-value pairs to apply to this user.
- User
Name string - The name of the user.
- access
String String - Access permissions string used for this user account.
- authentication
Mode 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.
- user
Name String - The name of the user.
- access
String string - Access permissions string used for this user account.
- authentication
Mode 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.
- user
Name 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[Tag
Args] - An array of key-value pairs to apply to this user.
- user_
name str - The name of the user.
- access
String String - Access permissions string used for this user account.
- authentication
Mode 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.
- user
Name 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
User
Authentication 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
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
User
Authentication 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
User
Authentication 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
- User
Authentication Mode Properties Type Password - password
- User
Authentication 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.