Show / Hide Table of Contents

Interface ICfnUserProps

Properties for defining a CfnUser.

Namespace: Amazon.CDK.AWS.ElastiCache
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnUserProps
Syntax (vb)
Public Interface ICfnUserProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.ElastiCache;

             var authenticationMode;

             var cfnUserProps = new CfnUserProps {
                 Engine = "engine",
                 UserId = "userId",
                 UserName = "userName",

                 // the properties below are optional
                 AccessString = "accessString",
                 AuthenticationMode = authenticationMode,
                 NoPasswordRequired = false,
                 Passwords = new [] { "passwords" },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Properties

AccessString

Access permissions string used for this user.

AuthenticationMode

Specifies the authentication mode to use. Below is an example of the possible JSON values:.

Engine

The current supported values are valkey and redis.

NoPasswordRequired

Indicates a password is not required for this user.

Passwords

Passwords used for this user.

Tags

The list of tags.

UserId

The ID of the user.

UserName

The username of the user.

Properties

AccessString

Access permissions string used for this user.

string? AccessString { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html#cfn-elasticache-user-accessstring

AuthenticationMode

Specifies the authentication mode to use. Below is an example of the possible JSON values:.

object? AuthenticationMode { get; }
Property Value

object

Remarks
{ Passwords: ["*****", "******"] // If Type is password.
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html#cfn-elasticache-user-authenticationmode

Engine

The current supported values are valkey and redis.

string Engine { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html#cfn-elasticache-user-engine

NoPasswordRequired

Indicates a password is not required for this user.

object? NoPasswordRequired { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html#cfn-elasticache-user-nopasswordrequired

Type union: either bool or IResolvable

Passwords

Passwords used for this user.

string[]? Passwords { get; }
Property Value

string[]

Remarks

You can create up to two passwords for each user.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html#cfn-elasticache-user-passwords

Tags

The list of tags.

ICfnTag[]? Tags { get; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html#cfn-elasticache-user-tags

UserId

The ID of the user.

string UserId { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html#cfn-elasticache-user-userid

UserName

The username of the user.

string UserName { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html#cfn-elasticache-user-username

Back to top Generated by DocFX