CfnUserProps

class aws_cdk.aws_elasticache.CfnUserProps(*, access_string=None, engine, no_password_required=None, passwords=None, user_id, user_name)

Bases: object

Properties for defining a AWS::ElastiCache::User.

Parameters
  • access_string (Optional[str]) – AWS::ElastiCache::User.AccessString.

  • engine (str) – AWS::ElastiCache::User.Engine.

  • no_password_required (Union[bool, IResolvable, None]) – AWS::ElastiCache::User.NoPasswordRequired.

  • passwords (Optional[Sequence[str]]) – AWS::ElastiCache::User.Passwords.

  • user_id (str) – AWS::ElastiCache::User.UserId.

  • user_name (str) – AWS::ElastiCache::User.UserName.

Link

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

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_elasticache as elasticache

cfn_user_props = elasticache.CfnUserProps(
    engine="engine",
    user_id="userId",
    user_name="userName",

    # the properties below are optional
    access_string="accessString",
    no_password_required=False,
    passwords=["passwords"]
)

Attributes

access_string

AWS::ElastiCache::User.AccessString.

Link

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

Return type

Optional[str]

engine

AWS::ElastiCache::User.Engine.

Link

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

Return type

str

no_password_required

AWS::ElastiCache::User.NoPasswordRequired.

Link

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

Return type

Union[bool, IResolvable, None]

passwords

AWS::ElastiCache::User.Passwords.

Link

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

Return type

Optional[List[str]]

user_id

AWS::ElastiCache::User.UserId.

Link

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

Return type

str

user_name

AWS::ElastiCache::User.UserName.

Link

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

Return type

str