1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. memorydb
  5. User

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.memorydb.User

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    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)
    public User(String name, UserArgs args)
    public User(String name, UserArgs args, CustomResourceOptions options)
    
    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.AwsNative.MemoryDb.Inputs.AuthenticationModeProperties

    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" }

    Tags List<Pulumi.AwsNative.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 AuthenticationModePropertiesArgs

    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" }

    Tags 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 AuthenticationModeProperties

    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" }

    tags 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 AuthenticationModeProperties

    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" }

    tags 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 AuthenticationModePropertiesArgs

    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" }

    tags 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" }

    tags 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:

    Arn string
    The Amazon Resource Name (ARN) of the user account.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Indicates the user status. Can be "active", "modifying" or "deleting".
    Arn string
    The Amazon Resource Name (ARN) of the user account.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Indicates the user status. Can be "active", "modifying" or "deleting".
    arn String
    The Amazon Resource Name (ARN) of the user account.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Indicates the user status. Can be "active", "modifying" or "deleting".
    arn string
    The Amazon Resource Name (ARN) of the user account.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Indicates the user status. Can be "active", "modifying" or "deleting".
    arn str
    The Amazon Resource Name (ARN) of the user account.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    Indicates the user status. Can be "active", "modifying" or "deleting".
    arn String
    The Amazon Resource Name (ARN) of the user account.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Indicates the user status. Can be "active", "modifying" or "deleting".

    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.AwsNative.MemoryDb.UserAuthenticationModePropertiesType
    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 UserAuthenticationModePropertiesType
    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 UserAuthenticationModePropertiesType
    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 UserAuthenticationModePropertiesType
    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 UserAuthenticationModePropertiesType
    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

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    UserAuthenticationModePropertiesType, UserAuthenticationModePropertiesTypeArgs

    Password
    password
    Iam
    iam
    UserAuthenticationModePropertiesTypePassword
    password
    UserAuthenticationModePropertiesTypeIam
    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
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi