AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.elasticache.User
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
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
The User resource accepts the following input properties:
- Engine
Pulumi.
Aws Native. Elasti Cache. User Engine - Must be redis.
- User
Id string - The ID of the user.
- Access
String string - Access permissions string used for this user account.
- Authentication
Mode 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. }
- No
Password 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.
- User
Name string - The username of the user.
- Engine
User
Engine - Must be redis.
- User
Id string - The ID of the user.
- Access
String string - 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 []string
- Passwords used for this user account. You can create up to two passwords for each user.
- Tag
Args - An array of key-value pairs to apply to this user.
- User
Name string - The username of the user.
- engine
User
Engine - Must be redis.
- user
Id String - The ID of the user.
- access
String String - Access permissions string used for this user account.
- authentication
Mode AuthenticationMode Properties - Specifies the authentication mode to use. Below is an example of the possible JSON values:
{ Passwords: ["*****", "******"] // If Type is password. }
- no
Password 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.
- user
Name String - The username of the user.
- engine
User
Engine - Must be redis.
- user
Id string - The ID of the user.
- access
String string - Access permissions string used for this user account.
- authentication
Mode AuthenticationMode Properties - Specifies the authentication mode to use. Below is an example of the possible JSON values:
{ Passwords: ["*****", "******"] // If Type is password. }
- no
Password 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.
- user
Name string - The username of the user.
- engine
User
Engine - Must be redis.
- 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[Tag
Args] - An array of key-value pairs to apply to this user.
- user_
name str - The username of the user.
- engine "redis"
- Must be redis.
- user
Id String - The ID of the user.
- access
String String - Access permissions string used for this user account.
- authentication
Mode Property Map - Specifies the authentication mode to use. Below is an example of the possible JSON values:
{ Passwords: ["*****", "******"] // If Type is password. }
- no
Password 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.
- user
Name 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
User
Authentication Mode Properties Type - Authentication Type
- Passwords []string
- Passwords used for this user account. You can create up to two passwords for each user.
- type
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
User
Authentication Mode Properties Type - Authentication Type
- passwords string[]
- Passwords used for this user account. You can create up to two passwords for each user.
- type
User
Authentication 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
- No
Password Required - no-password-required
- Iam
- iam
- User
Authentication Mode Properties Type Password - password
- User
Authentication Mode Properties Type No Password Required - no-password-required
- User
Authentication Mode Properties Type Iam - iam
- Password
- password
- No
Password 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
- "password"
- password
- "no-password-required"
- no-password-required
- "iam"
- iam
UserEngine, UserEngineArgs
- Redis
- redis
- User
Engine Redis - redis
- Redis
- redis
- Redis
- redis
- REDIS
- redis
- "redis"
- redis
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi